OSDN Git Service

2008-02-25 Jan Beulich <jbeulich@novell.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 #  include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 #  include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 #  include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
483
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
501
502 ac_prev=
503 for ac_option
504 do
505   # If the previous option needs an argument, assign it.
506   if test -n "$ac_prev"; then
507     eval "$ac_prev=\$ac_option"
508     ac_prev=
509     continue
510   fi
511
512   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513
514   # Accept the important Cygnus configure options, so we can diagnose typos.
515
516   case $ac_option in
517
518   -bindir | --bindir | --bindi | --bind | --bin | --bi)
519     ac_prev=bindir ;;
520   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521     bindir=$ac_optarg ;;
522
523   -build | --build | --buil | --bui | --bu)
524     ac_prev=build_alias ;;
525   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526     build_alias=$ac_optarg ;;
527
528   -cache-file | --cache-file | --cache-fil | --cache-fi \
529   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530     ac_prev=cache_file ;;
531   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533     cache_file=$ac_optarg ;;
534
535   --config-cache | -C)
536     cache_file=config.cache ;;
537
538   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539     ac_prev=datadir ;;
540   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541   | --da=*)
542     datadir=$ac_optarg ;;
543
544   -disable-* | --disable-*)
545     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546     # Reject names that are not valid shell variable names.
547     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549    { (exit 1); exit 1; }; }
550     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551     eval "enable_$ac_feature=no" ;;
552
553   -enable-* | --enable-*)
554     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555     # Reject names that are not valid shell variable names.
556     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558    { (exit 1); exit 1; }; }
559     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560     case $ac_option in
561       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562       *) ac_optarg=yes ;;
563     esac
564     eval "enable_$ac_feature='$ac_optarg'" ;;
565
566   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568   | --exec | --exe | --ex)
569     ac_prev=exec_prefix ;;
570   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572   | --exec=* | --exe=* | --ex=*)
573     exec_prefix=$ac_optarg ;;
574
575   -gas | --gas | --ga | --g)
576     # Obsolete; use --with-gas.
577     with_gas=yes ;;
578
579   -help | --help | --hel | --he | -h)
580     ac_init_help=long ;;
581   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582     ac_init_help=recursive ;;
583   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584     ac_init_help=short ;;
585
586   -host | --host | --hos | --ho)
587     ac_prev=host_alias ;;
588   -host=* | --host=* | --hos=* | --ho=*)
589     host_alias=$ac_optarg ;;
590
591   -includedir | --includedir | --includedi | --included | --include \
592   | --includ | --inclu | --incl | --inc)
593     ac_prev=includedir ;;
594   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595   | --includ=* | --inclu=* | --incl=* | --inc=*)
596     includedir=$ac_optarg ;;
597
598   -infodir | --infodir | --infodi | --infod | --info | --inf)
599     ac_prev=infodir ;;
600   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601     infodir=$ac_optarg ;;
602
603   -libdir | --libdir | --libdi | --libd)
604     ac_prev=libdir ;;
605   -libdir=* | --libdir=* | --libdi=* | --libd=*)
606     libdir=$ac_optarg ;;
607
608   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609   | --libexe | --libex | --libe)
610     ac_prev=libexecdir ;;
611   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612   | --libexe=* | --libex=* | --libe=*)
613     libexecdir=$ac_optarg ;;
614
615   -localstatedir | --localstatedir | --localstatedi | --localstated \
616   | --localstate | --localstat | --localsta | --localst \
617   | --locals | --local | --loca | --loc | --lo)
618     ac_prev=localstatedir ;;
619   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622     localstatedir=$ac_optarg ;;
623
624   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625     ac_prev=mandir ;;
626   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627     mandir=$ac_optarg ;;
628
629   -nfp | --nfp | --nf)
630     # Obsolete; use --without-fp.
631     with_fp=no ;;
632
633   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634   | --no-cr | --no-c | -n)
635     no_create=yes ;;
636
637   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639     no_recursion=yes ;;
640
641   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643   | --oldin | --oldi | --old | --ol | --o)
644     ac_prev=oldincludedir ;;
645   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648     oldincludedir=$ac_optarg ;;
649
650   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651     ac_prev=prefix ;;
652   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653     prefix=$ac_optarg ;;
654
655   -program-prefix | --program-prefix | --program-prefi | --program-pref \
656   | --program-pre | --program-pr | --program-p)
657     ac_prev=program_prefix ;;
658   -program-prefix=* | --program-prefix=* | --program-prefi=* \
659   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660     program_prefix=$ac_optarg ;;
661
662   -program-suffix | --program-suffix | --program-suffi | --program-suff \
663   | --program-suf | --program-su | --program-s)
664     ac_prev=program_suffix ;;
665   -program-suffix=* | --program-suffix=* | --program-suffi=* \
666   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667     program_suffix=$ac_optarg ;;
668
669   -program-transform-name | --program-transform-name \
670   | --program-transform-nam | --program-transform-na \
671   | --program-transform-n | --program-transform- \
672   | --program-transform | --program-transfor \
673   | --program-transfo | --program-transf \
674   | --program-trans | --program-tran \
675   | --progr-tra | --program-tr | --program-t)
676     ac_prev=program_transform_name ;;
677   -program-transform-name=* | --program-transform-name=* \
678   | --program-transform-nam=* | --program-transform-na=* \
679   | --program-transform-n=* | --program-transform-=* \
680   | --program-transform=* | --program-transfor=* \
681   | --program-transfo=* | --program-transf=* \
682   | --program-trans=* | --program-tran=* \
683   | --progr-tra=* | --program-tr=* | --program-t=*)
684     program_transform_name=$ac_optarg ;;
685
686   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687   | -silent | --silent | --silen | --sile | --sil)
688     silent=yes ;;
689
690   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691     ac_prev=sbindir ;;
692   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693   | --sbi=* | --sb=*)
694     sbindir=$ac_optarg ;;
695
696   -sharedstatedir | --sharedstatedir | --sharedstatedi \
697   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698   | --sharedst | --shareds | --shared | --share | --shar \
699   | --sha | --sh)
700     ac_prev=sharedstatedir ;;
701   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704   | --sha=* | --sh=*)
705     sharedstatedir=$ac_optarg ;;
706
707   -site | --site | --sit)
708     ac_prev=site ;;
709   -site=* | --site=* | --sit=*)
710     site=$ac_optarg ;;
711
712   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713     ac_prev=srcdir ;;
714   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715     srcdir=$ac_optarg ;;
716
717   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718   | --syscon | --sysco | --sysc | --sys | --sy)
719     ac_prev=sysconfdir ;;
720   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722     sysconfdir=$ac_optarg ;;
723
724   -target | --target | --targe | --targ | --tar | --ta | --t)
725     ac_prev=target_alias ;;
726   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727     target_alias=$ac_optarg ;;
728
729   -v | -verbose | --verbose | --verbos | --verbo | --verb)
730     verbose=yes ;;
731
732   -version | --version | --versio | --versi | --vers | -V)
733     ac_init_version=: ;;
734
735   -with-* | --with-*)
736     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737     # Reject names that are not valid shell variable names.
738     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739       { echo "$as_me: error: invalid package name: $ac_package" >&2
740    { (exit 1); exit 1; }; }
741     ac_package=`echo $ac_package| sed 's/-/_/g'`
742     case $ac_option in
743       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744       *) ac_optarg=yes ;;
745     esac
746     eval "with_$ac_package='$ac_optarg'" ;;
747
748   -without-* | --without-*)
749     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750     # Reject names that are not valid shell variable names.
751     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752       { echo "$as_me: error: invalid package name: $ac_package" >&2
753    { (exit 1); exit 1; }; }
754     ac_package=`echo $ac_package | sed 's/-/_/g'`
755     eval "with_$ac_package=no" ;;
756
757   --x)
758     # Obsolete; use --with-x.
759     with_x=yes ;;
760
761   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762   | --x-incl | --x-inc | --x-in | --x-i)
763     ac_prev=x_includes ;;
764   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766     x_includes=$ac_optarg ;;
767
768   -x-libraries | --x-libraries | --x-librarie | --x-librari \
769   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770     ac_prev=x_libraries ;;
771   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773     x_libraries=$ac_optarg ;;
774
775   -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777    { (exit 1); exit 1; }; }
778     ;;
779
780   *=*)
781     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782     # Reject names that are not valid shell variable names.
783     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785    { (exit 1); exit 1; }; }
786     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787     eval "$ac_envvar='$ac_optarg'"
788     export $ac_envvar ;;
789
790   *)
791     # FIXME: should be removed in autoconf 3.0.
792     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
796     ;;
797
798   esac
799 done
800
801 if test -n "$ac_prev"; then
802   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803   { echo "$as_me: error: missing argument to $ac_option" >&2
804    { (exit 1); exit 1; }; }
805 fi
806
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
809 do
810   eval ac_val=$`echo $ac_var`
811   case $ac_val in
812     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814    { (exit 1); exit 1; }; };;
815   esac
816 done
817
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820               localstatedir libdir includedir oldincludedir infodir mandir
821 do
822   eval ac_val=$`echo $ac_var`
823   case $ac_val in
824     [\\/$]* | ?:[\\/]* ) ;;
825     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826    { (exit 1); exit 1; }; };;
827   esac
828 done
829
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
836
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839   if test "x$build_alias" = x; then
840     cross_compiling=maybe
841     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842     If a cross compiler is detected then cross compile mode will be used." >&2
843   elif test "x$build_alias" != "x$host_alias"; then
844     cross_compiling=yes
845   fi
846 fi
847
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850
851 test "$silent" = yes && exec 6>/dev/null
852
853
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856   ac_srcdir_defaulted=yes
857   # Try the directory containing this script, then its parent.
858   ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860          X"$0" : 'X\(//\)[^/]' \| \
861          X"$0" : 'X\(//\)$' \| \
862          X"$0" : 'X\(/\)' \| \
863          .     : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867           /^X\(\/\/\)$/{ s//\1/; q; }
868           /^X\(\/\).*/{ s//\1/; q; }
869           s/.*/./; q'`
870   srcdir=$ac_confdir
871   if test ! -r $srcdir/$ac_unique_file; then
872     srcdir=..
873   fi
874 else
875   ac_srcdir_defaulted=no
876 fi
877 if test ! -r $srcdir/$ac_unique_file; then
878   if test "$ac_srcdir_defaulted" = yes; then
879     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880    { (exit 1); exit 1; }; }
881   else
882     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883    { (exit 1); exit 1; }; }
884   fi
885 fi
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888    { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
926
927 #
928 # Report the --help message.
929 #
930 if test "$ac_init_help" = "long"; then
931   # Omit some internal or obsolete options to make the list less imposing.
932   # This message is too long to be a string in the A/UX 3.1 sh.
933   cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
935
936 Usage: $0 [OPTION]... [VAR=VALUE]...
937
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE.  See below for descriptions of some of the useful variables.
940
941 Defaults for the options are specified in brackets.
942
943 Configuration:
944   -h, --help              display this help and exit
945       --help=short        display options specific to this package
946       --help=recursive    display the short help of all the included packages
947   -V, --version           display version information and exit
948   -q, --quiet, --silent   do not print \`checking...' messages
949       --cache-file=FILE   cache test results in FILE [disabled]
950   -C, --config-cache      alias for \`--cache-file=config.cache'
951   -n, --no-create         do not create output files
952       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
953
954 _ACEOF
955
956   cat <<_ACEOF
957 Installation directories:
958   --prefix=PREFIX         install architecture-independent files in PREFIX
959                           [$ac_default_prefix]
960   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
961                           [PREFIX]
962
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
967
968 For better control, use the options below.
969
970 Fine tuning of the installation directories:
971   --bindir=DIR           user executables [EPREFIX/bin]
972   --sbindir=DIR          system admin executables [EPREFIX/sbin]
973   --libexecdir=DIR       program executables [EPREFIX/libexec]
974   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
975   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
976   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
977   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
978   --libdir=DIR           object code libraries [EPREFIX/lib]
979   --includedir=DIR       C header files [PREFIX/include]
980   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
981   --infodir=DIR          info documentation [PREFIX/info]
982   --mandir=DIR           man documentation [PREFIX/man]
983 _ACEOF
984
985   cat <<\_ACEOF
986
987 Program names:
988   --program-prefix=PREFIX            prepend PREFIX to installed program names
989   --program-suffix=SUFFIX            append SUFFIX to installed program names
990   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
991
992 System types:
993   --build=BUILD     configure for building on BUILD [guessed]
994   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
995   --target=TARGET   configure for building compilers for TARGET [HOST]
996 _ACEOF
997 fi
998
999 if test -n "$ac_init_help"; then
1000   case $ac_init_help in
1001      short | recursive ) echo "Configuration of package-unused version-unused:";;
1002    esac
1003   cat <<\_ACEOF
1004
1005 Optional Features:
1006   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1007   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1008   --enable-multilib       build many library versions (default)
1009   --enable-maintainer-mode  enable make rules and dependencies not useful
1010                           (and sometimes confusing) to the casual installer
1011   --enable-shared[=PKGS]
1012                           build shared libraries [default=yes]
1013   --enable-static[=PKGS]
1014                           build static libraries [default=yes]
1015   --enable-fast-install[=PKGS]
1016                           optimize for fast installation [default=yes]
1017   --disable-libtool-lock  avoid locking (might break parallel builds)
1018   --disable-hosted-libstdcxx
1019                           only build freestanding C++ runtime support
1020   --enable-sjlj-exceptions
1021                           force use of builtin_setjmp for exceptions
1022                           [default=auto]
1023   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1024                           [default=$is_hosted]
1025   --enable-cstdio=PACKAGE use target-specific I/O package
1026                           [default=stdio]
1027   --enable-clocale[=MODEL]
1028                           use MODEL for target locale package
1029                           [default=auto]
1030   --enable-nls            use Native Language Support (default)
1031   --enable-libstdcxx-allocator=KIND
1032                           use KIND for target std::allocator base
1033                           [default=auto]
1034   --enable-cheaders=KIND  construct "C" headers for g++
1035                           [default=$c_model]
1036   --enable-long-long      enable template specializations for 'long long'
1037                           [default=yes]
1038   --enable-wchar_t        enable template specializations for 'wchar_t'
1039                           [default=yes]
1040   --enable-c99            turns on ISO/IEC 9899:1999 support
1041                           [default=yes]
1042   --enable-concept-checks use Boost-derived template checks [default=no]
1043   --enable-libstdcxx-debug-flags=FLAGS
1044                           pass compiler FLAGS when building debug library
1045                           [default="-g3 -O0"]
1046   --enable-libstdcxx-debug
1047                           build extra debug library [default=no]
1048   --enable-cxx-flags=FLAGS
1049                           pass compiler FLAGS when building library
1050                           [default=]
1051   --enable-fully-dynamic-string
1052                           do not put empty strings in per-process static
1053                           memory [default=no]
1054   --enable-tls            Use thread-local storage [default=yes]
1055   --disable-rpath         do not hardcode runtime library paths
1056   --enable-linux-futex    use the Linux futex system call
1057                           [default=default]
1058   --enable-symvers=STYLE  enables symbol versioning of the shared library
1059                           [default=yes]
1060   --enable-visibility     enables visibility safe usage [default=yes]
1061   --enable-version-specific-runtime-libs
1062                           Specify that runtime libraries should be installed
1063                           in a compiler-specific directory
1064
1065 Optional Packages:
1066   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1067   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1068   --with-target-subdir=SUBDIR
1069                           configuring in a subdirectory
1070   --with-cross-host=HOST  configuring with a cross compiler
1071   --with-newlib           assume newlib as a system C library
1072   --with-pic              try to use only PIC/non-PIC objects [default=use
1073                           both]
1074   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1075   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1076   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1077   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1078   --with-gxx-include-dir=DIR
1079                           installation directory for include files
1080
1081 Some influential environment variables:
1082   CC          C compiler command
1083   CFLAGS      C compiler flags
1084   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1085               nonstandard directory <lib dir>
1086   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087               headers in a nonstandard directory <include dir>
1088   CXX         C++ compiler command
1089   CXXFLAGS    C++ compiler flags
1090   CPP         C preprocessor
1091   CXXCPP      C++ preprocessor
1092
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1095
1096 _ACEOF
1097 fi
1098
1099 if test "$ac_init_help" = "recursive"; then
1100   # If there are subdirs, report their specific --help.
1101   ac_popdir=`pwd`
1102   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103     test -d $ac_dir || continue
1104     ac_builddir=.
1105
1106 if test "$ac_dir" != .; then
1107   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108   # A "../" for each directory in $ac_dir_suffix.
1109   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111   ac_dir_suffix= ac_top_builddir=
1112 fi
1113
1114 case $srcdir in
1115   .)  # No --srcdir option.  We are building in place.
1116     ac_srcdir=.
1117     if test -z "$ac_top_builddir"; then
1118        ac_top_srcdir=.
1119     else
1120        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121     fi ;;
1122   [\\/]* | ?:[\\/]* )  # Absolute path.
1123     ac_srcdir=$srcdir$ac_dir_suffix;
1124     ac_top_srcdir=$srcdir ;;
1125   *) # Relative path.
1126     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1129
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1134 *)
1135   case "$ac_dir" in
1136   .) ac_abs_builddir=`pwd`;;
1137   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139   esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *)
1144   case ${ac_top_builddir}. in
1145   .) ac_abs_top_builddir=$ac_abs_builddir;;
1146   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148   esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1152 *)
1153   case $ac_srcdir in
1154   .) ac_abs_srcdir=$ac_abs_builddir;;
1155   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157   esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *)
1162   case $ac_top_srcdir in
1163   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166   esac;;
1167 esac
1168
1169     cd $ac_dir
1170     # Check for guested configure; otherwise get Cygnus style configure.
1171     if test -f $ac_srcdir/configure.gnu; then
1172       echo
1173       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1174     elif test -f $ac_srcdir/configure; then
1175       echo
1176       $SHELL $ac_srcdir/configure  --help=recursive
1177     elif test -f $ac_srcdir/configure.ac ||
1178            test -f $ac_srcdir/configure.in; then
1179       echo
1180       $ac_configure --help
1181     else
1182       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183     fi
1184     cd $ac_popdir
1185   done
1186 fi
1187
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190   cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1193
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198   exit 0
1199 fi
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1204
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59.  Invocation command line was
1207
1208   $ $0 $@
1209
1210 _ACEOF
1211 {
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1216
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1222
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1225
1226 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1227 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1230 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1231 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1232 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1233
1234 _ASUNAME
1235
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1238 do
1239   IFS=$as_save_IFS
1240   test -z "$as_dir" && as_dir=.
1241   echo "PATH: $as_dir"
1242 done
1243
1244 } >&5
1245
1246 cat >&5 <<_ACEOF
1247
1248
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1252
1253 _ACEOF
1254
1255
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1267 do
1268   for ac_arg
1269   do
1270     case $ac_arg in
1271     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273     | -silent | --silent | --silen | --sile | --sil)
1274       continue ;;
1275     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277     esac
1278     case $ac_pass in
1279     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1280     2)
1281       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282       if test $ac_must_keep_next = true; then
1283         ac_must_keep_next=false # Got value, back to normal.
1284       else
1285         case $ac_arg in
1286           *=* | --config-cache | -C | -disable-* | --disable-* \
1287           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289           | -with-* | --with-* | -without-* | --without-* | --x)
1290             case "$ac_configure_args0 " in
1291               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292             esac
1293             ;;
1294           -* ) ac_must_keep_next=true ;;
1295         esac
1296       fi
1297       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298       # Get rid of the leading space.
1299       ac_sep=" "
1300       ;;
1301     esac
1302   done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1306
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log.  We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313   # Save into config.log some information that might help in debugging.
1314   {
1315     echo
1316
1317     cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322     echo
1323     # The following way of writing the cache mishandles newlines in values,
1324 {
1325   (set) 2>&1 |
1326     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327     *ac_space=\ *)
1328       sed -n \
1329         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331       ;;
1332     *)
1333       sed -n \
1334         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335       ;;
1336     esac;
1337 }
1338     echo
1339
1340     cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345     echo
1346     for ac_var in $ac_subst_vars
1347     do
1348       eval ac_val=$`echo $ac_var`
1349       echo "$ac_var='"'"'$ac_val'"'"'"
1350     done | sort
1351     echo
1352
1353     if test -n "$ac_subst_files"; then
1354       cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359       echo
1360       for ac_var in $ac_subst_files
1361       do
1362         eval ac_val=$`echo $ac_var`
1363         echo "$ac_var='"'"'$ac_val'"'"'"
1364       done | sort
1365       echo
1366     fi
1367
1368     if test -s confdefs.h; then
1369       cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374       echo
1375       sed "/^$/d" confdefs.h | sort
1376       echo
1377     fi
1378     test "$ac_signal" != 0 &&
1379       echo "$as_me: caught signal $ac_signal"
1380     echo "$as_me: exit $exit_status"
1381   } >&5
1382   rm -f core *.core &&
1383   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384     exit $exit_status
1385      ' 0
1386 for ac_signal in 1 2 13 15; do
1387   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1390
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1395
1396 # Predefined preprocessor variables.
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1421
1422
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426   if test "x$prefix" != xNONE; then
1427     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428   else
1429     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430   fi
1431 fi
1432 for ac_site_file in $CONFIG_SITE; do
1433   if test -r "$ac_site_file"; then
1434     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436     sed 's/^/| /' "$ac_site_file" >&5
1437     . "$ac_site_file"
1438   fi
1439 done
1440
1441 if test -r "$cache_file"; then
1442   # Some versions of bash will fail to source /dev/null (special
1443   # files actually), so we avoid doing that.
1444   if test -f "$cache_file"; then
1445     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447     case $cache_file in
1448       [\\/]* | ?:[\\/]* ) . $cache_file;;
1449       *)                      . ./$cache_file;;
1450     esac
1451   fi
1452 else
1453   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455   >$cache_file
1456 fi
1457
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464   eval ac_new_set=\$ac_env_${ac_var}_set
1465   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466   eval ac_new_val="\$ac_env_${ac_var}_value"
1467   case $ac_old_set,$ac_new_set in
1468     set,)
1469       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471       ac_cache_corrupted=: ;;
1472     ,set)
1473       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475       ac_cache_corrupted=: ;;
1476     ,);;
1477     *)
1478       if test "x$ac_old_val" != "x$ac_new_val"; then
1479         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1482 echo "$as_me:   former value:  $ac_old_val" >&2;}
1483         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1484 echo "$as_me:   current value: $ac_new_val" >&2;}
1485         ac_cache_corrupted=:
1486       fi;;
1487   esac
1488   # Pass precious variables to config.status.
1489   if test "$ac_new_set" = set; then
1490     case $ac_new_val in
1491     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493     *) ac_arg=$ac_var=$ac_new_val ;;
1494     esac
1495     case " $ac_configure_args " in
1496       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1497       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498     esac
1499   fi
1500 done
1501 if $ac_cache_corrupted; then
1502   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506    { (exit 1); exit 1; }; }
1507 fi
1508
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1541
1542           ac_config_headers="$ac_config_headers config.h"
1543
1544
1545 # This works around the fact that libtool configuration may change LD
1546 # for this particular configuration, but some shells, instead of
1547 # keeping the changes in LD private, export them just because LD is
1548 # exported.  Only used at the end of this file.
1549 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1550
1551 # For libtool versioning info, format is CURRENT:REVISION:AGE
1552 libtool_VERSION=6:10:0
1553
1554
1555 # Find the rest of the source tree framework.
1556 # Default to --enable-multilib
1557 # Check whether --enable-multilib or --disable-multilib was given.
1558 if test "${enable_multilib+set}" = set; then
1559   enableval="$enable_multilib"
1560   case "$enableval" in
1561   yes) multilib=yes ;;
1562   no)  multilib=no ;;
1563   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1564 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1565    { (exit 1); exit 1; }; } ;;
1566  esac
1567 else
1568   multilib=yes
1569 fi;
1570
1571 # We may get other options which we leave undocumented:
1572 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1573 # See config-ml.in if you want the gory details.
1574
1575 if test "$srcdir" = "."; then
1576   if test "$with_target_subdir" != "."; then
1577     multi_basedir="$srcdir/$with_multisrctop../.."
1578   else
1579     multi_basedir="$srcdir/$with_multisrctop.."
1580   fi
1581 else
1582   multi_basedir="$srcdir/.."
1583 fi
1584
1585
1586 # Even if the default multilib is not a cross compilation,
1587 # it may be that some of the other multilibs are.
1588 if test $cross_compiling = no && test $multilib = yes \
1589    && test "x${with_multisubdir}" != x ; then
1590    cross_compiling=maybe
1591 fi
1592
1593           ac_config_commands="$ac_config_commands default-1"
1594
1595
1596 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1597 #
1598 # You will slowly go insane if you do not grok the following fact:  when
1599 # building v3 as part of the compiler, the top-level /target/ becomes the
1600 # library's /host/.  configure then causes --target to default to --host,
1601 # exactly like any other package using autoconf.  Therefore, 'target' and
1602 # 'host' will always be the same.  This makes sense both for native and
1603 # cross compilers, just think about it for a little while.  :-)
1604 #
1605 # Also, if v3 is being configured as part of a cross compiler, the top-level
1606 # configure script will pass the "real" host as $with_cross_host.
1607 #
1608 # Do not delete or change the following two lines.  For why, see
1609 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1610 ac_aux_dir=
1611 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1612   if test -f $ac_dir/install-sh; then
1613     ac_aux_dir=$ac_dir
1614     ac_install_sh="$ac_aux_dir/install-sh -c"
1615     break
1616   elif test -f $ac_dir/install.sh; then
1617     ac_aux_dir=$ac_dir
1618     ac_install_sh="$ac_aux_dir/install.sh -c"
1619     break
1620   elif test -f $ac_dir/shtool; then
1621     ac_aux_dir=$ac_dir
1622     ac_install_sh="$ac_aux_dir/shtool install -c"
1623     break
1624   fi
1625 done
1626 if test -z "$ac_aux_dir"; then
1627   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1628 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1629    { (exit 1); exit 1; }; }
1630 fi
1631 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1632 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1633 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1634
1635 # Make sure we can run config.sub.
1636 $ac_config_sub sun4 >/dev/null 2>&1 ||
1637   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1638 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1639    { (exit 1); exit 1; }; }
1640
1641 echo "$as_me:$LINENO: checking build system type" >&5
1642 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1643 if test "${ac_cv_build+set}" = set; then
1644   echo $ECHO_N "(cached) $ECHO_C" >&6
1645 else
1646   ac_cv_build_alias=$build_alias
1647 test -z "$ac_cv_build_alias" &&
1648   ac_cv_build_alias=`$ac_config_guess`
1649 test -z "$ac_cv_build_alias" &&
1650   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1651 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1652    { (exit 1); exit 1; }; }
1653 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1654   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1656    { (exit 1); exit 1; }; }
1657
1658 fi
1659 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1660 echo "${ECHO_T}$ac_cv_build" >&6
1661 build=$ac_cv_build
1662 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1665
1666
1667 echo "$as_me:$LINENO: checking host system type" >&5
1668 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1669 if test "${ac_cv_host+set}" = set; then
1670   echo $ECHO_N "(cached) $ECHO_C" >&6
1671 else
1672   ac_cv_host_alias=$host_alias
1673 test -z "$ac_cv_host_alias" &&
1674   ac_cv_host_alias=$ac_cv_build_alias
1675 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1676   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1677 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1678    { (exit 1); exit 1; }; }
1679
1680 fi
1681 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1682 echo "${ECHO_T}$ac_cv_host" >&6
1683 host=$ac_cv_host
1684 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1685 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1686 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1687
1688
1689 echo "$as_me:$LINENO: checking target system type" >&5
1690 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1691 if test "${ac_cv_target+set}" = set; then
1692   echo $ECHO_N "(cached) $ECHO_C" >&6
1693 else
1694   ac_cv_target_alias=$target_alias
1695 test "x$ac_cv_target_alias" = "x" &&
1696   ac_cv_target_alias=$ac_cv_host_alias
1697 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1698   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1699 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1700    { (exit 1); exit 1; }; }
1701
1702 fi
1703 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1704 echo "${ECHO_T}$ac_cv_target" >&6
1705 target=$ac_cv_target
1706 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1707 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1708 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1709
1710
1711 # The aliases save the names the user supplied, while $host etc.
1712 # will get canonicalized.
1713 test -n "$target_alias" &&
1714   test "$program_prefix$program_suffix$program_transform_name" = \
1715     NONENONEs,x,x, &&
1716   program_prefix=${target_alias}-
1717 target_alias=${target_alias-$host_alias}
1718
1719 # Handy for debugging:
1720 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1721
1722 if test "$build" != "$host"; then
1723   # We are being configured with some form of cross compiler.
1724   GLIBCXX_IS_NATIVE=false
1725   case "$host","$target" in
1726     # Darwin crosses can use the host system's libraries and headers,
1727     # because of the fat library support.  Of course, it must be the
1728     # same version of Darwin on both sides.  Allow the user to
1729     # just say --target=foo-darwin without a version number to mean
1730     # "the version on this system".
1731       *-*-darwin*,*-*-darwin*)
1732         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1733         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1734         if test $hostos = $targetos -o $targetos = darwin ; then
1735           GLIBCXX_IS_NATIVE=true
1736         fi
1737         ;;
1738
1739       *)
1740
1741         ;;
1742   esac
1743 else
1744   GLIBCXX_IS_NATIVE=true
1745 fi
1746
1747 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1748 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1749 #  1.x:  minimum required version
1750 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1751 #              of other PACKAGE_* variables will, however, and there's nothing
1752 #              we can do about that; they come from AC_INIT).
1753 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1754 #            file in the top srcdir, etc, etc), so stop complaining.
1755 #  no-dependencies:  turns off auto dependency generation (just for now)
1756 #  -Wall:  turns on all automake warnings...
1757 #  -Wno-portability:  ...except this one, since GNU make is now required.
1758 am__api_version="1.9"
1759 # Find a good install program.  We prefer a C program (faster),
1760 # so one script is as good as another.  But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1765 # AIX /bin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1773 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1774 if test -z "$INSTALL"; then
1775 if test "${ac_cv_path_install+set}" = set; then
1776   echo $ECHO_N "(cached) $ECHO_C" >&6
1777 else
1778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 for as_dir in $PATH
1780 do
1781   IFS=$as_save_IFS
1782   test -z "$as_dir" && as_dir=.
1783   # Account for people who put trailing slashes in PATH elements.
1784 case $as_dir/ in
1785   ./ | .// | /cC/* | \
1786   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1787   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1788   /usr/ucb/* ) ;;
1789   *)
1790     # OSF1 and SCO ODT 3.0 have their own names for install.
1791     # Don't use installbsd from OSF since it installs stuff as root
1792     # by default.
1793     for ac_prog in ginstall scoinst install; do
1794       for ac_exec_ext in '' $ac_executable_extensions; do
1795         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1796           if test $ac_prog = install &&
1797             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1798             # AIX install.  It has an incompatible calling convention.
1799             :
1800           elif test $ac_prog = install &&
1801             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802             # program-specific install script used by HP pwplus--don't use.
1803             :
1804           else
1805             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1806             break 3
1807           fi
1808         fi
1809       done
1810     done
1811     ;;
1812 esac
1813 done
1814
1815
1816 fi
1817   if test "${ac_cv_path_install+set}" = set; then
1818     INSTALL=$ac_cv_path_install
1819   else
1820     # As a last resort, use the slow shell script.  We don't cache a
1821     # path for INSTALL within a source directory, because that will
1822     # break other packages using the cache if that directory is
1823     # removed, or if the path is relative.
1824     INSTALL=$ac_install_sh
1825   fi
1826 fi
1827 echo "$as_me:$LINENO: result: $INSTALL" >&5
1828 echo "${ECHO_T}$INSTALL" >&6
1829
1830 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1831 # It thinks the first close brace ends the variable substitution.
1832 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1833
1834 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1835
1836 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1837
1838 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1839 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1840 # Just in case
1841 sleep 1
1842 echo timestamp > conftest.file
1843 # Do `set' in a subshell so we don't clobber the current shell's
1844 # arguments.  Must try -L first in case configure is actually a
1845 # symlink; some systems play weird games with the mod time of symlinks
1846 # (eg FreeBSD returns the mod time of the symlink's containing
1847 # directory).
1848 if (
1849    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1850    if test "$*" = "X"; then
1851       # -L didn't work.
1852       set X `ls -t $srcdir/configure conftest.file`
1853    fi
1854    rm -f conftest.file
1855    if test "$*" != "X $srcdir/configure conftest.file" \
1856       && test "$*" != "X conftest.file $srcdir/configure"; then
1857
1858       # If neither matched, then we have a broken ls.  This can happen
1859       # if, for instance, CONFIG_SHELL is bash and it inherits a
1860       # broken ls alias from the environment.  This has actually
1861       # happened.  Such a system could not be considered "sane".
1862       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1863 alias in your environment" >&5
1864 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1865 alias in your environment" >&2;}
1866    { (exit 1); exit 1; }; }
1867    fi
1868
1869    test "$2" = conftest.file
1870    )
1871 then
1872    # Ok.
1873    :
1874 else
1875    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1876 Check your system clock" >&5
1877 echo "$as_me: error: newly created file is older than distributed files!
1878 Check your system clock" >&2;}
1879    { (exit 1); exit 1; }; }
1880 fi
1881 echo "$as_me:$LINENO: result: yes" >&5
1882 echo "${ECHO_T}yes" >&6
1883 test "$program_prefix" != NONE &&
1884   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1885 # Use a double $ so make ignores it.
1886 test "$program_suffix" != NONE &&
1887   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1888 # Double any \ or $.  echo might interpret backslashes.
1889 # By default was `s,x,x', remove it if useless.
1890 cat <<\_ACEOF >conftest.sed
1891 s/[\\$]/&&/g;s/;s,x,x,$//
1892 _ACEOF
1893 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1894 rm conftest.sed
1895
1896 # expand $ac_aux_dir to an absolute path
1897 am_aux_dir=`cd $ac_aux_dir && pwd`
1898
1899 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1900 # Use eval to expand $SHELL
1901 if eval "$MISSING --run true"; then
1902   am_missing_run="$MISSING --run "
1903 else
1904   am_missing_run=
1905   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1906 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1907 fi
1908
1909 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1910   # We used to keeping the `.' as first argument, in order to
1911   # allow $(mkdir_p) to be used without argument.  As in
1912   #   $(mkdir_p) $(somedir)
1913   # where $(somedir) is conditionally defined.  However this is wrong
1914   # for two reasons:
1915   #  1. if the package is installed by a user who cannot write `.'
1916   #     make install will fail,
1917   #  2. the above comment should most certainly read
1918   #     $(mkdir_p) $(DESTDIR)$(somedir)
1919   #     so it does not work when $(somedir) is undefined and
1920   #     $(DESTDIR) is not.
1921   #  To support the latter case, we have to write
1922   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1923   #  so the `.' trick is pointless.
1924   mkdir_p='mkdir -p --'
1925 else
1926   # On NextStep and OpenStep, the `mkdir' command does not
1927   # recognize any option.  It will interpret all options as
1928   # directories to create, and then abort because `.' already
1929   # exists.
1930   for d in ./-p ./--version;
1931   do
1932     test -d $d && rmdir $d
1933   done
1934   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1935   if test -f "$ac_aux_dir/mkinstalldirs"; then
1936     mkdir_p='$(mkinstalldirs)'
1937   else
1938     mkdir_p='$(install_sh) -d'
1939   fi
1940 fi
1941
1942 for ac_prog in gawk mawk nawk awk
1943 do
1944   # Extract the first word of "$ac_prog", so it can be a program name with args.
1945 set dummy $ac_prog; ac_word=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_AWK+set}" = set; then
1949   echo $ECHO_N "(cached) $ECHO_C" >&6
1950 else
1951   if test -n "$AWK"; then
1952   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1953 else
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1955 for as_dir in $PATH
1956 do
1957   IFS=$as_save_IFS
1958   test -z "$as_dir" && as_dir=.
1959   for ac_exec_ext in '' $ac_executable_extensions; do
1960   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961     ac_cv_prog_AWK="$ac_prog"
1962     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963     break 2
1964   fi
1965 done
1966 done
1967
1968 fi
1969 fi
1970 AWK=$ac_cv_prog_AWK
1971 if test -n "$AWK"; then
1972   echo "$as_me:$LINENO: result: $AWK" >&5
1973 echo "${ECHO_T}$AWK" >&6
1974 else
1975   echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1977 fi
1978
1979   test -n "$AWK" && break
1980 done
1981
1982 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1983 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1984 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1985 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1986   echo $ECHO_N "(cached) $ECHO_C" >&6
1987 else
1988   cat >conftest.make <<\_ACEOF
1989 all:
1990         @echo 'ac_maketemp="$(MAKE)"'
1991 _ACEOF
1992 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1993 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1994 if test -n "$ac_maketemp"; then
1995   eval ac_cv_prog_make_${ac_make}_set=yes
1996 else
1997   eval ac_cv_prog_make_${ac_make}_set=no
1998 fi
1999 rm -f conftest.make
2000 fi
2001 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2002   echo "$as_me:$LINENO: result: yes" >&5
2003 echo "${ECHO_T}yes" >&6
2004   SET_MAKE=
2005 else
2006   echo "$as_me:$LINENO: result: no" >&5
2007 echo "${ECHO_T}no" >&6
2008   SET_MAKE="MAKE=${MAKE-make}"
2009 fi
2010
2011 rm -rf .tst 2>/dev/null
2012 mkdir .tst 2>/dev/null
2013 if test -d .tst; then
2014   am__leading_dot=.
2015 else
2016   am__leading_dot=_
2017 fi
2018 rmdir .tst 2>/dev/null
2019
2020 # test to see if srcdir already configured
2021 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2022    test -f $srcdir/config.status; then
2023   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2024 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2025    { (exit 1); exit 1; }; }
2026 fi
2027
2028 # test whether we have cygpath
2029 if test -z "$CYGPATH_W"; then
2030   if (cygpath --version) >/dev/null 2>/dev/null; then
2031     CYGPATH_W='cygpath -w'
2032   else
2033     CYGPATH_W=echo
2034   fi
2035 fi
2036
2037
2038 # Define the identity of the package.
2039  PACKAGE='libstdc++'
2040  VERSION='version-unused'
2041
2042
2043 # Some tools Automake needs.
2044
2045 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2046
2047
2048 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2049
2050
2051 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2052
2053
2054 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2055
2056
2057 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2058
2059 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2060
2061 # Installed binaries are usually stripped using `strip' when the user
2062 # run `make install-strip'.  However `strip' might not be the right
2063 # tool to use in cross-compilation environments, therefore Automake
2064 # will honor the `STRIP' environment variable to overrule this program.
2065 if test "$cross_compiling" != no; then
2066   if test -n "$ac_tool_prefix"; then
2067   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2068 set dummy ${ac_tool_prefix}strip; ac_word=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_STRIP+set}" = set; then
2072   echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074   if test -n "$STRIP"; then
2075   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2076 else
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2079 do
2080   IFS=$as_save_IFS
2081   test -z "$as_dir" && as_dir=.
2082   for ac_exec_ext in '' $ac_executable_extensions; do
2083   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2085     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086     break 2
2087   fi
2088 done
2089 done
2090
2091 fi
2092 fi
2093 STRIP=$ac_cv_prog_STRIP
2094 if test -n "$STRIP"; then
2095   echo "$as_me:$LINENO: result: $STRIP" >&5
2096 echo "${ECHO_T}$STRIP" >&6
2097 else
2098   echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2100 fi
2101
2102 fi
2103 if test -z "$ac_cv_prog_STRIP"; then
2104   ac_ct_STRIP=$STRIP
2105   # Extract the first word of "strip", so it can be a program name with args.
2106 set dummy strip; ac_word=$2
2107 echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2109 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2110   echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112   if test -n "$ac_ct_STRIP"; then
2113   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2117 do
2118   IFS=$as_save_IFS
2119   test -z "$as_dir" && as_dir=.
2120   for ac_exec_ext in '' $ac_executable_extensions; do
2121   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122     ac_cv_prog_ac_ct_STRIP="strip"
2123     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124     break 2
2125   fi
2126 done
2127 done
2128
2129   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2130 fi
2131 fi
2132 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2133 if test -n "$ac_ct_STRIP"; then
2134   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2135 echo "${ECHO_T}$ac_ct_STRIP" >&6
2136 else
2137   echo "$as_me:$LINENO: result: no" >&5
2138 echo "${ECHO_T}no" >&6
2139 fi
2140
2141   STRIP=$ac_ct_STRIP
2142 else
2143   STRIP="$ac_cv_prog_STRIP"
2144 fi
2145
2146 fi
2147 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2148
2149 # We need awk for the "check" target.  The system "awk" is bad on
2150 # some platforms.
2151 # Always define AMTAR for backward compatibility.
2152
2153 AMTAR=${AMTAR-"${am_missing_run}tar"}
2154
2155 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2167 # up critical shell variables.
2168
2169 ac_ext=c
2170 ac_cpp='$CPP $CPPFLAGS'
2171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2174 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2175 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2176 # On Suns, sometimes $CPP names a directory.
2177 if test -n "$CPP" && test -d "$CPP"; then
2178   CPP=
2179 fi
2180 if test -z "$CPP"; then
2181   if test "${ac_cv_prog_CPP+set}" = set; then
2182   echo $ECHO_N "(cached) $ECHO_C" >&6
2183 else
2184       # Double quotes because CPP needs to be expanded
2185     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2186     do
2187       ac_preproc_ok=false
2188 for ac_c_preproc_warn_flag in '' yes
2189 do
2190   # Use a header file that comes with gcc, so configuring glibc
2191   # with a fresh cross-compiler works.
2192   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2193   # <limits.h> exists even on freestanding compilers.
2194   # On the NeXT, cc -E runs the code through the compiler's parser,
2195   # not just through cpp. "Syntax error" is here to catch this case.
2196   cat >conftest.$ac_ext <<_ACEOF
2197 /* confdefs.h.  */
2198 _ACEOF
2199 cat confdefs.h >>conftest.$ac_ext
2200 cat >>conftest.$ac_ext <<_ACEOF
2201 /* end confdefs.h.  */
2202 #ifdef __STDC__
2203 # include <limits.h>
2204 #else
2205 # include <assert.h>
2206 #endif
2207                      Syntax error
2208 _ACEOF
2209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2210   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2211   ac_status=$?
2212   grep -v '^ *+' conftest.er1 >conftest.err
2213   rm -f conftest.er1
2214   cat conftest.err >&5
2215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216   (exit $ac_status); } >/dev/null; then
2217   if test -s conftest.err; then
2218     ac_cpp_err=$ac_c_preproc_warn_flag
2219     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2220   else
2221     ac_cpp_err=
2222   fi
2223 else
2224   ac_cpp_err=yes
2225 fi
2226 if test -z "$ac_cpp_err"; then
2227   :
2228 else
2229   echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.$ac_ext >&5
2231
2232   # Broken: fails on valid input.
2233 continue
2234 fi
2235 rm -f conftest.err conftest.$ac_ext
2236
2237   # OK, works on sane cases.  Now check whether non-existent headers
2238   # can be detected and how.
2239   cat >conftest.$ac_ext <<_ACEOF
2240 /* confdefs.h.  */
2241 _ACEOF
2242 cat confdefs.h >>conftest.$ac_ext
2243 cat >>conftest.$ac_ext <<_ACEOF
2244 /* end confdefs.h.  */
2245 #include <ac_nonexistent.h>
2246 _ACEOF
2247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2248   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2249   ac_status=$?
2250   grep -v '^ *+' conftest.er1 >conftest.err
2251   rm -f conftest.er1
2252   cat conftest.err >&5
2253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2254   (exit $ac_status); } >/dev/null; then
2255   if test -s conftest.err; then
2256     ac_cpp_err=$ac_c_preproc_warn_flag
2257     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2258   else
2259     ac_cpp_err=
2260   fi
2261 else
2262   ac_cpp_err=yes
2263 fi
2264 if test -z "$ac_cpp_err"; then
2265   # Broken: success on invalid input.
2266 continue
2267 else
2268   echo "$as_me: failed program was:" >&5
2269 sed 's/^/| /' conftest.$ac_ext >&5
2270
2271   # Passes both tests.
2272 ac_preproc_ok=:
2273 break
2274 fi
2275 rm -f conftest.err conftest.$ac_ext
2276
2277 done
2278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2279 rm -f conftest.err conftest.$ac_ext
2280 if $ac_preproc_ok; then
2281   break
2282 fi
2283
2284     done
2285     ac_cv_prog_CPP=$CPP
2286
2287 fi
2288   CPP=$ac_cv_prog_CPP
2289 else
2290   ac_cv_prog_CPP=$CPP
2291 fi
2292 echo "$as_me:$LINENO: result: $CPP" >&5
2293 echo "${ECHO_T}$CPP" >&6
2294 ac_preproc_ok=false
2295 for ac_c_preproc_warn_flag in '' yes
2296 do
2297   # Use a header file that comes with gcc, so configuring glibc
2298   # with a fresh cross-compiler works.
2299   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2300   # <limits.h> exists even on freestanding compilers.
2301   # On the NeXT, cc -E runs the code through the compiler's parser,
2302   # not just through cpp. "Syntax error" is here to catch this case.
2303   cat >conftest.$ac_ext <<_ACEOF
2304 /* confdefs.h.  */
2305 _ACEOF
2306 cat confdefs.h >>conftest.$ac_ext
2307 cat >>conftest.$ac_ext <<_ACEOF
2308 /* end confdefs.h.  */
2309 #ifdef __STDC__
2310 # include <limits.h>
2311 #else
2312 # include <assert.h>
2313 #endif
2314                      Syntax error
2315 _ACEOF
2316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2317   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2318   ac_status=$?
2319   grep -v '^ *+' conftest.er1 >conftest.err
2320   rm -f conftest.er1
2321   cat conftest.err >&5
2322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323   (exit $ac_status); } >/dev/null; then
2324   if test -s conftest.err; then
2325     ac_cpp_err=$ac_c_preproc_warn_flag
2326     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2327   else
2328     ac_cpp_err=
2329   fi
2330 else
2331   ac_cpp_err=yes
2332 fi
2333 if test -z "$ac_cpp_err"; then
2334   :
2335 else
2336   echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.$ac_ext >&5
2338
2339   # Broken: fails on valid input.
2340 continue
2341 fi
2342 rm -f conftest.err conftest.$ac_ext
2343
2344   # OK, works on sane cases.  Now check whether non-existent headers
2345   # can be detected and how.
2346   cat >conftest.$ac_ext <<_ACEOF
2347 /* confdefs.h.  */
2348 _ACEOF
2349 cat confdefs.h >>conftest.$ac_ext
2350 cat >>conftest.$ac_ext <<_ACEOF
2351 /* end confdefs.h.  */
2352 #include <ac_nonexistent.h>
2353 _ACEOF
2354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2355   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2356   ac_status=$?
2357   grep -v '^ *+' conftest.er1 >conftest.err
2358   rm -f conftest.er1
2359   cat conftest.err >&5
2360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361   (exit $ac_status); } >/dev/null; then
2362   if test -s conftest.err; then
2363     ac_cpp_err=$ac_c_preproc_warn_flag
2364     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2365   else
2366     ac_cpp_err=
2367   fi
2368 else
2369   ac_cpp_err=yes
2370 fi
2371 if test -z "$ac_cpp_err"; then
2372   # Broken: success on invalid input.
2373 continue
2374 else
2375   echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.$ac_ext >&5
2377
2378   # Passes both tests.
2379 ac_preproc_ok=:
2380 break
2381 fi
2382 rm -f conftest.err conftest.$ac_ext
2383
2384 done
2385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2386 rm -f conftest.err conftest.$ac_ext
2387 if $ac_preproc_ok; then
2388   :
2389 else
2390   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2391 See \`config.log' for more details." >&5
2392 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2393 See \`config.log' for more details." >&2;}
2394    { (exit 1); exit 1; }; }
2395 fi
2396
2397 ac_ext=c
2398 ac_cpp='$CPP $CPPFLAGS'
2399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2402
2403
2404 echo "$as_me:$LINENO: checking for egrep" >&5
2405 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2406 if test "${ac_cv_prog_egrep+set}" = set; then
2407   echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2410     then ac_cv_prog_egrep='grep -E'
2411     else ac_cv_prog_egrep='egrep'
2412     fi
2413 fi
2414 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2415 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2416  EGREP=$ac_cv_prog_egrep
2417
2418
2419
2420   # Keep these sync'd with the list in Makefile.am.  The first provides an
2421   # expandable list at autoconf time; the second provides an expandable list
2422   # (i.e., shell variable) at configure time.
2423
2424   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2425
2426   # These need to be absolute paths, yet at the same time need to
2427   # canonicalize only relative paths, because then amd will not unmount
2428   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2429   glibcxx_builddir=`${PWDCMD-pwd}`
2430   case $srcdir in
2431     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2432     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2433   esac
2434   toplevel_srcdir=${glibcxx_srcdir}/..
2435
2436
2437
2438
2439   # We use these options to decide which functions to include.  They are
2440   # set from the top level.
2441
2442 # Check whether --with-target-subdir or --without-target-subdir was given.
2443 if test "${with_target_subdir+set}" = set; then
2444   withval="$with_target_subdir"
2445
2446 fi;
2447
2448
2449 # Check whether --with-cross-host or --without-cross-host was given.
2450 if test "${with_cross_host+set}" = set; then
2451   withval="$with_cross_host"
2452
2453 fi;
2454
2455
2456 # Check whether --with-newlib or --without-newlib was given.
2457 if test "${with_newlib+set}" = set; then
2458   withval="$with_newlib"
2459
2460 fi;
2461
2462   # We're almost certainly being configured before anything else which uses
2463   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2464   # we not cache the value of CXX that we "discover" here, because it's set
2465   # to something unique for us and libjava.  Other target libraries need to
2466   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2467   # process by sneakily renaming the cache variable.  This also lets us debug
2468   # the value of "our" CXX in postmortems.
2469   #
2470   # We must also force CXX to /not/ be a precious variable, otherwise the
2471   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2472   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2473   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2474   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2475   #
2476   # -fno-builtin must be present here so that a non-conflicting form of
2477   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2478
2479
2480
2481
2482   save_CXXFLAGS="$CXXFLAGS"
2483   CXXFLAGS="$CXXFLAGS -fno-builtin"
2484   ac_ext=c
2485 ac_cpp='$CPP $CPPFLAGS'
2486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2489 if test -n "$ac_tool_prefix"; then
2490   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2491 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2492 echo "$as_me:$LINENO: checking for $ac_word" >&5
2493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2494 if test "${ac_cv_prog_CC+set}" = set; then
2495   echo $ECHO_N "(cached) $ECHO_C" >&6
2496 else
2497   if test -n "$CC"; then
2498   ac_cv_prog_CC="$CC" # Let the user override the test.
2499 else
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2502 do
2503   IFS=$as_save_IFS
2504   test -z "$as_dir" && as_dir=.
2505   for ac_exec_ext in '' $ac_executable_extensions; do
2506   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2507     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2508     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509     break 2
2510   fi
2511 done
2512 done
2513
2514 fi
2515 fi
2516 CC=$ac_cv_prog_CC
2517 if test -n "$CC"; then
2518   echo "$as_me:$LINENO: result: $CC" >&5
2519 echo "${ECHO_T}$CC" >&6
2520 else
2521   echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6
2523 fi
2524
2525 fi
2526 if test -z "$ac_cv_prog_CC"; then
2527   ac_ct_CC=$CC
2528   # Extract the first word of "gcc", so it can be a program name with args.
2529 set dummy gcc; ac_word=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533   echo $ECHO_N "(cached) $ECHO_C" >&6
2534 else
2535   if test -n "$ac_ct_CC"; then
2536   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2537 else
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539 for as_dir in $PATH
2540 do
2541   IFS=$as_save_IFS
2542   test -z "$as_dir" && as_dir=.
2543   for ac_exec_ext in '' $ac_executable_extensions; do
2544   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545     ac_cv_prog_ac_ct_CC="gcc"
2546     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547     break 2
2548   fi
2549 done
2550 done
2551
2552 fi
2553 fi
2554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2555 if test -n "$ac_ct_CC"; then
2556   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557 echo "${ECHO_T}$ac_ct_CC" >&6
2558 else
2559   echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2561 fi
2562
2563   CC=$ac_ct_CC
2564 else
2565   CC="$ac_cv_prog_CC"
2566 fi
2567
2568 if test -z "$CC"; then
2569   if test -n "$ac_tool_prefix"; then
2570   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2571 set dummy ${ac_tool_prefix}cc; ac_word=$2
2572 echo "$as_me:$LINENO: checking for $ac_word" >&5
2573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2574 if test "${ac_cv_prog_CC+set}" = set; then
2575   echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577   if test -n "$CC"; then
2578   ac_cv_prog_CC="$CC" # Let the user override the test.
2579 else
2580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 for as_dir in $PATH
2582 do
2583   IFS=$as_save_IFS
2584   test -z "$as_dir" && as_dir=.
2585   for ac_exec_ext in '' $ac_executable_extensions; do
2586   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2587     ac_cv_prog_CC="${ac_tool_prefix}cc"
2588     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2589     break 2
2590   fi
2591 done
2592 done
2593
2594 fi
2595 fi
2596 CC=$ac_cv_prog_CC
2597 if test -n "$CC"; then
2598   echo "$as_me:$LINENO: result: $CC" >&5
2599 echo "${ECHO_T}$CC" >&6
2600 else
2601   echo "$as_me:$LINENO: result: no" >&5
2602 echo "${ECHO_T}no" >&6
2603 fi
2604
2605 fi
2606 if test -z "$ac_cv_prog_CC"; then
2607   ac_ct_CC=$CC
2608   # Extract the first word of "cc", so it can be a program name with args.
2609 set dummy cc; ac_word=$2
2610 echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2612 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2613   echo $ECHO_N "(cached) $ECHO_C" >&6
2614 else
2615   if test -n "$ac_ct_CC"; then
2616   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2617 else
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2620 do
2621   IFS=$as_save_IFS
2622   test -z "$as_dir" && as_dir=.
2623   for ac_exec_ext in '' $ac_executable_extensions; do
2624   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625     ac_cv_prog_ac_ct_CC="cc"
2626     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627     break 2
2628   fi
2629 done
2630 done
2631
2632 fi
2633 fi
2634 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2635 if test -n "$ac_ct_CC"; then
2636   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2637 echo "${ECHO_T}$ac_ct_CC" >&6
2638 else
2639   echo "$as_me:$LINENO: result: no" >&5
2640 echo "${ECHO_T}no" >&6
2641 fi
2642
2643   CC=$ac_ct_CC
2644 else
2645   CC="$ac_cv_prog_CC"
2646 fi
2647
2648 fi
2649 if test -z "$CC"; then
2650   # Extract the first word of "cc", so it can be a program name with args.
2651 set dummy cc; ac_word=$2
2652 echo "$as_me:$LINENO: checking for $ac_word" >&5
2653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2654 if test "${ac_cv_prog_CC+set}" = set; then
2655   echo $ECHO_N "(cached) $ECHO_C" >&6
2656 else
2657   if test -n "$CC"; then
2658   ac_cv_prog_CC="$CC" # Let the user override the test.
2659 else
2660   ac_prog_rejected=no
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH
2663 do
2664   IFS=$as_save_IFS
2665   test -z "$as_dir" && as_dir=.
2666   for ac_exec_ext in '' $ac_executable_extensions; do
2667   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2669        ac_prog_rejected=yes
2670        continue
2671      fi
2672     ac_cv_prog_CC="cc"
2673     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2674     break 2
2675   fi
2676 done
2677 done
2678
2679 if test $ac_prog_rejected = yes; then
2680   # We found a bogon in the path, so make sure we never use it.
2681   set dummy $ac_cv_prog_CC
2682   shift
2683   if test $# != 0; then
2684     # We chose a different compiler from the bogus one.
2685     # However, it has the same basename, so the bogon will be chosen
2686     # first if we set CC to just the basename; use the full file name.
2687     shift
2688     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2689   fi
2690 fi
2691 fi
2692 fi
2693 CC=$ac_cv_prog_CC
2694 if test -n "$CC"; then
2695   echo "$as_me:$LINENO: result: $CC" >&5
2696 echo "${ECHO_T}$CC" >&6
2697 else
2698   echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6
2700 fi
2701
2702 fi
2703 if test -z "$CC"; then
2704   if test -n "$ac_tool_prefix"; then
2705   for ac_prog in cl
2706   do
2707     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2708 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2709 echo "$as_me:$LINENO: checking for $ac_word" >&5
2710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2711 if test "${ac_cv_prog_CC+set}" = set; then
2712   echo $ECHO_N "(cached) $ECHO_C" >&6
2713 else
2714   if test -n "$CC"; then
2715   ac_cv_prog_CC="$CC" # Let the user override the test.
2716 else
2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718 for as_dir in $PATH
2719 do
2720   IFS=$as_save_IFS
2721   test -z "$as_dir" && as_dir=.
2722   for ac_exec_ext in '' $ac_executable_extensions; do
2723   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2724     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2725     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2726     break 2
2727   fi
2728 done
2729 done
2730
2731 fi
2732 fi
2733 CC=$ac_cv_prog_CC
2734 if test -n "$CC"; then
2735   echo "$as_me:$LINENO: result: $CC" >&5
2736 echo "${ECHO_T}$CC" >&6
2737 else
2738   echo "$as_me:$LINENO: result: no" >&5
2739 echo "${ECHO_T}no" >&6
2740 fi
2741
2742     test -n "$CC" && break
2743   done
2744 fi
2745 if test -z "$CC"; then
2746   ac_ct_CC=$CC
2747   for ac_prog in cl
2748 do
2749   # Extract the first word of "$ac_prog", so it can be a program name with args.
2750 set dummy $ac_prog; ac_word=$2
2751 echo "$as_me:$LINENO: checking for $ac_word" >&5
2752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2753 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2754   echo $ECHO_N "(cached) $ECHO_C" >&6
2755 else
2756   if test -n "$ac_ct_CC"; then
2757   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2758 else
2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 for as_dir in $PATH
2761 do
2762   IFS=$as_save_IFS
2763   test -z "$as_dir" && as_dir=.
2764   for ac_exec_ext in '' $ac_executable_extensions; do
2765   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2766     ac_cv_prog_ac_ct_CC="$ac_prog"
2767     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2768     break 2
2769   fi
2770 done
2771 done
2772
2773 fi
2774 fi
2775 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2776 if test -n "$ac_ct_CC"; then
2777   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2778 echo "${ECHO_T}$ac_ct_CC" >&6
2779 else
2780   echo "$as_me:$LINENO: result: no" >&5
2781 echo "${ECHO_T}no" >&6
2782 fi
2783
2784   test -n "$ac_ct_CC" && break
2785 done
2786
2787   CC=$ac_ct_CC
2788 fi
2789
2790 fi
2791
2792
2793 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2794 See \`config.log' for more details." >&5
2795 echo "$as_me: error: no acceptable C compiler found in \$PATH
2796 See \`config.log' for more details." >&2;}
2797    { (exit 1); exit 1; }; }
2798
2799 # Provide some information about the compiler.
2800 echo "$as_me:$LINENO:" \
2801      "checking for C compiler version" >&5
2802 ac_compiler=`set X $ac_compile; echo $2`
2803 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2804   (eval $ac_compiler --version </dev/null >&5) 2>&5
2805   ac_status=$?
2806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807   (exit $ac_status); }
2808 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2809   (eval $ac_compiler -v </dev/null >&5) 2>&5
2810   ac_status=$?
2811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2812   (exit $ac_status); }
2813 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2814   (eval $ac_compiler -V </dev/null >&5) 2>&5
2815   ac_status=$?
2816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817   (exit $ac_status); }
2818
2819 cat >conftest.$ac_ext <<_ACEOF
2820 /* confdefs.h.  */
2821 _ACEOF
2822 cat confdefs.h >>conftest.$ac_ext
2823 cat >>conftest.$ac_ext <<_ACEOF
2824 /* end confdefs.h.  */
2825
2826 int
2827 main ()
2828 {
2829
2830   ;
2831   return 0;
2832 }
2833 _ACEOF
2834 # FIXME: Cleanup?
2835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2836   (eval $ac_link) 2>&5
2837   ac_status=$?
2838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839   (exit $ac_status); }; then
2840   gcc_no_link=no
2841 else
2842   gcc_no_link=yes
2843 fi
2844
2845 if test x$gcc_no_link = xyes; then
2846   # Setting cross_compile will disable run tests; it will
2847   # also disable AC_CHECK_FILE but that's generally
2848   # correct if we can't link.
2849   cross_compiling=yes
2850   EXEEXT=
2851 else
2852   cat >conftest.$ac_ext <<_ACEOF
2853 /* confdefs.h.  */
2854 _ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h.  */
2858
2859 int
2860 main ()
2861 {
2862
2863   ;
2864   return 0;
2865 }
2866 _ACEOF
2867 ac_clean_files_save=$ac_clean_files
2868 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2869 # Try to create an executable without -o first, disregard a.out.
2870 # It will help us diagnose broken compilers, and finding out an intuition
2871 # of exeext.
2872 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2873 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2874 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2875 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2876   (eval $ac_link_default) 2>&5
2877   ac_status=$?
2878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879   (exit $ac_status); }; then
2880   # Find the output, starting from the most likely.  This scheme is
2881 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2882 # resort.
2883
2884 # Be careful to initialize this variable, since it used to be cached.
2885 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2886 ac_cv_exeext=
2887 # b.out is created by i960 compilers.
2888 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2889 do
2890   test -f "$ac_file" || continue
2891   case $ac_file in
2892     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2893         ;;
2894     conftest.$ac_ext )
2895         # This is the source file.
2896         ;;
2897     [ab].out )
2898         # We found the default executable, but exeext='' is most
2899         # certainly right.
2900         break;;
2901     *.* )
2902         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2903         # FIXME: I believe we export ac_cv_exeext for Libtool,
2904         # but it would be cool to find out if it's true.  Does anybody
2905         # maintain Libtool? --akim.
2906         export ac_cv_exeext
2907         break;;
2908     * )
2909         break;;
2910   esac
2911 done
2912 else
2913   echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2915
2916 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2917 See \`config.log' for more details." >&5
2918 echo "$as_me: error: C compiler cannot create executables
2919 See \`config.log' for more details." >&2;}
2920    { (exit 77); exit 77; }; }
2921 fi
2922
2923 ac_exeext=$ac_cv_exeext
2924 echo "$as_me:$LINENO: result: $ac_file" >&5
2925 echo "${ECHO_T}$ac_file" >&6
2926
2927 # Check the compiler produces executables we can run.  If not, either
2928 # the compiler is broken, or we cross compile.
2929 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2930 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2931 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2932 # If not cross compiling, check that we can run a simple program.
2933 if test "$cross_compiling" != yes; then
2934   if { ac_try='./$ac_file'
2935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2936   (eval $ac_try) 2>&5
2937   ac_status=$?
2938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939   (exit $ac_status); }; }; then
2940     cross_compiling=no
2941   else
2942     if test "$cross_compiling" = maybe; then
2943         cross_compiling=yes
2944     else
2945         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2946 If you meant to cross compile, use \`--host'.
2947 See \`config.log' for more details." >&5
2948 echo "$as_me: error: cannot run C compiled programs.
2949 If you meant to cross compile, use \`--host'.
2950 See \`config.log' for more details." >&2;}
2951    { (exit 1); exit 1; }; }
2952     fi
2953   fi
2954 fi
2955 echo "$as_me:$LINENO: result: yes" >&5
2956 echo "${ECHO_T}yes" >&6
2957
2958 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2959 ac_clean_files=$ac_clean_files_save
2960 # Check the compiler produces executables we can run.  If not, either
2961 # the compiler is broken, or we cross compile.
2962 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2963 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2964 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2965 echo "${ECHO_T}$cross_compiling" >&6
2966
2967 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2968 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2970   (eval $ac_link) 2>&5
2971   ac_status=$?
2972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973   (exit $ac_status); }; then
2974   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2977 # `rm'.
2978 for ac_file in conftest.exe conftest conftest.*; do
2979   test -f "$ac_file" || continue
2980   case $ac_file in
2981     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2982     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983           export ac_cv_exeext
2984           break;;
2985     * ) break;;
2986   esac
2987 done
2988 else
2989   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2990 See \`config.log' for more details." >&5
2991 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2992 See \`config.log' for more details." >&2;}
2993    { (exit 1); exit 1; }; }
2994 fi
2995
2996 rm -f conftest$ac_cv_exeext
2997 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2998 echo "${ECHO_T}$ac_cv_exeext" >&6
2999
3000 rm -f conftest.$ac_ext
3001 EXEEXT=$ac_cv_exeext
3002 ac_exeext=$EXEEXT
3003 fi
3004 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3005 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3006 if test "${ac_cv_objext+set}" = set; then
3007   echo $ECHO_N "(cached) $ECHO_C" >&6
3008 else
3009   cat >conftest.$ac_ext <<_ACEOF
3010 /* confdefs.h.  */
3011 _ACEOF
3012 cat confdefs.h >>conftest.$ac_ext
3013 cat >>conftest.$ac_ext <<_ACEOF
3014 /* end confdefs.h.  */
3015
3016 int
3017 main ()
3018 {
3019
3020   ;
3021   return 0;
3022 }
3023 _ACEOF
3024 rm -f conftest.o conftest.obj
3025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3026   (eval $ac_compile) 2>&5
3027   ac_status=$?
3028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029   (exit $ac_status); }; then
3030   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3031   case $ac_file in
3032     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3033     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3034        break;;
3035   esac
3036 done
3037 else
3038   echo "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3040
3041 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3042 See \`config.log' for more details." >&5
3043 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3044 See \`config.log' for more details." >&2;}
3045    { (exit 1); exit 1; }; }
3046 fi
3047
3048 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3049 fi
3050 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3051 echo "${ECHO_T}$ac_cv_objext" >&6
3052 OBJEXT=$ac_cv_objext
3053 ac_objext=$OBJEXT
3054 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3055 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3056 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3057   echo $ECHO_N "(cached) $ECHO_C" >&6
3058 else
3059   cat >conftest.$ac_ext <<_ACEOF
3060 /* confdefs.h.  */
3061 _ACEOF
3062 cat confdefs.h >>conftest.$ac_ext
3063 cat >>conftest.$ac_ext <<_ACEOF
3064 /* end confdefs.h.  */
3065
3066 int
3067 main ()
3068 {
3069 #ifndef __GNUC__
3070        choke me
3071 #endif
3072
3073   ;
3074   return 0;
3075 }
3076 _ACEOF
3077 rm -f conftest.$ac_objext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079   (eval $ac_compile) 2>conftest.er1
3080   ac_status=$?
3081   grep -v '^ *+' conftest.er1 >conftest.err
3082   rm -f conftest.er1
3083   cat conftest.err >&5
3084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085   (exit $ac_status); } &&
3086          { ac_try='test -z "$ac_c_werror_flag"
3087                          || test ! -s conftest.err'
3088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3089   (eval $ac_try) 2>&5
3090   ac_status=$?
3091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092   (exit $ac_status); }; } &&
3093          { ac_try='test -s conftest.$ac_objext'
3094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3095   (eval $ac_try) 2>&5
3096   ac_status=$?
3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098   (exit $ac_status); }; }; then
3099   ac_compiler_gnu=yes
3100 else
3101   echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3103
3104 ac_compiler_gnu=no
3105 fi
3106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3108
3109 fi
3110 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3111 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3112 GCC=`test $ac_compiler_gnu = yes && echo yes`
3113 ac_test_CFLAGS=${CFLAGS+set}
3114 ac_save_CFLAGS=$CFLAGS
3115 CFLAGS="-g"
3116 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3117 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3118 if test "${ac_cv_prog_cc_g+set}" = set; then
3119   echo $ECHO_N "(cached) $ECHO_C" >&6
3120 else
3121   cat >conftest.$ac_ext <<_ACEOF
3122 /* confdefs.h.  */
3123 _ACEOF
3124 cat confdefs.h >>conftest.$ac_ext
3125 cat >>conftest.$ac_ext <<_ACEOF
3126 /* end confdefs.h.  */
3127
3128 int
3129 main ()
3130 {
3131
3132   ;
3133   return 0;
3134 }
3135 _ACEOF
3136 rm -f conftest.$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138   (eval $ac_compile) 2>conftest.er1
3139   ac_status=$?
3140   grep -v '^ *+' conftest.er1 >conftest.err
3141   rm -f conftest.er1
3142   cat conftest.err >&5
3143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144   (exit $ac_status); } &&
3145          { ac_try='test -z "$ac_c_werror_flag"
3146                          || test ! -s conftest.err'
3147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148   (eval $ac_try) 2>&5
3149   ac_status=$?
3150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151   (exit $ac_status); }; } &&
3152          { ac_try='test -s conftest.$ac_objext'
3153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154   (eval $ac_try) 2>&5
3155   ac_status=$?
3156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157   (exit $ac_status); }; }; then
3158   ac_cv_prog_cc_g=yes
3159 else
3160   echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.$ac_ext >&5
3162
3163 ac_cv_prog_cc_g=no
3164 fi
3165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3166 fi
3167 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3168 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3169 if test "$ac_test_CFLAGS" = set; then
3170   CFLAGS=$ac_save_CFLAGS
3171 elif test $ac_cv_prog_cc_g = yes; then
3172   if test "$GCC" = yes; then
3173     CFLAGS="-g -O2"
3174   else
3175     CFLAGS="-g"
3176   fi
3177 else
3178   if test "$GCC" = yes; then
3179     CFLAGS="-O2"
3180   else
3181     CFLAGS=
3182   fi
3183 fi
3184 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3185 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3186 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3187   echo $ECHO_N "(cached) $ECHO_C" >&6
3188 else
3189   ac_cv_prog_cc_stdc=no
3190 ac_save_CC=$CC
3191 cat >conftest.$ac_ext <<_ACEOF
3192 /* confdefs.h.  */
3193 _ACEOF
3194 cat confdefs.h >>conftest.$ac_ext
3195 cat >>conftest.$ac_ext <<_ACEOF
3196 /* end confdefs.h.  */
3197 #include <stdarg.h>
3198 #include <stdio.h>
3199 #include <sys/types.h>
3200 #include <sys/stat.h>
3201 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3202 struct buf { int x; };
3203 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3204 static char *e (p, i)
3205      char **p;
3206      int i;
3207 {
3208   return p[i];
3209 }
3210 static char *f (char * (*g) (char **, int), char **p, ...)
3211 {
3212   char *s;
3213   va_list v;
3214   va_start (v,p);
3215   s = g (p, va_arg (v,int));
3216   va_end (v);
3217   return s;
3218 }
3219
3220 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3221    function prototypes and stuff, but not '\xHH' hex character constants.
3222    These don't provoke an error unfortunately, instead are silently treated
3223    as 'x'.  The following induces an error, until -std1 is added to get
3224    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3225    array size at least.  It's necessary to write '\x00'==0 to get something
3226    that's true only with -std1.  */
3227 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3228
3229 int test (int i, double x);
3230 struct s1 {int (*f) (int a);};
3231 struct s2 {int (*f) (double a);};
3232 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3233 int argc;
3234 char **argv;
3235 int
3236 main ()
3237 {
3238 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3239   ;
3240   return 0;
3241 }
3242 _ACEOF
3243 # Don't try gcc -ansi; that turns off useful extensions and
3244 # breaks some systems' header files.
3245 # AIX                   -qlanglvl=ansi
3246 # Ultrix and OSF/1      -std1
3247 # HP-UX 10.20 and later -Ae
3248 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3249 # SVR4                  -Xc -D__EXTENSIONS__
3250 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3251 do
3252   CC="$ac_save_CC $ac_arg"
3253   rm -f conftest.$ac_objext
3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3255   (eval $ac_compile) 2>conftest.er1
3256   ac_status=$?
3257   grep -v '^ *+' conftest.er1 >conftest.err
3258   rm -f conftest.er1
3259   cat conftest.err >&5
3260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261   (exit $ac_status); } &&
3262          { ac_try='test -z "$ac_c_werror_flag"
3263                          || test ! -s conftest.err'
3264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265   (eval $ac_try) 2>&5
3266   ac_status=$?
3267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268   (exit $ac_status); }; } &&
3269          { ac_try='test -s conftest.$ac_objext'
3270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271   (eval $ac_try) 2>&5
3272   ac_status=$?
3273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274   (exit $ac_status); }; }; then
3275   ac_cv_prog_cc_stdc=$ac_arg
3276 break
3277 else
3278   echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3280
3281 fi
3282 rm -f conftest.err conftest.$ac_objext
3283 done
3284 rm -f conftest.$ac_ext conftest.$ac_objext
3285 CC=$ac_save_CC
3286
3287 fi
3288
3289 case "x$ac_cv_prog_cc_stdc" in
3290   x|xno)
3291     echo "$as_me:$LINENO: result: none needed" >&5
3292 echo "${ECHO_T}none needed" >&6 ;;
3293   *)
3294     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3295 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3296     CC="$CC $ac_cv_prog_cc_stdc" ;;
3297 esac
3298
3299 # Some people use a C++ compiler to compile C.  Since we use `exit',
3300 # in C++ we need to declare it.  In case someone uses the same compiler
3301 # for both compiling C and C++ we need to have the C++ compiler decide
3302 # the declaration of exit, since it's the most demanding environment.
3303 cat >conftest.$ac_ext <<_ACEOF
3304 #ifndef __cplusplus
3305   choke me
3306 #endif
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310   (eval $ac_compile) 2>conftest.er1
3311   ac_status=$?
3312   grep -v '^ *+' conftest.er1 >conftest.err
3313   rm -f conftest.er1
3314   cat conftest.err >&5
3315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316   (exit $ac_status); } &&
3317          { ac_try='test -z "$ac_c_werror_flag"
3318                          || test ! -s conftest.err'
3319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320   (eval $ac_try) 2>&5
3321   ac_status=$?
3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323   (exit $ac_status); }; } &&
3324          { ac_try='test -s conftest.$ac_objext'
3325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326   (eval $ac_try) 2>&5
3327   ac_status=$?
3328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329   (exit $ac_status); }; }; then
3330   for ac_declaration in \
3331    '' \
3332    'extern "C" void std::exit (int) throw (); using std::exit;' \
3333    'extern "C" void std::exit (int); using std::exit;' \
3334    'extern "C" void exit (int) throw ();' \
3335    'extern "C" void exit (int);' \
3336    'void exit (int);'
3337 do
3338   cat >conftest.$ac_ext <<_ACEOF
3339 /* confdefs.h.  */
3340 _ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h.  */
3344 $ac_declaration
3345 #include <stdlib.h>
3346 int
3347 main ()
3348 {
3349 exit (42);
3350   ;
3351   return 0;
3352 }
3353 _ACEOF
3354 rm -f conftest.$ac_objext
3355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3356   (eval $ac_compile) 2>conftest.er1
3357   ac_status=$?
3358   grep -v '^ *+' conftest.er1 >conftest.err
3359   rm -f conftest.er1
3360   cat conftest.err >&5
3361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362   (exit $ac_status); } &&
3363          { ac_try='test -z "$ac_c_werror_flag"
3364                          || test ! -s conftest.err'
3365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366   (eval $ac_try) 2>&5
3367   ac_status=$?
3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369   (exit $ac_status); }; } &&
3370          { ac_try='test -s conftest.$ac_objext'
3371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372   (eval $ac_try) 2>&5
3373   ac_status=$?
3374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375   (exit $ac_status); }; }; then
3376   :
3377 else
3378   echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3380
3381 continue
3382 fi
3383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3384   cat >conftest.$ac_ext <<_ACEOF
3385 /* confdefs.h.  */
3386 _ACEOF
3387 cat confdefs.h >>conftest.$ac_ext
3388 cat >>conftest.$ac_ext <<_ACEOF
3389 /* end confdefs.h.  */
3390 $ac_declaration
3391 int
3392 main ()
3393 {
3394 exit (42);
3395   ;
3396   return 0;
3397 }
3398 _ACEOF
3399 rm -f conftest.$ac_objext
3400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3401   (eval $ac_compile) 2>conftest.er1
3402   ac_status=$?
3403   grep -v '^ *+' conftest.er1 >conftest.err
3404   rm -f conftest.er1
3405   cat conftest.err >&5
3406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407   (exit $ac_status); } &&
3408          { ac_try='test -z "$ac_c_werror_flag"
3409                          || test ! -s conftest.err'
3410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411   (eval $ac_try) 2>&5
3412   ac_status=$?
3413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414   (exit $ac_status); }; } &&
3415          { ac_try='test -s conftest.$ac_objext'
3416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417   (eval $ac_try) 2>&5
3418   ac_status=$?
3419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420   (exit $ac_status); }; }; then
3421   break
3422 else
3423   echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3425
3426 fi
3427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3428 done
3429 rm -f conftest*
3430 if test -n "$ac_declaration"; then
3431   echo '#ifdef __cplusplus' >>confdefs.h
3432   echo $ac_declaration      >>confdefs.h
3433   echo '#endif'             >>confdefs.h
3434 fi
3435
3436 else
3437   echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3439
3440 fi
3441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3442 ac_ext=c
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3447
3448   ac_ext=cc
3449 ac_cpp='$CXXCPP $CPPFLAGS'
3450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3453 if test -n "$ac_tool_prefix"; then
3454   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3455   do
3456     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3457 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3458 echo "$as_me:$LINENO: checking for $ac_word" >&5
3459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3460 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3461   echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463   if test -n "$CXX"; then
3464   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3465 else
3466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467 for as_dir in $PATH
3468 do
3469   IFS=$as_save_IFS
3470   test -z "$as_dir" && as_dir=.
3471   for ac_exec_ext in '' $ac_executable_extensions; do
3472   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3473     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3474     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475     break 2
3476   fi
3477 done
3478 done
3479
3480 fi
3481 fi
3482 CXX=$glibcxx_cv_prog_CXX
3483 if test -n "$CXX"; then
3484   echo "$as_me:$LINENO: result: $CXX" >&5
3485 echo "${ECHO_T}$CXX" >&6
3486 else
3487   echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3489 fi
3490
3491     test -n "$CXX" && break
3492   done
3493 fi
3494 if test -z "$CXX"; then
3495   ac_ct_CXX=$CXX
3496   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3497 do
3498   # Extract the first word of "$ac_prog", so it can be a program name with args.
3499 set dummy $ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3503   echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505   if test -n "$ac_ct_CXX"; then
3506   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511   IFS=$as_save_IFS
3512   test -z "$as_dir" && as_dir=.
3513   for ac_exec_ext in '' $ac_executable_extensions; do
3514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515     ac_cv_prog_ac_ct_CXX="$ac_prog"
3516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517     break 2
3518   fi
3519 done
3520 done
3521
3522 fi
3523 fi
3524 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3525 if test -n "$ac_ct_CXX"; then
3526   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3527 echo "${ECHO_T}$ac_ct_CXX" >&6
3528 else
3529   echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3531 fi
3532
3533   test -n "$ac_ct_CXX" && break
3534 done
3535 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3536
3537   CXX=$ac_ct_CXX
3538 fi
3539
3540
3541 # Provide some information about the compiler.
3542 echo "$as_me:$LINENO:" \
3543      "checking for C++ compiler version" >&5
3544 ac_compiler=`set X $ac_compile; echo $2`
3545 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3546   (eval $ac_compiler --version </dev/null >&5) 2>&5
3547   ac_status=$?
3548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549   (exit $ac_status); }
3550 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3551   (eval $ac_compiler -v </dev/null >&5) 2>&5
3552   ac_status=$?
3553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554   (exit $ac_status); }
3555 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3556   (eval $ac_compiler -V </dev/null >&5) 2>&5
3557   ac_status=$?
3558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559   (exit $ac_status); }
3560
3561 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3562 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3564   echo $ECHO_N "(cached) $ECHO_C" >&6
3565 else
3566   cat >conftest.$ac_ext <<_ACEOF
3567 /* confdefs.h.  */
3568 _ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h.  */
3572
3573 int
3574 main ()
3575 {
3576 #ifndef __GNUC__
3577        choke me
3578 #endif
3579
3580   ;
3581   return 0;
3582 }
3583 _ACEOF
3584 rm -f conftest.$ac_objext
3585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3586   (eval $ac_compile) 2>conftest.er1
3587   ac_status=$?
3588   grep -v '^ *+' conftest.er1 >conftest.err
3589   rm -f conftest.er1
3590   cat conftest.err >&5
3591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592   (exit $ac_status); } &&
3593          { ac_try='test -z "$ac_cxx_werror_flag"
3594                          || test ! -s conftest.err'
3595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596   (eval $ac_try) 2>&5
3597   ac_status=$?
3598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599   (exit $ac_status); }; } &&
3600          { ac_try='test -s conftest.$ac_objext'
3601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602   (eval $ac_try) 2>&5
3603   ac_status=$?
3604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605   (exit $ac_status); }; }; then
3606   ac_compiler_gnu=yes
3607 else
3608   echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3610
3611 ac_compiler_gnu=no
3612 fi
3613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3614 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3615
3616 fi
3617 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3618 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3619 GXX=`test $ac_compiler_gnu = yes && echo yes`
3620 ac_test_CXXFLAGS=${CXXFLAGS+set}
3621 ac_save_CXXFLAGS=$CXXFLAGS
3622 CXXFLAGS="-g"
3623 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3624 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3625 if test "${ac_cv_prog_cxx_g+set}" = set; then
3626   echo $ECHO_N "(cached) $ECHO_C" >&6
3627 else
3628   cat >conftest.$ac_ext <<_ACEOF
3629 /* confdefs.h.  */
3630 _ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h.  */
3634
3635 int
3636 main ()
3637 {
3638
3639   ;
3640   return 0;
3641 }
3642 _ACEOF
3643 rm -f conftest.$ac_objext
3644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3645   (eval $ac_compile) 2>conftest.er1
3646   ac_status=$?
3647   grep -v '^ *+' conftest.er1 >conftest.err
3648   rm -f conftest.er1
3649   cat conftest.err >&5
3650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651   (exit $ac_status); } &&
3652          { ac_try='test -z "$ac_cxx_werror_flag"
3653                          || test ! -s conftest.err'
3654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3655   (eval $ac_try) 2>&5
3656   ac_status=$?
3657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658   (exit $ac_status); }; } &&
3659          { ac_try='test -s conftest.$ac_objext'
3660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3661   (eval $ac_try) 2>&5
3662   ac_status=$?
3663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664   (exit $ac_status); }; }; then
3665   ac_cv_prog_cxx_g=yes
3666 else
3667   echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3669
3670 ac_cv_prog_cxx_g=no
3671 fi
3672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3673 fi
3674 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3675 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3676 if test "$ac_test_CXXFLAGS" = set; then
3677   CXXFLAGS=$ac_save_CXXFLAGS
3678 elif test $ac_cv_prog_cxx_g = yes; then
3679   if test "$GXX" = yes; then
3680     CXXFLAGS="-g -O2"
3681   else
3682     CXXFLAGS="-g"
3683   fi
3684 else
3685   if test "$GXX" = yes; then
3686     CXXFLAGS="-O2"
3687   else
3688     CXXFLAGS=
3689   fi
3690 fi
3691 for ac_declaration in \
3692    '' \
3693    'extern "C" void std::exit (int) throw (); using std::exit;' \
3694    'extern "C" void std::exit (int); using std::exit;' \
3695    'extern "C" void exit (int) throw ();' \
3696    'extern "C" void exit (int);' \
3697    'void exit (int);'
3698 do
3699   cat >conftest.$ac_ext <<_ACEOF
3700 /* confdefs.h.  */
3701 _ACEOF
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h.  */
3705 $ac_declaration
3706 #include <stdlib.h>
3707 int
3708 main ()
3709 {
3710 exit (42);
3711   ;
3712   return 0;
3713 }
3714 _ACEOF
3715 rm -f conftest.$ac_objext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3717   (eval $ac_compile) 2>conftest.er1
3718   ac_status=$?
3719   grep -v '^ *+' conftest.er1 >conftest.err
3720   rm -f conftest.er1
3721   cat conftest.err >&5
3722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723   (exit $ac_status); } &&
3724          { ac_try='test -z "$ac_cxx_werror_flag"
3725                          || test ! -s conftest.err'
3726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727   (eval $ac_try) 2>&5
3728   ac_status=$?
3729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730   (exit $ac_status); }; } &&
3731          { ac_try='test -s conftest.$ac_objext'
3732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733   (eval $ac_try) 2>&5
3734   ac_status=$?
3735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736   (exit $ac_status); }; }; then
3737   :
3738 else
3739   echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3741
3742 continue
3743 fi
3744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3745   cat >conftest.$ac_ext <<_ACEOF
3746 /* confdefs.h.  */
3747 _ACEOF
3748 cat confdefs.h >>conftest.$ac_ext
3749 cat >>conftest.$ac_ext <<_ACEOF
3750 /* end confdefs.h.  */
3751 $ac_declaration
3752 int
3753 main ()
3754 {
3755 exit (42);
3756   ;
3757   return 0;
3758 }
3759 _ACEOF
3760 rm -f conftest.$ac_objext
3761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3762   (eval $ac_compile) 2>conftest.er1
3763   ac_status=$?
3764   grep -v '^ *+' conftest.er1 >conftest.err
3765   rm -f conftest.er1
3766   cat conftest.err >&5
3767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768   (exit $ac_status); } &&
3769          { ac_try='test -z "$ac_cxx_werror_flag"
3770                          || test ! -s conftest.err'
3771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772   (eval $ac_try) 2>&5
3773   ac_status=$?
3774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775   (exit $ac_status); }; } &&
3776          { ac_try='test -s conftest.$ac_objext'
3777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778   (eval $ac_try) 2>&5
3779   ac_status=$?
3780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781   (exit $ac_status); }; }; then
3782   break
3783 else
3784   echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.$ac_ext >&5
3786
3787 fi
3788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3789 done
3790 rm -f conftest*
3791 if test -n "$ac_declaration"; then
3792   echo '#ifdef __cplusplus' >>confdefs.h
3793   echo $ac_declaration      >>confdefs.h
3794   echo '#endif'             >>confdefs.h
3795 fi
3796
3797 ac_ext=c
3798 ac_cpp='$CPP $CPPFLAGS'
3799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3802
3803   CXXFLAGS="$save_CXXFLAGS"
3804
3805
3806
3807
3808   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3809   # available).  Uncomment the next line to force a particular method.
3810   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3811 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3812 LN_S=$as_ln_s
3813 if test "$LN_S" = "ln -s"; then
3814   echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3816 else
3817   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3818 echo "${ECHO_T}no, using $LN_S" >&6
3819 fi
3820
3821   #LN_S='cp -p'
3822
3823   if test -n "$ac_tool_prefix"; then
3824   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3825 set dummy ${ac_tool_prefix}as; ac_word=$2
3826 echo "$as_me:$LINENO: checking for $ac_word" >&5
3827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3828 if test "${ac_cv_prog_AS+set}" = set; then
3829   echo $ECHO_N "(cached) $ECHO_C" >&6
3830 else
3831   if test -n "$AS"; then
3832   ac_cv_prog_AS="$AS" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3836 do
3837   IFS=$as_save_IFS
3838   test -z "$as_dir" && as_dir=.
3839   for ac_exec_ext in '' $ac_executable_extensions; do
3840   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3841     ac_cv_prog_AS="${ac_tool_prefix}as"
3842     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3843     break 2
3844   fi
3845 done
3846 done
3847
3848 fi
3849 fi
3850 AS=$ac_cv_prog_AS
3851 if test -n "$AS"; then
3852   echo "$as_me:$LINENO: result: $AS" >&5
3853 echo "${ECHO_T}$AS" >&6
3854 else
3855   echo "$as_me:$LINENO: result: no" >&5
3856 echo "${ECHO_T}no" >&6
3857 fi
3858
3859 fi
3860 if test -z "$ac_cv_prog_AS"; then
3861   ac_ct_AS=$AS
3862   # Extract the first word of "as", so it can be a program name with args.
3863 set dummy as; ac_word=$2
3864 echo "$as_me:$LINENO: checking for $ac_word" >&5
3865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3866 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3867   echo $ECHO_N "(cached) $ECHO_C" >&6
3868 else
3869   if test -n "$ac_ct_AS"; then
3870   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3871 else
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 for as_dir in $PATH
3874 do
3875   IFS=$as_save_IFS
3876   test -z "$as_dir" && as_dir=.
3877   for ac_exec_ext in '' $ac_executable_extensions; do
3878   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3879     ac_cv_prog_ac_ct_AS="as"
3880     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3881     break 2
3882   fi
3883 done
3884 done
3885
3886 fi
3887 fi
3888 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3889 if test -n "$ac_ct_AS"; then
3890   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3891 echo "${ECHO_T}$ac_ct_AS" >&6
3892 else
3893   echo "$as_me:$LINENO: result: no" >&5
3894 echo "${ECHO_T}no" >&6
3895 fi
3896
3897   AS=$ac_ct_AS
3898 else
3899   AS="$ac_cv_prog_AS"
3900 fi
3901
3902   if test -n "$ac_tool_prefix"; then
3903   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3904 set dummy ${ac_tool_prefix}ar; ac_word=$2
3905 echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3907 if test "${ac_cv_prog_AR+set}" = set; then
3908   echo $ECHO_N "(cached) $ECHO_C" >&6
3909 else
3910   if test -n "$AR"; then
3911   ac_cv_prog_AR="$AR" # Let the user override the test.
3912 else
3913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 for as_dir in $PATH
3915 do
3916   IFS=$as_save_IFS
3917   test -z "$as_dir" && as_dir=.
3918   for ac_exec_ext in '' $ac_executable_extensions; do
3919   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3920     ac_cv_prog_AR="${ac_tool_prefix}ar"
3921     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922     break 2
3923   fi
3924 done
3925 done
3926
3927 fi
3928 fi
3929 AR=$ac_cv_prog_AR
3930 if test -n "$AR"; then
3931   echo "$as_me:$LINENO: result: $AR" >&5
3932 echo "${ECHO_T}$AR" >&6
3933 else
3934   echo "$as_me:$LINENO: result: no" >&5
3935 echo "${ECHO_T}no" >&6
3936 fi
3937
3938 fi
3939 if test -z "$ac_cv_prog_AR"; then
3940   ac_ct_AR=$AR
3941   # Extract the first word of "ar", so it can be a program name with args.
3942 set dummy ar; ac_word=$2
3943 echo "$as_me:$LINENO: checking for $ac_word" >&5
3944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3945 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3946   echo $ECHO_N "(cached) $ECHO_C" >&6
3947 else
3948   if test -n "$ac_ct_AR"; then
3949   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3950 else
3951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 for as_dir in $PATH
3953 do
3954   IFS=$as_save_IFS
3955   test -z "$as_dir" && as_dir=.
3956   for ac_exec_ext in '' $ac_executable_extensions; do
3957   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3958     ac_cv_prog_ac_ct_AR="ar"
3959     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3960     break 2
3961   fi
3962 done
3963 done
3964
3965 fi
3966 fi
3967 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3968 if test -n "$ac_ct_AR"; then
3969   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3970 echo "${ECHO_T}$ac_ct_AR" >&6
3971 else
3972   echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3974 fi
3975
3976   AR=$ac_ct_AR
3977 else
3978   AR="$ac_cv_prog_AR"
3979 fi
3980
3981   if test -n "$ac_tool_prefix"; then
3982   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3983 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3984 echo "$as_me:$LINENO: checking for $ac_word" >&5
3985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3986 if test "${ac_cv_prog_RANLIB+set}" = set; then
3987   echo $ECHO_N "(cached) $ECHO_C" >&6
3988 else
3989   if test -n "$RANLIB"; then
3990   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3991 else
3992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3993 for as_dir in $PATH
3994 do
3995   IFS=$as_save_IFS
3996   test -z "$as_dir" && as_dir=.
3997   for ac_exec_ext in '' $ac_executable_extensions; do
3998   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3999     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4000     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4001     break 2
4002   fi
4003 done
4004 done
4005
4006 fi
4007 fi
4008 RANLIB=$ac_cv_prog_RANLIB
4009 if test -n "$RANLIB"; then
4010   echo "$as_me:$LINENO: result: $RANLIB" >&5
4011 echo "${ECHO_T}$RANLIB" >&6
4012 else
4013   echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4015 fi
4016
4017 fi
4018 if test -z "$ac_cv_prog_RANLIB"; then
4019   ac_ct_RANLIB=$RANLIB
4020   # Extract the first word of "ranlib", so it can be a program name with args.
4021 set dummy ranlib; ac_word=$2
4022 echo "$as_me:$LINENO: checking for $ac_word" >&5
4023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4024 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4025   echo $ECHO_N "(cached) $ECHO_C" >&6
4026 else
4027   if test -n "$ac_ct_RANLIB"; then
4028   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4029 else
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4032 do
4033   IFS=$as_save_IFS
4034   test -z "$as_dir" && as_dir=.
4035   for ac_exec_ext in '' $ac_executable_extensions; do
4036   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037     ac_cv_prog_ac_ct_RANLIB="ranlib"
4038     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4039     break 2
4040   fi
4041 done
4042 done
4043
4044   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4045 fi
4046 fi
4047 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4048 if test -n "$ac_ct_RANLIB"; then
4049   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4050 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4051 else
4052   echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4054 fi
4055
4056   RANLIB=$ac_ct_RANLIB
4057 else
4058   RANLIB="$ac_cv_prog_RANLIB"
4059 fi
4060
4061
4062   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4063 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4064     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4065 if test "${enable_maintainer_mode+set}" = set; then
4066   enableval="$enable_maintainer_mode"
4067   USE_MAINTAINER_MODE=$enableval
4068 else
4069   USE_MAINTAINER_MODE=no
4070 fi;
4071   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4072 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4073
4074
4075 if test $USE_MAINTAINER_MODE = yes; then
4076   MAINTAINER_MODE_TRUE=
4077   MAINTAINER_MODE_FALSE='#'
4078 else
4079   MAINTAINER_MODE_TRUE='#'
4080   MAINTAINER_MODE_FALSE=
4081 fi
4082
4083   MAINT=$MAINTAINER_MODE_TRUE
4084
4085
4086
4087   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4088   # which are themselves conditionally expanded.
4089   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4090   ## other macros from doing the same.  This should be automated.)  -pme
4091   need_libmath=no
4092
4093   # Check for uClibc since Linux platforms use different configuration
4094   # directories depending on the C library in use.
4095   cat >conftest.$ac_ext <<_ACEOF
4096 /* confdefs.h.  */
4097 _ACEOF
4098 cat confdefs.h >>conftest.$ac_ext
4099 cat >>conftest.$ac_ext <<_ACEOF
4100 /* end confdefs.h.  */
4101
4102   #include <stdio.h>
4103   #if __UCLIBC__
4104     _using_uclibc
4105   #endif
4106
4107 _ACEOF
4108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4109   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4110   uclibc=yes
4111 else
4112   uclibc=no
4113 fi
4114 rm -f conftest*
4115
4116
4117   # Find platform-specific directories containing configuration info.
4118   # Also possibly modify flags used elsewhere, as needed by the platform.
4119
4120   . $glibcxx_srcdir/configure.host
4121   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4122 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4123   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4124 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4125
4126
4127
4128 enable_dlopen=yes
4129
4130
4131
4132
4133
4134 macro_version='2.1a'
4135 macro_revision='1.2435'
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148 ltmain="$ac_aux_dir/ltmain.sh"
4149
4150 # Set options
4151
4152
4153 enable_win32_dll=no
4154
4155
4156 # Check whether --enable-shared or --disable-shared was given.
4157 if test "${enable_shared+set}" = set; then
4158   enableval="$enable_shared"
4159   p=${PACKAGE-default}
4160     case $enableval in
4161     yes) enable_shared=yes ;;
4162     no) enable_shared=no ;;
4163     *)
4164       enable_shared=no
4165       # Look at the argument we got.  We use all the common list separators.
4166       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4167       for pkg in $enableval; do
4168         IFS="$lt_save_ifs"
4169         if test "X$pkg" = "X$p"; then
4170           enable_shared=yes
4171         fi
4172       done
4173       IFS="$lt_save_ifs"
4174       ;;
4175     esac
4176 else
4177   enable_shared=yes
4178 fi;
4179
4180
4181
4182
4183
4184
4185
4186
4187 # Check whether --enable-static or --disable-static was given.
4188 if test "${enable_static+set}" = set; then
4189   enableval="$enable_static"
4190   p=${PACKAGE-default}
4191     case $enableval in
4192     yes) enable_static=yes ;;
4193     no) enable_static=no ;;
4194     *)
4195      enable_static=no
4196       # Look at the argument we got.  We use all the common list separators.
4197       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4198       for pkg in $enableval; do
4199         IFS="$lt_save_ifs"
4200         if test "X$pkg" = "X$p"; then
4201           enable_static=yes
4202         fi
4203       done
4204       IFS="$lt_save_ifs"
4205       ;;
4206     esac
4207 else
4208   enable_static=yes
4209 fi;
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219 # Check whether --with-pic or --without-pic was given.
4220 if test "${with_pic+set}" = set; then
4221   withval="$with_pic"
4222   pic_mode="$withval"
4223 else
4224   pic_mode=default
4225 fi;
4226
4227 test -z "$pic_mode" && pic_mode=default
4228
4229
4230
4231
4232
4233
4234
4235 # Check whether --enable-fast-install or --disable-fast-install was given.
4236 if test "${enable_fast_install+set}" = set; then
4237   enableval="$enable_fast_install"
4238   p=${PACKAGE-default}
4239     case $enableval in
4240     yes) enable_fast_install=yes ;;
4241     no) enable_fast_install=no ;;
4242     *)
4243       enable_fast_install=no
4244       # Look at the argument we got.  We use all the common list separators.
4245       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4246       for pkg in $enableval; do
4247         IFS="$lt_save_ifs"
4248         if test "X$pkg" = "X$p"; then
4249           enable_fast_install=yes
4250         fi
4251       done
4252       IFS="$lt_save_ifs"
4253       ;;
4254     esac
4255 else
4256   enable_fast_install=yes
4257 fi;
4258
4259
4260
4261
4262
4263
4264
4265
4266 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4267 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4268 if test "${lt_cv_path_SED+set}" = set; then
4269   echo $ECHO_N "(cached) $ECHO_C" >&6
4270 else
4271   # Loop through the user's path and test for sed and gsed.
4272 # Then use that list of sed's as ones to test for truncation.
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 for as_dir in $PATH
4275 do
4276   IFS=$as_save_IFS
4277   test -z "$as_dir" && as_dir=.
4278   for lt_ac_prog in sed gsed; do
4279     for ac_exec_ext in '' $ac_executable_extensions; do
4280       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4281         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4282       fi
4283     done
4284   done
4285 done
4286 IFS=$as_save_IFS
4287 lt_ac_max=0
4288 lt_ac_count=0
4289 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4290 # along with /bin/sed that truncates output.
4291 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4292   test ! -f $lt_ac_sed && continue
4293   cat /dev/null > conftest.in
4294   lt_ac_count=0
4295   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4296   # Check for GNU sed and select it if it is found.
4297   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4298     lt_cv_path_SED=$lt_ac_sed
4299     break
4300   fi
4301   while true; do
4302     cat conftest.in conftest.in >conftest.tmp
4303     mv conftest.tmp conftest.in
4304     cp conftest.in conftest.nl
4305     echo >>conftest.nl
4306     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4307     cmp -s conftest.out conftest.nl || break
4308     # 10000 chars as input seems more than enough
4309     test $lt_ac_count -gt 10 && break
4310     lt_ac_count=`expr $lt_ac_count + 1`
4311     if test $lt_ac_count -gt $lt_ac_max; then
4312       lt_ac_max=$lt_ac_count
4313       lt_cv_path_SED=$lt_ac_sed
4314     fi
4315   done
4316 done
4317
4318 fi
4319
4320 SED=$lt_cv_path_SED
4321
4322 echo "$as_me:$LINENO: result: $SED" >&5
4323 echo "${ECHO_T}$SED" >&6
4324
4325 test -z "$SED" && SED=sed
4326 Xsed="$SED -e 1s/^X//"
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338 echo "$as_me:$LINENO: checking for fgrep" >&5
4339 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4340 if test "${ac_cv_prog_fgrep+set}" = set; then
4341   echo $ECHO_N "(cached) $ECHO_C" >&6
4342 else
4343   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4344     then ac_cv_prog_fgrep='grep -F'
4345     else ac_cv_prog_fgrep='fgrep'
4346     fi
4347 fi
4348 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4349 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4350  FGREP=$ac_cv_prog_fgrep
4351
4352
4353 test -z "$GREP" && GREP=grep
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4374 if test "${with_gnu_ld+set}" = set; then
4375   withval="$with_gnu_ld"
4376   test "$withval" = no || with_gnu_ld=yes
4377 else
4378   with_gnu_ld=no
4379 fi;
4380 ac_prog=ld
4381 if test "$GCC" = yes; then
4382   # Check if gcc -print-prog-name=ld gives a path.
4383   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4384 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4385   case $host in
4386   *-*-mingw*)
4387     # gcc leaves a trailing carriage return which upsets mingw
4388     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4389   *)
4390     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4391   esac
4392   case $ac_prog in
4393     # Accept absolute paths.
4394     [\\/]* | ?:[\\/]*)
4395       re_direlt='/[^/][^/]*/\.\./'
4396       # Canonicalize the pathname of ld
4397       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4398       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4399         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4400       done
4401       test -z "$LD" && LD="$ac_prog"
4402       ;;
4403   "")
4404     # If it fails, then pretend we aren't using GCC.
4405     ac_prog=ld
4406     ;;
4407   *)
4408     # If it is relative, then search for the first ld in PATH.
4409     with_gnu_ld=unknown
4410     ;;
4411   esac
4412 elif test "$with_gnu_ld" = yes; then
4413   echo "$as_me:$LINENO: checking for GNU ld" >&5
4414 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4415 else
4416   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4417 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4418 fi
4419 if test "${lt_cv_path_LD+set}" = set; then
4420   echo $ECHO_N "(cached) $ECHO_C" >&6
4421 else
4422   if test -z "$LD"; then
4423   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4424   for ac_dir in $PATH; do
4425     IFS="$lt_save_ifs"
4426     test -z "$ac_dir" && ac_dir=.
4427     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4428       lt_cv_path_LD="$ac_dir/$ac_prog"
4429       # Check to see if the program is GNU ld.  I'd rather use --version,
4430       # but apparently some variants of GNU ld only accept -v.
4431       # Break only if it was the GNU/non-GNU ld that we prefer.
4432       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4433       *GNU* | *'with BFD'*)
4434         test "$with_gnu_ld" != no && break
4435         ;;
4436       *)
4437         test "$with_gnu_ld" != yes && break
4438         ;;
4439       esac
4440     fi
4441   done
4442   IFS="$lt_save_ifs"
4443 else
4444   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4445 fi
4446 fi
4447
4448 LD="$lt_cv_path_LD"
4449 if test -n "$LD"; then
4450   echo "$as_me:$LINENO: result: $LD" >&5
4451 echo "${ECHO_T}$LD" >&6
4452 else
4453   echo "$as_me:$LINENO: result: no" >&5
4454 echo "${ECHO_T}no" >&6
4455 fi
4456 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4457 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4458    { (exit 1); exit 1; }; }
4459 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4460 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4461 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4462   echo $ECHO_N "(cached) $ECHO_C" >&6
4463 else
4464   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4465 case `$LD -v 2>&1 </dev/null` in
4466 *GNU* | *'with BFD'*)
4467   lt_cv_prog_gnu_ld=yes
4468   ;;
4469 *)
4470   lt_cv_prog_gnu_ld=no
4471   ;;
4472 esac
4473 fi
4474 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4475 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4476 with_gnu_ld=$lt_cv_prog_gnu_ld
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4488 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4489 if test "${lt_cv_path_NM+set}" = set; then
4490   echo $ECHO_N "(cached) $ECHO_C" >&6
4491 else
4492   if test -n "$NM"; then
4493   # Let the user override the test.
4494   lt_cv_path_NM="$NM"
4495 else
4496   lt_nm_to_check="${ac_tool_prefix}nm"
4497   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4498     lt_nm_to_check="$lt_nm_to_check nm"
4499   fi
4500   for lt_tmp_nm in $lt_nm_to_check; do
4501     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4502     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4503       IFS="$lt_save_ifs"
4504       test -z "$ac_dir" && ac_dir=.
4505       tmp_nm="$ac_dir/$lt_tmp_nm"
4506       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4507         # Check to see if the nm accepts a BSD-compat flag.
4508         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4509         #   nm: unknown option "B" ignored
4510         # Tru64's nm complains that /dev/null is an invalid object file
4511         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4512         */dev/null* | *'Invalid file or object type'*)
4513           lt_cv_path_NM="$tmp_nm -B"
4514           break
4515           ;;
4516         *)
4517           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4518           */dev/null*)
4519             lt_cv_path_NM="$tmp_nm -p"
4520             break
4521             ;;
4522           *)
4523             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4524             continue # so that we can try to find one that supports BSD flags
4525             ;;
4526           esac
4527           ;;
4528         esac
4529       fi
4530     done
4531     IFS="$lt_save_ifs"
4532   done
4533   : ${lt_cv_path_NM=no}
4534 fi
4535 fi
4536 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4537 echo "${ECHO_T}$lt_cv_path_NM" >&6
4538 if test "$lt_cv_path_NM" != "no"; then
4539   NM="$lt_cv_path_NM"
4540 else
4541   # Didn't find any BSD compatible name lister, look for dumpbin.
4542   if test -n "$ac_tool_prefix"; then
4543   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4544   do
4545     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4547 echo "$as_me:$LINENO: checking for $ac_word" >&5
4548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4549 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4550   echo $ECHO_N "(cached) $ECHO_C" >&6
4551 else
4552   if test -n "$DUMPBIN"; then
4553   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4554 else
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 for as_dir in $PATH
4557 do
4558   IFS=$as_save_IFS
4559   test -z "$as_dir" && as_dir=.
4560   for ac_exec_ext in '' $ac_executable_extensions; do
4561   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4563     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564     break 2
4565   fi
4566 done
4567 done
4568
4569 fi
4570 fi
4571 DUMPBIN=$ac_cv_prog_DUMPBIN
4572 if test -n "$DUMPBIN"; then
4573   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4574 echo "${ECHO_T}$DUMPBIN" >&6
4575 else
4576   echo "$as_me:$LINENO: result: no" >&5
4577 echo "${ECHO_T}no" >&6
4578 fi
4579
4580     test -n "$DUMPBIN" && break
4581   done
4582 fi
4583 if test -z "$DUMPBIN"; then
4584   ac_ct_DUMPBIN=$DUMPBIN
4585   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4586 do
4587   # Extract the first word of "$ac_prog", so it can be a program name with args.
4588 set dummy $ac_prog; ac_word=$2
4589 echo "$as_me:$LINENO: checking for $ac_word" >&5
4590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4591 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4592   echo $ECHO_N "(cached) $ECHO_C" >&6
4593 else
4594   if test -n "$ac_ct_DUMPBIN"; then
4595   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4596 else
4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 for as_dir in $PATH
4599 do
4600   IFS=$as_save_IFS
4601   test -z "$as_dir" && as_dir=.
4602   for ac_exec_ext in '' $ac_executable_extensions; do
4603   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4605     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606     break 2
4607   fi
4608 done
4609 done
4610
4611 fi
4612 fi
4613 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4614 if test -n "$ac_ct_DUMPBIN"; then
4615   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4616 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4617 else
4618   echo "$as_me:$LINENO: result: no" >&5
4619 echo "${ECHO_T}no" >&6
4620 fi
4621
4622   test -n "$ac_ct_DUMPBIN" && break
4623 done
4624 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4625
4626   DUMPBIN=$ac_ct_DUMPBIN
4627 fi
4628
4629
4630   if test "$DUMPBIN" != ":"; then
4631     NM="$DUMPBIN"
4632   fi
4633 fi
4634 test -z "$NM" && NM=nm
4635
4636
4637
4638
4639
4640
4641 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4642 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4643 if test "${lt_cv_nm_interface+set}" = set; then
4644   echo $ECHO_N "(cached) $ECHO_C" >&6
4645 else
4646   lt_cv_nm_interface="BSD nm"
4647   echo "int some_variable = 0;" > conftest.$ac_ext
4648   (eval echo "\"\$as_me:4648: $ac_compile\"" >&5)
4649   (eval "$ac_compile" 2>conftest.err)
4650   cat conftest.err >&5
4651   (eval echo "\"\$as_me:4651: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4652   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4653   cat conftest.err >&5
4654   (eval echo "\"\$as_me:4654: output\"" >&5)
4655   cat conftest.out >&5
4656   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4657     lt_cv_nm_interface="MS dumpbin"
4658   fi
4659   rm -f conftest*
4660 fi
4661 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4662 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4663
4664 # find the maximum length of command line arguments
4665 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4666 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4667 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4668   echo $ECHO_N "(cached) $ECHO_C" >&6
4669 else
4670     i=0
4671   teststring="ABCD"
4672
4673   case $build_os in
4674   msdosdjgpp*)
4675     # On DJGPP, this test can blow up pretty badly due to problems in libc
4676     # (any single argument exceeding 2000 bytes causes a buffer overrun
4677     # during glob expansion).  Even if it were fixed, the result of this
4678     # check would be larger than it should be.
4679     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4680     ;;
4681
4682   gnu*)
4683     # Under GNU Hurd, this test is not required because there is
4684     # no limit to the length of command line arguments.
4685     # Libtool will interpret -1 as no limit whatsoever
4686     lt_cv_sys_max_cmd_len=-1;
4687     ;;
4688
4689   cygwin* | mingw*)
4690     # On Win9x/ME, this test blows up -- it succeeds, but takes
4691     # about 5 minutes as the teststring grows exponentially.
4692     # Worse, since 9x/ME are not pre-emptively multitasking,
4693     # you end up with a "frozen" computer, even though with patience
4694     # the test eventually succeeds (with a max line length of 256k).
4695     # Instead, let's just punt: use the minimum linelength reported by
4696     # all of the supported platforms: 8192 (on NT/2K/XP).
4697     lt_cv_sys_max_cmd_len=8192;
4698     ;;
4699
4700   amigaos*)
4701     # On AmigaOS with pdksh, this test takes hours, literally.
4702     # So we just punt and use a minimum line length of 8192.
4703     lt_cv_sys_max_cmd_len=8192;
4704     ;;
4705
4706   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4707     # This has been around since 386BSD, at least.  Likely further.
4708     if test -x /sbin/sysctl; then
4709       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4710     elif test -x /usr/sbin/sysctl; then
4711       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4712     else
4713       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4714     fi
4715     # And add a safety zone
4716     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4717     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4718     ;;
4719
4720   interix*)
4721     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4722     lt_cv_sys_max_cmd_len=196608
4723     ;;
4724
4725   osf*)
4726     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4727     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4728     # nice to cause kernel panics so lets avoid the loop below.
4729     # First set a reasonable default.
4730     lt_cv_sys_max_cmd_len=16384
4731     #
4732     if test -x /sbin/sysconfig; then
4733       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4734         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4735       esac
4736     fi
4737     ;;
4738   sco3.2v5*)
4739     lt_cv_sys_max_cmd_len=102400
4740     ;;
4741   sysv5* | sco5v6* | sysv4.2uw2*)
4742     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4743     if test -n "$kargmax"; then
4744       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4745     else
4746       lt_cv_sys_max_cmd_len=32768
4747     fi
4748     ;;
4749   *)
4750     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4751     if test -n $lt_cv_sys_max_cmd_len; then
4752       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4753       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4754     else
4755       # Make teststring a little bigger before we do anything with it.
4756       # a 1K string should be a reasonable start.
4757       for i in 1 2 3 4 5 6 7 8 ; do
4758         teststring=$teststring$teststring
4759       done
4760       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4761       # If test is not a shell built-in, we'll probably end up computing a
4762       # maximum length that is only half of the actual maximum length, but
4763       # we can't tell.
4764       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4765                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4766               test $i != 17 # 1/2 MB should be enough
4767       do
4768         i=`expr $i + 1`
4769         teststring=$teststring$teststring
4770       done
4771       # Only check the string length outside the loop.
4772       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4773       teststring=
4774       # Add a significant safety factor because C++ compilers can tack on
4775       # massive amounts of additional arguments before passing them to the
4776       # linker.  It appears as though 1/2 is a usable value.
4777       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4778     fi
4779     ;;
4780   esac
4781
4782 fi
4783
4784 if test -n $lt_cv_sys_max_cmd_len ; then
4785   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4786 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4787 else
4788   echo "$as_me:$LINENO: result: none" >&5
4789 echo "${ECHO_T}none" >&6
4790 fi
4791 max_cmd_len=$lt_cv_sys_max_cmd_len
4792
4793
4794
4795
4796
4797
4798
4799 : ${CP="cp -f"}
4800 : ${MV="mv -f"}
4801 : ${RM="rm -f"}
4802
4803 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4804 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4805 # Try some XSI features
4806 xsi_shell=no
4807 ( _lt_dummy="a/b/c"
4808   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4809       = c,a/b,, ) >/dev/null 2>&1 \
4810   && xsi_shell=yes
4811 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4812 echo "${ECHO_T}$xsi_shell" >&6
4813
4814
4815 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4816 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4817 lt_shell_append=no
4818 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4819     >/dev/null 2>&1 \
4820   && lt_shell_append=yes
4821 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4822 echo "${ECHO_T}$lt_shell_append" >&6
4823
4824
4825 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4826   lt_unset=unset
4827 else
4828   lt_unset=false
4829 fi
4830
4831
4832
4833
4834
4835 # test EBCDIC or ASCII
4836 case `echo X|tr X '\101'` in
4837  A) # ASCII based system
4838     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4839   lt_SP2NL='tr \040 \012'
4840   lt_NL2SP='tr \015\012 \040\040'
4841   ;;
4842  *) # EBCDIC based system
4843   lt_SP2NL='tr \100 \n'
4844   lt_NL2SP='tr \r\n \100\100'
4845   ;;
4846 esac
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4857 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4858 if test "${lt_cv_ld_reload_flag+set}" = set; then
4859   echo $ECHO_N "(cached) $ECHO_C" >&6
4860 else
4861   lt_cv_ld_reload_flag='-r'
4862 fi
4863 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4864 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4865 reload_flag=$lt_cv_ld_reload_flag
4866 case $reload_flag in
4867 "" | " "*) ;;
4868 *) reload_flag=" $reload_flag" ;;
4869 esac
4870 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4871 case $host_os in
4872   darwin*)
4873     if test "$GCC" = yes; then
4874       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4875     else
4876       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4877     fi
4878     ;;
4879 esac
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4891 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4892 if test "${lt_cv_deplibs_check_method+set}" = set; then
4893   echo $ECHO_N "(cached) $ECHO_C" >&6
4894 else
4895   lt_cv_file_magic_cmd='$MAGIC_CMD'
4896 lt_cv_file_magic_test_file=
4897 lt_cv_deplibs_check_method='unknown'
4898 # Need to set the preceding variable on all platforms that support
4899 # interlibrary dependencies.
4900 # 'none' -- dependencies not supported.
4901 # `unknown' -- same as none, but documents that we really don't know.
4902 # 'pass_all' -- all dependencies passed with no checks.
4903 # 'test_compile' -- check by making test program.
4904 # 'file_magic [[regex]]' -- check by looking for files in library path
4905 # which responds to the $file_magic_cmd with a given extended regex.
4906 # If you have `file' or equivalent on your system and you're not sure
4907 # whether `pass_all' will *always* work, you probably want this one.
4908
4909 case $host_os in
4910 aix[4-9]*)
4911   lt_cv_deplibs_check_method=pass_all
4912   ;;
4913
4914 beos*)
4915   lt_cv_deplibs_check_method=pass_all
4916   ;;
4917
4918 bsdi[45]*)
4919   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4920   lt_cv_file_magic_cmd='/usr/bin/file -L'
4921   lt_cv_file_magic_test_file=/shlib/libc.so
4922   ;;
4923
4924 cygwin*)
4925   # func_win32_libid is a shell function defined in ltmain.sh
4926   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4927   lt_cv_file_magic_cmd='func_win32_libid'
4928   ;;
4929
4930 mingw* | pw32*)
4931   # Base MSYS/MinGW do not provide the 'file' command needed by
4932   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4933   # unless we find 'file', for example because we are cross-compiling.
4934   if ( file / ) >/dev/null 2>&1; then
4935     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4936     lt_cv_file_magic_cmd='func_win32_libid'
4937   else
4938     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4939     lt_cv_file_magic_cmd='$OBJDUMP -f'
4940   fi
4941   ;;
4942
4943 darwin* | rhapsody*)
4944   lt_cv_deplibs_check_method=pass_all
4945   ;;
4946
4947 freebsd* | dragonfly*)
4948   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4949     case $host_cpu in
4950     i*86 )
4951       # Not sure whether the presence of OpenBSD here was a mistake.
4952       # Let's accept both of them until this is cleared up.
4953       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4954       lt_cv_file_magic_cmd=/usr/bin/file
4955       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4956       ;;
4957     esac
4958   else
4959     lt_cv_deplibs_check_method=pass_all
4960   fi
4961   ;;
4962
4963 gnu*)
4964   lt_cv_deplibs_check_method=pass_all
4965   ;;
4966
4967 hpux10.20* | hpux11*)
4968   lt_cv_file_magic_cmd=/usr/bin/file
4969   case $host_cpu in
4970   ia64*)
4971     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4972     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4973     ;;
4974   hppa*64*)
4975     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]'
4976     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4977     ;;
4978   *)
4979     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4980     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4981     ;;
4982   esac
4983   ;;
4984
4985 interix[3-9]*)
4986   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4987   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4988   ;;
4989
4990 irix5* | irix6* | nonstopux*)
4991   case $LD in
4992   *-32|*"-32 ") libmagic=32-bit;;
4993   *-n32|*"-n32 ") libmagic=N32;;
4994   *-64|*"-64 ") libmagic=64-bit;;
4995   *) libmagic=never-match;;
4996   esac
4997   lt_cv_deplibs_check_method=pass_all
4998   ;;
4999
5000 # This must be Linux ELF.
5001 linux* | k*bsd*-gnu)
5002   lt_cv_deplibs_check_method=pass_all
5003   ;;
5004
5005 netbsd*)
5006   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5007     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5008   else
5009     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5010   fi
5011   ;;
5012
5013 newos6*)
5014   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5015   lt_cv_file_magic_cmd=/usr/bin/file
5016   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5017   ;;
5018
5019 *nto* | *qnx*)
5020   lt_cv_deplibs_check_method=pass_all
5021   ;;
5022
5023 openbsd*)
5024   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5025     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5026   else
5027     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5028   fi
5029   ;;
5030
5031 osf3* | osf4* | osf5*)
5032   lt_cv_deplibs_check_method=pass_all
5033   ;;
5034
5035 rdos*)
5036   lt_cv_deplibs_check_method=pass_all
5037   ;;
5038
5039 solaris*)
5040   lt_cv_deplibs_check_method=pass_all
5041   ;;
5042
5043 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5044   lt_cv_deplibs_check_method=pass_all
5045   ;;
5046
5047 sysv4 | sysv4.3*)
5048   case $host_vendor in
5049   motorola)
5050     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]'
5051     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5052     ;;
5053   ncr)
5054     lt_cv_deplibs_check_method=pass_all
5055     ;;
5056   sequent)
5057     lt_cv_file_magic_cmd='/bin/file'
5058     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5059     ;;
5060   sni)
5061     lt_cv_file_magic_cmd='/bin/file'
5062     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5063     lt_cv_file_magic_test_file=/lib/libc.so
5064     ;;
5065   siemens)
5066     lt_cv_deplibs_check_method=pass_all
5067     ;;
5068   pc)
5069     lt_cv_deplibs_check_method=pass_all
5070     ;;
5071   esac
5072   ;;
5073
5074 tpf*)
5075   lt_cv_deplibs_check_method=pass_all
5076   ;;
5077 esac
5078
5079 fi
5080 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5081 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5082 file_magic_cmd=$lt_cv_file_magic_cmd
5083 deplibs_check_method=$lt_cv_deplibs_check_method
5084 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097 if test -n "$ac_tool_prefix"; then
5098   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5099 set dummy ${ac_tool_prefix}ar; ac_word=$2
5100 echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5102 if test "${ac_cv_prog_AR+set}" = set; then
5103   echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105   if test -n "$AR"; then
5106   ac_cv_prog_AR="$AR" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5110 do
5111   IFS=$as_save_IFS
5112   test -z "$as_dir" && as_dir=.
5113   for ac_exec_ext in '' $ac_executable_extensions; do
5114   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115     ac_cv_prog_AR="${ac_tool_prefix}ar"
5116     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117     break 2
5118   fi
5119 done
5120 done
5121
5122 fi
5123 fi
5124 AR=$ac_cv_prog_AR
5125 if test -n "$AR"; then
5126   echo "$as_me:$LINENO: result: $AR" >&5
5127 echo "${ECHO_T}$AR" >&6
5128 else
5129   echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6
5131 fi
5132
5133 fi
5134 if test -z "$ac_cv_prog_AR"; then
5135   ac_ct_AR=$AR
5136   # Extract the first word of "ar", so it can be a program name with args.
5137 set dummy ar; ac_word=$2
5138 echo "$as_me:$LINENO: checking for $ac_word" >&5
5139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5140 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5141   echo $ECHO_N "(cached) $ECHO_C" >&6
5142 else
5143   if test -n "$ac_ct_AR"; then
5144   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5145 else
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH
5148 do
5149   IFS=$as_save_IFS
5150   test -z "$as_dir" && as_dir=.
5151   for ac_exec_ext in '' $ac_executable_extensions; do
5152   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5153     ac_cv_prog_ac_ct_AR="ar"
5154     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5155     break 2
5156   fi
5157 done
5158 done
5159
5160   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5161 fi
5162 fi
5163 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5164 if test -n "$ac_ct_AR"; then
5165   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5166 echo "${ECHO_T}$ac_ct_AR" >&6
5167 else
5168   echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5170 fi
5171
5172   AR=$ac_ct_AR
5173 else
5174   AR="$ac_cv_prog_AR"
5175 fi
5176
5177 test -z "$AR" && AR=ar
5178 test -z "$AR_FLAGS" && AR_FLAGS=cru
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190 if test -n "$ac_tool_prefix"; then
5191   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5192 set dummy ${ac_tool_prefix}strip; ac_word=$2
5193 echo "$as_me:$LINENO: checking for $ac_word" >&5
5194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5195 if test "${ac_cv_prog_STRIP+set}" = set; then
5196   echo $ECHO_N "(cached) $ECHO_C" >&6
5197 else
5198   if test -n "$STRIP"; then
5199   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5200 else
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 for as_dir in $PATH
5203 do
5204   IFS=$as_save_IFS
5205   test -z "$as_dir" && as_dir=.
5206   for ac_exec_ext in '' $ac_executable_extensions; do
5207   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5208     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5209     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210     break 2
5211   fi
5212 done
5213 done
5214
5215 fi
5216 fi
5217 STRIP=$ac_cv_prog_STRIP
5218 if test -n "$STRIP"; then
5219   echo "$as_me:$LINENO: result: $STRIP" >&5
5220 echo "${ECHO_T}$STRIP" >&6
5221 else
5222   echo "$as_me:$LINENO: result: no" >&5
5223 echo "${ECHO_T}no" >&6
5224 fi
5225
5226 fi
5227 if test -z "$ac_cv_prog_STRIP"; then
5228   ac_ct_STRIP=$STRIP
5229   # Extract the first word of "strip", so it can be a program name with args.
5230 set dummy strip; ac_word=$2
5231 echo "$as_me:$LINENO: checking for $ac_word" >&5
5232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5233 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5234   echo $ECHO_N "(cached) $ECHO_C" >&6
5235 else
5236   if test -n "$ac_ct_STRIP"; then
5237   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5238 else
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 for as_dir in $PATH
5241 do
5242   IFS=$as_save_IFS
5243   test -z "$as_dir" && as_dir=.
5244   for ac_exec_ext in '' $ac_executable_extensions; do
5245   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5246     ac_cv_prog_ac_ct_STRIP="strip"
5247     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5248     break 2
5249   fi
5250 done
5251 done
5252
5253   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5254 fi
5255 fi
5256 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5257 if test -n "$ac_ct_STRIP"; then
5258   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5259 echo "${ECHO_T}$ac_ct_STRIP" >&6
5260 else
5261   echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5263 fi
5264
5265   STRIP=$ac_ct_STRIP
5266 else
5267   STRIP="$ac_cv_prog_STRIP"
5268 fi
5269
5270 test -z "$STRIP" && STRIP=:
5271
5272
5273
5274
5275
5276
5277 if test -n "$ac_tool_prefix"; then
5278   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5279 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5280 echo "$as_me:$LINENO: checking for $ac_word" >&5
5281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5282 if test "${ac_cv_prog_RANLIB+set}" = set; then
5283   echo $ECHO_N "(cached) $ECHO_C" >&6
5284 else
5285   if test -n "$RANLIB"; then
5286   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5287 else
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in $PATH
5290 do
5291   IFS=$as_save_IFS
5292   test -z "$as_dir" && as_dir=.
5293   for ac_exec_ext in '' $ac_executable_extensions; do
5294   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5296     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5297     break 2
5298   fi
5299 done
5300 done
5301
5302 fi
5303 fi
5304 RANLIB=$ac_cv_prog_RANLIB
5305 if test -n "$RANLIB"; then
5306   echo "$as_me:$LINENO: result: $RANLIB" >&5
5307 echo "${ECHO_T}$RANLIB" >&6
5308 else
5309   echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5311 fi
5312
5313 fi
5314 if test -z "$ac_cv_prog_RANLIB"; then
5315   ac_ct_RANLIB=$RANLIB
5316   # Extract the first word of "ranlib", so it can be a program name with args.
5317 set dummy ranlib; ac_word=$2
5318 echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5321   echo $ECHO_N "(cached) $ECHO_C" >&6
5322 else
5323   if test -n "$ac_ct_RANLIB"; then
5324   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5325 else
5326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5327 for as_dir in $PATH
5328 do
5329   IFS=$as_save_IFS
5330   test -z "$as_dir" && as_dir=.
5331   for ac_exec_ext in '' $ac_executable_extensions; do
5332   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5333     ac_cv_prog_ac_ct_RANLIB="ranlib"
5334     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5335     break 2
5336   fi
5337 done
5338 done
5339
5340   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5341 fi
5342 fi
5343 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5344 if test -n "$ac_ct_RANLIB"; then
5345   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5346 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5347 else
5348   echo "$as_me:$LINENO: result: no" >&5
5349 echo "${ECHO_T}no" >&6
5350 fi
5351
5352   RANLIB=$ac_ct_RANLIB
5353 else
5354   RANLIB="$ac_cv_prog_RANLIB"
5355 fi
5356
5357 test -z "$RANLIB" && RANLIB=:
5358
5359
5360
5361
5362
5363
5364 # Determine commands to create old-style static archives.
5365 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5366 old_postinstall_cmds='chmod 644 $oldlib'
5367 old_postuninstall_cmds=
5368
5369 if test -n "$RANLIB"; then
5370   case $host_os in
5371   openbsd*)
5372     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5373     ;;
5374   *)
5375     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5376     ;;
5377   esac
5378   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5379 fi
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
5413
5414 # If no C compiler was specified, use CC.
5415 LTCC=${LTCC-"$CC"}
5416
5417 # If no C compiler flags were specified, use CFLAGS.
5418 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5419
5420 # Allow CC to be a program name with arguments.
5421 compiler=$CC
5422
5423
5424 # Check for command to grab the raw symbol name followed by C symbol from nm.
5425 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5426 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5427 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5428   echo $ECHO_N "(cached) $ECHO_C" >&6
5429 else
5430
5431 # These are sane defaults that work on at least a few old systems.
5432 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5433
5434 # Character class describing NM global symbol codes.
5435 symcode='[BCDEGRST]'
5436
5437 # Regexp to match symbols that can be accessed directly from C.
5438 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5439
5440 # Define system-specific variables.
5441 case $host_os in
5442 aix*)
5443   symcode='[BCDT]'
5444   ;;
5445 cygwin* | mingw* | pw32*)
5446   symcode='[ABCDGISTW]'
5447   ;;
5448 hpux*)
5449   if test "$host_cpu" = ia64; then
5450     symcode='[ABCDEGRST]'
5451   fi
5452   ;;
5453 irix* | nonstopux*)
5454   symcode='[BCDEGRST]'
5455   ;;
5456 osf*)
5457   symcode='[BCDEGQRST]'
5458   ;;
5459 solaris*)
5460   symcode='[BDRT]'
5461   ;;
5462 sco3.2v5*)
5463   symcode='[DT]'
5464   ;;
5465 sysv4.2uw2*)
5466   symcode='[DT]'
5467   ;;
5468 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5469   symcode='[ABDT]'
5470   ;;
5471 sysv4)
5472   symcode='[DFNSTU]'
5473   ;;
5474 esac
5475
5476 # If we're using GNU nm, then use its standard symbol codes.
5477 case `$NM -V 2>&1` in
5478 *GNU* | *'with BFD'*)
5479   symcode='[ABCDGIRSTW]' ;;
5480 esac
5481
5482 # Transform an extracted symbol line into a proper C declaration.
5483 # Some systems (esp. on ia64) link data and code symbols differently,
5484 # so use this general approach.
5485 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5486
5487 # Transform an extracted symbol line into symbol name and symbol address
5488 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5489
5490 # Handle CRLF in mingw tool chain
5491 opt_cr=
5492 case $build_os in
5493 mingw*)
5494   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5495   ;;
5496 esac
5497
5498 # Try without a prefix underscore, then with it.
5499 for ac_symprfx in "" "_"; do
5500
5501   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5502   symxfrm="\\1 $ac_symprfx\\2 \\2"
5503
5504   # Write the raw and C identifiers.
5505   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5506     # Fake it for dumpbin and say T for any non-static function
5507     # and D for any global variable.
5508     # Also find C++ and __fastcall symbols from MSVC++,
5509     # which start with @ or ?.
5510     lt_cv_sys_global_symbol_pipe="$AWK '"\
5511 "     {last_section=section; section=\$ 3};"\
5512 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5513 "     \$ 0!~/External *\|/{next};"\
5514 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5515 "     {if(hide[section]) next};"\
5516 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5517 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5518 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5519 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5520 "     ' prfx=^$ac_symprfx"
5521   else
5522     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5523   fi
5524
5525   # Check to see that the pipe works correctly.
5526   pipe_works=no
5527
5528   rm -f conftest*
5529   cat > conftest.$ac_ext <<_LT_EOF
5530 #ifdef __cplusplus
5531 extern "C" {
5532 #endif
5533 char nm_test_var;
5534 void nm_test_func(void);
5535 void nm_test_func(void){}
5536 #ifdef __cplusplus
5537 }
5538 #endif
5539 int main(){nm_test_var='a';nm_test_func();return(0);}
5540 _LT_EOF
5541
5542   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5543   (eval $ac_compile) 2>&5
5544   ac_status=$?
5545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546   (exit $ac_status); }; then
5547     # Now try to grab the symbols.
5548     nlist=conftest.nm
5549     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5550   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5551   ac_status=$?
5552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553   (exit $ac_status); } && test -s "$nlist"; then
5554       # Try sorting and uniquifying the output.
5555       if sort "$nlist" | uniq > "$nlist"T; then
5556         mv -f "$nlist"T "$nlist"
5557       else
5558         rm -f "$nlist"T
5559       fi
5560
5561       # Make sure that we snagged all the symbols we need.
5562       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5563         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5564           cat <<_LT_EOF > conftest.$ac_ext
5565 #ifdef __cplusplus
5566 extern "C" {
5567 #endif
5568
5569 _LT_EOF
5570           # Now generate the symbol file.
5571           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5572
5573           cat <<_LT_EOF >> conftest.$ac_ext
5574
5575 /* The mapping between symbol names and symbols.  */
5576 const struct {
5577   const char *name;
5578   void       *address;
5579 }
5580 lt__PROGRAM__LTX_preloaded_symbols[] =
5581 {
5582   { "@PROGRAM@", (void *) 0 },
5583 _LT_EOF
5584           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5585           cat <<\_LT_EOF >> conftest.$ac_ext
5586   {0, (void *) 0}
5587 };
5588
5589 /* This works around a problem in FreeBSD linker */
5590 #ifdef FREEBSD_WORKAROUND
5591 static const void *lt_preloaded_setup() {
5592   return lt__PROGRAM__LTX_preloaded_symbols;
5593 }
5594 #endif
5595
5596 #ifdef __cplusplus
5597 }
5598 #endif
5599 _LT_EOF
5600           # Now try linking the two files.
5601           mv conftest.$ac_objext conftstm.$ac_objext
5602           lt_save_LIBS="$LIBS"
5603           lt_save_CFLAGS="$CFLAGS"
5604           LIBS="conftstm.$ac_objext"
5605           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5606           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5607   (eval $ac_link) 2>&5
5608   ac_status=$?
5609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5611             pipe_works=yes
5612           fi
5613           LIBS="$lt_save_LIBS"
5614           CFLAGS="$lt_save_CFLAGS"
5615         else
5616           echo "cannot find nm_test_func in $nlist" >&5
5617         fi
5618       else
5619         echo "cannot find nm_test_var in $nlist" >&5
5620       fi
5621     else
5622       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5623     fi
5624   else
5625     echo "$progname: failed program was:" >&5
5626     cat conftest.$ac_ext >&5
5627   fi
5628   rm -f conftest* conftst*
5629
5630   # Do not use the global_symbol_pipe unless it works.
5631   if test "$pipe_works" = yes; then
5632     break
5633   else
5634     lt_cv_sys_global_symbol_pipe=
5635   fi
5636 done
5637
5638 fi
5639
5640 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5641   lt_cv_sys_global_symbol_to_cdecl=
5642 fi
5643 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5644   echo "$as_me:$LINENO: result: failed" >&5
5645 echo "${ECHO_T}failed" >&6
5646 else
5647   echo "$as_me:$LINENO: result: ok" >&5
5648 echo "${ECHO_T}ok" >&6
5649 fi
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5668 if test "${enable_libtool_lock+set}" = set; then
5669   enableval="$enable_libtool_lock"
5670
5671 fi;
5672 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5673
5674 # Some flags need to be propagated to the compiler or linker for good
5675 # libtool support.
5676 case $host in
5677 ia64-*-hpux*)
5678   # Find out which ABI we are using.
5679   echo 'int i;' > conftest.$ac_ext
5680   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5681   (eval $ac_compile) 2>&5
5682   ac_status=$?
5683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684   (exit $ac_status); }; then
5685     case `/usr/bin/file conftest.$ac_objext` in
5686       *ELF-32*)
5687         HPUX_IA64_MODE="32"
5688         ;;
5689       *ELF-64*)
5690         HPUX_IA64_MODE="64"
5691         ;;
5692     esac
5693   fi
5694   rm -rf conftest*
5695   ;;
5696 *-*-irix6*)
5697   # Find out which ABI we are using.
5698   echo '#line 5698 "configure"' > conftest.$ac_ext
5699   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5700   (eval $ac_compile) 2>&5
5701   ac_status=$?
5702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703   (exit $ac_status); }; then
5704     if test "$lt_cv_prog_gnu_ld" = yes; then
5705       case `/usr/bin/file conftest.$ac_objext` in
5706         *32-bit*)
5707           LD="${LD-ld} -melf32bsmip"
5708           ;;
5709         *N32*)
5710           LD="${LD-ld} -melf32bmipn32"
5711           ;;
5712         *64-bit*)
5713           LD="${LD-ld} -melf64bmip"
5714         ;;
5715       esac
5716     else
5717       case `/usr/bin/file conftest.$ac_objext` in
5718         *32-bit*)
5719           LD="${LD-ld} -32"
5720           ;;
5721         *N32*)
5722           LD="${LD-ld} -n32"
5723           ;;
5724         *64-bit*)
5725           LD="${LD-ld} -64"
5726           ;;
5727       esac
5728     fi
5729   fi
5730   rm -rf conftest*
5731   ;;
5732
5733 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5734 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5735   # Find out which ABI we are using.
5736   echo 'int i;' > conftest.$ac_ext
5737   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5738   (eval $ac_compile) 2>&5
5739   ac_status=$?
5740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741   (exit $ac_status); }; then
5742     case `/usr/bin/file conftest.o` in
5743       *32-bit*)
5744         case $host in
5745           x86_64-*kfreebsd*-gnu)
5746             LD="${LD-ld} -m elf_i386_fbsd"
5747             ;;
5748           x86_64-*linux*)
5749             LD="${LD-ld} -m elf_i386"
5750             ;;
5751           ppc64-*linux*|powerpc64-*linux*)
5752             LD="${LD-ld} -m elf32ppclinux"
5753             ;;
5754           s390x-*linux*)
5755             LD="${LD-ld} -m elf_s390"
5756             ;;
5757           sparc64-*linux*)
5758             LD="${LD-ld} -m elf32_sparc"
5759             ;;
5760         esac
5761         ;;
5762       *64-bit*)
5763         case $host in
5764           x86_64-*kfreebsd*-gnu)
5765             LD="${LD-ld} -m elf_x86_64_fbsd"
5766             ;;
5767           x86_64-*linux*)
5768             LD="${LD-ld} -m elf_x86_64"
5769             ;;
5770           ppc*-*linux*|powerpc*-*linux*)
5771             LD="${LD-ld} -m elf64ppc"
5772             ;;
5773           s390*-*linux*|s390*-*tpf*)
5774             LD="${LD-ld} -m elf64_s390"
5775             ;;
5776           sparc*-*linux*)
5777             LD="${LD-ld} -m elf64_sparc"
5778             ;;
5779         esac
5780         ;;
5781     esac
5782   fi
5783   rm -rf conftest*
5784   ;;
5785
5786 *-*-sco3.2v5*)
5787   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5788   SAVE_CFLAGS="$CFLAGS"
5789   CFLAGS="$CFLAGS -belf"
5790   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5791 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5792 if test "${lt_cv_cc_needs_belf+set}" = set; then
5793   echo $ECHO_N "(cached) $ECHO_C" >&6
5794 else
5795   ac_ext=c
5796 ac_cpp='$CPP $CPPFLAGS'
5797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5800
5801      if test x$gcc_no_link = xyes; then
5802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5804    { (exit 1); exit 1; }; }
5805 fi
5806 cat >conftest.$ac_ext <<_ACEOF
5807 /* confdefs.h.  */
5808 _ACEOF
5809 cat confdefs.h >>conftest.$ac_ext
5810 cat >>conftest.$ac_ext <<_ACEOF
5811 /* end confdefs.h.  */
5812
5813 int
5814 main ()
5815 {
5816
5817   ;
5818   return 0;
5819 }
5820 _ACEOF
5821 rm -f conftest.$ac_objext conftest$ac_exeext
5822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5823   (eval $ac_link) 2>conftest.er1
5824   ac_status=$?
5825   grep -v '^ *+' conftest.er1 >conftest.err
5826   rm -f conftest.er1
5827   cat conftest.err >&5
5828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829   (exit $ac_status); } &&
5830          { ac_try='test -z "$ac_c_werror_flag"
5831                          || test ! -s conftest.err'
5832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833   (eval $ac_try) 2>&5
5834   ac_status=$?
5835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836   (exit $ac_status); }; } &&
5837          { ac_try='test -s conftest$ac_exeext'
5838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839   (eval $ac_try) 2>&5
5840   ac_status=$?
5841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842   (exit $ac_status); }; }; then
5843   lt_cv_cc_needs_belf=yes
5844 else
5845   echo "$as_me: failed program was:" >&5
5846 sed 's/^/| /' conftest.$ac_ext >&5
5847
5848 lt_cv_cc_needs_belf=no
5849 fi
5850 rm -f conftest.err conftest.$ac_objext \
5851       conftest$ac_exeext conftest.$ac_ext
5852      ac_ext=c
5853 ac_cpp='$CPP $CPPFLAGS'
5854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5857
5858 fi
5859 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5860 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5861   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5862     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5863     CFLAGS="$SAVE_CFLAGS"
5864   fi
5865   ;;
5866 sparc*-*solaris*)
5867   # Find out which ABI we are using.
5868   echo 'int i;' > conftest.$ac_ext
5869   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5870   (eval $ac_compile) 2>&5
5871   ac_status=$?
5872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873   (exit $ac_status); }; then
5874     case `/usr/bin/file conftest.o` in
5875     *64-bit*)
5876       case $lt_cv_prog_gnu_ld in
5877       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5878       *)    LD="${LD-ld} -64" ;;
5879       esac
5880       ;;
5881     esac
5882   fi
5883   rm -rf conftest*
5884   ;;
5885 esac
5886
5887 need_locks="$enable_libtool_lock"
5888
5889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5891 if test "${ac_cv_header_stdc+set}" = set; then
5892   echo $ECHO_N "(cached) $ECHO_C" >&6
5893 else
5894   cat >conftest.$ac_ext <<_ACEOF
5895 /* confdefs.h.  */
5896 _ACEOF
5897 cat confdefs.h >>conftest.$ac_ext
5898 cat >>conftest.$ac_ext <<_ACEOF
5899 /* end confdefs.h.  */
5900 #include <stdlib.h>
5901 #include <stdarg.h>
5902 #include <string.h>
5903 #include <float.h>
5904
5905 int
5906 main ()
5907 {
5908
5909   ;
5910   return 0;
5911 }
5912 _ACEOF
5913 rm -f conftest.$ac_objext
5914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915   (eval $ac_compile) 2>conftest.er1
5916   ac_status=$?
5917   grep -v '^ *+' conftest.er1 >conftest.err
5918   rm -f conftest.er1
5919   cat conftest.err >&5
5920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921   (exit $ac_status); } &&
5922          { ac_try='test -z "$ac_c_werror_flag"
5923                          || test ! -s conftest.err'
5924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5925   (eval $ac_try) 2>&5
5926   ac_status=$?
5927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928   (exit $ac_status); }; } &&
5929          { ac_try='test -s conftest.$ac_objext'
5930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931   (eval $ac_try) 2>&5
5932   ac_status=$?
5933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934   (exit $ac_status); }; }; then
5935   ac_cv_header_stdc=yes
5936 else
5937   echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.$ac_ext >&5
5939
5940 ac_cv_header_stdc=no
5941 fi
5942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5943
5944 if test $ac_cv_header_stdc = yes; then
5945   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5946   cat >conftest.$ac_ext <<_ACEOF
5947 /* confdefs.h.  */
5948 _ACEOF
5949 cat confdefs.h >>conftest.$ac_ext
5950 cat >>conftest.$ac_ext <<_ACEOF
5951 /* end confdefs.h.  */
5952 #include <string.h>
5953
5954 _ACEOF
5955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5956   $EGREP "memchr" >/dev/null 2>&1; then
5957   :
5958 else
5959   ac_cv_header_stdc=no
5960 fi
5961 rm -f conftest*
5962
5963 fi
5964
5965 if test $ac_cv_header_stdc = yes; then
5966   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5967   cat >conftest.$ac_ext <<_ACEOF
5968 /* confdefs.h.  */
5969 _ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h.  */
5973 #include <stdlib.h>
5974
5975 _ACEOF
5976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5977   $EGREP "free" >/dev/null 2>&1; then
5978   :
5979 else
5980   ac_cv_header_stdc=no
5981 fi
5982 rm -f conftest*
5983
5984 fi
5985
5986 if test $ac_cv_header_stdc = yes; then
5987   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5988   if test "$cross_compiling" = yes; then
5989   :
5990 else
5991   cat >conftest.$ac_ext <<_ACEOF
5992 /* confdefs.h.  */
5993 _ACEOF
5994 cat confdefs.h >>conftest.$ac_ext
5995 cat >>conftest.$ac_ext <<_ACEOF
5996 /* end confdefs.h.  */
5997 #include <ctype.h>
5998 #if ((' ' & 0x0FF) == 0x020)
5999 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6000 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6001 #else
6002 # define ISLOWER(c) \
6003                    (('a' <= (c) && (c) <= 'i') \
6004                      || ('j' <= (c) && (c) <= 'r') \
6005                      || ('s' <= (c) && (c) <= 'z'))
6006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6007 #endif
6008
6009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6010 int
6011 main ()
6012 {
6013   int i;
6014   for (i = 0; i < 256; i++)
6015     if (XOR (islower (i), ISLOWER (i))
6016         || toupper (i) != TOUPPER (i))
6017       exit(2);
6018   exit (0);
6019 }
6020 _ACEOF
6021 rm -f conftest$ac_exeext
6022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6023   (eval $ac_link) 2>&5
6024   ac_status=$?
6025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028   (eval $ac_try) 2>&5
6029   ac_status=$?
6030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031   (exit $ac_status); }; }; then
6032   :
6033 else
6034   echo "$as_me: program exited with status $ac_status" >&5
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6037
6038 ( exit $ac_status )
6039 ac_cv_header_stdc=no
6040 fi
6041 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6042 fi
6043 fi
6044 fi
6045 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6046 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6047 if test $ac_cv_header_stdc = yes; then
6048
6049 cat >>confdefs.h <<\_ACEOF
6050 #define STDC_HEADERS 1
6051 _ACEOF
6052
6053 fi
6054
6055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6066                   inttypes.h stdint.h unistd.h
6067 do
6068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6069 echo "$as_me:$LINENO: checking for $ac_header" >&5
6070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6072   echo $ECHO_N "(cached) $ECHO_C" >&6
6073 else
6074   cat >conftest.$ac_ext <<_ACEOF
6075 /* confdefs.h.  */
6076 _ACEOF
6077 cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h.  */
6080 $ac_includes_default
6081
6082 #include <$ac_header>
6083 _ACEOF
6084 rm -f conftest.$ac_objext
6085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6086   (eval $ac_compile) 2>conftest.er1
6087   ac_status=$?
6088   grep -v '^ *+' conftest.er1 >conftest.err
6089   rm -f conftest.er1
6090   cat conftest.err >&5
6091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092   (exit $ac_status); } &&
6093          { ac_try='test -z "$ac_c_werror_flag"
6094                          || test ! -s conftest.err'
6095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096   (eval $ac_try) 2>&5
6097   ac_status=$?
6098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099   (exit $ac_status); }; } &&
6100          { ac_try='test -s conftest.$ac_objext'
6101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102   (eval $ac_try) 2>&5
6103   ac_status=$?
6104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105   (exit $ac_status); }; }; then
6106   eval "$as_ac_Header=yes"
6107 else
6108   echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6110
6111 eval "$as_ac_Header=no"
6112 fi
6113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6114 fi
6115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6118   cat >>confdefs.h <<_ACEOF
6119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6120 _ACEOF
6121
6122 fi
6123
6124 done
6125
6126
6127
6128 for ac_header in dlfcn.h
6129 do
6130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6131 echo "$as_me:$LINENO: checking for $ac_header" >&5
6132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6134   echo $ECHO_N "(cached) $ECHO_C" >&6
6135 else
6136   cat >conftest.$ac_ext <<_ACEOF
6137 /* confdefs.h.  */
6138 _ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h.  */
6142 $ac_includes_default
6143
6144 #include <$ac_header>
6145 _ACEOF
6146 rm -f conftest.$ac_objext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6148   (eval $ac_compile) 2>conftest.er1
6149   ac_status=$?
6150   grep -v '^ *+' conftest.er1 >conftest.err
6151   rm -f conftest.er1
6152   cat conftest.err >&5
6153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154   (exit $ac_status); } &&
6155          { ac_try='test -z "$ac_c_werror_flag"
6156                          || test ! -s conftest.err'
6157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158   (eval $ac_try) 2>&5
6159   ac_status=$?
6160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161   (exit $ac_status); }; } &&
6162          { ac_try='test -s conftest.$ac_objext'
6163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164   (eval $ac_try) 2>&5
6165   ac_status=$?
6166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167   (exit $ac_status); }; }; then
6168   eval "$as_ac_Header=yes"
6169 else
6170   echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.$ac_ext >&5
6172
6173 eval "$as_ac_Header=no"
6174 fi
6175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6176 fi
6177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6180   cat >>confdefs.h <<_ACEOF
6181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6182 _ACEOF
6183
6184 fi
6185
6186 done
6187
6188
6189
6190 ac_ext=cc
6191 ac_cpp='$CXXCPP $CPPFLAGS'
6192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6195 if test -n "$ac_tool_prefix"; then
6196   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6197   do
6198     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6199 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6200 echo "$as_me:$LINENO: checking for $ac_word" >&5
6201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6202 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6203   echo $ECHO_N "(cached) $ECHO_C" >&6
6204 else
6205   if test -n "$CXX"; then
6206   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6207 else
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6209 for as_dir in $PATH
6210 do
6211   IFS=$as_save_IFS
6212   test -z "$as_dir" && as_dir=.
6213   for ac_exec_ext in '' $ac_executable_extensions; do
6214   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6215     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6216     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6217     break 2
6218   fi
6219 done
6220 done
6221
6222 fi
6223 fi
6224 CXX=$glibcxx_cv_prog_CXX
6225 if test -n "$CXX"; then
6226   echo "$as_me:$LINENO: result: $CXX" >&5
6227 echo "${ECHO_T}$CXX" >&6
6228 else
6229   echo "$as_me:$LINENO: result: no" >&5
6230 echo "${ECHO_T}no" >&6
6231 fi
6232
6233     test -n "$CXX" && break
6234   done
6235 fi
6236 if test -z "$CXX"; then
6237   ac_ct_CXX=$CXX
6238   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6239 do
6240   # Extract the first word of "$ac_prog", so it can be a program name with args.
6241 set dummy $ac_prog; ac_word=$2
6242 echo "$as_me:$LINENO: checking for $ac_word" >&5
6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6244 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6245   echo $ECHO_N "(cached) $ECHO_C" >&6
6246 else
6247   if test -n "$ac_ct_CXX"; then
6248   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6249 else
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6251 for as_dir in $PATH
6252 do
6253   IFS=$as_save_IFS
6254   test -z "$as_dir" && as_dir=.
6255   for ac_exec_ext in '' $ac_executable_extensions; do
6256   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6257     ac_cv_prog_ac_ct_CXX="$ac_prog"
6258     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6259     break 2
6260   fi
6261 done
6262 done
6263
6264 fi
6265 fi
6266 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6267 if test -n "$ac_ct_CXX"; then
6268   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6269 echo "${ECHO_T}$ac_ct_CXX" >&6
6270 else
6271   echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6273 fi
6274
6275   test -n "$ac_ct_CXX" && break
6276 done
6277 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6278
6279   CXX=$ac_ct_CXX
6280 fi
6281
6282
6283 # Provide some information about the compiler.
6284 echo "$as_me:$LINENO:" \
6285      "checking for C++ compiler version" >&5
6286 ac_compiler=`set X $ac_compile; echo $2`
6287 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6288   (eval $ac_compiler --version </dev/null >&5) 2>&5
6289   ac_status=$?
6290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291   (exit $ac_status); }
6292 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6293   (eval $ac_compiler -v </dev/null >&5) 2>&5
6294   ac_status=$?
6295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296   (exit $ac_status); }
6297 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6298   (eval $ac_compiler -V </dev/null >&5) 2>&5
6299   ac_status=$?
6300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301   (exit $ac_status); }
6302
6303 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6304 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6305 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6306   echo $ECHO_N "(cached) $ECHO_C" >&6
6307 else
6308   cat >conftest.$ac_ext <<_ACEOF
6309 /* confdefs.h.  */
6310 _ACEOF
6311 cat confdefs.h >>conftest.$ac_ext
6312 cat >>conftest.$ac_ext <<_ACEOF
6313 /* end confdefs.h.  */
6314
6315 int
6316 main ()
6317 {
6318 #ifndef __GNUC__
6319        choke me
6320 #endif
6321
6322   ;
6323   return 0;
6324 }
6325 _ACEOF
6326 rm -f conftest.$ac_objext
6327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6328   (eval $ac_compile) 2>conftest.er1
6329   ac_status=$?
6330   grep -v '^ *+' conftest.er1 >conftest.err
6331   rm -f conftest.er1
6332   cat conftest.err >&5
6333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334   (exit $ac_status); } &&
6335          { ac_try='test -z "$ac_cxx_werror_flag"
6336                          || test ! -s conftest.err'
6337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6338   (eval $ac_try) 2>&5
6339   ac_status=$?
6340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341   (exit $ac_status); }; } &&
6342          { ac_try='test -s conftest.$ac_objext'
6343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6344   (eval $ac_try) 2>&5
6345   ac_status=$?
6346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347   (exit $ac_status); }; }; then
6348   ac_compiler_gnu=yes
6349 else
6350   echo "$as_me: failed program was:" >&5
6351 sed 's/^/| /' conftest.$ac_ext >&5
6352
6353 ac_compiler_gnu=no
6354 fi
6355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6356 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6357
6358 fi
6359 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6360 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6361 GXX=`test $ac_compiler_gnu = yes && echo yes`
6362 ac_test_CXXFLAGS=${CXXFLAGS+set}
6363 ac_save_CXXFLAGS=$CXXFLAGS
6364 CXXFLAGS="-g"
6365 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6366 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6367 if test "${ac_cv_prog_cxx_g+set}" = set; then
6368   echo $ECHO_N "(cached) $ECHO_C" >&6
6369 else
6370   cat >conftest.$ac_ext <<_ACEOF
6371 /* confdefs.h.  */
6372 _ACEOF
6373 cat confdefs.h >>conftest.$ac_ext
6374 cat >>conftest.$ac_ext <<_ACEOF
6375 /* end confdefs.h.  */
6376
6377 int
6378 main ()
6379 {
6380
6381   ;
6382   return 0;
6383 }
6384 _ACEOF
6385 rm -f conftest.$ac_objext
6386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6387   (eval $ac_compile) 2>conftest.er1
6388   ac_status=$?
6389   grep -v '^ *+' conftest.er1 >conftest.err
6390   rm -f conftest.er1
6391   cat conftest.err >&5
6392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393   (exit $ac_status); } &&
6394          { ac_try='test -z "$ac_cxx_werror_flag"
6395                          || test ! -s conftest.err'
6396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397   (eval $ac_try) 2>&5
6398   ac_status=$?
6399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400   (exit $ac_status); }; } &&
6401          { ac_try='test -s conftest.$ac_objext'
6402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403   (eval $ac_try) 2>&5
6404   ac_status=$?
6405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406   (exit $ac_status); }; }; then
6407   ac_cv_prog_cxx_g=yes
6408 else
6409   echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.$ac_ext >&5
6411
6412 ac_cv_prog_cxx_g=no
6413 fi
6414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6415 fi
6416 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6417 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6418 if test "$ac_test_CXXFLAGS" = set; then
6419   CXXFLAGS=$ac_save_CXXFLAGS
6420 elif test $ac_cv_prog_cxx_g = yes; then
6421   if test "$GXX" = yes; then
6422     CXXFLAGS="-g -O2"
6423   else
6424     CXXFLAGS="-g"
6425   fi
6426 else
6427   if test "$GXX" = yes; then
6428     CXXFLAGS="-O2"
6429   else
6430     CXXFLAGS=
6431   fi
6432 fi
6433 for ac_declaration in \
6434    '' \
6435    'extern "C" void std::exit (int) throw (); using std::exit;' \
6436    'extern "C" void std::exit (int); using std::exit;' \
6437    'extern "C" void exit (int) throw ();' \
6438    'extern "C" void exit (int);' \
6439    'void exit (int);'
6440 do
6441   cat >conftest.$ac_ext <<_ACEOF
6442 /* confdefs.h.  */
6443 _ACEOF
6444 cat confdefs.h >>conftest.$ac_ext
6445 cat >>conftest.$ac_ext <<_ACEOF
6446 /* end confdefs.h.  */
6447 $ac_declaration
6448 #include <stdlib.h>
6449 int
6450 main ()
6451 {
6452 exit (42);
6453   ;
6454   return 0;
6455 }
6456 _ACEOF
6457 rm -f conftest.$ac_objext
6458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6459   (eval $ac_compile) 2>conftest.er1
6460   ac_status=$?
6461   grep -v '^ *+' conftest.er1 >conftest.err
6462   rm -f conftest.er1
6463   cat conftest.err >&5
6464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465   (exit $ac_status); } &&
6466          { ac_try='test -z "$ac_cxx_werror_flag"
6467                          || test ! -s conftest.err'
6468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469   (eval $ac_try) 2>&5
6470   ac_status=$?
6471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472   (exit $ac_status); }; } &&
6473          { ac_try='test -s conftest.$ac_objext'
6474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475   (eval $ac_try) 2>&5
6476   ac_status=$?
6477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478   (exit $ac_status); }; }; then
6479   :
6480 else
6481   echo "$as_me: failed program was:" >&5
6482 sed 's/^/| /' conftest.$ac_ext >&5
6483
6484 continue
6485 fi
6486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6487   cat >conftest.$ac_ext <<_ACEOF
6488 /* confdefs.h.  */
6489 _ACEOF
6490 cat confdefs.h >>conftest.$ac_ext
6491 cat >>conftest.$ac_ext <<_ACEOF
6492 /* end confdefs.h.  */
6493 $ac_declaration
6494 int
6495 main ()
6496 {
6497 exit (42);
6498   ;
6499   return 0;
6500 }
6501 _ACEOF
6502 rm -f conftest.$ac_objext
6503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6504   (eval $ac_compile) 2>conftest.er1
6505   ac_status=$?
6506   grep -v '^ *+' conftest.er1 >conftest.err
6507   rm -f conftest.er1
6508   cat conftest.err >&5
6509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510   (exit $ac_status); } &&
6511          { ac_try='test -z "$ac_cxx_werror_flag"
6512                          || test ! -s conftest.err'
6513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6514   (eval $ac_try) 2>&5
6515   ac_status=$?
6516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517   (exit $ac_status); }; } &&
6518          { ac_try='test -s conftest.$ac_objext'
6519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6520   (eval $ac_try) 2>&5
6521   ac_status=$?
6522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523   (exit $ac_status); }; }; then
6524   break
6525 else
6526   echo "$as_me: failed program was:" >&5
6527 sed 's/^/| /' conftest.$ac_ext >&5
6528
6529 fi
6530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6531 done
6532 rm -f conftest*
6533 if test -n "$ac_declaration"; then
6534   echo '#ifdef __cplusplus' >>confdefs.h
6535   echo $ac_declaration      >>confdefs.h
6536   echo '#endif'             >>confdefs.h
6537 fi
6538
6539 ac_ext=c
6540 ac_cpp='$CPP $CPPFLAGS'
6541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6544
6545 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6546     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6547     (test "X$CXX" != "Xg++"))) ; then
6548   ac_ext=cc
6549 ac_cpp='$CXXCPP $CPPFLAGS'
6550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6553 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6554 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6555 if test -z "$CXXCPP"; then
6556   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6557   echo $ECHO_N "(cached) $ECHO_C" >&6
6558 else
6559       # Double quotes because CXXCPP needs to be expanded
6560     for CXXCPP in "$CXX -E" "/lib/cpp"
6561     do
6562       ac_preproc_ok=false
6563 for ac_cxx_preproc_warn_flag in '' yes
6564 do
6565   # Use a header file that comes with gcc, so configuring glibc
6566   # with a fresh cross-compiler works.
6567   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6568   # <limits.h> exists even on freestanding compilers.
6569   # On the NeXT, cc -E runs the code through the compiler's parser,
6570   # not just through cpp. "Syntax error" is here to catch this case.
6571   cat >conftest.$ac_ext <<_ACEOF
6572 /* confdefs.h.  */
6573 _ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h.  */
6577 #ifdef __STDC__
6578 # include <limits.h>
6579 #else
6580 # include <assert.h>
6581 #endif
6582                      Syntax error
6583 _ACEOF
6584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6585   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6586   ac_status=$?
6587   grep -v '^ *+' conftest.er1 >conftest.err
6588   rm -f conftest.er1
6589   cat conftest.err >&5
6590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591   (exit $ac_status); } >/dev/null; then
6592   if test -s conftest.err; then
6593     ac_cpp_err=$ac_cxx_preproc_warn_flag
6594     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6595   else
6596     ac_cpp_err=
6597   fi
6598 else
6599   ac_cpp_err=yes
6600 fi
6601 if test -z "$ac_cpp_err"; then
6602   :
6603 else
6604   echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.$ac_ext >&5
6606
6607   # Broken: fails on valid input.
6608 continue
6609 fi
6610 rm -f conftest.err conftest.$ac_ext
6611
6612   # OK, works on sane cases.  Now check whether non-existent headers
6613   # can be detected and how.
6614   cat >conftest.$ac_ext <<_ACEOF
6615 /* confdefs.h.  */
6616 _ACEOF
6617 cat confdefs.h >>conftest.$ac_ext
6618 cat >>conftest.$ac_ext <<_ACEOF
6619 /* end confdefs.h.  */
6620 #include <ac_nonexistent.h>
6621 _ACEOF
6622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6623   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6624   ac_status=$?
6625   grep -v '^ *+' conftest.er1 >conftest.err
6626   rm -f conftest.er1
6627   cat conftest.err >&5
6628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629   (exit $ac_status); } >/dev/null; then
6630   if test -s conftest.err; then
6631     ac_cpp_err=$ac_cxx_preproc_warn_flag
6632     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6633   else
6634     ac_cpp_err=
6635   fi
6636 else
6637   ac_cpp_err=yes
6638 fi
6639 if test -z "$ac_cpp_err"; then
6640   # Broken: success on invalid input.
6641 continue
6642 else
6643   echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6645
6646   # Passes both tests.
6647 ac_preproc_ok=:
6648 break
6649 fi
6650 rm -f conftest.err conftest.$ac_ext
6651
6652 done
6653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6654 rm -f conftest.err conftest.$ac_ext
6655 if $ac_preproc_ok; then
6656   break
6657 fi
6658
6659     done
6660     ac_cv_prog_CXXCPP=$CXXCPP
6661
6662 fi
6663   CXXCPP=$ac_cv_prog_CXXCPP
6664 else
6665   ac_cv_prog_CXXCPP=$CXXCPP
6666 fi
6667 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6668 echo "${ECHO_T}$CXXCPP" >&6
6669 ac_preproc_ok=false
6670 for ac_cxx_preproc_warn_flag in '' yes
6671 do
6672   # Use a header file that comes with gcc, so configuring glibc
6673   # with a fresh cross-compiler works.
6674   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6675   # <limits.h> exists even on freestanding compilers.
6676   # On the NeXT, cc -E runs the code through the compiler's parser,
6677   # not just through cpp. "Syntax error" is here to catch this case.
6678   cat >conftest.$ac_ext <<_ACEOF
6679 /* confdefs.h.  */
6680 _ACEOF
6681 cat confdefs.h >>conftest.$ac_ext
6682 cat >>conftest.$ac_ext <<_ACEOF
6683 /* end confdefs.h.  */
6684 #ifdef __STDC__
6685 # include <limits.h>
6686 #else
6687 # include <assert.h>
6688 #endif
6689                      Syntax error
6690 _ACEOF
6691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6692   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6693   ac_status=$?
6694   grep -v '^ *+' conftest.er1 >conftest.err
6695   rm -f conftest.er1
6696   cat conftest.err >&5
6697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698   (exit $ac_status); } >/dev/null; then
6699   if test -s conftest.err; then
6700     ac_cpp_err=$ac_cxx_preproc_warn_flag
6701     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6702   else
6703     ac_cpp_err=
6704   fi
6705 else
6706   ac_cpp_err=yes
6707 fi
6708 if test -z "$ac_cpp_err"; then
6709   :
6710 else
6711   echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6713
6714   # Broken: fails on valid input.
6715 continue
6716 fi
6717 rm -f conftest.err conftest.$ac_ext
6718
6719   # OK, works on sane cases.  Now check whether non-existent headers
6720   # can be detected and how.
6721   cat >conftest.$ac_ext <<_ACEOF
6722 /* confdefs.h.  */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h.  */
6727 #include <ac_nonexistent.h>
6728 _ACEOF
6729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6730   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6731   ac_status=$?
6732   grep -v '^ *+' conftest.er1 >conftest.err
6733   rm -f conftest.er1
6734   cat conftest.err >&5
6735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736   (exit $ac_status); } >/dev/null; then
6737   if test -s conftest.err; then
6738     ac_cpp_err=$ac_cxx_preproc_warn_flag
6739     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6740   else
6741     ac_cpp_err=
6742   fi
6743 else
6744   ac_cpp_err=yes
6745 fi
6746 if test -z "$ac_cpp_err"; then
6747   # Broken: success on invalid input.
6748 continue
6749 else
6750   echo "$as_me: failed program was:" >&5
6751 sed 's/^/| /' conftest.$ac_ext >&5
6752
6753   # Passes both tests.
6754 ac_preproc_ok=:
6755 break
6756 fi
6757 rm -f conftest.err conftest.$ac_ext
6758
6759 done
6760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6761 rm -f conftest.err conftest.$ac_ext
6762 if $ac_preproc_ok; then
6763   :
6764 else
6765   _lt_caught_CXX_error=yes
6766 fi
6767
6768 ac_ext=c
6769 ac_cpp='$CPP $CPPFLAGS'
6770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6773
6774 else
6775   _lt_caught_CXX_error=yes
6776 fi
6777
6778
6779
6780
6781
6782 # This can be used to rebuild libtool when needed
6783 LIBTOOL_DEPS="$ltmain"
6784
6785 # Always use our own libtool.
6786 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812 test -z "$LN_S" && LN_S="ln -s"
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827 if test -n "${ZSH_VERSION+set}" ; then
6828    setopt NO_GLOB_SUBST
6829 fi
6830
6831 echo "$as_me:$LINENO: checking for objdir" >&5
6832 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6833 if test "${lt_cv_objdir+set}" = set; then
6834   echo $ECHO_N "(cached) $ECHO_C" >&6
6835 else
6836   rm -f .libs 2>/dev/null
6837 mkdir .libs 2>/dev/null
6838 if test -d .libs; then
6839   lt_cv_objdir=.libs
6840 else
6841   # MS-DOS does not allow filenames that begin with a dot.
6842   lt_cv_objdir=_libs
6843 fi
6844 rmdir .libs 2>/dev/null
6845 fi
6846 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6847 echo "${ECHO_T}$lt_cv_objdir" >&6
6848 objdir=$lt_cv_objdir
6849
6850
6851
6852
6853
6854 cat >>confdefs.h <<_ACEOF
6855 #define LT_OBJDIR "$lt_cv_objdir/"
6856 _ACEOF
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874 case $host_os in
6875 aix3*)
6876   # AIX sometimes has problems with the GCC collect2 program.  For some
6877   # reason, if we set the COLLECT_NAMES environment variable, the problems
6878   # vanish in a puff of smoke.
6879   if test "X${COLLECT_NAMES+set}" != Xset; then
6880     COLLECT_NAMES=
6881     export COLLECT_NAMES
6882   fi
6883   ;;
6884 esac
6885
6886 # Sed substitution that helps us do robust quoting.  It backslashifies
6887 # metacharacters that are still active within double-quoted strings.
6888 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6889
6890 # Same as above, but do not quote variable references.
6891 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6892
6893 # Sed substitution to delay expansion of an escaped shell variable in a
6894 # double_quote_subst'ed string.
6895 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6896
6897 # Sed substitution to delay expansion of an escaped single quote.
6898 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6899
6900 # Sed substitution to avoid accidental globbing in evaled expressions
6901 no_glob_subst='s/\*/\\\*/g'
6902
6903 # Global variables:
6904 ofile=libtool
6905 can_build_shared=yes
6906
6907 # All known linkers require a `.a' archive for static linking (except MSVC,
6908 # which needs '.lib').
6909 libext=a
6910
6911 with_gnu_ld="$lt_cv_prog_gnu_ld"
6912
6913 old_CC="$CC"
6914 old_CFLAGS="$CFLAGS"
6915
6916 # Set sane defaults for various variables
6917 test -z "$CC" && CC=cc
6918 test -z "$LTCC" && LTCC=$CC
6919 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6920 test -z "$LD" && LD=ld
6921 test -z "$ac_objext" && ac_objext=o
6922
6923 for cc_temp in $compiler""; do
6924   case $cc_temp in
6925     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6926     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6927     \-*) ;;
6928     *) break;;
6929   esac
6930 done
6931 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6932
6933
6934 # Only perform the check for file, if the check method requires it
6935 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6936 case $deplibs_check_method in
6937 file_magic*)
6938   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6939     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6940 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6941 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6942   echo $ECHO_N "(cached) $ECHO_C" >&6
6943 else
6944   case $MAGIC_CMD in
6945 [\\/*] |  ?:[\\/]*)
6946   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6947   ;;
6948 *)
6949   lt_save_MAGIC_CMD="$MAGIC_CMD"
6950   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6951   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6952   for ac_dir in $ac_dummy; do
6953     IFS="$lt_save_ifs"
6954     test -z "$ac_dir" && ac_dir=.
6955     if test -f $ac_dir/${ac_tool_prefix}file; then
6956       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6957       if test -n "$file_magic_test_file"; then
6958         case $deplibs_check_method in
6959         "file_magic "*)
6960           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6961           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6962           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6963             $EGREP "$file_magic_regex" > /dev/null; then
6964             :
6965           else
6966             cat <<_LT_EOF 1>&2
6967
6968 *** Warning: the command libtool uses to detect shared libraries,
6969 *** $file_magic_cmd, produces output that libtool cannot recognize.
6970 *** The result is that libtool may fail to recognize shared libraries
6971 *** as such.  This will affect the creation of libtool libraries that
6972 *** depend on shared libraries, but programs linked with such libtool
6973 *** libraries will work regardless of this problem.  Nevertheless, you
6974 *** may want to report the problem to your system manager and/or to
6975 *** bug-libtool@gnu.org
6976
6977 _LT_EOF
6978           fi ;;
6979         esac
6980       fi
6981       break
6982     fi
6983   done
6984   IFS="$lt_save_ifs"
6985   MAGIC_CMD="$lt_save_MAGIC_CMD"
6986   ;;
6987 esac
6988 fi
6989
6990 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6991 if test -n "$MAGIC_CMD"; then
6992   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6993 echo "${ECHO_T}$MAGIC_CMD" >&6
6994 else
6995   echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
6997 fi
6998
6999
7000
7001
7002
7003 if test -z "$lt_cv_path_MAGIC_CMD"; then
7004   if test -n "$ac_tool_prefix"; then
7005     echo "$as_me:$LINENO: checking for file" >&5
7006 echo $ECHO_N "checking for file... $ECHO_C" >&6
7007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7008   echo $ECHO_N "(cached) $ECHO_C" >&6
7009 else
7010   case $MAGIC_CMD in
7011 [\\/*] |  ?:[\\/]*)
7012   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7013   ;;
7014 *)
7015   lt_save_MAGIC_CMD="$MAGIC_CMD"
7016   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7017   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7018   for ac_dir in $ac_dummy; do
7019     IFS="$lt_save_ifs"
7020     test -z "$ac_dir" && ac_dir=.
7021     if test -f $ac_dir/file; then
7022       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7023       if test -n "$file_magic_test_file"; then
7024         case $deplibs_check_method in
7025         "file_magic "*)
7026           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7027           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7028           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7029             $EGREP "$file_magic_regex" > /dev/null; then
7030             :
7031           else
7032             cat <<_LT_EOF 1>&2
7033
7034 *** Warning: the command libtool uses to detect shared libraries,
7035 *** $file_magic_cmd, produces output that libtool cannot recognize.
7036 *** The result is that libtool may fail to recognize shared libraries
7037 *** as such.  This will affect the creation of libtool libraries that
7038 *** depend on shared libraries, but programs linked with such libtool
7039 *** libraries will work regardless of this problem.  Nevertheless, you
7040 *** may want to report the problem to your system manager and/or to
7041 *** bug-libtool@gnu.org
7042
7043 _LT_EOF
7044           fi ;;
7045         esac
7046       fi
7047       break
7048     fi
7049   done
7050   IFS="$lt_save_ifs"
7051   MAGIC_CMD="$lt_save_MAGIC_CMD"
7052   ;;
7053 esac
7054 fi
7055
7056 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7057 if test -n "$MAGIC_CMD"; then
7058   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7059 echo "${ECHO_T}$MAGIC_CMD" >&6
7060 else
7061   echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7063 fi
7064
7065
7066   else
7067     MAGIC_CMD=:
7068   fi
7069 fi
7070
7071   fi
7072   ;;
7073 esac
7074
7075 # Use C for the default configuration in the libtool script
7076
7077 lt_save_CC="$CC"
7078 ac_ext=c
7079 ac_cpp='$CPP $CPPFLAGS'
7080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7083
7084
7085 # Source file extension for C test sources.
7086 ac_ext=c
7087
7088 # Object file extension for compiled C test sources.
7089 objext=o
7090 objext=$objext
7091
7092 # Code to be used in simple compile tests
7093 lt_simple_compile_test_code="int some_variable = 0;"
7094
7095 # Code to be used in simple link tests
7096 lt_simple_link_test_code='int main(){return(0);}'
7097
7098
7099
7100
7101
7102
7103
7104 # If no C compiler was specified, use CC.
7105 LTCC=${LTCC-"$CC"}
7106
7107 # If no C compiler flags were specified, use CFLAGS.
7108 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7109
7110 # Allow CC to be a program name with arguments.
7111 compiler=$CC
7112
7113 # Save the default compiler, since it gets overwritten when the other
7114 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7115 compiler_DEFAULT=$CC
7116
7117 # save warnings/boilerplate of simple test code
7118 ac_outfile=conftest.$ac_objext
7119 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7120 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7121 _lt_compiler_boilerplate=`cat conftest.err`
7122 $RM conftest*
7123
7124 ac_outfile=conftest.$ac_objext
7125 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7126 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7127 _lt_linker_boilerplate=`cat conftest.err`
7128 $RM conftest*
7129
7130
7131 ## CAVEAT EMPTOR:
7132 ## There is no encapsulation within the following macros, do not change
7133 ## the running order or otherwise move them around unless you know exactly
7134 ## what you are doing...
7135 if test -n "$compiler"; then
7136
7137 lt_prog_compiler_no_builtin_flag=
7138
7139 if test "$GCC" = yes; then
7140   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7141
7142   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7143 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7144 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7145   echo $ECHO_N "(cached) $ECHO_C" >&6
7146 else
7147   lt_cv_prog_compiler_rtti_exceptions=no
7148    ac_outfile=conftest.$ac_objext
7149    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7150    lt_compiler_flag="-fno-rtti -fno-exceptions"
7151    # Insert the option either (1) after the last *FLAGS variable, or
7152    # (2) before a word containing "conftest.", or (3) at the end.
7153    # Note that $ac_compile itself does not contain backslashes and begins
7154    # with a dollar sign (not a hyphen), so the echo should work correctly.
7155    # The option is referenced via a variable to avoid confusing sed.
7156    lt_compile=`echo "$ac_compile" | $SED \
7157    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7158    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7159    -e 's:$: $lt_compiler_flag:'`
7160    (eval echo "\"\$as_me:7160: $lt_compile\"" >&5)
7161    (eval "$lt_compile" 2>conftest.err)
7162    ac_status=$?
7163    cat conftest.err >&5
7164    echo "$as_me:7164: \$? = $ac_status" >&5
7165    if (exit $ac_status) && test -s "$ac_outfile"; then
7166      # The compiler can only warn and ignore the option if not recognized
7167      # So say no if there are warnings other than the usual output.
7168      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7169      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7170      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7171        lt_cv_prog_compiler_rtti_exceptions=yes
7172      fi
7173    fi
7174    $RM conftest*
7175
7176 fi
7177 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7178 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7179
7180 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7181     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7182 else
7183     :
7184 fi
7185
7186 fi
7187
7188
7189
7190
7191
7192
7193   lt_prog_compiler_wl=
7194 lt_prog_compiler_pic=
7195 lt_prog_compiler_static=
7196
7197 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7198 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7199
7200   if test "$GCC" = yes; then
7201     lt_prog_compiler_wl='-Wl,'
7202     lt_prog_compiler_static='-static'
7203
7204     case $host_os in
7205       aix*)
7206       # All AIX code is PIC.
7207       if test "$host_cpu" = ia64; then
7208         # AIX 5 now supports IA64 processor
7209         lt_prog_compiler_static='-Bstatic'
7210       fi
7211       ;;
7212
7213     amigaos*)
7214       if test "$host_cpu" = m68k; then
7215         # FIXME: we need at least 68020 code to build shared libraries, but
7216         # adding the `-m68020' flag to GCC prevents building anything better,
7217         # like `-m68040'.
7218         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7219       fi
7220       ;;
7221
7222     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7223       # PIC is the default for these OSes.
7224       ;;
7225
7226     mingw* | cygwin* | pw32* | os2*)
7227       # This hack is so that the source file can tell whether it is being
7228       # built for inclusion in a dll (and should export symbols for example).
7229       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7230       # (--disable-auto-import) libraries
7231       lt_prog_compiler_pic='-DDLL_EXPORT'
7232       ;;
7233
7234     darwin* | rhapsody*)
7235       # PIC is the default on this platform
7236       # Common symbols not allowed in MH_DYLIB files
7237       lt_prog_compiler_pic='-fno-common'
7238       ;;
7239
7240     hpux*)
7241       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7242       # not for PA HP-UX.
7243       case $host_cpu in
7244       hppa*64*|ia64*)
7245         # +Z the default
7246         ;;
7247       *)
7248         lt_prog_compiler_pic='-fPIC'
7249         ;;
7250       esac
7251       ;;
7252
7253     interix[3-9]*)
7254       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7255       # Instead, we relocate shared libraries at runtime.
7256       ;;
7257
7258     msdosdjgpp*)
7259       # Just because we use GCC doesn't mean we suddenly get shared libraries
7260       # on systems that don't support them.
7261       lt_prog_compiler_can_build_shared=no
7262       enable_shared=no
7263       ;;
7264
7265     *nto* | *qnx*)
7266       # QNX uses GNU C++, but need to define -shared option too, otherwise
7267       # it will coredump.
7268       lt_prog_compiler_pic='-fPIC -shared'
7269       ;;
7270
7271     sysv4*MP*)
7272       if test -d /usr/nec; then
7273         lt_prog_compiler_pic=-Kconform_pic
7274       fi
7275       ;;
7276
7277     *)
7278       lt_prog_compiler_pic='-fPIC'
7279       ;;
7280     esac
7281   else
7282     # PORTME Check for flag to pass linker flags through the system compiler.
7283     case $host_os in
7284     aix*)
7285       lt_prog_compiler_wl='-Wl,'
7286       if test "$host_cpu" = ia64; then
7287         # AIX 5 now supports IA64 processor
7288         lt_prog_compiler_static='-Bstatic'
7289       else
7290         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7291       fi
7292       ;;
7293     darwin*)
7294       # PIC is the default on this platform
7295       # Common symbols not allowed in MH_DYLIB files
7296       case $cc_basename in
7297       xlc*)
7298         lt_prog_compiler_pic='-qnocommon'
7299         lt_prog_compiler_wl='-Wl,'
7300         ;;
7301       esac
7302       ;;
7303
7304     mingw* | cygwin* | pw32* | os2*)
7305       # This hack is so that the source file can tell whether it is being
7306       # built for inclusion in a dll (and should export symbols for example).
7307       lt_prog_compiler_pic='-DDLL_EXPORT'
7308       ;;
7309
7310     hpux9* | hpux10* | hpux11*)
7311       lt_prog_compiler_wl='-Wl,'
7312       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7313       # not for PA HP-UX.
7314       case $host_cpu in
7315       hppa*64*|ia64*)
7316         # +Z the default
7317         ;;
7318       *)
7319         lt_prog_compiler_pic='+Z'
7320         ;;
7321       esac
7322       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7323       lt_prog_compiler_static='${wl}-a ${wl}archive'
7324       ;;
7325
7326     irix5* | irix6* | nonstopux*)
7327       lt_prog_compiler_wl='-Wl,'
7328       # PIC (with -KPIC) is the default.
7329       lt_prog_compiler_static='-non_shared'
7330       ;;
7331
7332     linux* | k*bsd*-gnu)
7333       case $cc_basename in
7334       icc* | ecc*)
7335         lt_prog_compiler_wl='-Wl,'
7336         lt_prog_compiler_pic='-KPIC'
7337         lt_prog_compiler_static='-static'
7338         ;;
7339       pgcc* | pgf77* | pgf90* | pgf95*)
7340         # Portland Group compilers (*not* the Pentium gcc compiler,
7341         # which looks to be a dead project)
7342         lt_prog_compiler_wl='-Wl,'
7343         lt_prog_compiler_pic='-fpic'
7344         lt_prog_compiler_static='-Bstatic'
7345         ;;
7346       ccc*)
7347         lt_prog_compiler_wl='-Wl,'
7348         # All Alpha code is PIC.
7349         lt_prog_compiler_static='-non_shared'
7350         ;;
7351       *)
7352         case `$CC -V 2>&1 | sed 5q` in
7353         *Sun\ C*)
7354           # Sun C 5.9
7355           lt_prog_compiler_pic='-KPIC'
7356           lt_prog_compiler_static='-Bstatic'
7357           lt_prog_compiler_wl='-Wl,'
7358           ;;
7359         *Sun\ F*)
7360           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7361           lt_prog_compiler_pic='-KPIC'
7362           lt_prog_compiler_static='-Bstatic'
7363           lt_prog_compiler_wl=''
7364           ;;
7365         esac
7366         ;;
7367       esac
7368       ;;
7369
7370     newsos6)
7371       lt_prog_compiler_pic='-KPIC'
7372       lt_prog_compiler_static='-Bstatic'
7373       ;;
7374
7375     *nto* | *qnx*)
7376       # QNX uses GNU C++, but need to define -shared option too, otherwise
7377       # it will coredump.
7378       lt_prog_compiler_pic='-fPIC -shared'
7379       ;;
7380
7381     osf3* | osf4* | osf5*)
7382       lt_prog_compiler_wl='-Wl,'
7383       # All OSF/1 code is PIC.
7384       lt_prog_compiler_static='-non_shared'
7385       ;;
7386
7387     rdos*)
7388       lt_prog_compiler_static='-non_shared'
7389       ;;
7390
7391     solaris*)
7392       lt_prog_compiler_pic='-KPIC'
7393       lt_prog_compiler_static='-Bstatic'
7394       case $cc_basename in
7395       f77* | f90* | f95*)
7396         lt_prog_compiler_wl='-Qoption ld ';;
7397       *)
7398         lt_prog_compiler_wl='-Wl,';;
7399       esac
7400       ;;
7401
7402     sunos4*)
7403       lt_prog_compiler_wl='-Qoption ld '
7404       lt_prog_compiler_pic='-PIC'
7405       lt_prog_compiler_static='-Bstatic'
7406       ;;
7407
7408     sysv4 | sysv4.2uw2* | sysv4.3*)
7409       lt_prog_compiler_wl='-Wl,'
7410       lt_prog_compiler_pic='-KPIC'
7411       lt_prog_compiler_static='-Bstatic'
7412       ;;
7413
7414     sysv4*MP*)
7415       if test -d /usr/nec ;then
7416         lt_prog_compiler_pic='-Kconform_pic'
7417         lt_prog_compiler_static='-Bstatic'
7418       fi
7419       ;;
7420
7421     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7422       lt_prog_compiler_wl='-Wl,'
7423       lt_prog_compiler_pic='-KPIC'
7424       lt_prog_compiler_static='-Bstatic'
7425       ;;
7426
7427     unicos*)
7428       lt_prog_compiler_wl='-Wl,'
7429       lt_prog_compiler_can_build_shared=no
7430       ;;
7431
7432     uts4*)
7433       lt_prog_compiler_pic='-pic'
7434       lt_prog_compiler_static='-Bstatic'
7435       ;;
7436
7437     *)
7438       lt_prog_compiler_can_build_shared=no
7439       ;;
7440     esac
7441   fi
7442
7443 case $host_os in
7444   # For platforms which do not support PIC, -DPIC is meaningless:
7445   *djgpp*)
7446     lt_prog_compiler_pic=
7447     ;;
7448   *)
7449     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7450     ;;
7451 esac
7452 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7453 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7454
7455
7456
7457
7458
7459
7460 #
7461 # Check to make sure the PIC flag actually works.
7462 #
7463 if test -n "$lt_prog_compiler_pic"; then
7464   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7465 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7466 if test "${lt_prog_compiler_pic_works+set}" = set; then
7467   echo $ECHO_N "(cached) $ECHO_C" >&6
7468 else
7469   lt_prog_compiler_pic_works=no
7470    ac_outfile=conftest.$ac_objext
7471    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7472    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7473    # Insert the option either (1) after the last *FLAGS variable, or
7474    # (2) before a word containing "conftest.", or (3) at the end.
7475    # Note that $ac_compile itself does not contain backslashes and begins
7476    # with a dollar sign (not a hyphen), so the echo should work correctly.
7477    # The option is referenced via a variable to avoid confusing sed.
7478    lt_compile=`echo "$ac_compile" | $SED \
7479    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7480    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7481    -e 's:$: $lt_compiler_flag:'`
7482    (eval echo "\"\$as_me:7482: $lt_compile\"" >&5)
7483    (eval "$lt_compile" 2>conftest.err)
7484    ac_status=$?
7485    cat conftest.err >&5
7486    echo "$as_me:7486: \$? = $ac_status" >&5
7487    if (exit $ac_status) && test -s "$ac_outfile"; then
7488      # The compiler can only warn and ignore the option if not recognized
7489      # So say no if there are warnings other than the usual output.
7490      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7491      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7492      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7493        lt_prog_compiler_pic_works=yes
7494      fi
7495    fi
7496    $RM conftest*
7497
7498 fi
7499 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7500 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7501
7502 if test x"$lt_prog_compiler_pic_works" = xyes; then
7503     case $lt_prog_compiler_pic in
7504      "" | " "*) ;;
7505      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7506      esac
7507 else
7508     lt_prog_compiler_pic=
7509      lt_prog_compiler_can_build_shared=no
7510 fi
7511
7512 fi
7513
7514
7515
7516
7517
7518
7519 #
7520 # Check to make sure the static flag actually works.
7521 #
7522 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7523 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7524 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7525 if test "${lt_prog_compiler_static_works+set}" = set; then
7526   echo $ECHO_N "(cached) $ECHO_C" >&6
7527 else
7528   lt_prog_compiler_static_works=no
7529    save_LDFLAGS="$LDFLAGS"
7530    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7531    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7532    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7533      # The linker can only warn and ignore the option if not recognized
7534      # So say no if there are warnings
7535      if test -s conftest.err; then
7536        # Append any errors to the config.log.
7537        cat conftest.err 1>&5
7538        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7539        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7540        if diff conftest.exp conftest.er2 >/dev/null; then
7541          lt_prog_compiler_static_works=yes
7542        fi
7543      else
7544        lt_prog_compiler_static_works=yes
7545      fi
7546    fi
7547    $RM conftest*
7548    LDFLAGS="$save_LDFLAGS"
7549
7550 fi
7551 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7552 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7553
7554 if test x"$lt_prog_compiler_static_works" = xyes; then
7555     :
7556 else
7557     lt_prog_compiler_static=
7558 fi
7559
7560
7561
7562
7563
7564
7565
7566   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7567 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7568 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7569   echo $ECHO_N "(cached) $ECHO_C" >&6
7570 else
7571   lt_cv_prog_compiler_c_o=no
7572    $RM -r conftest 2>/dev/null
7573    mkdir conftest
7574    cd conftest
7575    mkdir out
7576    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7577
7578    lt_compiler_flag="-o out/conftest2.$ac_objext"
7579    # Insert the option either (1) after the last *FLAGS variable, or
7580    # (2) before a word containing "conftest.", or (3) at the end.
7581    # Note that $ac_compile itself does not contain backslashes and begins
7582    # with a dollar sign (not a hyphen), so the echo should work correctly.
7583    lt_compile=`echo "$ac_compile" | $SED \
7584    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7585    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7586    -e 's:$: $lt_compiler_flag:'`
7587    (eval echo "\"\$as_me:7587: $lt_compile\"" >&5)
7588    (eval "$lt_compile" 2>out/conftest.err)
7589    ac_status=$?
7590    cat out/conftest.err >&5
7591    echo "$as_me:7591: \$? = $ac_status" >&5
7592    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7593    then
7594      # The compiler can only warn and ignore the option if not recognized
7595      # So say no if there are warnings
7596      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7597      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7598      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7599        lt_cv_prog_compiler_c_o=yes
7600      fi
7601    fi
7602    chmod u+w . 2>&5
7603    $RM conftest*
7604    # SGI C++ compiler will create directory out/ii_files/ for
7605    # template instantiation
7606    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7607    $RM out/* && rmdir out
7608    cd ..
7609    $RM -r conftest
7610    $RM conftest*
7611
7612 fi
7613 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7614 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7615
7616
7617
7618
7619
7620
7621   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7622 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7623 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7624   echo $ECHO_N "(cached) $ECHO_C" >&6
7625 else
7626   lt_cv_prog_compiler_c_o=no
7627    $RM -r conftest 2>/dev/null
7628    mkdir conftest
7629    cd conftest
7630    mkdir out
7631    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7632
7633    lt_compiler_flag="-o out/conftest2.$ac_objext"
7634    # Insert the option either (1) after the last *FLAGS variable, or
7635    # (2) before a word containing "conftest.", or (3) at the end.
7636    # Note that $ac_compile itself does not contain backslashes and begins
7637    # with a dollar sign (not a hyphen), so the echo should work correctly.
7638    lt_compile=`echo "$ac_compile" | $SED \
7639    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7640    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7641    -e 's:$: $lt_compiler_flag:'`
7642    (eval echo "\"\$as_me:7642: $lt_compile\"" >&5)
7643    (eval "$lt_compile" 2>out/conftest.err)
7644    ac_status=$?
7645    cat out/conftest.err >&5
7646    echo "$as_me:7646: \$? = $ac_status" >&5
7647    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7648    then
7649      # The compiler can only warn and ignore the option if not recognized
7650      # So say no if there are warnings
7651      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7652      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7653      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7654        lt_cv_prog_compiler_c_o=yes
7655      fi
7656    fi
7657    chmod u+w . 2>&5
7658    $RM conftest*
7659    # SGI C++ compiler will create directory out/ii_files/ for
7660    # template instantiation
7661    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7662    $RM out/* && rmdir out
7663    cd ..
7664    $RM -r conftest
7665    $RM conftest*
7666
7667 fi
7668 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7669 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7670
7671
7672
7673
7674 hard_links="nottested"
7675 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7676   # do not overwrite the value of need_locks provided by the user
7677   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7678 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7679   hard_links=yes
7680   $RM conftest*
7681   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7682   touch conftest.a
7683   ln conftest.a conftest.b 2>&5 || hard_links=no
7684   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7685   echo "$as_me:$LINENO: result: $hard_links" >&5
7686 echo "${ECHO_T}$hard_links" >&6
7687   if test "$hard_links" = no; then
7688     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7689 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7690     need_locks=warn
7691   fi
7692 else
7693   need_locks=no
7694 fi
7695
7696
7697
7698
7699
7700
7701   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7702 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7703
7704   runpath_var=
7705   allow_undefined_flag=
7706   always_export_symbols=no
7707   archive_cmds=
7708   archive_expsym_cmds=
7709   compiler_needs_object=no
7710   enable_shared_with_static_runtimes=no
7711   export_dynamic_flag_spec=
7712   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7713   hardcode_automatic=no
7714   hardcode_direct=no
7715   hardcode_direct_absolute=no
7716   hardcode_libdir_flag_spec=
7717   hardcode_libdir_flag_spec_ld=
7718   hardcode_libdir_separator=
7719   hardcode_minus_L=no
7720   hardcode_shlibpath_var=unsupported
7721   inherit_rpath=no
7722   link_all_deplibs=unknown
7723   module_cmds=
7724   module_expsym_cmds=
7725   old_archive_from_new_cmds=
7726   old_archive_from_expsyms_cmds=
7727   thread_safe_flag_spec=
7728   whole_archive_flag_spec=
7729   # include_expsyms should be a list of space-separated symbols to be *always*
7730   # included in the symbol list
7731   include_expsyms=
7732   # exclude_expsyms can be an extended regexp of symbols to exclude
7733   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7734   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7735   # as well as any symbol that contains `d'.
7736   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7737   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7738   # platforms (ab)use it in PIC code, but their linkers get confused if
7739   # the symbol is explicitly referenced.  Since portable code cannot
7740   # rely on this symbol name, it's probably fine to never include it in
7741   # preloaded symbol tables.
7742   extract_expsyms_cmds=
7743
7744   case $host_os in
7745   cygwin* | mingw* | pw32*)
7746     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7747     # When not using gcc, we currently assume that we are using
7748     # Microsoft Visual C++.
7749     if test "$GCC" != yes; then
7750       with_gnu_ld=no
7751     fi
7752     ;;
7753   interix*)
7754     # we just hope/assume this is gcc and not c89 (= MSVC++)
7755     with_gnu_ld=yes
7756     ;;
7757   openbsd*)
7758     with_gnu_ld=no
7759     ;;
7760   esac
7761
7762   ld_shlibs=yes
7763   if test "$with_gnu_ld" = yes; then
7764     # If archive_cmds runs LD, not CC, wlarc should be empty
7765     wlarc='${wl}'
7766
7767     # Set some defaults for GNU ld with shared library support. These
7768     # are reset later if shared libraries are not supported. Putting them
7769     # here allows them to be overridden if necessary.
7770     runpath_var=LD_RUN_PATH
7771     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7772     export_dynamic_flag_spec='${wl}--export-dynamic'
7773     # ancient GNU ld didn't support --whole-archive et. al.
7774     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7775       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7776     else
7777       whole_archive_flag_spec=
7778     fi
7779     supports_anon_versioning=no
7780     case `$LD -v 2>&1` in
7781       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7782       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7783       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7784       *\ 2.11.*) ;; # other 2.11 versions
7785       *) supports_anon_versioning=yes ;;
7786     esac
7787
7788     # See if GNU ld supports shared libraries.
7789     case $host_os in
7790     aix[3-9]*)
7791       # On AIX/PPC, the GNU linker is very broken
7792       if test "$host_cpu" != ia64; then
7793         ld_shlibs=no
7794         cat <<_LT_EOF 1>&2
7795
7796 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7797 *** to be unable to reliably create shared libraries on AIX.
7798 *** Therefore, libtool is disabling shared libraries support.  If you
7799 *** really care for shared libraries, you may want to modify your PATH
7800 *** so that a non-GNU linker is found, and then restart.
7801
7802 _LT_EOF
7803       fi
7804       ;;
7805
7806     amigaos*)
7807       if test "$host_cpu" = m68k; then
7808         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)'
7809         hardcode_libdir_flag_spec='-L$libdir'
7810         hardcode_minus_L=yes
7811       fi
7812
7813       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7814       # that the semantics of dynamic libraries on AmigaOS, at least up
7815       # to version 4, is to share data among multiple programs linked
7816       # with the same dynamic library.  Since this doesn't match the
7817       # behavior of shared libraries on other platforms, we can't use
7818       # them.
7819       ld_shlibs=no
7820       ;;
7821
7822     beos*)
7823       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7824         allow_undefined_flag=unsupported
7825         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7826         # support --undefined.  This deserves some investigation.  FIXME
7827         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7828       else
7829         ld_shlibs=no
7830       fi
7831       ;;
7832
7833     cygwin* | mingw* | pw32*)
7834       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7835       # as there is no search path for DLLs.
7836       hardcode_libdir_flag_spec='-L$libdir'
7837       allow_undefined_flag=unsupported
7838       always_export_symbols=no
7839       enable_shared_with_static_runtimes=yes
7840       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7841
7842       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7843         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7844         # If the export-symbols file already is a .def file (1st line
7845         # is EXPORTS), use it as is; otherwise, prepend...
7846         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7847           cp $export_symbols $output_objdir/$soname.def;
7848         else
7849           echo EXPORTS > $output_objdir/$soname.def;
7850           cat $export_symbols >> $output_objdir/$soname.def;
7851         fi~
7852         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7853       else
7854         ld_shlibs=no
7855       fi
7856       ;;
7857
7858     interix[3-9]*)
7859       hardcode_direct=no
7860       hardcode_shlibpath_var=no
7861       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7862       export_dynamic_flag_spec='${wl}-E'
7863       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7864       # Instead, shared libraries are loaded at an image base (0x10000000 by
7865       # default) and relocated if they conflict, which is a slow very memory
7866       # consuming and fragmenting process.  To avoid this, we pick a random,
7867       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7868       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7869       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7870       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'
7871       ;;
7872
7873     gnu* | linux* | tpf* | k*bsd*-gnu)
7874       tmp_diet=no
7875       if test "$host_os" = linux-dietlibc; then
7876         case $cc_basename in
7877           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7878         esac
7879       fi
7880       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7881          && test "$tmp_diet" = no
7882       then
7883         tmp_addflag=
7884         case $cc_basename,$host_cpu in
7885         pgcc*)                          # Portland Group C compiler
7886           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'
7887           tmp_addflag=' $pic_flag'
7888           ;;
7889         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7890           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'
7891           tmp_addflag=' $pic_flag -Mnomain' ;;
7892         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7893           tmp_addflag=' -i_dynamic' ;;
7894         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7895           tmp_addflag=' -i_dynamic -nofor_main' ;;
7896         ifc* | ifort*)                  # Intel Fortran compiler
7897           tmp_addflag=' -nofor_main' ;;
7898         esac
7899         case `$CC -V 2>&1 | sed 5q` in
7900         *Sun\ C*)                       # Sun C 5.9
7901           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'
7902           compiler_needs_object=yes
7903           tmp_sharedflag='-G' ;;
7904         *Sun\ F*)                       # Sun Fortran 8.3
7905           tmp_sharedflag='-G' ;;
7906         *)
7907           tmp_sharedflag='-shared' ;;
7908         esac
7909         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7910
7911         if test "x$supports_anon_versioning" = xyes; then
7912           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7913             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7914             echo "local: *; };" >> $output_objdir/$libname.ver~
7915             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7916         fi
7917       else
7918         ld_shlibs=no
7919       fi
7920       ;;
7921
7922     netbsd*)
7923       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7924         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7925         wlarc=
7926       else
7927         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7928         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7929       fi
7930       ;;
7931
7932     solaris*)
7933       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7934         ld_shlibs=no
7935         cat <<_LT_EOF 1>&2
7936
7937 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7938 *** create shared libraries on Solaris systems.  Therefore, libtool
7939 *** is disabling shared libraries support.  We urge you to upgrade GNU
7940 *** binutils to release 2.9.1 or newer.  Another option is to modify
7941 *** your PATH or compiler configuration so that the native linker is
7942 *** used, and then restart.
7943
7944 _LT_EOF
7945       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7946         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7947         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7948       else
7949         ld_shlibs=no
7950       fi
7951       ;;
7952
7953     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7954       case `$LD -v 2>&1` in
7955         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7956         ld_shlibs=no
7957         cat <<_LT_EOF 1>&2
7958
7959 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7960 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7961 *** is disabling shared libraries support.  We urge you to upgrade GNU
7962 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7963 *** your PATH or compiler configuration so that the native linker is
7964 *** used, and then restart.
7965
7966 _LT_EOF
7967         ;;
7968         *)
7969           # For security reasons, it is highly recommended that you always
7970           # use absolute paths for naming shared libraries, and exclude the
7971           # DT_RUNPATH tag from executables and libraries.  But doing so
7972           # requires that you compile everything twice, which is a pain.
7973           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7974             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7975             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7976             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7977           else
7978             ld_shlibs=no
7979           fi
7980         ;;
7981       esac
7982       ;;
7983
7984     sunos4*)
7985       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7986       wlarc=
7987       hardcode_direct=yes
7988       hardcode_shlibpath_var=no
7989       ;;
7990
7991     *)
7992       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7993         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7994         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7995       else
7996         ld_shlibs=no
7997       fi
7998       ;;
7999     esac
8000
8001     if test "$ld_shlibs" = no; then
8002       runpath_var=
8003       hardcode_libdir_flag_spec=
8004       export_dynamic_flag_spec=
8005       whole_archive_flag_spec=
8006     fi
8007   else
8008     # PORTME fill in a description of your system's linker (not GNU ld)
8009     case $host_os in
8010     aix3*)
8011       allow_undefined_flag=unsupported
8012       always_export_symbols=yes
8013       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'
8014       # Note: this linker hardcodes the directories in LIBPATH if there
8015       # are no directories specified by -L.
8016       hardcode_minus_L=yes
8017       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8018         # Neither direct hardcoding nor static linking is supported with a
8019         # broken collect2.
8020         hardcode_direct=unsupported
8021       fi
8022       ;;
8023
8024     aix[4-9]*)
8025       if test "$host_cpu" = ia64; then
8026         # On IA64, the linker does run time linking by default, so we don't
8027         # have to do anything special.
8028         aix_use_runtimelinking=no
8029         exp_sym_flag='-Bexport'
8030         no_entry_flag=""
8031       else
8032         # If we're using GNU nm, then we don't want the "-C" option.
8033         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8034         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8035           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'
8036         else
8037           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'
8038         fi
8039         aix_use_runtimelinking=no
8040
8041         # Test if we are trying to use run time linking or normal
8042         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8043         # need to do runtime linking.
8044         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8045           for ld_flag in $LDFLAGS; do
8046           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8047             aix_use_runtimelinking=yes
8048             break
8049           fi
8050           done
8051           ;;
8052         esac
8053
8054         exp_sym_flag='-bexport'
8055         no_entry_flag='-bnoentry'
8056       fi
8057
8058       # When large executables or shared objects are built, AIX ld can
8059       # have problems creating the table of contents.  If linking a library
8060       # or program results in "error TOC overflow" add -mminimal-toc to
8061       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8062       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8063
8064       archive_cmds=''
8065       hardcode_direct=yes
8066       hardcode_direct_absolute=yes
8067       hardcode_libdir_separator=':'
8068       link_all_deplibs=yes
8069       file_list_spec='${wl}-f,'
8070
8071       if test "$GCC" = yes; then
8072         case $host_os in aix4.[012]|aix4.[012].*)
8073         # We only want to do this on AIX 4.2 and lower, the check
8074         # below for broken collect2 doesn't work under 4.3+
8075           collect2name=`${CC} -print-prog-name=collect2`
8076           if test -f "$collect2name" &&
8077            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8078           then
8079           # We have reworked collect2
8080           :
8081           else
8082           # We have old collect2
8083           hardcode_direct=unsupported
8084           # It fails to find uninstalled libraries when the uninstalled
8085           # path is not listed in the libpath.  Setting hardcode_minus_L
8086           # to unsupported forces relinking
8087           hardcode_minus_L=yes
8088           hardcode_libdir_flag_spec='-L$libdir'
8089           hardcode_libdir_separator=
8090           fi
8091           ;;
8092         esac
8093         shared_flag='-shared'
8094         if test "$aix_use_runtimelinking" = yes; then
8095           shared_flag="$shared_flag "'${wl}-G'
8096         fi
8097       else
8098         # not using gcc
8099         if test "$host_cpu" = ia64; then
8100         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8101         # chokes on -Wl,-G. The following line is correct:
8102           shared_flag='-G'
8103         else
8104           if test "$aix_use_runtimelinking" = yes; then
8105             shared_flag='${wl}-G'
8106           else
8107             shared_flag='${wl}-bM:SRE'
8108           fi
8109         fi
8110       fi
8111
8112       # It seems that -bexpall does not export symbols beginning with
8113       # underscore (_), so it is better to generate a list of symbols to export.
8114       always_export_symbols=yes
8115       if test "$aix_use_runtimelinking" = yes; then
8116         # Warning - without using the other runtime loading flags (-brtl),
8117         # -berok will link without error, but may produce a broken library.
8118         allow_undefined_flag='-berok'
8119         # Determine the default libpath from the value encoded in an
8120         # empty executable.
8121         if test x$gcc_no_link = xyes; then
8122   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8124    { (exit 1); exit 1; }; }
8125 fi
8126 cat >conftest.$ac_ext <<_ACEOF
8127 /* confdefs.h.  */
8128 _ACEOF
8129 cat confdefs.h >>conftest.$ac_ext
8130 cat >>conftest.$ac_ext <<_ACEOF
8131 /* end confdefs.h.  */
8132
8133 int
8134 main ()
8135 {
8136
8137   ;
8138   return 0;
8139 }
8140 _ACEOF
8141 rm -f conftest.$ac_objext conftest$ac_exeext
8142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8143   (eval $ac_link) 2>conftest.er1
8144   ac_status=$?
8145   grep -v '^ *+' conftest.er1 >conftest.err
8146   rm -f conftest.er1
8147   cat conftest.err >&5
8148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149   (exit $ac_status); } &&
8150          { ac_try='test -z "$ac_c_werror_flag"
8151                          || test ! -s conftest.err'
8152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8153   (eval $ac_try) 2>&5
8154   ac_status=$?
8155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156   (exit $ac_status); }; } &&
8157          { ac_try='test -s conftest$ac_exeext'
8158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8159   (eval $ac_try) 2>&5
8160   ac_status=$?
8161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162   (exit $ac_status); }; }; then
8163
8164 lt_aix_libpath_sed='
8165     /Import File Strings/,/^$/ {
8166         /^0/ {
8167             s/^0  *\(.*\)$/\1/
8168             p
8169         }
8170     }'
8171 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8172 # Check for a 64-bit object if we didn't find anything.
8173 if test -z "$aix_libpath"; then
8174   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8175 fi
8176 else
8177   echo "$as_me: failed program was:" >&5
8178 sed 's/^/| /' conftest.$ac_ext >&5
8179
8180 fi
8181 rm -f conftest.err conftest.$ac_objext \
8182       conftest$ac_exeext conftest.$ac_ext
8183 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8184
8185         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8186         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"
8187       else
8188         if test "$host_cpu" = ia64; then
8189           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8190           allow_undefined_flag="-z nodefs"
8191           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"
8192         else
8193          # Determine the default libpath from the value encoded in an
8194          # empty executable.
8195          if test x$gcc_no_link = xyes; then
8196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8198    { (exit 1); exit 1; }; }
8199 fi
8200 cat >conftest.$ac_ext <<_ACEOF
8201 /* confdefs.h.  */
8202 _ACEOF
8203 cat confdefs.h >>conftest.$ac_ext
8204 cat >>conftest.$ac_ext <<_ACEOF
8205 /* end confdefs.h.  */
8206
8207 int
8208 main ()
8209 {
8210
8211   ;
8212   return 0;
8213 }
8214 _ACEOF
8215 rm -f conftest.$ac_objext conftest$ac_exeext
8216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8217   (eval $ac_link) 2>conftest.er1
8218   ac_status=$?
8219   grep -v '^ *+' conftest.er1 >conftest.err
8220   rm -f conftest.er1
8221   cat conftest.err >&5
8222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223   (exit $ac_status); } &&
8224          { ac_try='test -z "$ac_c_werror_flag"
8225                          || test ! -s conftest.err'
8226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8227   (eval $ac_try) 2>&5
8228   ac_status=$?
8229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230   (exit $ac_status); }; } &&
8231          { ac_try='test -s conftest$ac_exeext'
8232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8233   (eval $ac_try) 2>&5
8234   ac_status=$?
8235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236   (exit $ac_status); }; }; then
8237
8238 lt_aix_libpath_sed='
8239     /Import File Strings/,/^$/ {
8240         /^0/ {
8241             s/^0  *\(.*\)$/\1/
8242             p
8243         }
8244     }'
8245 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8246 # Check for a 64-bit object if we didn't find anything.
8247 if test -z "$aix_libpath"; then
8248   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8249 fi
8250 else
8251   echo "$as_me: failed program was:" >&5
8252 sed 's/^/| /' conftest.$ac_ext >&5
8253
8254 fi
8255 rm -f conftest.err conftest.$ac_objext \
8256       conftest$ac_exeext conftest.$ac_ext
8257 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8258
8259          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8260           # Warning - without using the other run time loading flags,
8261           # -berok will link without error, but may produce a broken library.
8262           no_undefined_flag=' ${wl}-bernotok'
8263           allow_undefined_flag=' ${wl}-berok'
8264           # Exported symbols can be pulled into shared objects from archives
8265           whole_archive_flag_spec='$convenience'
8266           archive_cmds_need_lc=yes
8267           # This is similar to how AIX traditionally builds its shared libraries.
8268           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'
8269         fi
8270       fi
8271       ;;
8272
8273     amigaos*)
8274       if test "$host_cpu" = m68k; then
8275         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)'
8276         hardcode_libdir_flag_spec='-L$libdir'
8277         hardcode_minus_L=yes
8278       fi
8279       # see comment about different semantics on the GNU ld section
8280       ld_shlibs=no
8281       ;;
8282
8283     bsdi[45]*)
8284       export_dynamic_flag_spec=-rdynamic
8285       ;;
8286
8287     cygwin* | mingw* | pw32*)
8288       # When not using gcc, we currently assume that we are using
8289       # Microsoft Visual C++.
8290       # hardcode_libdir_flag_spec is actually meaningless, as there is
8291       # no search path for DLLs.
8292       hardcode_libdir_flag_spec=' '
8293       allow_undefined_flag=unsupported
8294       # Tell ltmain to make .lib files, not .a files.
8295       libext=lib
8296       # Tell ltmain to make .dll files, not .so files.
8297       shrext_cmds=".dll"
8298       # FIXME: Setting linknames here is a bad hack.
8299       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8300       # The linker will automatically build a .lib file if we build a DLL.
8301       old_archive_from_new_cmds='true'
8302       # FIXME: Should let the user specify the lib program.
8303       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8304       fix_srcfile_path='`cygpath -w "$srcfile"`'
8305       enable_shared_with_static_runtimes=yes
8306       ;;
8307
8308     darwin* | rhapsody*)
8309       case $host_os in
8310       rhapsody* | darwin1.[012])
8311         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8312         ;;
8313       *) # Darwin 1.3 on
8314         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8315         10.[012])
8316           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8317           ;;
8318         10.*)
8319           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8320           ;;
8321         esac
8322         ;;
8323       esac
8324       archive_cmds_need_lc=no
8325       hardcode_direct=no
8326       hardcode_automatic=yes
8327       hardcode_shlibpath_var=unsupported
8328       whole_archive_flag_spec=''
8329       link_all_deplibs=yes
8330       if test "$GCC" = yes ; then
8331         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8332   echo $ECHO_N "(cached) $ECHO_C" >&6
8333 else
8334   lt_cv_apple_cc_single_mod=no
8335         if test -z "${LT_MULTI_MODULE}"; then
8336           # By default we will add the -single_module flag. You can override
8337           # by either setting the environment variable LT_MULTI_MODULE
8338           # non-empty at configure time, or by adding -multi-module to the
8339           # link flags.
8340           echo "int foo(void){return 1;}" > conftest.c
8341           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8342               -dynamiclib ${wl}-single_module conftest.c
8343           if test -f libconftest.dylib; then
8344               lt_cv_apple_cc_single_mod=yes
8345               rm libconftest.dylib
8346           fi
8347           rm conftest.$ac_ext
8348         fi
8349 fi
8350
8351         output_verbose_link_cmd=echo
8352         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8353           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8354           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}'
8355         else
8356           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8357           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}'
8358         fi
8359         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8360         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}'
8361       else
8362         case $cc_basename in
8363         xlc*)
8364           output_verbose_link_cmd=echo
8365           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8366           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8367           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8368           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}'
8369           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}'
8370           ;;
8371         *)
8372           ld_shlibs=no
8373           ;;
8374         esac
8375       fi
8376       ;;
8377
8378     dgux*)
8379       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8380       hardcode_libdir_flag_spec='-L$libdir'
8381       hardcode_shlibpath_var=no
8382       ;;
8383
8384     freebsd1*)
8385       ld_shlibs=no
8386       ;;
8387
8388     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8389     # support.  Future versions do this automatically, but an explicit c++rt0.o
8390     # does not break anything, and helps significantly (at the cost of a little
8391     # extra space).
8392     freebsd2.2*)
8393       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8394       hardcode_libdir_flag_spec='-R$libdir'
8395       hardcode_direct=yes
8396       hardcode_shlibpath_var=no
8397       ;;
8398
8399     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8400     freebsd2*)
8401       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8402       hardcode_direct=yes
8403       hardcode_minus_L=yes
8404       hardcode_shlibpath_var=no
8405       ;;
8406
8407     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8408     freebsd* | dragonfly*)
8409       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8410       hardcode_libdir_flag_spec='-R$libdir'
8411       hardcode_direct=yes
8412       hardcode_shlibpath_var=no
8413       ;;
8414
8415     hpux9*)
8416       if test "$GCC" = yes; then
8417         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'
8418       else
8419         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'
8420       fi
8421       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8422       hardcode_libdir_separator=:
8423       hardcode_direct=yes
8424
8425       # hardcode_minus_L: Not really in the search PATH,
8426       # but as the default location of the library.
8427       hardcode_minus_L=yes
8428       export_dynamic_flag_spec='${wl}-E'
8429       ;;
8430
8431     hpux10*)
8432       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8433         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8434       else
8435         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8436       fi
8437       if test "$with_gnu_ld" = no; then
8438         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8439         hardcode_libdir_flag_spec_ld='+b $libdir'
8440         hardcode_libdir_separator=:
8441         hardcode_direct=yes
8442         hardcode_direct_absolute=yes
8443         export_dynamic_flag_spec='${wl}-E'
8444         # hardcode_minus_L: Not really in the search PATH,
8445         # but as the default location of the library.
8446         hardcode_minus_L=yes
8447       fi
8448       ;;
8449
8450     hpux11*)
8451       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8452         case $host_cpu in
8453         hppa*64*)
8454           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8455           ;;
8456         ia64*)
8457           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8458           ;;
8459         *)
8460           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8461           ;;
8462         esac
8463       else
8464         case $host_cpu in
8465         hppa*64*)
8466           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8467           ;;
8468         ia64*)
8469           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8470           ;;
8471         *)
8472           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8473           ;;
8474         esac
8475       fi
8476       if test "$with_gnu_ld" = no; then
8477         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8478         hardcode_libdir_separator=:
8479
8480         case $host_cpu in
8481         hppa*64*|ia64*)
8482           hardcode_direct=no
8483           hardcode_shlibpath_var=no
8484           ;;
8485         *)
8486           hardcode_direct=yes
8487           hardcode_direct_absolute=yes
8488           export_dynamic_flag_spec='${wl}-E'
8489
8490           # hardcode_minus_L: Not really in the search PATH,
8491           # but as the default location of the library.
8492           hardcode_minus_L=yes
8493           ;;
8494         esac
8495       fi
8496       ;;
8497
8498     irix5* | irix6* | nonstopux*)
8499       if test "$GCC" = yes; then
8500         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'
8501         # Try to use the -exported_symbol ld option, if it does not
8502         # work, assume that -exports_file does not work either and
8503         # implicitly export all symbols.
8504         save_LDFLAGS="$LDFLAGS"
8505         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8506         if test x$gcc_no_link = xyes; then
8507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8509    { (exit 1); exit 1; }; }
8510 fi
8511 cat >conftest.$ac_ext <<_ACEOF
8512 int foo(void) {}
8513 _ACEOF
8514 rm -f conftest.$ac_objext conftest$ac_exeext
8515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8516   (eval $ac_link) 2>conftest.er1
8517   ac_status=$?
8518   grep -v '^ *+' conftest.er1 >conftest.err
8519   rm -f conftest.er1
8520   cat conftest.err >&5
8521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522   (exit $ac_status); } &&
8523          { ac_try='test -z "$ac_c_werror_flag"
8524                          || test ! -s conftest.err'
8525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8526   (eval $ac_try) 2>&5
8527   ac_status=$?
8528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529   (exit $ac_status); }; } &&
8530          { ac_try='test -s conftest$ac_exeext'
8531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532   (eval $ac_try) 2>&5
8533   ac_status=$?
8534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535   (exit $ac_status); }; }; then
8536   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'
8537
8538 else
8539   echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.$ac_ext >&5
8541
8542 fi
8543 rm -f conftest.err conftest.$ac_objext \
8544       conftest$ac_exeext conftest.$ac_ext
8545         LDFLAGS="$save_LDFLAGS"
8546       else
8547         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'
8548         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'
8549       fi
8550       archive_cmds_need_lc='no'
8551       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8552       hardcode_libdir_separator=:
8553       inherit_rpath=yes
8554       link_all_deplibs=yes
8555       ;;
8556
8557     netbsd*)
8558       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8559         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8560       else
8561         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8562       fi
8563       hardcode_libdir_flag_spec='-R$libdir'
8564       hardcode_direct=yes
8565       hardcode_shlibpath_var=no
8566       ;;
8567
8568     newsos6)
8569       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8570       hardcode_direct=yes
8571       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8572       hardcode_libdir_separator=:
8573       hardcode_shlibpath_var=no
8574       ;;
8575
8576     *nto* | *qnx*)
8577       ;;
8578
8579     openbsd*)
8580       hardcode_direct=yes
8581       hardcode_shlibpath_var=no
8582       hardcode_direct_absolute=yes
8583       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8584         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8585         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8586         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8587         export_dynamic_flag_spec='${wl}-E'
8588       else
8589         case $host_os in
8590         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8591           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8592           hardcode_libdir_flag_spec='-R$libdir'
8593           ;;
8594         *)
8595           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8596           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8597           ;;
8598         esac
8599       fi
8600       ;;
8601
8602     os2*)
8603       hardcode_libdir_flag_spec='-L$libdir'
8604       hardcode_minus_L=yes
8605       allow_undefined_flag=unsupported
8606       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'
8607       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8608       ;;
8609
8610     osf3*)
8611       if test "$GCC" = yes; then
8612         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8613         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'
8614       else
8615         allow_undefined_flag=' -expect_unresolved \*'
8616         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'
8617       fi
8618       archive_cmds_need_lc='no'
8619       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8620       hardcode_libdir_separator=:
8621       ;;
8622
8623     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8624       if test "$GCC" = yes; then
8625         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8626         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'
8627         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8628       else
8629         allow_undefined_flag=' -expect_unresolved \*'
8630         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'
8631         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~
8632         $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'
8633
8634         # Both c and cxx compiler support -rpath directly
8635         hardcode_libdir_flag_spec='-rpath $libdir'
8636       fi
8637       archive_cmds_need_lc='no'
8638       hardcode_libdir_separator=:
8639       ;;
8640
8641     solaris*)
8642       no_undefined_flag=' -z defs'
8643       if test "$GCC" = yes; then
8644         wlarc='${wl}'
8645         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8646         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8647           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8648       else
8649         case `$CC -V 2>&1` in
8650         *"Compilers 5.0"*)
8651           wlarc=''
8652           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8653           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8654           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8655           ;;
8656         *)
8657           wlarc='${wl}'
8658           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8659           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8660           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8661           ;;
8662         esac
8663       fi
8664       hardcode_libdir_flag_spec='-R$libdir'
8665       hardcode_shlibpath_var=no
8666       case $host_os in
8667       solaris2.[0-5] | solaris2.[0-5].*) ;;
8668       *)
8669         # The compiler driver will combine and reorder linker options,
8670         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8671         # but is careful enough not to reorder.
8672         # Supported since Solaris 2.6 (maybe 2.5.1?)
8673         if test "$GCC" = yes; then
8674           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8675         else
8676           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8677         fi
8678         ;;
8679       esac
8680       link_all_deplibs=yes
8681       ;;
8682
8683     sunos4*)
8684       if test "x$host_vendor" = xsequent; then
8685         # Use $CC to link under sequent, because it throws in some extra .o
8686         # files that make .init and .fini sections work.
8687         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8688       else
8689         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8690       fi
8691       hardcode_libdir_flag_spec='-L$libdir'
8692       hardcode_direct=yes
8693       hardcode_minus_L=yes
8694       hardcode_shlibpath_var=no
8695       ;;
8696
8697     sysv4)
8698       case $host_vendor in
8699         sni)
8700           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8701           hardcode_direct=yes # is this really true???
8702         ;;
8703         siemens)
8704           ## LD is ld it makes a PLAMLIB
8705           ## CC just makes a GrossModule.
8706           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8707           reload_cmds='$CC -r -o $output$reload_objs'
8708           hardcode_direct=no
8709         ;;
8710         motorola)
8711           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8712           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8713         ;;
8714       esac
8715       runpath_var='LD_RUN_PATH'
8716       hardcode_shlibpath_var=no
8717       ;;
8718
8719     sysv4.3*)
8720       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8721       hardcode_shlibpath_var=no
8722       export_dynamic_flag_spec='-Bexport'
8723       ;;
8724
8725     sysv4*MP*)
8726       if test -d /usr/nec; then
8727         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8728         hardcode_shlibpath_var=no
8729         runpath_var=LD_RUN_PATH
8730         hardcode_runpath_var=yes
8731         ld_shlibs=yes
8732       fi
8733       ;;
8734
8735     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8736       no_undefined_flag='${wl}-z,text'
8737       archive_cmds_need_lc=no
8738       hardcode_shlibpath_var=no
8739       runpath_var='LD_RUN_PATH'
8740
8741       if test "$GCC" = yes; then
8742         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8743         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8744       else
8745         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8746         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8747       fi
8748       ;;
8749
8750     sysv5* | sco3.2v5* | sco5v6*)
8751       # Note: We can NOT use -z defs as we might desire, because we do not
8752       # link with -lc, and that would cause any symbols used from libc to
8753       # always be unresolved, which means just about no library would
8754       # ever link correctly.  If we're not using GNU ld we use -z text
8755       # though, which does catch some bad symbols but isn't as heavy-handed
8756       # as -z defs.
8757       no_undefined_flag='${wl}-z,text'
8758       allow_undefined_flag='${wl}-z,nodefs'
8759       archive_cmds_need_lc=no
8760       hardcode_shlibpath_var=no
8761       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8762       hardcode_libdir_separator=':'
8763       link_all_deplibs=yes
8764       export_dynamic_flag_spec='${wl}-Bexport'
8765       runpath_var='LD_RUN_PATH'
8766
8767       if test "$GCC" = yes; then
8768         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8769         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8770       else
8771         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8772         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8773       fi
8774       ;;
8775
8776     uts4*)
8777       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8778       hardcode_libdir_flag_spec='-L$libdir'
8779       hardcode_shlibpath_var=no
8780       ;;
8781
8782     *)
8783       ld_shlibs=no
8784       ;;
8785     esac
8786
8787     if test x$host_vendor = xsni; then
8788       case $host in
8789       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8790         export_dynamic_flag_spec='${wl}-Blargedynsym'
8791         ;;
8792       esac
8793     fi
8794   fi
8795
8796 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8797 echo "${ECHO_T}$ld_shlibs" >&6
8798 test "$ld_shlibs" = no && can_build_shared=no
8799
8800 with_gnu_ld=$with_gnu_ld
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816 #
8817 # Do we need to explicitly link libc?
8818 #
8819 case "x$archive_cmds_need_lc" in
8820 x|xyes)
8821   # Assume -lc should be added
8822   archive_cmds_need_lc=yes
8823
8824   if test "$enable_shared" = yes && test "$GCC" = yes; then
8825     case $archive_cmds in
8826     *'~'*)
8827       # FIXME: we may have to deal with multi-command sequences.
8828       ;;
8829     '$CC '*)
8830       # Test whether the compiler implicitly links with -lc since on some
8831       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8832       # to ld, don't add -lc before -lgcc.
8833       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8834 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8835       $RM conftest*
8836       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8837
8838       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8839   (eval $ac_compile) 2>&5
8840   ac_status=$?
8841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842   (exit $ac_status); } 2>conftest.err; then
8843         soname=conftest
8844         lib=conftest
8845         libobjs=conftest.$ac_objext
8846         deplibs=
8847         wl=$lt_prog_compiler_wl
8848         pic_flag=$lt_prog_compiler_pic
8849         compiler_flags=-v
8850         linker_flags=-v
8851         verstring=
8852         output_objdir=.
8853         libname=conftest
8854         lt_save_allow_undefined_flag=$allow_undefined_flag
8855         allow_undefined_flag=
8856         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8857   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8858   ac_status=$?
8859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860   (exit $ac_status); }
8861         then
8862           archive_cmds_need_lc=no
8863         else
8864           archive_cmds_need_lc=yes
8865         fi
8866         allow_undefined_flag=$lt_save_allow_undefined_flag
8867       else
8868         cat conftest.err 1>&5
8869       fi
8870       $RM conftest*
8871       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8872 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8873       ;;
8874     esac
8875   fi
8876   ;;
8877 esac
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
9034
9035   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9036 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9037 withGCC=$GCC
9038 if test "$withGCC" = yes; then
9039   case $host_os in
9040     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9041     *) lt_awk_arg="/^libraries:/" ;;
9042   esac
9043   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9044   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9045     # if the path contains ";" then we assume it to be the separator
9046     # otherwise default to the standard path separator (i.e. ":") - it is
9047     # assumed that no part of a normal pathname contains ";" but that should
9048     # okay in the real world where ";" in dirpaths is itself problematic.
9049     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9050   else
9051     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9052   fi
9053   # Ok, now we have the path, separated by spaces, we can step through it
9054   # and add multilib dir if necessary.
9055   lt_tmp_lt_search_path_spec=
9056   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9057   for lt_sys_path in $lt_search_path_spec; do
9058     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9059       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9060     else
9061       test -d "$lt_sys_path" && \
9062         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9063     fi
9064   done
9065   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9066 BEGIN {RS=" "; FS="/|\n";} {
9067   lt_foo="";
9068   lt_count=0;
9069   for (lt_i = NF; lt_i > 0; lt_i--) {
9070     if ($lt_i != "" && $lt_i != ".") {
9071       if ($lt_i == "..") {
9072         lt_count++;
9073       } else {
9074         if (lt_count == 0) {
9075           lt_foo="/" $lt_i lt_foo;
9076         } else {
9077           lt_count--;
9078         }
9079       }
9080     }
9081   }
9082   if (lt_foo != "") { lt_freq[lt_foo]++; }
9083   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9084 }'`
9085   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9086 else
9087   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9088 fi
9089 library_names_spec=
9090 libname_spec='lib$name'
9091 soname_spec=
9092 shrext_cmds=".so"
9093 postinstall_cmds=
9094 postuninstall_cmds=
9095 finish_cmds=
9096 finish_eval=
9097 shlibpath_var=
9098 shlibpath_overrides_runpath=unknown
9099 version_type=none
9100 dynamic_linker="$host_os ld.so"
9101 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9102 need_lib_prefix=unknown
9103 hardcode_into_libs=no
9104
9105 # when you set need_version to no, make sure it does not cause -set_version
9106 # flags to be left without arguments
9107 need_version=unknown
9108
9109 case $host_os in
9110 aix3*)
9111   version_type=linux
9112   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9113   shlibpath_var=LIBPATH
9114
9115   # AIX 3 has no versioning support, so we append a major version to the name.
9116   soname_spec='${libname}${release}${shared_ext}$major'
9117   ;;
9118
9119 aix[4-9]*)
9120   version_type=linux
9121   need_lib_prefix=no
9122   need_version=no
9123   hardcode_into_libs=yes
9124   if test "$host_cpu" = ia64; then
9125     # AIX 5 supports IA64
9126     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9127     shlibpath_var=LD_LIBRARY_PATH
9128   else
9129     # With GCC up to 2.95.x, collect2 would create an import file
9130     # for dependence libraries.  The import file would start with
9131     # the line `#! .'.  This would cause the generated library to
9132     # depend on `.', always an invalid library.  This was fixed in
9133     # development snapshots of GCC prior to 3.0.
9134     case $host_os in
9135       aix4 | aix4.[01] | aix4.[01].*)
9136       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9137            echo ' yes '
9138            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9139         :
9140       else
9141         can_build_shared=no
9142       fi
9143       ;;
9144     esac
9145     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9146     # soname into executable. Probably we can add versioning support to
9147     # collect2, so additional links can be useful in future.
9148     if test "$aix_use_runtimelinking" = yes; then
9149       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9150       # instead of lib<name>.a to let people know that these are not
9151       # typical AIX shared libraries.
9152       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9153     else
9154       # We preserve .a as extension for shared libraries through AIX4.2
9155       # and later when we are not doing run time linking.
9156       library_names_spec='${libname}${release}.a $libname.a'
9157       soname_spec='${libname}${release}${shared_ext}$major'
9158     fi
9159     shlibpath_var=LIBPATH
9160   fi
9161   ;;
9162
9163 amigaos*)
9164   if test "$host_cpu" = m68k; then
9165     library_names_spec='$libname.ixlibrary $libname.a'
9166     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9167     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'
9168   else
9169     dynamic_linker=no
9170   fi
9171   ;;
9172
9173 beos*)
9174   library_names_spec='${libname}${shared_ext}'
9175   dynamic_linker="$host_os ld.so"
9176   shlibpath_var=LIBRARY_PATH
9177   ;;
9178
9179 bsdi[45]*)
9180   version_type=linux
9181   need_version=no
9182   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9183   soname_spec='${libname}${release}${shared_ext}$major'
9184   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9185   shlibpath_var=LD_LIBRARY_PATH
9186   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9187   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9188   # the default ld.so.conf also contains /usr/contrib/lib and
9189   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9190   # libtool to hard-code these into programs
9191   ;;
9192
9193 cygwin* | mingw* | pw32*)
9194   version_type=windows
9195   shrext_cmds=".dll"
9196   need_version=no
9197   need_lib_prefix=no
9198
9199   case $withGCC,$host_os in
9200   yes,cygwin* | yes,mingw* | yes,pw32*)
9201     library_names_spec='$libname.dll.a'
9202     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9203     postinstall_cmds='base_file=`basename \${file}`~
9204       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9205       dldir=$destdir/`dirname \$dlpath`~
9206       test -d \$dldir || mkdir -p \$dldir~
9207       $install_prog $dir/$dlname \$dldir/$dlname~
9208       chmod a+x \$dldir/$dlname~
9209       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9210         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9211       fi'
9212     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9213       dlpath=$dir/\$dldll~
9214        $RM \$dlpath'
9215     shlibpath_overrides_runpath=yes
9216
9217     case $host_os in
9218     cygwin*)
9219       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9220       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9221       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9222       ;;
9223     mingw*)
9224       # MinGW DLLs use traditional 'lib' prefix
9225       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9226       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9227       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9228         # It is most probably a Windows format PATH printed by
9229         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9230         # path with ; separators, and with drive letters. We can handle the
9231         # drive letters (cygwin fileutils understands them), so leave them,
9232         # especially as we might pass files found there to a mingw objdump,
9233         # which wouldn't understand a cygwinified path. Ahh.
9234         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9235       else
9236         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9237       fi
9238       ;;
9239     pw32*)
9240       # pw32 DLLs use 'pw' prefix rather than 'lib'
9241       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9242       ;;
9243     esac
9244     ;;
9245
9246   *)
9247     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9248     ;;
9249   esac
9250   dynamic_linker='Win32 ld.exe'
9251   # FIXME: first we should search . and the directory the executable is in
9252   shlibpath_var=PATH
9253   ;;
9254
9255 darwin* | rhapsody*)
9256   dynamic_linker="$host_os dyld"
9257   version_type=darwin
9258   need_lib_prefix=no
9259   need_version=no
9260   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9261   soname_spec='${libname}${release}${major}$shared_ext'
9262   shlibpath_overrides_runpath=yes
9263   shlibpath_var=DYLD_LIBRARY_PATH
9264   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9265
9266   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9267   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9268   ;;
9269
9270 dgux*)
9271   version_type=linux
9272   need_lib_prefix=no
9273   need_version=no
9274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9275   soname_spec='${libname}${release}${shared_ext}$major'
9276   shlibpath_var=LD_LIBRARY_PATH
9277   ;;
9278
9279 freebsd1*)
9280   dynamic_linker=no
9281   ;;
9282
9283 freebsd* | dragonfly*)
9284   # DragonFly does not have aout.  When/if they implement a new
9285   # versioning mechanism, adjust this.
9286   if test -x /usr/bin/objformat; then
9287     objformat=`/usr/bin/objformat`
9288   else
9289     case $host_os in
9290     freebsd[123]*) objformat=aout ;;
9291     *) objformat=elf ;;
9292     esac
9293   fi
9294   version_type=freebsd-$objformat
9295   case $version_type in
9296     freebsd-elf*)
9297       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9298       need_version=no
9299       need_lib_prefix=no
9300       ;;
9301     freebsd-*)
9302       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9303       need_version=yes
9304       ;;
9305   esac
9306   shlibpath_var=LD_LIBRARY_PATH
9307   case $host_os in
9308   freebsd2*)
9309     shlibpath_overrides_runpath=yes
9310     ;;
9311   freebsd3.[01]* | freebsdelf3.[01]*)
9312     shlibpath_overrides_runpath=yes
9313     hardcode_into_libs=yes
9314     ;;
9315   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9316   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9317     shlibpath_overrides_runpath=no
9318     hardcode_into_libs=yes
9319     ;;
9320   *) # from 4.6 on, and DragonFly
9321     shlibpath_overrides_runpath=yes
9322     hardcode_into_libs=yes
9323     ;;
9324   esac
9325   ;;
9326
9327 gnu*)
9328   version_type=linux
9329   need_lib_prefix=no
9330   need_version=no
9331   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9332   soname_spec='${libname}${release}${shared_ext}$major'
9333   shlibpath_var=LD_LIBRARY_PATH
9334   hardcode_into_libs=yes
9335   ;;
9336
9337 hpux9* | hpux10* | hpux11*)
9338   # Give a soname corresponding to the major version so that dld.sl refuses to
9339   # link against other versions.
9340   version_type=sunos
9341   need_lib_prefix=no
9342   need_version=no
9343   case $host_cpu in
9344   ia64*)
9345     shrext_cmds='.so'
9346     hardcode_into_libs=yes
9347     dynamic_linker="$host_os dld.so"
9348     shlibpath_var=LD_LIBRARY_PATH
9349     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9350     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9351     soname_spec='${libname}${release}${shared_ext}$major'
9352     if test "X$HPUX_IA64_MODE" = X32; then
9353       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9354     else
9355       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9356     fi
9357     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9358     ;;
9359   hppa*64*)
9360     shrext_cmds='.sl'
9361     hardcode_into_libs=yes
9362     dynamic_linker="$host_os dld.sl"
9363     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9364     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9365     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9366     soname_spec='${libname}${release}${shared_ext}$major'
9367     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9368     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9369     ;;
9370   *)
9371     shrext_cmds='.sl'
9372     dynamic_linker="$host_os dld.sl"
9373     shlibpath_var=SHLIB_PATH
9374     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9375     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9376     soname_spec='${libname}${release}${shared_ext}$major'
9377     ;;
9378   esac
9379   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9380   postinstall_cmds='chmod 555 $lib'
9381   ;;
9382
9383 interix[3-9]*)
9384   version_type=linux
9385   need_lib_prefix=no
9386   need_version=no
9387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9388   soname_spec='${libname}${release}${shared_ext}$major'
9389   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9390   shlibpath_var=LD_LIBRARY_PATH
9391   shlibpath_overrides_runpath=no
9392   hardcode_into_libs=yes
9393   ;;
9394
9395 irix5* | irix6* | nonstopux*)
9396   case $host_os in
9397     nonstopux*) version_type=nonstopux ;;
9398     *)
9399         if test "$lt_cv_prog_gnu_ld" = yes; then
9400                 version_type=linux
9401         else
9402                 version_type=irix
9403         fi ;;
9404   esac
9405   need_lib_prefix=no
9406   need_version=no
9407   soname_spec='${libname}${release}${shared_ext}$major'
9408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9409   case $host_os in
9410   irix5* | nonstopux*)
9411     libsuff= shlibsuff=
9412     ;;
9413   *)
9414     case $LD in # libtool.m4 will add one of these switches to LD
9415     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9416       libsuff= shlibsuff= libmagic=32-bit;;
9417     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9418       libsuff=32 shlibsuff=N32 libmagic=N32;;
9419     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9420       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9421     *) libsuff= shlibsuff= libmagic=never-match;;
9422     esac
9423     ;;
9424   esac
9425   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9426   shlibpath_overrides_runpath=no
9427   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9428   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9429   hardcode_into_libs=yes
9430   ;;
9431
9432 # No shared lib support for Linux oldld, aout, or coff.
9433 linux*oldld* | linux*aout* | linux*coff*)
9434   dynamic_linker=no
9435   ;;
9436
9437 # This must be Linux ELF.
9438 linux* | k*bsd*-gnu)
9439   version_type=linux
9440   need_lib_prefix=no
9441   need_version=no
9442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9443   soname_spec='${libname}${release}${shared_ext}$major'
9444   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9445   shlibpath_var=LD_LIBRARY_PATH
9446   shlibpath_overrides_runpath=no
9447   # Some binutils ld are patched to set DT_RUNPATH
9448   save_LDFLAGS=$LDFLAGS
9449   save_libdir=$libdir
9450   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9451        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9452   if test x$gcc_no_link = xyes; then
9453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9455    { (exit 1); exit 1; }; }
9456 fi
9457 cat >conftest.$ac_ext <<_ACEOF
9458 /* confdefs.h.  */
9459 _ACEOF
9460 cat confdefs.h >>conftest.$ac_ext
9461 cat >>conftest.$ac_ext <<_ACEOF
9462 /* end confdefs.h.  */
9463
9464 int
9465 main ()
9466 {
9467
9468   ;
9469   return 0;
9470 }
9471 _ACEOF
9472 rm -f conftest.$ac_objext conftest$ac_exeext
9473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9474   (eval $ac_link) 2>conftest.er1
9475   ac_status=$?
9476   grep -v '^ *+' conftest.er1 >conftest.err
9477   rm -f conftest.er1
9478   cat conftest.err >&5
9479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480   (exit $ac_status); } &&
9481          { ac_try='test -z "$ac_c_werror_flag"
9482                          || test ! -s conftest.err'
9483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9484   (eval $ac_try) 2>&5
9485   ac_status=$?
9486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487   (exit $ac_status); }; } &&
9488          { ac_try='test -s conftest$ac_exeext'
9489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9490   (eval $ac_try) 2>&5
9491   ac_status=$?
9492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493   (exit $ac_status); }; }; then
9494   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9495   shlibpath_overrides_runpath=yes
9496 fi
9497
9498 else
9499   echo "$as_me: failed program was:" >&5
9500 sed 's/^/| /' conftest.$ac_ext >&5
9501
9502 fi
9503 rm -f conftest.err conftest.$ac_objext \
9504       conftest$ac_exeext conftest.$ac_ext
9505   LDFLAGS=$save_LDFLAGS
9506   libdir=$save_libdir
9507
9508   # This implies no fast_install, which is unacceptable.
9509   # Some rework will be needed to allow for fast_install
9510   # before this can be enabled.
9511   hardcode_into_libs=yes
9512
9513   # Append ld.so.conf contents to the search path
9514   if test -f /etc/ld.so.conf; then
9515     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' ' '`
9516     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9517   fi
9518
9519   # We used to test for /lib/ld.so.1 and disable shared libraries on
9520   # powerpc, because MkLinux only supported shared libraries with the
9521   # GNU dynamic linker.  Since this was broken with cross compilers,
9522   # most powerpc-linux boxes support dynamic linking these days and
9523   # people can always --disable-shared, the test was removed, and we
9524   # assume the GNU/Linux dynamic linker is in use.
9525   dynamic_linker='GNU/Linux ld.so'
9526   ;;
9527
9528 netbsd*)
9529   version_type=sunos
9530   need_lib_prefix=no
9531   need_version=no
9532   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9533     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9534     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9535     dynamic_linker='NetBSD (a.out) ld.so'
9536   else
9537     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9538     soname_spec='${libname}${release}${shared_ext}$major'
9539     dynamic_linker='NetBSD ld.elf_so'
9540   fi
9541   shlibpath_var=LD_LIBRARY_PATH
9542   shlibpath_overrides_runpath=yes
9543   hardcode_into_libs=yes
9544   ;;
9545
9546 newsos6)
9547   version_type=linux
9548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9549   shlibpath_var=LD_LIBRARY_PATH
9550   shlibpath_overrides_runpath=yes
9551   ;;
9552
9553 *nto* | *qnx*)
9554   version_type=qnx
9555   need_lib_prefix=no
9556   need_version=no
9557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9558   soname_spec='${libname}${release}${shared_ext}$major'
9559   shlibpath_var=LD_LIBRARY_PATH
9560   shlibpath_overrides_runpath=no
9561   hardcode_into_libs=yes
9562   dynamic_linker='ldqnx.so'
9563   ;;
9564
9565 openbsd*)
9566   version_type=sunos
9567   sys_lib_dlsearch_path_spec="/usr/lib"
9568   need_lib_prefix=no
9569   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9570   case $host_os in
9571     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9572     *)                          need_version=no  ;;
9573   esac
9574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9575   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9576   shlibpath_var=LD_LIBRARY_PATH
9577   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9578     case $host_os in
9579       openbsd2.[89] | openbsd2.[89].*)
9580         shlibpath_overrides_runpath=no
9581         ;;
9582       *)
9583         shlibpath_overrides_runpath=yes
9584         ;;
9585       esac
9586   else
9587     shlibpath_overrides_runpath=yes
9588   fi
9589   ;;
9590
9591 os2*)
9592   libname_spec='$name'
9593   shrext_cmds=".dll"
9594   need_lib_prefix=no
9595   library_names_spec='$libname${shared_ext} $libname.a'
9596   dynamic_linker='OS/2 ld.exe'
9597   shlibpath_var=LIBPATH
9598   ;;
9599
9600 osf3* | osf4* | osf5*)
9601   version_type=osf
9602   need_lib_prefix=no
9603   need_version=no
9604   soname_spec='${libname}${release}${shared_ext}$major'
9605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9606   shlibpath_var=LD_LIBRARY_PATH
9607   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9608   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9609   ;;
9610
9611 rdos*)
9612   dynamic_linker=no
9613   ;;
9614
9615 solaris*)
9616   version_type=linux
9617   need_lib_prefix=no
9618   need_version=no
9619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9620   soname_spec='${libname}${release}${shared_ext}$major'
9621   shlibpath_var=LD_LIBRARY_PATH
9622   shlibpath_overrides_runpath=yes
9623   hardcode_into_libs=yes
9624   # ldd complains unless libraries are executable
9625   postinstall_cmds='chmod +x $lib'
9626   ;;
9627
9628 sunos4*)
9629   version_type=sunos
9630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9631   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9632   shlibpath_var=LD_LIBRARY_PATH
9633   shlibpath_overrides_runpath=yes
9634   if test "$with_gnu_ld" = yes; then
9635     need_lib_prefix=no
9636   fi
9637   need_version=yes
9638   ;;
9639
9640 sysv4 | sysv4.3*)
9641   version_type=linux
9642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9643   soname_spec='${libname}${release}${shared_ext}$major'
9644   shlibpath_var=LD_LIBRARY_PATH
9645   case $host_vendor in
9646     sni)
9647       shlibpath_overrides_runpath=no
9648       need_lib_prefix=no
9649       runpath_var=LD_RUN_PATH
9650       ;;
9651     siemens)
9652       need_lib_prefix=no
9653       ;;
9654     motorola)
9655       need_lib_prefix=no
9656       need_version=no
9657       shlibpath_overrides_runpath=no
9658       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9659       ;;
9660   esac
9661   ;;
9662
9663 sysv4*MP*)
9664   if test -d /usr/nec ;then
9665     version_type=linux
9666     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9667     soname_spec='$libname${shared_ext}.$major'
9668     shlibpath_var=LD_LIBRARY_PATH
9669   fi
9670   ;;
9671
9672 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9673   version_type=freebsd-elf
9674   need_lib_prefix=no
9675   need_version=no
9676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9677   soname_spec='${libname}${release}${shared_ext}$major'
9678   shlibpath_var=LD_LIBRARY_PATH
9679   shlibpath_overrides_runpath=yes
9680   hardcode_into_libs=yes
9681   if test "$with_gnu_ld" = yes; then
9682     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9683   else
9684     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9685     case $host_os in
9686       sco3.2v5*)
9687         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9688         ;;
9689     esac
9690   fi
9691   sys_lib_dlsearch_path_spec='/usr/lib'
9692   ;;
9693
9694 tpf*)
9695   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9696   version_type=linux
9697   need_lib_prefix=no
9698   need_version=no
9699   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9700   shlibpath_var=LD_LIBRARY_PATH
9701   shlibpath_overrides_runpath=no
9702   hardcode_into_libs=yes
9703   ;;
9704
9705 uts4*)
9706   version_type=linux
9707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9708   soname_spec='${libname}${release}${shared_ext}$major'
9709   shlibpath_var=LD_LIBRARY_PATH
9710   ;;
9711
9712 *)
9713   dynamic_linker=no
9714   ;;
9715 esac
9716 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9717 echo "${ECHO_T}$dynamic_linker" >&6
9718 test "$dynamic_linker" = no && can_build_shared=no
9719
9720 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9721 if test "$GCC" = yes; then
9722   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9723 fi
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
9810
9811   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9812 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9813 hardcode_action=
9814 if test -n "$hardcode_libdir_flag_spec" ||
9815    test -n "$runpath_var" ||
9816    test "X$hardcode_automatic" = "Xyes" ; then
9817
9818   # We can hardcode non-existent directories.
9819   if test "$hardcode_direct" != no &&
9820      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9821      # have to relink, otherwise we might link with an installed library
9822      # when we should be linking with a yet-to-be-installed one
9823      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9824      test "$hardcode_minus_L" != no; then
9825     # Linking always hardcodes the temporary library directory.
9826     hardcode_action=relink
9827   else
9828     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9829     hardcode_action=immediate
9830   fi
9831 else
9832   # We cannot hardcode anything, or else we can only hardcode existing
9833   # directories.
9834   hardcode_action=unsupported
9835 fi
9836 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9837 echo "${ECHO_T}$hardcode_action" >&6
9838
9839 if test "$hardcode_action" = relink ||
9840    test "$inherit_rpath" = yes; then
9841   # Fast installation is not supported
9842   enable_fast_install=no
9843 elif test "$shlibpath_overrides_runpath" = yes ||
9844      test "$enable_shared" = no; then
9845   # Fast installation is not necessary
9846   enable_fast_install=needless
9847 fi
9848
9849
9850
9851
9852
9853
9854   if test "x$enable_dlopen" != xyes; then
9855   enable_dlopen=unknown
9856   enable_dlopen_self=unknown
9857   enable_dlopen_self_static=unknown
9858 else
9859   lt_cv_dlopen=no
9860   lt_cv_dlopen_libs=
9861
9862   case $host_os in
9863   beos*)
9864     lt_cv_dlopen="load_add_on"
9865     lt_cv_dlopen_libs=
9866     lt_cv_dlopen_self=yes
9867     ;;
9868
9869   mingw* | pw32*)
9870     lt_cv_dlopen="LoadLibrary"
9871     lt_cv_dlopen_libs=
9872     ;;
9873
9874   cygwin*)
9875     lt_cv_dlopen="dlopen"
9876     lt_cv_dlopen_libs=
9877     ;;
9878
9879   darwin*)
9880   # if libdl is installed we need to link against it
9881     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9882 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9883 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9884   echo $ECHO_N "(cached) $ECHO_C" >&6
9885 else
9886   ac_check_lib_save_LIBS=$LIBS
9887 LIBS="-ldl  $LIBS"
9888 if test x$gcc_no_link = xyes; then
9889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9891    { (exit 1); exit 1; }; }
9892 fi
9893 cat >conftest.$ac_ext <<_ACEOF
9894 /* confdefs.h.  */
9895 _ACEOF
9896 cat confdefs.h >>conftest.$ac_ext
9897 cat >>conftest.$ac_ext <<_ACEOF
9898 /* end confdefs.h.  */
9899
9900 /* Override any gcc2 internal prototype to avoid an error.  */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 /* We use char because int might match the return type of a gcc2
9905    builtin and then its argument prototype would still apply.  */
9906 char dlopen ();
9907 int
9908 main ()
9909 {
9910 dlopen ();
9911   ;
9912   return 0;
9913 }
9914 _ACEOF
9915 rm -f conftest.$ac_objext conftest$ac_exeext
9916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9917   (eval $ac_link) 2>conftest.er1
9918   ac_status=$?
9919   grep -v '^ *+' conftest.er1 >conftest.err
9920   rm -f conftest.er1
9921   cat conftest.err >&5
9922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9923   (exit $ac_status); } &&
9924          { ac_try='test -z "$ac_c_werror_flag"
9925                          || test ! -s conftest.err'
9926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9927   (eval $ac_try) 2>&5
9928   ac_status=$?
9929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930   (exit $ac_status); }; } &&
9931          { ac_try='test -s conftest$ac_exeext'
9932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933   (eval $ac_try) 2>&5
9934   ac_status=$?
9935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936   (exit $ac_status); }; }; then
9937   ac_cv_lib_dl_dlopen=yes
9938 else
9939   echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9941
9942 ac_cv_lib_dl_dlopen=no
9943 fi
9944 rm -f conftest.err conftest.$ac_objext \
9945       conftest$ac_exeext conftest.$ac_ext
9946 LIBS=$ac_check_lib_save_LIBS
9947 fi
9948 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9949 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9950 if test $ac_cv_lib_dl_dlopen = yes; then
9951   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9952 else
9953
9954     lt_cv_dlopen="dyld"
9955     lt_cv_dlopen_libs=
9956     lt_cv_dlopen_self=yes
9957
9958 fi
9959
9960     ;;
9961
9962   *)
9963     echo "$as_me:$LINENO: checking for shl_load" >&5
9964 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9965 if test "${ac_cv_func_shl_load+set}" = set; then
9966   echo $ECHO_N "(cached) $ECHO_C" >&6
9967 else
9968   if test x$gcc_no_link = xyes; then
9969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9971    { (exit 1); exit 1; }; }
9972 fi
9973 cat >conftest.$ac_ext <<_ACEOF
9974 /* confdefs.h.  */
9975 _ACEOF
9976 cat confdefs.h >>conftest.$ac_ext
9977 cat >>conftest.$ac_ext <<_ACEOF
9978 /* end confdefs.h.  */
9979 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9981 #define shl_load innocuous_shl_load
9982
9983 /* System header to define __stub macros and hopefully few prototypes,
9984     which can conflict with char shl_load (); below.
9985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9986     <limits.h> exists even on freestanding compilers.  */
9987
9988 #ifdef __STDC__
9989 # include <limits.h>
9990 #else
9991 # include <assert.h>
9992 #endif
9993
9994 #undef shl_load
9995
9996 /* Override any gcc2 internal prototype to avoid an error.  */
9997 #ifdef __cplusplus
9998 extern "C"
9999 {
10000 #endif
10001 /* We use char because int might match the return type of a gcc2
10002    builtin and then its argument prototype would still apply.  */
10003 char shl_load ();
10004 /* The GNU C library defines this for functions which it implements
10005     to always fail with ENOSYS.  Some functions are actually named
10006     something starting with __ and the normal name is an alias.  */
10007 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10008 choke me
10009 #else
10010 char (*f) () = shl_load;
10011 #endif
10012 #ifdef __cplusplus
10013 }
10014 #endif
10015
10016 int
10017 main ()
10018 {
10019 return f != shl_load;
10020   ;
10021   return 0;
10022 }
10023 _ACEOF
10024 rm -f conftest.$ac_objext conftest$ac_exeext
10025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10026   (eval $ac_link) 2>conftest.er1
10027   ac_status=$?
10028   grep -v '^ *+' conftest.er1 >conftest.err
10029   rm -f conftest.er1
10030   cat conftest.err >&5
10031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032   (exit $ac_status); } &&
10033          { ac_try='test -z "$ac_c_werror_flag"
10034                          || test ! -s conftest.err'
10035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036   (eval $ac_try) 2>&5
10037   ac_status=$?
10038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039   (exit $ac_status); }; } &&
10040          { ac_try='test -s conftest$ac_exeext'
10041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042   (eval $ac_try) 2>&5
10043   ac_status=$?
10044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045   (exit $ac_status); }; }; then
10046   ac_cv_func_shl_load=yes
10047 else
10048   echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.$ac_ext >&5
10050
10051 ac_cv_func_shl_load=no
10052 fi
10053 rm -f conftest.err conftest.$ac_objext \
10054       conftest$ac_exeext conftest.$ac_ext
10055 fi
10056 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10057 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10058 if test $ac_cv_func_shl_load = yes; then
10059   lt_cv_dlopen="shl_load"
10060 else
10061   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10062 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10063 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10064   echo $ECHO_N "(cached) $ECHO_C" >&6
10065 else
10066   ac_check_lib_save_LIBS=$LIBS
10067 LIBS="-ldld  $LIBS"
10068 if test x$gcc_no_link = xyes; then
10069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10071    { (exit 1); exit 1; }; }
10072 fi
10073 cat >conftest.$ac_ext <<_ACEOF
10074 /* confdefs.h.  */
10075 _ACEOF
10076 cat confdefs.h >>conftest.$ac_ext
10077 cat >>conftest.$ac_ext <<_ACEOF
10078 /* end confdefs.h.  */
10079
10080 /* Override any gcc2 internal prototype to avoid an error.  */
10081 #ifdef __cplusplus
10082 extern "C"
10083 #endif
10084 /* We use char because int might match the return type of a gcc2
10085    builtin and then its argument prototype would still apply.  */
10086 char shl_load ();
10087 int
10088 main ()
10089 {
10090 shl_load ();
10091   ;
10092   return 0;
10093 }
10094 _ACEOF
10095 rm -f conftest.$ac_objext conftest$ac_exeext
10096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10097   (eval $ac_link) 2>conftest.er1
10098   ac_status=$?
10099   grep -v '^ *+' conftest.er1 >conftest.err
10100   rm -f conftest.er1
10101   cat conftest.err >&5
10102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103   (exit $ac_status); } &&
10104          { ac_try='test -z "$ac_c_werror_flag"
10105                          || test ! -s conftest.err'
10106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107   (eval $ac_try) 2>&5
10108   ac_status=$?
10109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110   (exit $ac_status); }; } &&
10111          { ac_try='test -s conftest$ac_exeext'
10112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113   (eval $ac_try) 2>&5
10114   ac_status=$?
10115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116   (exit $ac_status); }; }; then
10117   ac_cv_lib_dld_shl_load=yes
10118 else
10119   echo "$as_me: failed program was:" >&5
10120 sed 's/^/| /' conftest.$ac_ext >&5
10121
10122 ac_cv_lib_dld_shl_load=no
10123 fi
10124 rm -f conftest.err conftest.$ac_objext \
10125       conftest$ac_exeext conftest.$ac_ext
10126 LIBS=$ac_check_lib_save_LIBS
10127 fi
10128 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10129 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10130 if test $ac_cv_lib_dld_shl_load = yes; then
10131   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10132 else
10133   echo "$as_me:$LINENO: checking for dlopen" >&5
10134 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10135 if test "${ac_cv_func_dlopen+set}" = set; then
10136   echo $ECHO_N "(cached) $ECHO_C" >&6
10137 else
10138   if test x$gcc_no_link = xyes; then
10139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10141    { (exit 1); exit 1; }; }
10142 fi
10143 cat >conftest.$ac_ext <<_ACEOF
10144 /* confdefs.h.  */
10145 _ACEOF
10146 cat confdefs.h >>conftest.$ac_ext
10147 cat >>conftest.$ac_ext <<_ACEOF
10148 /* end confdefs.h.  */
10149 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10151 #define dlopen innocuous_dlopen
10152
10153 /* System header to define __stub macros and hopefully few prototypes,
10154     which can conflict with char dlopen (); below.
10155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10156     <limits.h> exists even on freestanding compilers.  */
10157
10158 #ifdef __STDC__
10159 # include <limits.h>
10160 #else
10161 # include <assert.h>
10162 #endif
10163
10164 #undef dlopen
10165
10166 /* Override any gcc2 internal prototype to avoid an error.  */
10167 #ifdef __cplusplus
10168 extern "C"
10169 {
10170 #endif
10171 /* We use char because int might match the return type of a gcc2
10172    builtin and then its argument prototype would still apply.  */
10173 char dlopen ();
10174 /* The GNU C library defines this for functions which it implements
10175     to always fail with ENOSYS.  Some functions are actually named
10176     something starting with __ and the normal name is an alias.  */
10177 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10178 choke me
10179 #else
10180 char (*f) () = dlopen;
10181 #endif
10182 #ifdef __cplusplus
10183 }
10184 #endif
10185
10186 int
10187 main ()
10188 {
10189 return f != dlopen;
10190   ;
10191   return 0;
10192 }
10193 _ACEOF
10194 rm -f conftest.$ac_objext conftest$ac_exeext
10195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10196   (eval $ac_link) 2>conftest.er1
10197   ac_status=$?
10198   grep -v '^ *+' conftest.er1 >conftest.err
10199   rm -f conftest.er1
10200   cat conftest.err >&5
10201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202   (exit $ac_status); } &&
10203          { ac_try='test -z "$ac_c_werror_flag"
10204                          || test ! -s conftest.err'
10205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206   (eval $ac_try) 2>&5
10207   ac_status=$?
10208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209   (exit $ac_status); }; } &&
10210          { ac_try='test -s conftest$ac_exeext'
10211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212   (eval $ac_try) 2>&5
10213   ac_status=$?
10214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215   (exit $ac_status); }; }; then
10216   ac_cv_func_dlopen=yes
10217 else
10218   echo "$as_me: failed program was:" >&5
10219 sed 's/^/| /' conftest.$ac_ext >&5
10220
10221 ac_cv_func_dlopen=no
10222 fi
10223 rm -f conftest.err conftest.$ac_objext \
10224       conftest$ac_exeext conftest.$ac_ext
10225 fi
10226 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10227 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10228 if test $ac_cv_func_dlopen = yes; then
10229   lt_cv_dlopen="dlopen"
10230 else
10231   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10232 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10234   echo $ECHO_N "(cached) $ECHO_C" >&6
10235 else
10236   ac_check_lib_save_LIBS=$LIBS
10237 LIBS="-ldl  $LIBS"
10238 if test x$gcc_no_link = xyes; then
10239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10241    { (exit 1); exit 1; }; }
10242 fi
10243 cat >conftest.$ac_ext <<_ACEOF
10244 /* confdefs.h.  */
10245 _ACEOF
10246 cat confdefs.h >>conftest.$ac_ext
10247 cat >>conftest.$ac_ext <<_ACEOF
10248 /* end confdefs.h.  */
10249
10250 /* Override any gcc2 internal prototype to avoid an error.  */
10251 #ifdef __cplusplus
10252 extern "C"
10253 #endif
10254 /* We use char because int might match the return type of a gcc2
10255    builtin and then its argument prototype would still apply.  */
10256 char dlopen ();
10257 int
10258 main ()
10259 {
10260 dlopen ();
10261   ;
10262   return 0;
10263 }
10264 _ACEOF
10265 rm -f conftest.$ac_objext conftest$ac_exeext
10266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10267   (eval $ac_link) 2>conftest.er1
10268   ac_status=$?
10269   grep -v '^ *+' conftest.er1 >conftest.err
10270   rm -f conftest.er1
10271   cat conftest.err >&5
10272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273   (exit $ac_status); } &&
10274          { ac_try='test -z "$ac_c_werror_flag"
10275                          || test ! -s conftest.err'
10276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10277   (eval $ac_try) 2>&5
10278   ac_status=$?
10279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280   (exit $ac_status); }; } &&
10281          { ac_try='test -s conftest$ac_exeext'
10282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283   (eval $ac_try) 2>&5
10284   ac_status=$?
10285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286   (exit $ac_status); }; }; then
10287   ac_cv_lib_dl_dlopen=yes
10288 else
10289   echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.$ac_ext >&5
10291
10292 ac_cv_lib_dl_dlopen=no
10293 fi
10294 rm -f conftest.err conftest.$ac_objext \
10295       conftest$ac_exeext conftest.$ac_ext
10296 LIBS=$ac_check_lib_save_LIBS
10297 fi
10298 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10299 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10300 if test $ac_cv_lib_dl_dlopen = yes; then
10301   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10302 else
10303   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10304 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10305 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10306   echo $ECHO_N "(cached) $ECHO_C" >&6
10307 else
10308   ac_check_lib_save_LIBS=$LIBS
10309 LIBS="-lsvld  $LIBS"
10310 if test x$gcc_no_link = xyes; then
10311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10313    { (exit 1); exit 1; }; }
10314 fi
10315 cat >conftest.$ac_ext <<_ACEOF
10316 /* confdefs.h.  */
10317 _ACEOF
10318 cat confdefs.h >>conftest.$ac_ext
10319 cat >>conftest.$ac_ext <<_ACEOF
10320 /* end confdefs.h.  */
10321
10322 /* Override any gcc2 internal prototype to avoid an error.  */
10323 #ifdef __cplusplus
10324 extern "C"
10325 #endif
10326 /* We use char because int might match the return type of a gcc2
10327    builtin and then its argument prototype would still apply.  */
10328 char dlopen ();
10329 int
10330 main ()
10331 {
10332 dlopen ();
10333   ;
10334   return 0;
10335 }
10336 _ACEOF
10337 rm -f conftest.$ac_objext conftest$ac_exeext
10338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10339   (eval $ac_link) 2>conftest.er1
10340   ac_status=$?
10341   grep -v '^ *+' conftest.er1 >conftest.err
10342   rm -f conftest.er1
10343   cat conftest.err >&5
10344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345   (exit $ac_status); } &&
10346          { ac_try='test -z "$ac_c_werror_flag"
10347                          || test ! -s conftest.err'
10348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10349   (eval $ac_try) 2>&5
10350   ac_status=$?
10351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352   (exit $ac_status); }; } &&
10353          { ac_try='test -s conftest$ac_exeext'
10354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355   (eval $ac_try) 2>&5
10356   ac_status=$?
10357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358   (exit $ac_status); }; }; then
10359   ac_cv_lib_svld_dlopen=yes
10360 else
10361   echo "$as_me: failed program was:" >&5
10362 sed 's/^/| /' conftest.$ac_ext >&5
10363
10364 ac_cv_lib_svld_dlopen=no
10365 fi
10366 rm -f conftest.err conftest.$ac_objext \
10367       conftest$ac_exeext conftest.$ac_ext
10368 LIBS=$ac_check_lib_save_LIBS
10369 fi
10370 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10371 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10372 if test $ac_cv_lib_svld_dlopen = yes; then
10373   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10374 else
10375   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10376 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10377 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10378   echo $ECHO_N "(cached) $ECHO_C" >&6
10379 else
10380   ac_check_lib_save_LIBS=$LIBS
10381 LIBS="-ldld  $LIBS"
10382 if test x$gcc_no_link = xyes; then
10383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10385    { (exit 1); exit 1; }; }
10386 fi
10387 cat >conftest.$ac_ext <<_ACEOF
10388 /* confdefs.h.  */
10389 _ACEOF
10390 cat confdefs.h >>conftest.$ac_ext
10391 cat >>conftest.$ac_ext <<_ACEOF
10392 /* end confdefs.h.  */
10393
10394 /* Override any gcc2 internal prototype to avoid an error.  */
10395 #ifdef __cplusplus
10396 extern "C"
10397 #endif
10398 /* We use char because int might match the return type of a gcc2
10399    builtin and then its argument prototype would still apply.  */
10400 char dld_link ();
10401 int
10402 main ()
10403 {
10404 dld_link ();
10405   ;
10406   return 0;
10407 }
10408 _ACEOF
10409 rm -f conftest.$ac_objext conftest$ac_exeext
10410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10411   (eval $ac_link) 2>conftest.er1
10412   ac_status=$?
10413   grep -v '^ *+' conftest.er1 >conftest.err
10414   rm -f conftest.er1
10415   cat conftest.err >&5
10416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417   (exit $ac_status); } &&
10418          { ac_try='test -z "$ac_c_werror_flag"
10419                          || test ! -s conftest.err'
10420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421   (eval $ac_try) 2>&5
10422   ac_status=$?
10423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424   (exit $ac_status); }; } &&
10425          { ac_try='test -s conftest$ac_exeext'
10426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427   (eval $ac_try) 2>&5
10428   ac_status=$?
10429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430   (exit $ac_status); }; }; then
10431   ac_cv_lib_dld_dld_link=yes
10432 else
10433   echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10435
10436 ac_cv_lib_dld_dld_link=no
10437 fi
10438 rm -f conftest.err conftest.$ac_objext \
10439       conftest$ac_exeext conftest.$ac_ext
10440 LIBS=$ac_check_lib_save_LIBS
10441 fi
10442 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10443 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10444 if test $ac_cv_lib_dld_dld_link = yes; then
10445   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10446 fi
10447
10448
10449 fi
10450
10451
10452 fi
10453
10454
10455 fi
10456
10457
10458 fi
10459
10460
10461 fi
10462
10463     ;;
10464   esac
10465
10466   if test "x$lt_cv_dlopen" != xno; then
10467     enable_dlopen=yes
10468   else
10469     enable_dlopen=no
10470   fi
10471
10472   case $lt_cv_dlopen in
10473   dlopen)
10474     save_CPPFLAGS="$CPPFLAGS"
10475     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10476
10477     save_LDFLAGS="$LDFLAGS"
10478     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10479
10480     save_LIBS="$LIBS"
10481     LIBS="$lt_cv_dlopen_libs $LIBS"
10482
10483     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10484 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10485 if test "${lt_cv_dlopen_self+set}" = set; then
10486   echo $ECHO_N "(cached) $ECHO_C" >&6
10487 else
10488           if test "$cross_compiling" = yes; then :
10489   lt_cv_dlopen_self=cross
10490 else
10491   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10492   lt_status=$lt_dlunknown
10493   cat > conftest.$ac_ext <<_LT_EOF
10494 #line 10494 "configure"
10495 #include "confdefs.h"
10496
10497 #if HAVE_DLFCN_H
10498 #include <dlfcn.h>
10499 #endif
10500
10501 #include <stdio.h>
10502
10503 #ifdef RTLD_GLOBAL
10504 #  define LT_DLGLOBAL           RTLD_GLOBAL
10505 #else
10506 #  ifdef DL_GLOBAL
10507 #    define LT_DLGLOBAL         DL_GLOBAL
10508 #  else
10509 #    define LT_DLGLOBAL         0
10510 #  endif
10511 #endif
10512
10513 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10514    find out it does not work in some platform. */
10515 #ifndef LT_DLLAZY_OR_NOW
10516 #  ifdef RTLD_LAZY
10517 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10518 #  else
10519 #    ifdef DL_LAZY
10520 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10521 #    else
10522 #      ifdef RTLD_NOW
10523 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10524 #      else
10525 #        ifdef DL_NOW
10526 #          define LT_DLLAZY_OR_NOW      DL_NOW
10527 #        else
10528 #          define LT_DLLAZY_OR_NOW      0
10529 #        endif
10530 #      endif
10531 #    endif
10532 #  endif
10533 #endif
10534
10535 #ifdef __cplusplus
10536 extern "C" void exit (int);
10537 #endif
10538
10539 void fnord() { int i=42;}
10540 int main ()
10541 {
10542   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10543   int status = $lt_dlunknown;
10544
10545   if (self)
10546     {
10547       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10548       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10549       /* dlclose (self); */
10550     }
10551   else
10552     puts (dlerror ());
10553
10554     exit (status);
10555 }
10556 _LT_EOF
10557   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10558   (eval $ac_link) 2>&5
10559   ac_status=$?
10560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10562     (./conftest; exit; ) >&5 2>/dev/null
10563     lt_status=$?
10564     case x$lt_status in
10565       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10566       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10567       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10568     esac
10569   else :
10570     # compilation failed
10571     lt_cv_dlopen_self=no
10572   fi
10573 fi
10574 rm -fr conftest*
10575
10576
10577 fi
10578 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10579 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10580
10581     if test "x$lt_cv_dlopen_self" = xyes; then
10582       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10583       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10584 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10585 if test "${lt_cv_dlopen_self_static+set}" = set; then
10586   echo $ECHO_N "(cached) $ECHO_C" >&6
10587 else
10588           if test "$cross_compiling" = yes; then :
10589   lt_cv_dlopen_self_static=cross
10590 else
10591   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10592   lt_status=$lt_dlunknown
10593   cat > conftest.$ac_ext <<_LT_EOF
10594 #line 10594 "configure"
10595 #include "confdefs.h"
10596
10597 #if HAVE_DLFCN_H
10598 #include <dlfcn.h>
10599 #endif
10600
10601 #include <stdio.h>
10602
10603 #ifdef RTLD_GLOBAL
10604 #  define LT_DLGLOBAL           RTLD_GLOBAL
10605 #else
10606 #  ifdef DL_GLOBAL
10607 #    define LT_DLGLOBAL         DL_GLOBAL
10608 #  else
10609 #    define LT_DLGLOBAL         0
10610 #  endif
10611 #endif
10612
10613 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10614    find out it does not work in some platform. */
10615 #ifndef LT_DLLAZY_OR_NOW
10616 #  ifdef RTLD_LAZY
10617 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10618 #  else
10619 #    ifdef DL_LAZY
10620 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10621 #    else
10622 #      ifdef RTLD_NOW
10623 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10624 #      else
10625 #        ifdef DL_NOW
10626 #          define LT_DLLAZY_OR_NOW      DL_NOW
10627 #        else
10628 #          define LT_DLLAZY_OR_NOW      0
10629 #        endif
10630 #      endif
10631 #    endif
10632 #  endif
10633 #endif
10634
10635 #ifdef __cplusplus
10636 extern "C" void exit (int);
10637 #endif
10638
10639 void fnord() { int i=42;}
10640 int main ()
10641 {
10642   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10643   int status = $lt_dlunknown;
10644
10645   if (self)
10646     {
10647       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10648       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10649       /* dlclose (self); */
10650     }
10651   else
10652     puts (dlerror ());
10653
10654     exit (status);
10655 }
10656 _LT_EOF
10657   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10658   (eval $ac_link) 2>&5
10659   ac_status=$?
10660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10662     (./conftest; exit; ) >&5 2>/dev/null
10663     lt_status=$?
10664     case x$lt_status in
10665       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10666       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10667       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10668     esac
10669   else :
10670     # compilation failed
10671     lt_cv_dlopen_self_static=no
10672   fi
10673 fi
10674 rm -fr conftest*
10675
10676
10677 fi
10678 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10679 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10680     fi
10681
10682     CPPFLAGS="$save_CPPFLAGS"
10683     LDFLAGS="$save_LDFLAGS"
10684     LIBS="$save_LIBS"
10685     ;;
10686   esac
10687
10688   case $lt_cv_dlopen_self in
10689   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10690   *) enable_dlopen_self=unknown ;;
10691   esac
10692
10693   case $lt_cv_dlopen_self_static in
10694   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10695   *) enable_dlopen_self_static=unknown ;;
10696   esac
10697 fi
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715 striplib=
10716 old_striplib=
10717 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10718 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10719 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10720   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10721   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10722   echo "$as_me:$LINENO: result: yes" >&5
10723 echo "${ECHO_T}yes" >&6
10724 else
10725 # FIXME - insert some real tests, host_os isn't really good enough
10726   case $host_os in
10727   darwin*)
10728     if test -n "$STRIP" ; then
10729       striplib="$STRIP -x"
10730       old_striplib="$STRIP -S"
10731       echo "$as_me:$LINENO: result: yes" >&5
10732 echo "${ECHO_T}yes" >&6
10733     else
10734       echo "$as_me:$LINENO: result: no" >&5
10735 echo "${ECHO_T}no" >&6
10736     fi
10737     ;;
10738   *)
10739     echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10741     ;;
10742   esac
10743 fi
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756   # Report which library types will actually be built
10757   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10758 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10759   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10760 echo "${ECHO_T}$can_build_shared" >&6
10761
10762   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10763 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10764   test "$can_build_shared" = "no" && enable_shared=no
10765
10766   # On AIX, shared libraries and static libraries use the same namespace, and
10767   # are all built from PIC.
10768   case $host_os in
10769   aix3*)
10770     test "$enable_shared" = yes && enable_static=no
10771     if test -n "$RANLIB"; then
10772       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10773       postinstall_cmds='$RANLIB $lib'
10774     fi
10775     ;;
10776
10777   aix[4-9]*)
10778     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10779       test "$enable_shared" = yes && enable_static=no
10780     fi
10781     ;;
10782   esac
10783   echo "$as_me:$LINENO: result: $enable_shared" >&5
10784 echo "${ECHO_T}$enable_shared" >&6
10785
10786   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10787 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10788   # Make sure either enable_shared or enable_static is yes.
10789   test "$enable_shared" = yes || enable_static=yes
10790   echo "$as_me:$LINENO: result: $enable_static" >&5
10791 echo "${ECHO_T}$enable_static" >&6
10792
10793
10794
10795
10796 fi
10797 ac_ext=c
10798 ac_cpp='$CPP $CPPFLAGS'
10799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10802
10803 CC="$lt_save_CC"
10804
10805
10806 ac_ext=cc
10807 ac_cpp='$CXXCPP $CPPFLAGS'
10808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10811
10812 archive_cmds_need_lc_CXX=no
10813 allow_undefined_flag_CXX=
10814 always_export_symbols_CXX=no
10815 archive_expsym_cmds_CXX=
10816 compiler_needs_object_CXX=no
10817 export_dynamic_flag_spec_CXX=
10818 hardcode_direct_CXX=no
10819 hardcode_direct_absolute_CXX=no
10820 hardcode_libdir_flag_spec_CXX=
10821 hardcode_libdir_flag_spec_ld_CXX=
10822 hardcode_libdir_separator_CXX=
10823 hardcode_minus_L_CXX=no
10824 hardcode_shlibpath_var_CXX=unsupported
10825 hardcode_automatic_CXX=no
10826 inherit_rpath_CXX=no
10827 module_cmds_CXX=
10828 module_expsym_cmds_CXX=
10829 link_all_deplibs_CXX=unknown
10830 old_archive_cmds_CXX=$old_archive_cmds
10831 no_undefined_flag_CXX=
10832 whole_archive_flag_spec_CXX=
10833 enable_shared_with_static_runtimes_CXX=no
10834
10835 # Source file extension for C++ test sources.
10836 ac_ext=cpp
10837
10838 # Object file extension for compiled C++ test sources.
10839 objext=o
10840 objext_CXX=$objext
10841
10842 # No sense in running all these tests if we already determined that
10843 # the CXX compiler isn't working.  Some variables (like enable_shared)
10844 # are currently assumed to apply to all compilers on this platform,
10845 # and will be corrupted by setting them based on a non-working compiler.
10846 if test "$_lt_caught_CXX_error" != yes; then
10847   # Code to be used in simple compile tests
10848   lt_simple_compile_test_code="int some_variable = 0;"
10849
10850   # Code to be used in simple link tests
10851   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10852
10853   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10854
10855
10856
10857
10858
10859
10860 # If no C compiler was specified, use CC.
10861 LTCC=${LTCC-"$CC"}
10862
10863 # If no C compiler flags were specified, use CFLAGS.
10864 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10865
10866 # Allow CC to be a program name with arguments.
10867 compiler=$CC
10868
10869
10870   # save warnings/boilerplate of simple test code
10871   ac_outfile=conftest.$ac_objext
10872 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10873 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10874 _lt_compiler_boilerplate=`cat conftest.err`
10875 $RM conftest*
10876
10877   ac_outfile=conftest.$ac_objext
10878 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10879 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10880 _lt_linker_boilerplate=`cat conftest.err`
10881 $RM conftest*
10882
10883
10884   # Allow CC to be a program name with arguments.
10885   lt_save_CC=$CC
10886   lt_save_LD=$LD
10887   lt_save_GCC=$GCC
10888   GCC=$GXX
10889   lt_save_with_gnu_ld=$with_gnu_ld
10890   lt_save_path_LD=$lt_cv_path_LD
10891   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10892     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10893   else
10894     $as_unset lt_cv_prog_gnu_ld
10895   fi
10896   if test -n "${lt_cv_path_LDCXX+set}"; then
10897     lt_cv_path_LD=$lt_cv_path_LDCXX
10898   else
10899     $as_unset lt_cv_path_LD
10900   fi
10901   test -z "${LDCXX+set}" || LD=$LDCXX
10902   CC=${CXX-"c++"}
10903   compiler=$CC
10904   compiler_CXX=$CC
10905   for cc_temp in $compiler""; do
10906   case $cc_temp in
10907     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10908     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10909     \-*) ;;
10910     *) break;;
10911   esac
10912 done
10913 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10914
10915
10916   if test -n "$compiler"; then
10917     # We don't want -fno-exception when compiling C++ code, so set the
10918     # no_builtin_flag separately
10919     if test "$GXX" = yes; then
10920       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10921     else
10922       lt_prog_compiler_no_builtin_flag_CXX=
10923     fi
10924
10925     if test "$GXX" = yes; then
10926       # Set up default GNU C++ configuration
10927
10928
10929
10930 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10931 if test "${with_gnu_ld+set}" = set; then
10932   withval="$with_gnu_ld"
10933   test "$withval" = no || with_gnu_ld=yes
10934 else
10935   with_gnu_ld=no
10936 fi;
10937 ac_prog=ld
10938 if test "$GCC" = yes; then
10939   # Check if gcc -print-prog-name=ld gives a path.
10940   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10941 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10942   case $host in
10943   *-*-mingw*)
10944     # gcc leaves a trailing carriage return which upsets mingw
10945     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10946   *)
10947     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10948   esac
10949   case $ac_prog in
10950     # Accept absolute paths.
10951     [\\/]* | ?:[\\/]*)
10952       re_direlt='/[^/][^/]*/\.\./'
10953       # Canonicalize the pathname of ld
10954       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10955       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10956         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10957       done
10958       test -z "$LD" && LD="$ac_prog"
10959       ;;
10960   "")
10961     # If it fails, then pretend we aren't using GCC.
10962     ac_prog=ld
10963     ;;
10964   *)
10965     # If it is relative, then search for the first ld in PATH.
10966     with_gnu_ld=unknown
10967     ;;
10968   esac
10969 elif test "$with_gnu_ld" = yes; then
10970   echo "$as_me:$LINENO: checking for GNU ld" >&5
10971 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10972 else
10973   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10974 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10975 fi
10976 if test "${lt_cv_path_LD+set}" = set; then
10977   echo $ECHO_N "(cached) $ECHO_C" >&6
10978 else
10979   if test -z "$LD"; then
10980   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10981   for ac_dir in $PATH; do
10982     IFS="$lt_save_ifs"
10983     test -z "$ac_dir" && ac_dir=.
10984     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10985       lt_cv_path_LD="$ac_dir/$ac_prog"
10986       # Check to see if the program is GNU ld.  I'd rather use --version,
10987       # but apparently some variants of GNU ld only accept -v.
10988       # Break only if it was the GNU/non-GNU ld that we prefer.
10989       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10990       *GNU* | *'with BFD'*)
10991         test "$with_gnu_ld" != no && break
10992         ;;
10993       *)
10994         test "$with_gnu_ld" != yes && break
10995         ;;
10996       esac
10997     fi
10998   done
10999   IFS="$lt_save_ifs"
11000 else
11001   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11002 fi
11003 fi
11004
11005 LD="$lt_cv_path_LD"
11006 if test -n "$LD"; then
11007   echo "$as_me:$LINENO: result: $LD" >&5
11008 echo "${ECHO_T}$LD" >&6
11009 else
11010   echo "$as_me:$LINENO: result: no" >&5
11011 echo "${ECHO_T}no" >&6
11012 fi
11013 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11014 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11015    { (exit 1); exit 1; }; }
11016 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11017 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11018 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11019   echo $ECHO_N "(cached) $ECHO_C" >&6
11020 else
11021   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11022 case `$LD -v 2>&1 </dev/null` in
11023 *GNU* | *'with BFD'*)
11024   lt_cv_prog_gnu_ld=yes
11025   ;;
11026 *)
11027   lt_cv_prog_gnu_ld=no
11028   ;;
11029 esac
11030 fi
11031 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11032 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11033 with_gnu_ld=$lt_cv_prog_gnu_ld
11034
11035
11036
11037
11038
11039
11040
11041       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11042       # archiving commands below assume that GNU ld is being used.
11043       if test "$with_gnu_ld" = yes; then
11044         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11045         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'
11046
11047         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11048         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11049
11050         # If archive_cmds runs LD, not CC, wlarc should be empty
11051         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11052         #     investigate it a little bit more. (MM)
11053         wlarc='${wl}'
11054
11055         # ancient GNU ld didn't support --whole-archive et. al.
11056         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11057           $GREP 'no-whole-archive' > /dev/null; then
11058           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11059         else
11060           whole_archive_flag_spec_CXX=
11061         fi
11062       else
11063         with_gnu_ld=no
11064         wlarc=
11065
11066         # A generic and very simple default shared library creation
11067         # command for GNU C++ for the case where it uses the native
11068         # linker, instead of GNU ld.  If possible, this setting should
11069         # overridden to take advantage of the native linker features on
11070         # the platform it is being used on.
11071         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11072       fi
11073
11074       # Commands to make compiler produce verbose output that lists
11075       # what "hidden" libraries, object files and flags are used when
11076       # linking a shared library.
11077       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11078
11079     else
11080       GXX=no
11081       with_gnu_ld=no
11082       wlarc=
11083     fi
11084
11085     # PORTME: fill in a description of your system's C++ link characteristics
11086     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11087 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11088     ld_shlibs_CXX=yes
11089     case $host_os in
11090       aix3*)
11091         # FIXME: insert proper C++ library support
11092         ld_shlibs_CXX=no
11093         ;;
11094       aix[4-9]*)
11095         if test "$host_cpu" = ia64; then
11096           # On IA64, the linker does run time linking by default, so we don't
11097           # have to do anything special.
11098           aix_use_runtimelinking=no
11099           exp_sym_flag='-Bexport'
11100           no_entry_flag=""
11101         else
11102           aix_use_runtimelinking=no
11103
11104           # Test if we are trying to use run time linking or normal
11105           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11106           # need to do runtime linking.
11107           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11108             for ld_flag in $LDFLAGS; do
11109               case $ld_flag in
11110               *-brtl*)
11111                 aix_use_runtimelinking=yes
11112                 break
11113                 ;;
11114               esac
11115             done
11116             ;;
11117           esac
11118
11119           exp_sym_flag='-bexport'
11120           no_entry_flag='-bnoentry'
11121         fi
11122
11123         # When large executables or shared objects are built, AIX ld can
11124         # have problems creating the table of contents.  If linking a library
11125         # or program results in "error TOC overflow" add -mminimal-toc to
11126         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11127         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11128
11129         archive_cmds_CXX=''
11130         hardcode_direct_CXX=yes
11131         hardcode_direct_absolute_CXX=yes
11132         hardcode_libdir_separator_CXX=':'
11133         link_all_deplibs_CXX=yes
11134         file_list_spec_CXX='${wl}-f,'
11135
11136         if test "$GXX" = yes; then
11137           case $host_os in aix4.[012]|aix4.[012].*)
11138           # We only want to do this on AIX 4.2 and lower, the check
11139           # below for broken collect2 doesn't work under 4.3+
11140           collect2name=`${CC} -print-prog-name=collect2`
11141           if test -f "$collect2name" &&
11142              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11143           then
11144             # We have reworked collect2
11145             :
11146           else
11147             # We have old collect2
11148             hardcode_direct_CXX=unsupported
11149             # It fails to find uninstalled libraries when the uninstalled
11150             # path is not listed in the libpath.  Setting hardcode_minus_L
11151             # to unsupported forces relinking
11152             hardcode_minus_L_CXX=yes
11153             hardcode_libdir_flag_spec_CXX='-L$libdir'
11154             hardcode_libdir_separator_CXX=
11155           fi
11156           esac
11157           shared_flag='-shared'
11158           if test "$aix_use_runtimelinking" = yes; then
11159             shared_flag="$shared_flag "'${wl}-G'
11160           fi
11161         else
11162           # not using gcc
11163           if test "$host_cpu" = ia64; then
11164           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11165           # chokes on -Wl,-G. The following line is correct:
11166           shared_flag='-G'
11167           else
11168             if test "$aix_use_runtimelinking" = yes; then
11169               shared_flag='${wl}-G'
11170             else
11171               shared_flag='${wl}-bM:SRE'
11172             fi
11173           fi
11174         fi
11175
11176         # It seems that -bexpall does not export symbols beginning with
11177         # underscore (_), so it is better to generate a list of symbols to
11178         # export.
11179         always_export_symbols_CXX=yes
11180         if test "$aix_use_runtimelinking" = yes; then
11181           # Warning - without using the other runtime loading flags (-brtl),
11182           # -berok will link without error, but may produce a broken library.
11183           allow_undefined_flag_CXX='-berok'
11184           # Determine the default libpath from the value encoded in an empty
11185           # executable.
11186           if test x$gcc_no_link = xyes; then
11187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11189    { (exit 1); exit 1; }; }
11190 fi
11191 cat >conftest.$ac_ext <<_ACEOF
11192 /* confdefs.h.  */
11193 _ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h.  */
11197
11198 int
11199 main ()
11200 {
11201
11202   ;
11203   return 0;
11204 }
11205 _ACEOF
11206 rm -f conftest.$ac_objext conftest$ac_exeext
11207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11208   (eval $ac_link) 2>conftest.er1
11209   ac_status=$?
11210   grep -v '^ *+' conftest.er1 >conftest.err
11211   rm -f conftest.er1
11212   cat conftest.err >&5
11213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214   (exit $ac_status); } &&
11215          { ac_try='test -z "$ac_cxx_werror_flag"
11216                          || test ! -s conftest.err'
11217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218   (eval $ac_try) 2>&5
11219   ac_status=$?
11220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221   (exit $ac_status); }; } &&
11222          { ac_try='test -s conftest$ac_exeext'
11223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224   (eval $ac_try) 2>&5
11225   ac_status=$?
11226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227   (exit $ac_status); }; }; then
11228
11229 lt_aix_libpath_sed='
11230     /Import File Strings/,/^$/ {
11231         /^0/ {
11232             s/^0  *\(.*\)$/\1/
11233             p
11234         }
11235     }'
11236 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11237 # Check for a 64-bit object if we didn't find anything.
11238 if test -z "$aix_libpath"; then
11239   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11240 fi
11241 else
11242   echo "$as_me: failed program was:" >&5
11243 sed 's/^/| /' conftest.$ac_ext >&5
11244
11245 fi
11246 rm -f conftest.err conftest.$ac_objext \
11247       conftest$ac_exeext conftest.$ac_ext
11248 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11249
11250           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11251
11252           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"
11253         else
11254           if test "$host_cpu" = ia64; then
11255             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11256             allow_undefined_flag_CXX="-z nodefs"
11257             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"
11258           else
11259             # Determine the default libpath from the value encoded in an
11260             # empty executable.
11261             if test x$gcc_no_link = xyes; then
11262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11264    { (exit 1); exit 1; }; }
11265 fi
11266 cat >conftest.$ac_ext <<_ACEOF
11267 /* confdefs.h.  */
11268 _ACEOF
11269 cat confdefs.h >>conftest.$ac_ext
11270 cat >>conftest.$ac_ext <<_ACEOF
11271 /* end confdefs.h.  */
11272
11273 int
11274 main ()
11275 {
11276
11277   ;
11278   return 0;
11279 }
11280 _ACEOF
11281 rm -f conftest.$ac_objext conftest$ac_exeext
11282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11283   (eval $ac_link) 2>conftest.er1
11284   ac_status=$?
11285   grep -v '^ *+' conftest.er1 >conftest.err
11286   rm -f conftest.er1
11287   cat conftest.err >&5
11288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289   (exit $ac_status); } &&
11290          { ac_try='test -z "$ac_cxx_werror_flag"
11291                          || test ! -s conftest.err'
11292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11293   (eval $ac_try) 2>&5
11294   ac_status=$?
11295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296   (exit $ac_status); }; } &&
11297          { ac_try='test -s conftest$ac_exeext'
11298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11299   (eval $ac_try) 2>&5
11300   ac_status=$?
11301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302   (exit $ac_status); }; }; then
11303
11304 lt_aix_libpath_sed='
11305     /Import File Strings/,/^$/ {
11306         /^0/ {
11307             s/^0  *\(.*\)$/\1/
11308             p
11309         }
11310     }'
11311 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11312 # Check for a 64-bit object if we didn't find anything.
11313 if test -z "$aix_libpath"; then
11314   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11315 fi
11316 else
11317   echo "$as_me: failed program was:" >&5
11318 sed 's/^/| /' conftest.$ac_ext >&5
11319
11320 fi
11321 rm -f conftest.err conftest.$ac_objext \
11322       conftest$ac_exeext conftest.$ac_ext
11323 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11324
11325             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11326             # Warning - without using the other run time loading flags,
11327             # -berok will link without error, but may produce a broken library.
11328             no_undefined_flag_CXX=' ${wl}-bernotok'
11329             allow_undefined_flag_CXX=' ${wl}-berok'
11330             # Exported symbols can be pulled into shared objects from archives
11331             whole_archive_flag_spec_CXX='$convenience'
11332             archive_cmds_need_lc_CXX=yes
11333             # This is similar to how AIX traditionally builds its shared
11334             # libraries.
11335             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'
11336           fi
11337         fi
11338         ;;
11339
11340       beos*)
11341         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11342           allow_undefined_flag_CXX=unsupported
11343           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11344           # support --undefined.  This deserves some investigation.  FIXME
11345           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11346         else
11347           ld_shlibs_CXX=no
11348         fi
11349         ;;
11350
11351       chorus*)
11352         case $cc_basename in
11353           *)
11354           # FIXME: insert proper C++ library support
11355           ld_shlibs_CXX=no
11356           ;;
11357         esac
11358         ;;
11359
11360       cygwin* | mingw* | pw32*)
11361         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11362         # as there is no search path for DLLs.
11363         hardcode_libdir_flag_spec_CXX='-L$libdir'
11364         allow_undefined_flag_CXX=unsupported
11365         always_export_symbols_CXX=no
11366         enable_shared_with_static_runtimes_CXX=yes
11367
11368         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11369           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'
11370           # If the export-symbols file already is a .def file (1st line
11371           # is EXPORTS), use it as is; otherwise, prepend...
11372           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11373             cp $export_symbols $output_objdir/$soname.def;
11374           else
11375             echo EXPORTS > $output_objdir/$soname.def;
11376             cat $export_symbols >> $output_objdir/$soname.def;
11377           fi~
11378           $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'
11379         else
11380           ld_shlibs_CXX=no
11381         fi
11382         ;;
11383       darwin* | rhapsody*)
11384         case $host_os in
11385           rhapsody* | darwin1.[012])
11386             allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11387             ;;
11388           *) # Darwin 1.3 on
11389             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11390               10.[012])
11391                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11392                 ;;
11393               10.*)
11394                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11395                 ;;
11396             esac
11397             ;;
11398         esac
11399         archive_cmds_need_lc_CXX=no
11400         hardcode_direct_CXX=no
11401         hardcode_automatic_CXX=yes
11402         hardcode_shlibpath_var_CXX=unsupported
11403         whole_archive_flag_spec_CXX=''
11404         link_all_deplibs_CXX=yes
11405
11406         if test "$GXX" = yes ; then
11407           if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11408   echo $ECHO_N "(cached) $ECHO_C" >&6
11409 else
11410   lt_cv_apple_cc_single_mod=no
11411           if test -z "${LT_MULTI_MODULE}"; then
11412             # By default we will add the -single_module flag. You can override
11413             # by either setting the environment variable LT_MULTI_MODULE
11414             # non-empty at configure time, or by adding -multi-module to the
11415             # link flags.
11416             echo "int foo(void){return 1;}" > conftest.c
11417             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11418                 -dynamiclib ${wl}-single_module conftest.c
11419             if test -f libconftest.dylib; then
11420                 lt_cv_apple_cc_single_mod=yes
11421                 rm libconftest.dylib
11422             fi
11423             rm conftest.$ac_ext
11424           fi
11425 fi
11426
11427           output_verbose_link_cmd=echo
11428           if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11429            archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11430             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}'
11431           else
11432             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'
11433             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}'
11434           fi
11435           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11436           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}'
11437         else
11438           case $cc_basename in
11439             xlc*)
11440               output_verbose_link_cmd=echo
11441               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'
11442               module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11443               # Don't fix this by using the ld -exported_symbols_list flag,
11444               # it doesn't exist in older darwin lds
11445               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}'
11446               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}'
11447               ;;
11448             *)
11449               ld_shlibs_CXX=no
11450               ;;
11451           esac
11452         fi
11453         ;;
11454
11455       dgux*)
11456         case $cc_basename in
11457           ec++*)
11458             # FIXME: insert proper C++ library support
11459             ld_shlibs_CXX=no
11460             ;;
11461           ghcx*)
11462             # Green Hills C++ Compiler
11463             # FIXME: insert proper C++ library support
11464             ld_shlibs_CXX=no
11465             ;;
11466           *)
11467             # FIXME: insert proper C++ library support
11468             ld_shlibs_CXX=no
11469             ;;
11470         esac
11471         ;;
11472
11473       freebsd[12]*)
11474         # C++ shared libraries reported to be fairly broken before
11475         # switch to ELF
11476         ld_shlibs_CXX=no
11477         ;;
11478
11479       freebsd-elf*)
11480         archive_cmds_need_lc_CXX=no
11481         ;;
11482
11483       freebsd* | dragonfly*)
11484         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11485         # conventions
11486         ld_shlibs_CXX=yes
11487         ;;
11488
11489       gnu*)
11490         ;;
11491
11492       hpux9*)
11493         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11494         hardcode_libdir_separator_CXX=:
11495         export_dynamic_flag_spec_CXX='${wl}-E'
11496         hardcode_direct_CXX=yes
11497         hardcode_minus_L_CXX=yes # Not in the search PATH,
11498                                              # but as the default
11499                                              # location of the library.
11500
11501         case $cc_basename in
11502           CC*)
11503             # FIXME: insert proper C++ library support
11504             ld_shlibs_CXX=no
11505             ;;
11506           aCC*)
11507             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'
11508             # Commands to make compiler produce verbose output that lists
11509             # what "hidden" libraries, object files and flags are used when
11510             # linking a shared library.
11511             #
11512             # There doesn't appear to be a way to prevent this compiler from
11513             # explicitly linking system object files so we need to strip them
11514             # from the output so that they don't get included in the library
11515             # dependencies.
11516             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'
11517             ;;
11518           *)
11519             if test "$GXX" = yes; then
11520               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'
11521             else
11522               # FIXME: insert proper C++ library support
11523               ld_shlibs_CXX=no
11524             fi
11525             ;;
11526         esac
11527         ;;
11528
11529       hpux10*|hpux11*)
11530         if test $with_gnu_ld = no; then
11531           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11532           hardcode_libdir_separator_CXX=:
11533
11534           case $host_cpu in
11535             hppa*64*|ia64*)
11536               ;;
11537             *)
11538               export_dynamic_flag_spec_CXX='${wl}-E'
11539               ;;
11540           esac
11541         fi
11542         case $host_cpu in
11543           hppa*64*|ia64*)
11544             hardcode_direct_CXX=no
11545             hardcode_shlibpath_var_CXX=no
11546             ;;
11547           *)
11548             hardcode_direct_CXX=yes
11549             hardcode_direct_absolute_CXX=yes
11550             hardcode_minus_L_CXX=yes # Not in the search PATH,
11551                                                  # but as the default
11552                                                  # location of the library.
11553             ;;
11554         esac
11555
11556         case $cc_basename in
11557           CC*)
11558             # FIXME: insert proper C++ library support
11559             ld_shlibs_CXX=no
11560             ;;
11561           aCC*)
11562             case $host_cpu in
11563               hppa*64*)
11564                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11565                 ;;
11566               ia64*)
11567                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11568                 ;;
11569               *)
11570                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11571                 ;;
11572             esac
11573             # Commands to make compiler produce verbose output that lists
11574             # what "hidden" libraries, object files and flags are used when
11575             # linking a shared library.
11576             #
11577             # There doesn't appear to be a way to prevent this compiler from
11578             # explicitly linking system object files so we need to strip them
11579             # from the output so that they don't get included in the library
11580             # dependencies.
11581             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'
11582             ;;
11583           *)
11584             if test "$GXX" = yes; then
11585               if test $with_gnu_ld = no; then
11586                 case $host_cpu in
11587                   hppa*64*)
11588                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11589                     ;;
11590                   ia64*)
11591                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11592                     ;;
11593                   *)
11594                     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'
11595                     ;;
11596                 esac
11597               fi
11598             else
11599               # FIXME: insert proper C++ library support
11600               ld_shlibs_CXX=no
11601             fi
11602             ;;
11603         esac
11604         ;;
11605
11606       interix[3-9]*)
11607         hardcode_direct_CXX=no
11608         hardcode_shlibpath_var_CXX=no
11609         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11610         export_dynamic_flag_spec_CXX='${wl}-E'
11611         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11612         # Instead, shared libraries are loaded at an image base (0x10000000 by
11613         # default) and relocated if they conflict, which is a slow very memory
11614         # consuming and fragmenting process.  To avoid this, we pick a random,
11615         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11616         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11617         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'
11618         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'
11619         ;;
11620       irix5* | irix6*)
11621         case $cc_basename in
11622           CC*)
11623             # SGI C++
11624             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'
11625
11626             # Archives containing C++ object files must be created using
11627             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11628             # necessary to make sure instantiated templates are included
11629             # in the archive.
11630             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11631             ;;
11632           *)
11633             if test "$GXX" = yes; then
11634               if test "$with_gnu_ld" = no; then
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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11636               else
11637                 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'
11638               fi
11639             fi
11640             link_all_deplibs_CXX=yes
11641             ;;
11642         esac
11643         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11644         hardcode_libdir_separator_CXX=:
11645         inherit_rpath_CXX=yes
11646         ;;
11647
11648       linux* | k*bsd*-gnu)
11649         case $cc_basename in
11650           KCC*)
11651             # Kuck and Associates, Inc. (KAI) C++ Compiler
11652
11653             # KCC will only create a shared library if the output file
11654             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11655             # to its proper name (with version) after linking.
11656             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'
11657             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'
11658             # Commands to make compiler produce verbose output that lists
11659             # what "hidden" libraries, object files and flags are used when
11660             # linking a shared library.
11661             #
11662             # There doesn't appear to be a way to prevent this compiler from
11663             # explicitly linking system object files so we need to strip them
11664             # from the output so that they don't get included in the library
11665             # dependencies.
11666             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'
11667
11668             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11669             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11670
11671             # Archives containing C++ object files must be created using
11672             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11673             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11674             ;;
11675           icpc* | ecpc* )
11676             # Intel C++
11677             with_gnu_ld=yes
11678             # version 8.0 and above of icpc choke on multiply defined symbols
11679             # if we add $predep_objects and $postdep_objects, however 7.1 and
11680             # earlier do not add the objects themselves.
11681             case `$CC -V 2>&1` in
11682               *"Version 7."*)
11683                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11684                 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'
11685                 ;;
11686               *)  # Version 8.0 or newer
11687                 tmp_idyn=
11688                 case $host_cpu in
11689                   ia64*) tmp_idyn=' -i_dynamic';;
11690                 esac
11691                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11692                 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'
11693                 ;;
11694             esac
11695             archive_cmds_need_lc_CXX=no
11696             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11697             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11698             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11699             ;;
11700           pgCC*)
11701             # Portland Group C++ compiler
11702             case `$CC -V` in
11703             *pgCC\ [1-5]*)
11704               prelink_cmds_CXX='tpldir=Template.dir~
11705                 rm -rf $tpldir~
11706                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11707                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11708               old_archive_cmds_CXX='tpldir=Template.dir~
11709                 rm -rf $tpldir~
11710                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11711                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11712                 $RANLIB $oldlib'
11713               archive_cmds_CXX='tpldir=Template.dir~
11714                 rm -rf $tpldir~
11715                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11716                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11717               archive_expsym_cmds_CXX='tpldir=Template.dir~
11718                 rm -rf $tpldir~
11719                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11720                 $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'
11721               ;;
11722             *) # Version 6 will use weak symbols
11723               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11724               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'
11725               ;;
11726             esac
11727
11728             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11729             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11730             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'
11731             ;;
11732           cxx*)
11733             # Compaq C++
11734             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11735             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'
11736
11737             runpath_var=LD_RUN_PATH
11738             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11739             hardcode_libdir_separator_CXX=:
11740
11741             # Commands to make compiler produce verbose output that lists
11742             # what "hidden" libraries, object files and flags are used when
11743             # linking a shared library.
11744             #
11745             # There doesn't appear to be a way to prevent this compiler from
11746             # explicitly linking system object files so we need to strip them
11747             # from the output so that they don't get included in the library
11748             # dependencies.
11749             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'
11750             ;;
11751           *)
11752             case `$CC -V 2>&1 | sed 5q` in
11753             *Sun\ C*)
11754               # Sun C++ 5.9
11755               no_undefined_flag_CXX=' -zdefs'
11756               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11757               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'
11758               hardcode_libdir_flag_spec_CXX='-R$libdir'
11759               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'
11760               compiler_needs_object_CXX=yes
11761
11762               # Not sure whether something based on
11763               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11764               # would be better.
11765               output_verbose_link_cmd='echo'
11766
11767               # Archives containing C++ object files must be created using
11768               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11769               # necessary to make sure instantiated templates are included
11770               # in the archive.
11771               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11772               ;;
11773             esac
11774             ;;
11775         esac
11776         ;;
11777
11778       lynxos*)
11779         # FIXME: insert proper C++ library support
11780         ld_shlibs_CXX=no
11781         ;;
11782
11783       m88k*)
11784         # FIXME: insert proper C++ library support
11785         ld_shlibs_CXX=no
11786         ;;
11787
11788       mvs*)
11789         case $cc_basename in
11790           cxx*)
11791             # FIXME: insert proper C++ library support
11792             ld_shlibs_CXX=no
11793             ;;
11794           *)
11795             # FIXME: insert proper C++ library support
11796             ld_shlibs_CXX=no
11797             ;;
11798         esac
11799         ;;
11800
11801       netbsd*)
11802         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11803           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11804           wlarc=
11805           hardcode_libdir_flag_spec_CXX='-R$libdir'
11806           hardcode_direct_CXX=yes
11807           hardcode_shlibpath_var_CXX=no
11808         fi
11809         # Workaround some broken pre-1.5 toolchains
11810         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11811         ;;
11812
11813       *nto* | *qnx*)
11814         ld_shlibs_CXX=yes
11815         ;;
11816
11817       openbsd2*)
11818         # C++ shared libraries are fairly broken
11819         ld_shlibs_CXX=no
11820         ;;
11821
11822       openbsd*)
11823         hardcode_direct_CXX=yes
11824         hardcode_shlibpath_var_CXX=no
11825         hardcode_direct_absolute_CXX=yes
11826         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11827         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11828         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11829           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11830           export_dynamic_flag_spec_CXX='${wl}-E'
11831           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11832         fi
11833         output_verbose_link_cmd=echo
11834         ;;
11835
11836       osf3* | osf4* | osf5*)
11837         case $cc_basename in
11838           KCC*)
11839             # Kuck and Associates, Inc. (KAI) C++ Compiler
11840
11841             # KCC will only create a shared library if the output file
11842             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11843             # to its proper name (with version) after linking.
11844             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'
11845
11846             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11847             hardcode_libdir_separator_CXX=:
11848
11849             # Archives containing C++ object files must be created using
11850             # the KAI C++ compiler.
11851             case $host in
11852               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11853               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11854             esac
11855             ;;
11856           RCC*)
11857             # Rational C++ 2.4.1
11858             # FIXME: insert proper C++ library support
11859             ld_shlibs_CXX=no
11860             ;;
11861           cxx*)
11862             case $host in
11863               osf3*)
11864                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11865                 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'
11866                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11867                 ;;
11868               *)
11869                 allow_undefined_flag_CXX=' -expect_unresolved \*'
11870                 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'
11871                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11872                   echo "-hidden">> $lib.exp~
11873                   $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~
11874                   $RM $lib.exp'
11875                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11876                 ;;
11877             esac
11878
11879             hardcode_libdir_separator_CXX=:
11880
11881             # Commands to make compiler produce verbose output that lists
11882             # what "hidden" libraries, object files and flags are used when
11883             # linking a shared library.
11884             #
11885             # There doesn't appear to be a way to prevent this compiler from
11886             # explicitly linking system object files so we need to strip them
11887             # from the output so that they don't get included in the library
11888             # dependencies.
11889             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'
11890             ;;
11891           *)
11892             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11893               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11894               case $host in
11895                 osf3*)
11896                   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'
11897                   ;;
11898                 *)
11899                   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'
11900                   ;;
11901               esac
11902
11903               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11904               hardcode_libdir_separator_CXX=:
11905
11906               # Commands to make compiler produce verbose output that lists
11907               # what "hidden" libraries, object files and flags are used when
11908               # linking a shared library.
11909               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11910
11911             else
11912               # FIXME: insert proper C++ library support
11913               ld_shlibs_CXX=no
11914             fi
11915             ;;
11916         esac
11917         ;;
11918
11919       psos*)
11920         # FIXME: insert proper C++ library support
11921         ld_shlibs_CXX=no
11922         ;;
11923
11924       sunos4*)
11925         case $cc_basename in
11926           CC*)
11927             # Sun C++ 4.x
11928             # FIXME: insert proper C++ library support
11929             ld_shlibs_CXX=no
11930             ;;
11931           lcc*)
11932             # Lucid
11933             # FIXME: insert proper C++ library support
11934             ld_shlibs_CXX=no
11935             ;;
11936           *)
11937             # FIXME: insert proper C++ library support
11938             ld_shlibs_CXX=no
11939             ;;
11940         esac
11941         ;;
11942
11943       solaris*)
11944         case $cc_basename in
11945           CC*)
11946             # Sun C++ 4.2, 5.x and Centerline C++
11947             archive_cmds_need_lc_CXX=yes
11948             no_undefined_flag_CXX=' -zdefs'
11949             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11950             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11951               $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'
11952
11953             hardcode_libdir_flag_spec_CXX='-R$libdir'
11954             hardcode_shlibpath_var_CXX=no
11955             case $host_os in
11956               solaris2.[0-5] | solaris2.[0-5].*) ;;
11957               *)
11958                 # The compiler driver will combine and reorder linker options,
11959                 # but understands `-z linker_flag'.
11960                 # Supported since Solaris 2.6 (maybe 2.5.1?)
11961                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11962                 ;;
11963             esac
11964             link_all_deplibs_CXX=yes
11965
11966             output_verbose_link_cmd='echo'
11967
11968             # Archives containing C++ object files must be created using
11969             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11970             # necessary to make sure instantiated templates are included
11971             # in the archive.
11972             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11973             ;;
11974           gcx*)
11975             # Green Hills C++ Compiler
11976             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11977
11978             # The C++ compiler must be used to create the archive.
11979             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11980             ;;
11981           *)
11982             # GNU C++ compiler with Solaris linker
11983             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11984               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11985               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11986                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11987                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11988                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11989
11990                 # Commands to make compiler produce verbose output that lists
11991                 # what "hidden" libraries, object files and flags are used when
11992                 # linking a shared library.
11993                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11994               else
11995                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11996                 # platform.
11997                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11998                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11999                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12000
12001                 # Commands to make compiler produce verbose output that lists
12002                 # what "hidden" libraries, object files and flags are used when
12003                 # linking a shared library.
12004                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12005               fi
12006
12007               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12008               case $host_os in
12009                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12010                 *)
12011                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12012                   ;;
12013               esac
12014             fi
12015             ;;
12016         esac
12017         ;;
12018
12019     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12020       no_undefined_flag_CXX='${wl}-z,text'
12021       archive_cmds_need_lc_CXX=no
12022       hardcode_shlibpath_var_CXX=no
12023       runpath_var='LD_RUN_PATH'
12024
12025       case $cc_basename in
12026         CC*)
12027           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12028           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12029           ;;
12030         *)
12031           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12032           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12033           ;;
12034       esac
12035       ;;
12036
12037       sysv5* | sco3.2v5* | sco5v6*)
12038         # Note: We can NOT use -z defs as we might desire, because we do not
12039         # link with -lc, and that would cause any symbols used from libc to
12040         # always be unresolved, which means just about no library would
12041         # ever link correctly.  If we're not using GNU ld we use -z text
12042         # though, which does catch some bad symbols but isn't as heavy-handed
12043         # as -z defs.
12044         no_undefined_flag_CXX='${wl}-z,text'
12045         allow_undefined_flag_CXX='${wl}-z,nodefs'
12046         archive_cmds_need_lc_CXX=no
12047         hardcode_shlibpath_var_CXX=no
12048         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12049         hardcode_libdir_separator_CXX=':'
12050         link_all_deplibs_CXX=yes
12051         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12052         runpath_var='LD_RUN_PATH'
12053
12054         case $cc_basename in
12055           CC*)
12056             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12057             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12058             ;;
12059           *)
12060             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12061             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12062             ;;
12063         esac
12064       ;;
12065
12066       tandem*)
12067         case $cc_basename in
12068           NCC*)
12069             # NonStop-UX NCC 3.20
12070             # FIXME: insert proper C++ library support
12071             ld_shlibs_CXX=no
12072             ;;
12073           *)
12074             # FIXME: insert proper C++ library support
12075             ld_shlibs_CXX=no
12076             ;;
12077         esac
12078         ;;
12079
12080       vxworks*)
12081         # FIXME: insert proper C++ library support
12082         ld_shlibs_CXX=no
12083         ;;
12084
12085       *)
12086         # FIXME: insert proper C++ library support
12087         ld_shlibs_CXX=no
12088         ;;
12089     esac
12090
12091     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12092 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12093     test "$ld_shlibs_CXX" = no && can_build_shared=no
12094
12095     GCC_CXX="$GXX"
12096     LD_CXX="$LD"
12097
12098     ## CAVEAT EMPTOR:
12099     ## There is no encapsulation within the following macros, do not change
12100     ## the running order or otherwise move them around unless you know exactly
12101     ## what you are doing...
12102     # Dependencies to place before and after the object being linked:
12103 predep_objects_CXX=
12104 postdep_objects_CXX=
12105 predeps_CXX=
12106 postdeps_CXX=
12107 compiler_lib_search_path_CXX=
12108
12109 cat > conftest.$ac_ext <<_LT_EOF
12110 class Foo
12111 {
12112 public:
12113   Foo (void) { a = 0; }
12114 private:
12115   int a;
12116 };
12117 _LT_EOF
12118
12119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12120   (eval $ac_compile) 2>&5
12121   ac_status=$?
12122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123   (exit $ac_status); }; then
12124   # Parse the compiler output and extract the necessary
12125   # objects, libraries and library flags.
12126
12127   # Sentinel used to keep track of whether or not we are before
12128   # the conftest object file.
12129   pre_test_object_deps_done=no
12130
12131   # The `*' in the case matches for architectures that use `case' in
12132   # $output_verbose_cmd can trigger glob expansion during the loop
12133   # eval without this substitution.
12134   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12135
12136   for p in `eval $output_verbose_link_cmd`; do
12137     case $p in
12138
12139     -L* | -R* | -l*)
12140        # Some compilers place space between "-{L,R}" and the path.
12141        # Remove the space.
12142        if test $p = "-L" ||
12143           test $p = "-R"; then
12144          prev=$p
12145          continue
12146        else
12147          prev=
12148        fi
12149
12150        if test "$pre_test_object_deps_done" = no; then
12151          case $p in
12152          -L* | -R*)
12153            # Internal compiler library paths should come after those
12154            # provided the user.  The postdeps already come after the
12155            # user supplied libs so there is no need to process them.
12156            if test -z "$compiler_lib_search_path_CXX"; then
12157              compiler_lib_search_path_CXX="${prev}${p}"
12158            else
12159              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12160            fi
12161            ;;
12162          # The "-l" case would never come before the object being
12163          # linked, so don't bother handling this case.
12164          esac
12165        else
12166          if test -z "$postdeps_CXX"; then
12167            postdeps_CXX="${prev}${p}"
12168          else
12169            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12170          fi
12171        fi
12172        ;;
12173
12174     *.$objext)
12175        # This assumes that the test object file only shows up
12176        # once in the compiler output.
12177        if test "$p" = "conftest.$objext"; then
12178          pre_test_object_deps_done=yes
12179          continue
12180        fi
12181
12182        if test "$pre_test_object_deps_done" = no; then
12183          if test -z "$predep_objects_CXX"; then
12184            predep_objects_CXX="$p"
12185          else
12186            predep_objects_CXX="$predep_objects_CXX $p"
12187          fi
12188        else
12189          if test -z "$postdep_objects_CXX"; then
12190            postdep_objects_CXX="$p"
12191          else
12192            postdep_objects_CXX="$postdep_objects_CXX $p"
12193          fi
12194        fi
12195        ;;
12196
12197     *) ;; # Ignore the rest.
12198
12199     esac
12200   done
12201
12202   # Clean up.
12203   rm -f a.out a.exe
12204 else
12205   echo "libtool.m4: error: problem compiling CXX test program"
12206 fi
12207
12208 $RM -f confest.$objext
12209
12210 # PORTME: override above test on systems where it is broken
12211 case $host_os in
12212 interix[3-9]*)
12213   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12214   # hack all around it, let's just trust "g++" to DTRT.
12215   predep_objects_CXX=
12216   postdep_objects_CXX=
12217   postdeps_CXX=
12218   ;;
12219
12220 linux*)
12221   case `$CC -V 2>&1 | sed 5q` in
12222   *Sun\ C*)
12223     # Sun C++ 5.9
12224
12225     # The more standards-conforming stlport4 library is
12226     # incompatible with the Cstd library. Avoid specifying
12227     # it if it's in CXXFLAGS. Ignore libCrun as
12228     # -library=stlport4 depends on it.
12229     case " $CXX $CXXFLAGS " in
12230     *" -library=stlport4 "*)
12231       solaris_use_stlport4=yes
12232       ;;
12233     esac
12234
12235     if test "$solaris_use_stlport4" != yes; then
12236       postdeps_CXX='-library=Cstd -library=Crun'
12237     fi
12238     ;;
12239   esac
12240   ;;
12241
12242 solaris*)
12243   case $cc_basename in
12244   CC*)
12245     # The more standards-conforming stlport4 library is
12246     # incompatible with the Cstd library. Avoid specifying
12247     # it if it's in CXXFLAGS. Ignore libCrun as
12248     # -library=stlport4 depends on it.
12249     case " $CXX $CXXFLAGS " in
12250     *" -library=stlport4 "*)
12251       solaris_use_stlport4=yes
12252       ;;
12253     esac
12254
12255     # Adding this requires a known-good setup of shared libraries for
12256     # Sun compiler versions before 5.6, else PIC objects from an old
12257     # archive will be linked into the output, leading to subtle bugs.
12258     if test "$solaris_use_stlport4" != yes; then
12259       postdeps_CXX='-library=Cstd -library=Crun'
12260     fi
12261     ;;
12262   esac
12263   ;;
12264 esac
12265
12266
12267 case " $postdeps_CXX " in
12268 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12269 esac
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
12295
12296     lt_prog_compiler_wl_CXX=
12297 lt_prog_compiler_pic_CXX=
12298 lt_prog_compiler_static_CXX=
12299
12300 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12301 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12302
12303   # C++ specific cases for pic, static, wl, etc.
12304   if test "$GXX" = yes; then
12305     lt_prog_compiler_wl_CXX='-Wl,'
12306     lt_prog_compiler_static_CXX='-static'
12307
12308     case $host_os in
12309     aix*)
12310       # All AIX code is PIC.
12311       if test "$host_cpu" = ia64; then
12312         # AIX 5 now supports IA64 processor
12313         lt_prog_compiler_static_CXX='-Bstatic'
12314       fi
12315       ;;
12316     amigaos*)
12317       if test "$host_cpu" = m68k; then
12318         # FIXME: we need at least 68020 code to build shared libraries, but
12319         # adding the `-m68020' flag to GCC prevents building anything better,
12320         # like `-m68040'.
12321         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12322       fi
12323       ;;
12324     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12325       # PIC is the default for these OSes.
12326       ;;
12327     mingw* | cygwin* | os2* | pw32*)
12328       # This hack is so that the source file can tell whether it is being
12329       # built for inclusion in a dll (and should export symbols for example).
12330       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12331       # (--disable-auto-import) libraries
12332       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12333       ;;
12334     darwin* | rhapsody*)
12335       # PIC is the default on this platform
12336       # Common symbols not allowed in MH_DYLIB files
12337       lt_prog_compiler_pic_CXX='-fno-common'
12338       ;;
12339     *djgpp*)
12340       # DJGPP does not support shared libraries at all
12341       lt_prog_compiler_pic_CXX=
12342       ;;
12343     interix[3-9]*)
12344       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12345       # Instead, we relocate shared libraries at runtime.
12346       ;;
12347     sysv4*MP*)
12348       if test -d /usr/nec; then
12349         lt_prog_compiler_pic_CXX=-Kconform_pic
12350       fi
12351       ;;
12352     hpux*)
12353       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12354       # not for PA HP-UX.
12355       case $host_cpu in
12356       hppa*64*|ia64*)
12357         ;;
12358       *)
12359         lt_prog_compiler_pic_CXX='-fPIC'
12360         ;;
12361       esac
12362       ;;
12363     *qnx* | *nto*)
12364       # QNX uses GNU C++, but need to define -shared option too, otherwise
12365       # it will coredump.
12366       lt_prog_compiler_pic_CXX='-fPIC -shared'
12367       ;;
12368     *)
12369       lt_prog_compiler_pic_CXX='-fPIC'
12370       ;;
12371     esac
12372   else
12373     case $host_os in
12374       aix[4-9]*)
12375         # All AIX code is PIC.
12376         if test "$host_cpu" = ia64; then
12377           # AIX 5 now supports IA64 processor
12378           lt_prog_compiler_static_CXX='-Bstatic'
12379         else
12380           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12381         fi
12382         ;;
12383       chorus*)
12384         case $cc_basename in
12385         cxch68*)
12386           # Green Hills C++ Compiler
12387           # _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"
12388           ;;
12389         esac
12390         ;;
12391       darwin*)
12392         # PIC is the default on this platform
12393         # Common symbols not allowed in MH_DYLIB files
12394         case $cc_basename in
12395           xlc*)
12396           lt_prog_compiler_pic_CXX='-qnocommon'
12397           lt_prog_compiler_wl_CXX='-Wl,'
12398           ;;
12399         esac
12400         ;;
12401       dgux*)
12402         case $cc_basename in
12403           ec++*)
12404             lt_prog_compiler_pic_CXX='-KPIC'
12405             ;;
12406           ghcx*)
12407             # Green Hills C++ Compiler
12408             lt_prog_compiler_pic_CXX='-pic'
12409             ;;
12410           *)
12411             ;;
12412         esac
12413         ;;
12414       freebsd* | dragonfly*)
12415         # FreeBSD uses GNU C++
12416         ;;
12417       hpux9* | hpux10* | hpux11*)
12418         case $cc_basename in
12419           CC*)
12420             lt_prog_compiler_wl_CXX='-Wl,'
12421             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12422             if test "$host_cpu" != ia64; then
12423               lt_prog_compiler_pic_CXX='+Z'
12424             fi
12425             ;;
12426           aCC*)
12427             lt_prog_compiler_wl_CXX='-Wl,'
12428             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12429             case $host_cpu in
12430             hppa*64*|ia64*)
12431               # +Z the default
12432               ;;
12433             *)
12434               lt_prog_compiler_pic_CXX='+Z'
12435               ;;
12436             esac
12437             ;;
12438           *)
12439             ;;
12440         esac
12441         ;;
12442       interix*)
12443         # This is c89, which is MS Visual C++ (no shared libs)
12444         # Anyone wants to do a port?
12445         ;;
12446       irix5* | irix6* | nonstopux*)
12447         case $cc_basename in
12448           CC*)
12449             lt_prog_compiler_wl_CXX='-Wl,'
12450             lt_prog_compiler_static_CXX='-non_shared'
12451             # CC pic flag -KPIC is the default.
12452             ;;
12453           *)
12454             ;;
12455         esac
12456         ;;
12457       linux* | k*bsd*-gnu)
12458         case $cc_basename in
12459           KCC*)
12460             # KAI C++ Compiler
12461             lt_prog_compiler_wl_CXX='--backend -Wl,'
12462             lt_prog_compiler_pic_CXX='-fPIC'
12463             ;;
12464           icpc* | ecpc* )
12465             # Intel C++
12466             lt_prog_compiler_wl_CXX='-Wl,'
12467             lt_prog_compiler_pic_CXX='-KPIC'
12468             lt_prog_compiler_static_CXX='-static'
12469             ;;
12470           pgCC*)
12471             # Portland Group C++ compiler
12472             lt_prog_compiler_wl_CXX='-Wl,'
12473             lt_prog_compiler_pic_CXX='-fpic'
12474             lt_prog_compiler_static_CXX='-Bstatic'
12475             ;;
12476           cxx*)
12477             # Compaq C++
12478             # Make sure the PIC flag is empty.  It appears that all Alpha
12479             # Linux and Compaq Tru64 Unix objects are PIC.
12480             lt_prog_compiler_pic_CXX=
12481             lt_prog_compiler_static_CXX='-non_shared'
12482             ;;
12483           *)
12484             case `$CC -V 2>&1 | sed 5q` in
12485             *Sun\ C*)
12486               # Sun C++ 5.9
12487               lt_prog_compiler_pic_CXX='-KPIC'
12488               lt_prog_compiler_static_CXX='-Bstatic'
12489               lt_prog_compiler_wl_CXX='-Qoption ld '
12490               ;;
12491             esac
12492             ;;
12493         esac
12494         ;;
12495       lynxos*)
12496         ;;
12497       m88k*)
12498         ;;
12499       mvs*)
12500         case $cc_basename in
12501           cxx*)
12502             lt_prog_compiler_pic_CXX='-W c,exportall'
12503             ;;
12504           *)
12505             ;;
12506         esac
12507         ;;
12508       netbsd*)
12509         ;;
12510       *qnx* | *nto*)
12511         # QNX uses GNU C++, but need to define -shared option too, otherwise
12512         # it will coredump.
12513         lt_prog_compiler_pic_CXX='-fPIC -shared'
12514         ;;
12515       osf3* | osf4* | osf5*)
12516         case $cc_basename in
12517           KCC*)
12518             lt_prog_compiler_wl_CXX='--backend -Wl,'
12519             ;;
12520           RCC*)
12521             # Rational C++ 2.4.1
12522             lt_prog_compiler_pic_CXX='-pic'
12523             ;;
12524           cxx*)
12525             # Digital/Compaq C++
12526             lt_prog_compiler_wl_CXX='-Wl,'
12527             # Make sure the PIC flag is empty.  It appears that all Alpha
12528             # Linux and Compaq Tru64 Unix objects are PIC.
12529             lt_prog_compiler_pic_CXX=
12530             lt_prog_compiler_static_CXX='-non_shared'
12531             ;;
12532           *)
12533             ;;
12534         esac
12535         ;;
12536       psos*)
12537         ;;
12538       solaris*)
12539         case $cc_basename in
12540           CC*)
12541             # Sun C++ 4.2, 5.x and Centerline C++
12542             lt_prog_compiler_pic_CXX='-KPIC'
12543             lt_prog_compiler_static_CXX='-Bstatic'
12544             lt_prog_compiler_wl_CXX='-Qoption ld '
12545             ;;
12546           gcx*)
12547             # Green Hills C++ Compiler
12548             lt_prog_compiler_pic_CXX='-PIC'
12549             ;;
12550           *)
12551             ;;
12552         esac
12553         ;;
12554       sunos4*)
12555         case $cc_basename in
12556           CC*)
12557             # Sun C++ 4.x
12558             lt_prog_compiler_pic_CXX='-pic'
12559             lt_prog_compiler_static_CXX='-Bstatic'
12560             ;;
12561           lcc*)
12562             # Lucid
12563             lt_prog_compiler_pic_CXX='-pic'
12564             ;;
12565           *)
12566             ;;
12567         esac
12568         ;;
12569       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12570         case $cc_basename in
12571           CC*)
12572             lt_prog_compiler_wl_CXX='-Wl,'
12573             lt_prog_compiler_pic_CXX='-KPIC'
12574             lt_prog_compiler_static_CXX='-Bstatic'
12575             ;;
12576         esac
12577         ;;
12578       tandem*)
12579         case $cc_basename in
12580           NCC*)
12581             # NonStop-UX NCC 3.20
12582             lt_prog_compiler_pic_CXX='-KPIC'
12583             ;;
12584           *)
12585             ;;
12586         esac
12587         ;;
12588       vxworks*)
12589         ;;
12590       *)
12591         lt_prog_compiler_can_build_shared_CXX=no
12592         ;;
12593     esac
12594   fi
12595
12596 case $host_os in
12597   # For platforms which do not support PIC, -DPIC is meaningless:
12598   *djgpp*)
12599     lt_prog_compiler_pic_CXX=
12600     ;;
12601   *)
12602     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12603     ;;
12604 esac
12605 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12606 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12607
12608
12609
12610 #
12611 # Check to make sure the PIC flag actually works.
12612 #
12613 if test -n "$lt_prog_compiler_pic_CXX"; then
12614   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12615 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12616 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12617   echo $ECHO_N "(cached) $ECHO_C" >&6
12618 else
12619   lt_prog_compiler_pic_works_CXX=no
12620    ac_outfile=conftest.$ac_objext
12621    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12622    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12623    # Insert the option either (1) after the last *FLAGS variable, or
12624    # (2) before a word containing "conftest.", or (3) at the end.
12625    # Note that $ac_compile itself does not contain backslashes and begins
12626    # with a dollar sign (not a hyphen), so the echo should work correctly.
12627    # The option is referenced via a variable to avoid confusing sed.
12628    lt_compile=`echo "$ac_compile" | $SED \
12629    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12630    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12631    -e 's:$: $lt_compiler_flag:'`
12632    (eval echo "\"\$as_me:12632: $lt_compile\"" >&5)
12633    (eval "$lt_compile" 2>conftest.err)
12634    ac_status=$?
12635    cat conftest.err >&5
12636    echo "$as_me:12636: \$? = $ac_status" >&5
12637    if (exit $ac_status) && test -s "$ac_outfile"; then
12638      # The compiler can only warn and ignore the option if not recognized
12639      # So say no if there are warnings other than the usual output.
12640      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12641      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12642      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12643        lt_prog_compiler_pic_works_CXX=yes
12644      fi
12645    fi
12646    $RM conftest*
12647
12648 fi
12649 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12650 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12651
12652 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12653     case $lt_prog_compiler_pic_CXX in
12654      "" | " "*) ;;
12655      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12656      esac
12657 else
12658     lt_prog_compiler_pic_CXX=
12659      lt_prog_compiler_can_build_shared_CXX=no
12660 fi
12661
12662 fi
12663
12664
12665
12666 #
12667 # Check to make sure the static flag actually works.
12668 #
12669 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12670 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12671 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12672 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12673   echo $ECHO_N "(cached) $ECHO_C" >&6
12674 else
12675   lt_prog_compiler_static_works_CXX=no
12676    save_LDFLAGS="$LDFLAGS"
12677    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12678    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12679    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12680      # The linker can only warn and ignore the option if not recognized
12681      # So say no if there are warnings
12682      if test -s conftest.err; then
12683        # Append any errors to the config.log.
12684        cat conftest.err 1>&5
12685        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12686        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12687        if diff conftest.exp conftest.er2 >/dev/null; then
12688          lt_prog_compiler_static_works_CXX=yes
12689        fi
12690      else
12691        lt_prog_compiler_static_works_CXX=yes
12692      fi
12693    fi
12694    $RM conftest*
12695    LDFLAGS="$save_LDFLAGS"
12696
12697 fi
12698 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12699 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12700
12701 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12702     :
12703 else
12704     lt_prog_compiler_static_CXX=
12705 fi
12706
12707
12708
12709
12710     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12711 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12712 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12713   echo $ECHO_N "(cached) $ECHO_C" >&6
12714 else
12715   lt_cv_prog_compiler_c_o_CXX=no
12716    $RM -r conftest 2>/dev/null
12717    mkdir conftest
12718    cd conftest
12719    mkdir out
12720    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12721
12722    lt_compiler_flag="-o out/conftest2.$ac_objext"
12723    # Insert the option either (1) after the last *FLAGS variable, or
12724    # (2) before a word containing "conftest.", or (3) at the end.
12725    # Note that $ac_compile itself does not contain backslashes and begins
12726    # with a dollar sign (not a hyphen), so the echo should work correctly.
12727    lt_compile=`echo "$ac_compile" | $SED \
12728    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12729    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12730    -e 's:$: $lt_compiler_flag:'`
12731    (eval echo "\"\$as_me:12731: $lt_compile\"" >&5)
12732    (eval "$lt_compile" 2>out/conftest.err)
12733    ac_status=$?
12734    cat out/conftest.err >&5
12735    echo "$as_me:12735: \$? = $ac_status" >&5
12736    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12737    then
12738      # The compiler can only warn and ignore the option if not recognized
12739      # So say no if there are warnings
12740      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12741      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12742      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12743        lt_cv_prog_compiler_c_o_CXX=yes
12744      fi
12745    fi
12746    chmod u+w . 2>&5
12747    $RM conftest*
12748    # SGI C++ compiler will create directory out/ii_files/ for
12749    # template instantiation
12750    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12751    $RM out/* && rmdir out
12752    cd ..
12753    $RM -r conftest
12754    $RM conftest*
12755
12756 fi
12757 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12758 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12759
12760
12761
12762     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12763 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12764 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12765   echo $ECHO_N "(cached) $ECHO_C" >&6
12766 else
12767   lt_cv_prog_compiler_c_o_CXX=no
12768    $RM -r conftest 2>/dev/null
12769    mkdir conftest
12770    cd conftest
12771    mkdir out
12772    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12773
12774    lt_compiler_flag="-o out/conftest2.$ac_objext"
12775    # Insert the option either (1) after the last *FLAGS variable, or
12776    # (2) before a word containing "conftest.", or (3) at the end.
12777    # Note that $ac_compile itself does not contain backslashes and begins
12778    # with a dollar sign (not a hyphen), so the echo should work correctly.
12779    lt_compile=`echo "$ac_compile" | $SED \
12780    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12781    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12782    -e 's:$: $lt_compiler_flag:'`
12783    (eval echo "\"\$as_me:12783: $lt_compile\"" >&5)
12784    (eval "$lt_compile" 2>out/conftest.err)
12785    ac_status=$?
12786    cat out/conftest.err >&5
12787    echo "$as_me:12787: \$? = $ac_status" >&5
12788    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12789    then
12790      # The compiler can only warn and ignore the option if not recognized
12791      # So say no if there are warnings
12792      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12793      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12794      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12795        lt_cv_prog_compiler_c_o_CXX=yes
12796      fi
12797    fi
12798    chmod u+w . 2>&5
12799    $RM conftest*
12800    # SGI C++ compiler will create directory out/ii_files/ for
12801    # template instantiation
12802    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12803    $RM out/* && rmdir out
12804    cd ..
12805    $RM -r conftest
12806    $RM conftest*
12807
12808 fi
12809 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12810 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12811
12812
12813
12814
12815 hard_links="nottested"
12816 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12817   # do not overwrite the value of need_locks provided by the user
12818   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12819 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12820   hard_links=yes
12821   $RM conftest*
12822   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12823   touch conftest.a
12824   ln conftest.a conftest.b 2>&5 || hard_links=no
12825   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12826   echo "$as_me:$LINENO: result: $hard_links" >&5
12827 echo "${ECHO_T}$hard_links" >&6
12828   if test "$hard_links" = no; then
12829     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12830 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12831     need_locks=warn
12832   fi
12833 else
12834   need_locks=no
12835 fi
12836
12837
12838
12839     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12840 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12841
12842   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12843   case $host_os in
12844   aix[4-9]*)
12845     # If we're using GNU nm, then we don't want the "-C" option.
12846     # -C means demangle to AIX nm, but means don't demangle with GNU nm
12847     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12848       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'
12849     else
12850       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'
12851     fi
12852     ;;
12853   pw32*)
12854     export_symbols_cmds_CXX="$ltdll_cmds"
12855   ;;
12856   cygwin* | mingw*)
12857     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'
12858   ;;
12859   *)
12860     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12861   ;;
12862   esac
12863
12864 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12865 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12866 test "$ld_shlibs_CXX" = no && can_build_shared=no
12867
12868 with_gnu_ld_CXX=$with_gnu_ld
12869
12870
12871
12872
12873
12874
12875 #
12876 # Do we need to explicitly link libc?
12877 #
12878 case "x$archive_cmds_need_lc_CXX" in
12879 x|xyes)
12880   # Assume -lc should be added
12881   archive_cmds_need_lc_CXX=yes
12882
12883   if test "$enable_shared" = yes && test "$GCC" = yes; then
12884     case $archive_cmds_CXX in
12885     *'~'*)
12886       # FIXME: we may have to deal with multi-command sequences.
12887       ;;
12888     '$CC '*)
12889       # Test whether the compiler implicitly links with -lc since on some
12890       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12891       # to ld, don't add -lc before -lgcc.
12892       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12893 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12894       $RM conftest*
12895       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12896
12897       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12898   (eval $ac_compile) 2>&5
12899   ac_status=$?
12900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901   (exit $ac_status); } 2>conftest.err; then
12902         soname=conftest
12903         lib=conftest
12904         libobjs=conftest.$ac_objext
12905         deplibs=
12906         wl=$lt_prog_compiler_wl_CXX
12907         pic_flag=$lt_prog_compiler_pic_CXX
12908         compiler_flags=-v
12909         linker_flags=-v
12910         verstring=
12911         output_objdir=.
12912         libname=conftest
12913         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12914         allow_undefined_flag_CXX=
12915         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12916   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12917   ac_status=$?
12918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919   (exit $ac_status); }
12920         then
12921           archive_cmds_need_lc_CXX=no
12922         else
12923           archive_cmds_need_lc_CXX=yes
12924         fi
12925         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12926       else
12927         cat conftest.err 1>&5
12928       fi
12929       $RM conftest*
12930       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12931 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12932       ;;
12933     esac
12934   fi
12935   ;;
12936 esac
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
13000
13001     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13002 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13003 withGCC=$GXX
13004 library_names_spec=
13005 libname_spec='lib$name'
13006 soname_spec=
13007 shrext_cmds=".so"
13008 postinstall_cmds=
13009 postuninstall_cmds=
13010 finish_cmds=
13011 finish_eval=
13012 shlibpath_var=
13013 shlibpath_overrides_runpath=unknown
13014 version_type=none
13015 dynamic_linker="$host_os ld.so"
13016 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13017 need_lib_prefix=unknown
13018 hardcode_into_libs=no
13019
13020 # when you set need_version to no, make sure it does not cause -set_version
13021 # flags to be left without arguments
13022 need_version=unknown
13023
13024 case $host_os in
13025 aix3*)
13026   version_type=linux
13027   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13028   shlibpath_var=LIBPATH
13029
13030   # AIX 3 has no versioning support, so we append a major version to the name.
13031   soname_spec='${libname}${release}${shared_ext}$major'
13032   ;;
13033
13034 aix[4-9]*)
13035   version_type=linux
13036   need_lib_prefix=no
13037   need_version=no
13038   hardcode_into_libs=yes
13039   if test "$host_cpu" = ia64; then
13040     # AIX 5 supports IA64
13041     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13042     shlibpath_var=LD_LIBRARY_PATH
13043   else
13044     # With GCC up to 2.95.x, collect2 would create an import file
13045     # for dependence libraries.  The import file would start with
13046     # the line `#! .'.  This would cause the generated library to
13047     # depend on `.', always an invalid library.  This was fixed in
13048     # development snapshots of GCC prior to 3.0.
13049     case $host_os in
13050       aix4 | aix4.[01] | aix4.[01].*)
13051       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13052            echo ' yes '
13053            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13054         :
13055       else
13056         can_build_shared=no
13057       fi
13058       ;;
13059     esac
13060     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13061     # soname into executable. Probably we can add versioning support to
13062     # collect2, so additional links can be useful in future.
13063     if test "$aix_use_runtimelinking" = yes; then
13064       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13065       # instead of lib<name>.a to let people know that these are not
13066       # typical AIX shared libraries.
13067       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13068     else
13069       # We preserve .a as extension for shared libraries through AIX4.2
13070       # and later when we are not doing run time linking.
13071       library_names_spec='${libname}${release}.a $libname.a'
13072       soname_spec='${libname}${release}${shared_ext}$major'
13073     fi
13074     shlibpath_var=LIBPATH
13075   fi
13076   ;;
13077
13078 amigaos*)
13079   if test "$host_cpu" = m68k; then
13080     library_names_spec='$libname.ixlibrary $libname.a'
13081     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13082     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'
13083   else
13084     dynamic_linker=no
13085   fi
13086   ;;
13087
13088 beos*)
13089   library_names_spec='${libname}${shared_ext}'
13090   dynamic_linker="$host_os ld.so"
13091   shlibpath_var=LIBRARY_PATH
13092   ;;
13093
13094 bsdi[45]*)
13095   version_type=linux
13096   need_version=no
13097   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13098   soname_spec='${libname}${release}${shared_ext}$major'
13099   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13100   shlibpath_var=LD_LIBRARY_PATH
13101   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13102   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13103   # the default ld.so.conf also contains /usr/contrib/lib and
13104   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13105   # libtool to hard-code these into programs
13106   ;;
13107
13108 cygwin* | mingw* | pw32*)
13109   version_type=windows
13110   shrext_cmds=".dll"
13111   need_version=no
13112   need_lib_prefix=no
13113
13114   case $withGCC,$host_os in
13115   yes,cygwin* | yes,mingw* | yes,pw32*)
13116     library_names_spec='$libname.dll.a'
13117     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13118     postinstall_cmds='base_file=`basename \${file}`~
13119       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13120       dldir=$destdir/`dirname \$dlpath`~
13121       test -d \$dldir || mkdir -p \$dldir~
13122       $install_prog $dir/$dlname \$dldir/$dlname~
13123       chmod a+x \$dldir/$dlname~
13124       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13125         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13126       fi'
13127     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13128       dlpath=$dir/\$dldll~
13129        $RM \$dlpath'
13130     shlibpath_overrides_runpath=yes
13131
13132     case $host_os in
13133     cygwin*)
13134       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13135       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13136       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13137       ;;
13138     mingw*)
13139       # MinGW DLLs use traditional 'lib' prefix
13140       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13141       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13142       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13143         # It is most probably a Windows format PATH printed by
13144         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13145         # path with ; separators, and with drive letters. We can handle the
13146         # drive letters (cygwin fileutils understands them), so leave them,
13147         # especially as we might pass files found there to a mingw objdump,
13148         # which wouldn't understand a cygwinified path. Ahh.
13149         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13150       else
13151         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13152       fi
13153       ;;
13154     pw32*)
13155       # pw32 DLLs use 'pw' prefix rather than 'lib'
13156       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13157       ;;
13158     esac
13159     ;;
13160
13161   *)
13162     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13163     ;;
13164   esac
13165   dynamic_linker='Win32 ld.exe'
13166   # FIXME: first we should search . and the directory the executable is in
13167   shlibpath_var=PATH
13168   ;;
13169
13170 darwin* | rhapsody*)
13171   dynamic_linker="$host_os dyld"
13172   version_type=darwin
13173   need_lib_prefix=no
13174   need_version=no
13175   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13176   soname_spec='${libname}${release}${major}$shared_ext'
13177   shlibpath_overrides_runpath=yes
13178   shlibpath_var=DYLD_LIBRARY_PATH
13179   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13180
13181   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13182   ;;
13183
13184 dgux*)
13185   version_type=linux
13186   need_lib_prefix=no
13187   need_version=no
13188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13189   soname_spec='${libname}${release}${shared_ext}$major'
13190   shlibpath_var=LD_LIBRARY_PATH
13191   ;;
13192
13193 freebsd1*)
13194   dynamic_linker=no
13195   ;;
13196
13197 freebsd* | dragonfly*)
13198   # DragonFly does not have aout.  When/if they implement a new
13199   # versioning mechanism, adjust this.
13200   if test -x /usr/bin/objformat; then
13201     objformat=`/usr/bin/objformat`
13202   else
13203     case $host_os in
13204     freebsd[123]*) objformat=aout ;;
13205     *) objformat=elf ;;
13206     esac
13207   fi
13208   version_type=freebsd-$objformat
13209   case $version_type in
13210     freebsd-elf*)
13211       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13212       need_version=no
13213       need_lib_prefix=no
13214       ;;
13215     freebsd-*)
13216       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13217       need_version=yes
13218       ;;
13219   esac
13220   shlibpath_var=LD_LIBRARY_PATH
13221   case $host_os in
13222   freebsd2*)
13223     shlibpath_overrides_runpath=yes
13224     ;;
13225   freebsd3.[01]* | freebsdelf3.[01]*)
13226     shlibpath_overrides_runpath=yes
13227     hardcode_into_libs=yes
13228     ;;
13229   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13230   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13231     shlibpath_overrides_runpath=no
13232     hardcode_into_libs=yes
13233     ;;
13234   *) # from 4.6 on, and DragonFly
13235     shlibpath_overrides_runpath=yes
13236     hardcode_into_libs=yes
13237     ;;
13238   esac
13239   ;;
13240
13241 gnu*)
13242   version_type=linux
13243   need_lib_prefix=no
13244   need_version=no
13245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13246   soname_spec='${libname}${release}${shared_ext}$major'
13247   shlibpath_var=LD_LIBRARY_PATH
13248   hardcode_into_libs=yes
13249   ;;
13250
13251 hpux9* | hpux10* | hpux11*)
13252   # Give a soname corresponding to the major version so that dld.sl refuses to
13253   # link against other versions.
13254   version_type=sunos
13255   need_lib_prefix=no
13256   need_version=no
13257   case $host_cpu in
13258   ia64*)
13259     shrext_cmds='.so'
13260     hardcode_into_libs=yes
13261     dynamic_linker="$host_os dld.so"
13262     shlibpath_var=LD_LIBRARY_PATH
13263     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13264     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13265     soname_spec='${libname}${release}${shared_ext}$major'
13266     if test "X$HPUX_IA64_MODE" = X32; then
13267       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13268     else
13269       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13270     fi
13271     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13272     ;;
13273   hppa*64*)
13274     shrext_cmds='.sl'
13275     hardcode_into_libs=yes
13276     dynamic_linker="$host_os dld.sl"
13277     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13278     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13279     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13280     soname_spec='${libname}${release}${shared_ext}$major'
13281     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13282     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13283     ;;
13284   *)
13285     shrext_cmds='.sl'
13286     dynamic_linker="$host_os dld.sl"
13287     shlibpath_var=SHLIB_PATH
13288     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13289     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13290     soname_spec='${libname}${release}${shared_ext}$major'
13291     ;;
13292   esac
13293   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13294   postinstall_cmds='chmod 555 $lib'
13295   ;;
13296
13297 interix[3-9]*)
13298   version_type=linux
13299   need_lib_prefix=no
13300   need_version=no
13301   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13302   soname_spec='${libname}${release}${shared_ext}$major'
13303   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13304   shlibpath_var=LD_LIBRARY_PATH
13305   shlibpath_overrides_runpath=no
13306   hardcode_into_libs=yes
13307   ;;
13308
13309 irix5* | irix6* | nonstopux*)
13310   case $host_os in
13311     nonstopux*) version_type=nonstopux ;;
13312     *)
13313         if test "$lt_cv_prog_gnu_ld" = yes; then
13314                 version_type=linux
13315         else
13316                 version_type=irix
13317         fi ;;
13318   esac
13319   need_lib_prefix=no
13320   need_version=no
13321   soname_spec='${libname}${release}${shared_ext}$major'
13322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13323   case $host_os in
13324   irix5* | nonstopux*)
13325     libsuff= shlibsuff=
13326     ;;
13327   *)
13328     case $LD in # libtool.m4 will add one of these switches to LD
13329     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13330       libsuff= shlibsuff= libmagic=32-bit;;
13331     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13332       libsuff=32 shlibsuff=N32 libmagic=N32;;
13333     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13334       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13335     *) libsuff= shlibsuff= libmagic=never-match;;
13336     esac
13337     ;;
13338   esac
13339   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13340   shlibpath_overrides_runpath=no
13341   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13342   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13343   hardcode_into_libs=yes
13344   ;;
13345
13346 # No shared lib support for Linux oldld, aout, or coff.
13347 linux*oldld* | linux*aout* | linux*coff*)
13348   dynamic_linker=no
13349   ;;
13350
13351 # This must be Linux ELF.
13352 linux* | k*bsd*-gnu)
13353   version_type=linux
13354   need_lib_prefix=no
13355   need_version=no
13356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13357   soname_spec='${libname}${release}${shared_ext}$major'
13358   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13359   shlibpath_var=LD_LIBRARY_PATH
13360   shlibpath_overrides_runpath=no
13361   # Some binutils ld are patched to set DT_RUNPATH
13362   save_LDFLAGS=$LDFLAGS
13363   save_libdir=$libdir
13364   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13365        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13366   if test x$gcc_no_link = xyes; then
13367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13369    { (exit 1); exit 1; }; }
13370 fi
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h.  */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h.  */
13377
13378 int
13379 main ()
13380 {
13381
13382   ;
13383   return 0;
13384 }
13385 _ACEOF
13386 rm -f conftest.$ac_objext conftest$ac_exeext
13387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13388   (eval $ac_link) 2>conftest.er1
13389   ac_status=$?
13390   grep -v '^ *+' conftest.er1 >conftest.err
13391   rm -f conftest.er1
13392   cat conftest.err >&5
13393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394   (exit $ac_status); } &&
13395          { ac_try='test -z "$ac_cxx_werror_flag"
13396                          || test ! -s conftest.err'
13397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398   (eval $ac_try) 2>&5
13399   ac_status=$?
13400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401   (exit $ac_status); }; } &&
13402          { ac_try='test -s conftest$ac_exeext'
13403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404   (eval $ac_try) 2>&5
13405   ac_status=$?
13406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407   (exit $ac_status); }; }; then
13408   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13409   shlibpath_overrides_runpath=yes
13410 fi
13411
13412 else
13413   echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13415
13416 fi
13417 rm -f conftest.err conftest.$ac_objext \
13418       conftest$ac_exeext conftest.$ac_ext
13419   LDFLAGS=$save_LDFLAGS
13420   libdir=$save_libdir
13421
13422   # This implies no fast_install, which is unacceptable.
13423   # Some rework will be needed to allow for fast_install
13424   # before this can be enabled.
13425   hardcode_into_libs=yes
13426
13427   # Append ld.so.conf contents to the search path
13428   if test -f /etc/ld.so.conf; then
13429     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' ' '`
13430     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13431   fi
13432
13433   # We used to test for /lib/ld.so.1 and disable shared libraries on
13434   # powerpc, because MkLinux only supported shared libraries with the
13435   # GNU dynamic linker.  Since this was broken with cross compilers,
13436   # most powerpc-linux boxes support dynamic linking these days and
13437   # people can always --disable-shared, the test was removed, and we
13438   # assume the GNU/Linux dynamic linker is in use.
13439   dynamic_linker='GNU/Linux ld.so'
13440   ;;
13441
13442 netbsd*)
13443   version_type=sunos
13444   need_lib_prefix=no
13445   need_version=no
13446   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13447     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13448     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13449     dynamic_linker='NetBSD (a.out) ld.so'
13450   else
13451     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13452     soname_spec='${libname}${release}${shared_ext}$major'
13453     dynamic_linker='NetBSD ld.elf_so'
13454   fi
13455   shlibpath_var=LD_LIBRARY_PATH
13456   shlibpath_overrides_runpath=yes
13457   hardcode_into_libs=yes
13458   ;;
13459
13460 newsos6)
13461   version_type=linux
13462   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13463   shlibpath_var=LD_LIBRARY_PATH
13464   shlibpath_overrides_runpath=yes
13465   ;;
13466
13467 *nto* | *qnx*)
13468   version_type=qnx
13469   need_lib_prefix=no
13470   need_version=no
13471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13472   soname_spec='${libname}${release}${shared_ext}$major'
13473   shlibpath_var=LD_LIBRARY_PATH
13474   shlibpath_overrides_runpath=no
13475   hardcode_into_libs=yes
13476   dynamic_linker='ldqnx.so'
13477   ;;
13478
13479 openbsd*)
13480   version_type=sunos
13481   sys_lib_dlsearch_path_spec="/usr/lib"
13482   need_lib_prefix=no
13483   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13484   case $host_os in
13485     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13486     *)                          need_version=no  ;;
13487   esac
13488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13489   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13490   shlibpath_var=LD_LIBRARY_PATH
13491   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13492     case $host_os in
13493       openbsd2.[89] | openbsd2.[89].*)
13494         shlibpath_overrides_runpath=no
13495         ;;
13496       *)
13497         shlibpath_overrides_runpath=yes
13498         ;;
13499       esac
13500   else
13501     shlibpath_overrides_runpath=yes
13502   fi
13503   ;;
13504
13505 os2*)
13506   libname_spec='$name'
13507   shrext_cmds=".dll"
13508   need_lib_prefix=no
13509   library_names_spec='$libname${shared_ext} $libname.a'
13510   dynamic_linker='OS/2 ld.exe'
13511   shlibpath_var=LIBPATH
13512   ;;
13513
13514 osf3* | osf4* | osf5*)
13515   version_type=osf
13516   need_lib_prefix=no
13517   need_version=no
13518   soname_spec='${libname}${release}${shared_ext}$major'
13519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13520   shlibpath_var=LD_LIBRARY_PATH
13521   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13522   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13523   ;;
13524
13525 rdos*)
13526   dynamic_linker=no
13527   ;;
13528
13529 solaris*)
13530   version_type=linux
13531   need_lib_prefix=no
13532   need_version=no
13533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13534   soname_spec='${libname}${release}${shared_ext}$major'
13535   shlibpath_var=LD_LIBRARY_PATH
13536   shlibpath_overrides_runpath=yes
13537   hardcode_into_libs=yes
13538   # ldd complains unless libraries are executable
13539   postinstall_cmds='chmod +x $lib'
13540   ;;
13541
13542 sunos4*)
13543   version_type=sunos
13544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13545   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13546   shlibpath_var=LD_LIBRARY_PATH
13547   shlibpath_overrides_runpath=yes
13548   if test "$with_gnu_ld" = yes; then
13549     need_lib_prefix=no
13550   fi
13551   need_version=yes
13552   ;;
13553
13554 sysv4 | sysv4.3*)
13555   version_type=linux
13556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13557   soname_spec='${libname}${release}${shared_ext}$major'
13558   shlibpath_var=LD_LIBRARY_PATH
13559   case $host_vendor in
13560     sni)
13561       shlibpath_overrides_runpath=no
13562       need_lib_prefix=no
13563       runpath_var=LD_RUN_PATH
13564       ;;
13565     siemens)
13566       need_lib_prefix=no
13567       ;;
13568     motorola)
13569       need_lib_prefix=no
13570       need_version=no
13571       shlibpath_overrides_runpath=no
13572       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13573       ;;
13574   esac
13575   ;;
13576
13577 sysv4*MP*)
13578   if test -d /usr/nec ;then
13579     version_type=linux
13580     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13581     soname_spec='$libname${shared_ext}.$major'
13582     shlibpath_var=LD_LIBRARY_PATH
13583   fi
13584   ;;
13585
13586 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13587   version_type=freebsd-elf
13588   need_lib_prefix=no
13589   need_version=no
13590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13591   soname_spec='${libname}${release}${shared_ext}$major'
13592   shlibpath_var=LD_LIBRARY_PATH
13593   shlibpath_overrides_runpath=yes
13594   hardcode_into_libs=yes
13595   if test "$with_gnu_ld" = yes; then
13596     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13597   else
13598     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13599     case $host_os in
13600       sco3.2v5*)
13601         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13602         ;;
13603     esac
13604   fi
13605   sys_lib_dlsearch_path_spec='/usr/lib'
13606   ;;
13607
13608 tpf*)
13609   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13610   version_type=linux
13611   need_lib_prefix=no
13612   need_version=no
13613   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13614   shlibpath_var=LD_LIBRARY_PATH
13615   shlibpath_overrides_runpath=no
13616   hardcode_into_libs=yes
13617   ;;
13618
13619 uts4*)
13620   version_type=linux
13621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13622   soname_spec='${libname}${release}${shared_ext}$major'
13623   shlibpath_var=LD_LIBRARY_PATH
13624   ;;
13625
13626 *)
13627   dynamic_linker=no
13628   ;;
13629 esac
13630 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13631 echo "${ECHO_T}$dynamic_linker" >&6
13632 test "$dynamic_linker" = no && can_build_shared=no
13633
13634 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13635 if test "$GCC" = yes; then
13636   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13637 fi
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
13673
13674     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13675 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13676 hardcode_action_CXX=
13677 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13678    test -n "$runpath_var_CXX" ||
13679    test "X$hardcode_automatic_CXX" = "Xyes" ; then
13680
13681   # We can hardcode non-existent directories.
13682   if test "$hardcode_direct_CXX" != no &&
13683      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13684      # have to relink, otherwise we might link with an installed library
13685      # when we should be linking with a yet-to-be-installed one
13686      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13687      test "$hardcode_minus_L_CXX" != no; then
13688     # Linking always hardcodes the temporary library directory.
13689     hardcode_action_CXX=relink
13690   else
13691     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13692     hardcode_action_CXX=immediate
13693   fi
13694 else
13695   # We cannot hardcode anything, or else we can only hardcode existing
13696   # directories.
13697   hardcode_action_CXX=unsupported
13698 fi
13699 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13700 echo "${ECHO_T}$hardcode_action_CXX" >&6
13701
13702 if test "$hardcode_action_CXX" = relink ||
13703    test "$inherit_rpath_CXX" = yes; then
13704   # Fast installation is not supported
13705   enable_fast_install=no
13706 elif test "$shlibpath_overrides_runpath" = yes ||
13707      test "$enable_shared" = no; then
13708   # Fast installation is not necessary
13709   enable_fast_install=needless
13710 fi
13711
13712
13713
13714
13715
13716
13717
13718   fi # test -n "$compiler"
13719
13720   CC=$lt_save_CC
13721   LDCXX=$LD
13722   LD=$lt_save_LD
13723   GCC=$lt_save_GCC
13724   with_gnu_ld=$lt_save_with_gnu_ld
13725   lt_cv_path_LDCXX=$lt_cv_path_LD
13726   lt_cv_path_LD=$lt_save_path_LD
13727   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13728   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13729 fi # test "$_lt_caught_CXX_error" != yes
13730
13731 ac_ext=c
13732 ac_cpp='$CPP $CPPFLAGS'
13733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749                   ac_config_commands="$ac_config_commands libtool"
13750
13751
13752
13753
13754 # Only expand once:
13755
13756
13757
13758
13759
13760 # Possibly disable most of the library.
13761 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13762 ## than just ignoring the results.  Faster /and/ more correct, win win.
13763
13764   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13765 if test "${enable_hosted_libstdcxx+set}" = set; then
13766   enableval="$enable_hosted_libstdcxx"
13767
13768 else
13769   case "$host" in
13770         arm*-*-symbianelf*)
13771             enable_hosted_libstdcxx=no
13772             ;;
13773         *)
13774             enable_hosted_libstdcxx=yes
13775             ;;
13776      esac
13777 fi;
13778   if test "$enable_hosted_libstdcxx" = no; then
13779     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13780 echo "$as_me: Only freestanding libraries will be built" >&6;}
13781     is_hosted=no
13782     hosted_define=0
13783     enable_abi_check=no
13784     enable_libstdcxx_pch=no
13785   else
13786     is_hosted=yes
13787     hosted_define=1
13788   fi
13789
13790
13791 cat >>confdefs.h <<_ACEOF
13792 #define _GLIBCXX_HOSTED $hosted_define
13793 _ACEOF
13794
13795
13796
13797 # Enable compiler support that doesn't require linking.
13798
13799   echo "$as_me:$LINENO: checking for exception model to use" >&5
13800 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13801
13802
13803   ac_ext=cc
13804 ac_cpp='$CXXCPP $CPPFLAGS'
13805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13808
13809    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13810 if test "${enable_sjlj_exceptions+set}" = set; then
13811   enableval="$enable_sjlj_exceptions"
13812
13813       case "$enableval" in
13814        yes|no|auto) ;;
13815        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13816 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13817    { (exit 1); exit 1; }; } ;;
13818                           esac
13819
13820 else
13821   enable_sjlj_exceptions=auto
13822 fi;
13823
13824
13825   if test $enable_sjlj_exceptions = auto; then
13826     # Botheration.  Now we've got to detect the exception model.  Link tests
13827     # against libgcc.a are problematic since we've not been given proper -L
13828     # bits for single-tree newlib and libgloss.
13829     #
13830     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
13831     cat > conftest.$ac_ext << EOF
13832 #line 13832 "configure"
13833 struct S { ~S(); };
13834 void bar();
13835 void foo()
13836 {
13837   S s;
13838   bar();
13839 }
13840 EOF
13841     old_CXXFLAGS="$CXXFLAGS"
13842     CXXFLAGS=-S
13843     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13844   (eval $ac_compile) 2>&5
13845   ac_status=$?
13846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847   (exit $ac_status); }; then
13848       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13849         enable_sjlj_exceptions=yes
13850       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13851         enable_sjlj_exceptions=no
13852       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13853         enable_sjlj_exceptions=no
13854       fi
13855     fi
13856     CXXFLAGS="$old_CXXFLAGS"
13857     rm -f conftest*
13858   fi
13859
13860   # This is a tad weird, for hysterical raisins.  We have to map
13861   # enable/disable to two different models.
13862   case $enable_sjlj_exceptions in
13863     yes)
13864
13865 cat >>confdefs.h <<\_ACEOF
13866 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13867 _ACEOF
13868
13869       ac_exception_model_name=sjlj
13870       ;;
13871     no)
13872       ac_exception_model_name="call frame"
13873       ;;
13874     *)
13875       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13876 echo "$as_me: error: unable to detect exception model" >&2;}
13877    { (exit 1); exit 1; }; }
13878       ;;
13879   esac
13880  ac_ext=c
13881 ac_cpp='$CPP $CPPFLAGS'
13882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13885
13886  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13887 echo "${ECHO_T}$ac_exception_model_name" >&6
13888
13889
13890    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13891 if test "${enable_libstdcxx_pch+set}" = set; then
13892   enableval="$enable_libstdcxx_pch"
13893
13894       case "$enableval" in
13895        yes|no) ;;
13896        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13897 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13898    { (exit 1); exit 1; }; } ;;
13899       esac
13900
13901 else
13902   enable_libstdcxx_pch=$is_hosted
13903 fi;
13904
13905   if test $enable_libstdcxx_pch = yes; then
13906     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13907 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13908 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13909   echo $ECHO_N "(cached) $ECHO_C" >&6
13910 else
13911   ac_save_CXXFLAGS="$CXXFLAGS"
13912        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13913
13914
13915        ac_ext=cc
13916 ac_cpp='$CXXCPP $CPPFLAGS'
13917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13920
13921        echo '#include <math.h>' > conftest.h
13922        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13923                           -o conftest.h.gch 1>&5 2>&1 &&
13924                 echo '#error "pch failed"' > conftest.h &&
13925           echo '#include "conftest.h"' > conftest.cc &&
13926                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13927        then
13928          glibcxx_cv_prog_CXX_pch=yes
13929        else
13930          glibcxx_cv_prog_CXX_pch=no
13931        fi
13932        rm -f conftest*
13933        CXXFLAGS=$ac_save_CXXFLAGS
13934        ac_ext=c
13935 ac_cpp='$CPP $CPPFLAGS'
13936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13939
13940
13941 fi
13942 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13943 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13944     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13945   fi
13946
13947   echo "$as_me:$LINENO: checking for enabled PCH" >&5
13948 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13949   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13950 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13951
13952
13953   if test $enable_libstdcxx_pch = yes; then
13954     glibcxx_PCHFLAGS="-include bits/stdc++.h"
13955   else
13956     glibcxx_PCHFLAGS=""
13957   fi
13958
13959
13960
13961 # Enable all the variable C++ runtime options that doesn't require linking.
13962
13963   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13964 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13965    # Check whether --enable-cstdio or --disable-cstdio was given.
13966 if test "${enable_cstdio+set}" = set; then
13967   enableval="$enable_cstdio"
13968
13969       case "$enableval" in
13970        stdio) ;;
13971        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13972 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13973    { (exit 1); exit 1; }; } ;;
13974                           esac
13975
13976 else
13977   enable_cstdio=stdio
13978 fi;
13979
13980
13981   # Now that libio has been removed, you can have any color you want as long
13982   # as it's black.  This is one big no-op until other packages are added, but
13983   # showing the framework never hurts.
13984   case ${enable_cstdio} in
13985     stdio)
13986       CSTDIO_H=config/io/c_io_stdio.h
13987       BASIC_FILE_H=config/io/basic_file_stdio.h
13988       BASIC_FILE_CC=config/io/basic_file_stdio.cc
13989       echo "$as_me:$LINENO: result: stdio" >&5
13990 echo "${ECHO_T}stdio" >&6
13991       ;;
13992   esac
13993
13994
13995
13996
13997
13998
13999    # Check whether --enable-clocale or --disable-clocale was given.
14000 if test "${enable_clocale+set}" = set; then
14001   enableval="$enable_clocale"
14002
14003       case "$enableval" in
14004        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14005        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14006 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14007    { (exit 1); exit 1; }; } ;;
14008                           esac
14009
14010 else
14011   enable_clocale=auto
14012 fi;
14013
14014
14015   # Deal with gettext issues.  Default to not using it (=no) until we detect
14016   # support for it later.  Let the user turn it off via --e/d, but let that
14017   # default to on for easier handling.
14018   USE_NLS=no
14019   # Check whether --enable-nls or --disable-nls was given.
14020 if test "${enable_nls+set}" = set; then
14021   enableval="$enable_nls"
14022
14023 else
14024   enable_nls=yes
14025 fi;
14026
14027   # Either a known packaage, or "auto"
14028   if test $enable_clocale = no || test $enable_clocale = yes; then
14029      enable_clocale=auto
14030   fi
14031   enable_clocale_flag=$enable_clocale
14032
14033   # Probe for locale model to use if none specified.
14034   # Default to "generic".
14035   if test $enable_clocale_flag = auto; then
14036     case ${target_os} in
14037       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14038         enable_clocale_flag=gnu
14039         ;;
14040       darwin* | freebsd*)
14041         enable_clocale_flag=darwin
14042         ;;
14043       *)
14044         enable_clocale_flag=generic
14045         ;;
14046     esac
14047   fi
14048
14049   # Sanity check model, and test for special functionality.
14050   if test $enable_clocale_flag = gnu; then
14051     cat >conftest.$ac_ext <<_ACEOF
14052 /* confdefs.h.  */
14053 _ACEOF
14054 cat confdefs.h >>conftest.$ac_ext
14055 cat >>conftest.$ac_ext <<_ACEOF
14056 /* end confdefs.h.  */
14057
14058     #include <features.h>
14059     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14060       _GLIBCXX_ok
14061     #endif
14062
14063 _ACEOF
14064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14065   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14066   enable_clocale_flag=gnu
14067 else
14068   enable_clocale_flag=generic
14069 fi
14070 rm -f conftest*
14071
14072
14073     if test $enable_clocale = auto; then
14074       # Test for bugs early in glibc-2.2.x series
14075       if test "$cross_compiling" = yes; then
14076   enable_clocale_flag=generic
14077 else
14078   cat >conftest.$ac_ext <<_ACEOF
14079 /* confdefs.h.  */
14080 _ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h.  */
14084
14085       #define _GNU_SOURCE 1
14086       #include <locale.h>
14087       #include <string.h>
14088       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14089       extern __typeof(newlocale) __newlocale;
14090       extern __typeof(duplocale) __duplocale;
14091       extern __typeof(strcoll_l) __strcoll_l;
14092       #endif
14093       int main()
14094       {
14095         const char __one[] = "Äuglein Augmen";
14096         const char __two[] = "Äuglein";
14097         int i;
14098         int j;
14099         __locale_t        loc;
14100         __locale_t        loc_dup;
14101         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14102         loc_dup = __duplocale(loc);
14103         i = __strcoll_l(__one, __two, loc);
14104         j = __strcoll_l(__one, __two, loc_dup);
14105         return 0;
14106       }
14107
14108 _ACEOF
14109 rm -f conftest$ac_exeext
14110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14111   (eval $ac_link) 2>&5
14112   ac_status=$?
14113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116   (eval $ac_try) 2>&5
14117   ac_status=$?
14118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119   (exit $ac_status); }; }; then
14120   enable_clocale_flag=gnu
14121 else
14122   echo "$as_me: program exited with status $ac_status" >&5
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14125
14126 ( exit $ac_status )
14127 enable_clocale_flag=generic
14128 fi
14129 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14130 fi
14131     fi
14132
14133     # Set it to scream when it hurts.
14134     ac_save_CFLAGS="$CFLAGS"
14135     CFLAGS="-Wimplicit-function-declaration -Werror"
14136
14137     # Use strxfrm_l if available.
14138     cat >conftest.$ac_ext <<_ACEOF
14139 /* confdefs.h.  */
14140 _ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h.  */
14144 #define _GNU_SOURCE 1
14145                     #include <string.h>
14146                     #include <locale.h>
14147 int
14148 main ()
14149 {
14150 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14151   ;
14152   return 0;
14153 }
14154 _ACEOF
14155 rm -f conftest.$ac_objext
14156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14157   (eval $ac_compile) 2>conftest.er1
14158   ac_status=$?
14159   grep -v '^ *+' conftest.er1 >conftest.err
14160   rm -f conftest.er1
14161   cat conftest.err >&5
14162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163   (exit $ac_status); } &&
14164          { ac_try='test -z "$ac_c_werror_flag"
14165                          || test ! -s conftest.err'
14166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14167   (eval $ac_try) 2>&5
14168   ac_status=$?
14169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170   (exit $ac_status); }; } &&
14171          { ac_try='test -s conftest.$ac_objext'
14172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173   (eval $ac_try) 2>&5
14174   ac_status=$?
14175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176   (exit $ac_status); }; }; then
14177
14178 cat >>confdefs.h <<\_ACEOF
14179 #define HAVE_STRXFRM_L 1
14180 _ACEOF
14181
14182 else
14183   echo "$as_me: failed program was:" >&5
14184 sed 's/^/| /' conftest.$ac_ext >&5
14185
14186 fi
14187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14188
14189     # Use strerror_l if available.
14190     cat >conftest.$ac_ext <<_ACEOF
14191 /* confdefs.h.  */
14192 _ACEOF
14193 cat confdefs.h >>conftest.$ac_ext
14194 cat >>conftest.$ac_ext <<_ACEOF
14195 /* end confdefs.h.  */
14196 #define _GNU_SOURCE 1
14197                     #include <string.h>
14198                     #include <locale.h>
14199 int
14200 main ()
14201 {
14202 __locale_t loc; strerror_l(5, loc);
14203   ;
14204   return 0;
14205 }
14206 _ACEOF
14207 rm -f conftest.$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209   (eval $ac_compile) 2>conftest.er1
14210   ac_status=$?
14211   grep -v '^ *+' conftest.er1 >conftest.err
14212   rm -f conftest.er1
14213   cat conftest.err >&5
14214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215   (exit $ac_status); } &&
14216          { ac_try='test -z "$ac_c_werror_flag"
14217                          || test ! -s conftest.err'
14218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219   (eval $ac_try) 2>&5
14220   ac_status=$?
14221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222   (exit $ac_status); }; } &&
14223          { ac_try='test -s conftest.$ac_objext'
14224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225   (eval $ac_try) 2>&5
14226   ac_status=$?
14227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228   (exit $ac_status); }; }; then
14229
14230 cat >>confdefs.h <<\_ACEOF
14231 #define HAVE_STRERROR_L 1
14232 _ACEOF
14233
14234 else
14235   echo "$as_me: failed program was:" >&5
14236 sed 's/^/| /' conftest.$ac_ext >&5
14237
14238 fi
14239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14240
14241     CFLAGS="$ac_save_CFLAGS"
14242   fi
14243
14244   # Perhaps use strerror_r if available, and strerror_l isn't.
14245   ac_save_CFLAGS="$CFLAGS"
14246   CFLAGS="-Wimplicit-function-declaration -Werror"
14247   cat >conftest.$ac_ext <<_ACEOF
14248 /* confdefs.h.  */
14249 _ACEOF
14250 cat confdefs.h >>conftest.$ac_ext
14251 cat >>conftest.$ac_ext <<_ACEOF
14252 /* end confdefs.h.  */
14253 #define _GNU_SOURCE 1
14254                   #include <string.h>
14255                   #include <locale.h>
14256 int
14257 main ()
14258 {
14259 char s[128]; strerror_r(5, s, 128);
14260   ;
14261   return 0;
14262 }
14263 _ACEOF
14264 rm -f conftest.$ac_objext
14265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14266   (eval $ac_compile) 2>conftest.er1
14267   ac_status=$?
14268   grep -v '^ *+' conftest.er1 >conftest.err
14269   rm -f conftest.er1
14270   cat conftest.err >&5
14271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272   (exit $ac_status); } &&
14273          { ac_try='test -z "$ac_c_werror_flag"
14274                          || test ! -s conftest.err'
14275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276   (eval $ac_try) 2>&5
14277   ac_status=$?
14278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279   (exit $ac_status); }; } &&
14280          { ac_try='test -s conftest.$ac_objext'
14281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282   (eval $ac_try) 2>&5
14283   ac_status=$?
14284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285   (exit $ac_status); }; }; then
14286
14287 cat >>confdefs.h <<\_ACEOF
14288 #define HAVE_STRERROR_R 1
14289 _ACEOF
14290
14291 else
14292   echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.$ac_ext >&5
14294
14295 fi
14296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14297   CFLAGS="$ac_save_CFLAGS"
14298
14299   # Set configure bits for specified locale package
14300   echo "$as_me:$LINENO: checking for C locale to use" >&5
14301 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14302   case ${enable_clocale_flag} in
14303     generic)
14304       echo "$as_me:$LINENO: result: generic" >&5
14305 echo "${ECHO_T}generic" >&6
14306
14307       CLOCALE_H=config/locale/generic/c_locale.h
14308       CLOCALE_CC=config/locale/generic/c_locale.cc
14309       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14310       CCOLLATE_CC=config/locale/generic/collate_members.cc
14311       CCTYPE_CC=config/locale/generic/ctype_members.cc
14312       CMESSAGES_H=config/locale/generic/messages_members.h
14313       CMESSAGES_CC=config/locale/generic/messages_members.cc
14314       CMONEY_CC=config/locale/generic/monetary_members.cc
14315       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14316       CTIME_H=config/locale/generic/time_members.h
14317       CTIME_CC=config/locale/generic/time_members.cc
14318       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14319       ;;
14320     darwin)
14321       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14322 echo "${ECHO_T}darwin or freebsd" >&6
14323
14324       CLOCALE_H=config/locale/generic/c_locale.h
14325       CLOCALE_CC=config/locale/generic/c_locale.cc
14326       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14327       CCOLLATE_CC=config/locale/generic/collate_members.cc
14328       CCTYPE_CC=config/locale/darwin/ctype_members.cc
14329       CMESSAGES_H=config/locale/generic/messages_members.h
14330       CMESSAGES_CC=config/locale/generic/messages_members.cc
14331       CMONEY_CC=config/locale/generic/monetary_members.cc
14332       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14333       CTIME_H=config/locale/generic/time_members.h
14334       CTIME_CC=config/locale/generic/time_members.cc
14335       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14336       ;;
14337
14338     gnu)
14339       echo "$as_me:$LINENO: result: gnu" >&5
14340 echo "${ECHO_T}gnu" >&6
14341
14342       # Declare intention to use gettext, and add support for specific
14343       # languages.
14344       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14345       ALL_LINGUAS="de fr"
14346
14347       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14348       # Extract the first word of "msgfmt", so it can be a program name with args.
14349 set dummy msgfmt; ac_word=$2
14350 echo "$as_me:$LINENO: checking for $ac_word" >&5
14351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14352 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14353   echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355   if test -n "$check_msgfmt"; then
14356   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14357 else
14358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14359 for as_dir in $PATH
14360 do
14361   IFS=$as_save_IFS
14362   test -z "$as_dir" && as_dir=.
14363   for ac_exec_ext in '' $ac_executable_extensions; do
14364   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14365     ac_cv_prog_check_msgfmt="yes"
14366     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14367     break 2
14368   fi
14369 done
14370 done
14371
14372   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14373 fi
14374 fi
14375 check_msgfmt=$ac_cv_prog_check_msgfmt
14376 if test -n "$check_msgfmt"; then
14377   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14378 echo "${ECHO_T}$check_msgfmt" >&6
14379 else
14380   echo "$as_me:$LINENO: result: no" >&5
14381 echo "${ECHO_T}no" >&6
14382 fi
14383
14384       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14385         USE_NLS=yes
14386       fi
14387       # Export the build objects.
14388       for ling in $ALL_LINGUAS; do \
14389         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14390         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14391       done
14392
14393
14394
14395       CLOCALE_H=config/locale/gnu/c_locale.h
14396       CLOCALE_CC=config/locale/gnu/c_locale.cc
14397       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14398       CCOLLATE_CC=config/locale/gnu/collate_members.cc
14399       CCTYPE_CC=config/locale/gnu/ctype_members.cc
14400       CMESSAGES_H=config/locale/gnu/messages_members.h
14401       CMESSAGES_CC=config/locale/gnu/messages_members.cc
14402       CMONEY_CC=config/locale/gnu/monetary_members.cc
14403       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14404       CTIME_H=config/locale/gnu/time_members.h
14405       CTIME_CC=config/locale/gnu/time_members.cc
14406       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14407       ;;
14408     ieee_1003.1-2001)
14409       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14410 echo "${ECHO_T}IEEE 1003.1" >&6
14411
14412       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14413       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14414       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14415       CCOLLATE_CC=config/locale/generic/collate_members.cc
14416       CCTYPE_CC=config/locale/generic/ctype_members.cc
14417       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14418       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14419       CMONEY_CC=config/locale/generic/monetary_members.cc
14420       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14421       CTIME_H=config/locale/generic/time_members.h
14422       CTIME_CC=config/locale/generic/time_members.cc
14423       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14424       ;;
14425   esac
14426
14427   # This is where the testsuite looks for locale catalogs, using the
14428   # -DLOCALEDIR define during testsuite compilation.
14429   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14430
14431
14432   # A standalone libintl (e.g., GNU libintl) may be in use.
14433   if test $USE_NLS = yes; then
14434
14435 for ac_header in libintl.h
14436 do
14437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14439   echo "$as_me:$LINENO: checking for $ac_header" >&5
14440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14442   echo $ECHO_N "(cached) $ECHO_C" >&6
14443 fi
14444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14446 else
14447   # Is the header compilable?
14448 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14450 cat >conftest.$ac_ext <<_ACEOF
14451 /* confdefs.h.  */
14452 _ACEOF
14453 cat confdefs.h >>conftest.$ac_ext
14454 cat >>conftest.$ac_ext <<_ACEOF
14455 /* end confdefs.h.  */
14456 $ac_includes_default
14457 #include <$ac_header>
14458 _ACEOF
14459 rm -f conftest.$ac_objext
14460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14461   (eval $ac_compile) 2>conftest.er1
14462   ac_status=$?
14463   grep -v '^ *+' conftest.er1 >conftest.err
14464   rm -f conftest.er1
14465   cat conftest.err >&5
14466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467   (exit $ac_status); } &&
14468          { ac_try='test -z "$ac_c_werror_flag"
14469                          || test ! -s conftest.err'
14470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14471   (eval $ac_try) 2>&5
14472   ac_status=$?
14473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474   (exit $ac_status); }; } &&
14475          { ac_try='test -s conftest.$ac_objext'
14476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14477   (eval $ac_try) 2>&5
14478   ac_status=$?
14479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480   (exit $ac_status); }; }; then
14481   ac_header_compiler=yes
14482 else
14483   echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.$ac_ext >&5
14485
14486 ac_header_compiler=no
14487 fi
14488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14489 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14490 echo "${ECHO_T}$ac_header_compiler" >&6
14491
14492 # Is the header present?
14493 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14494 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14495 cat >conftest.$ac_ext <<_ACEOF
14496 /* confdefs.h.  */
14497 _ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h.  */
14501 #include <$ac_header>
14502 _ACEOF
14503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14504   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14505   ac_status=$?
14506   grep -v '^ *+' conftest.er1 >conftest.err
14507   rm -f conftest.er1
14508   cat conftest.err >&5
14509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510   (exit $ac_status); } >/dev/null; then
14511   if test -s conftest.err; then
14512     ac_cpp_err=$ac_c_preproc_warn_flag
14513     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14514   else
14515     ac_cpp_err=
14516   fi
14517 else
14518   ac_cpp_err=yes
14519 fi
14520 if test -z "$ac_cpp_err"; then
14521   ac_header_preproc=yes
14522 else
14523   echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.$ac_ext >&5
14525
14526   ac_header_preproc=no
14527 fi
14528 rm -f conftest.err conftest.$ac_ext
14529 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14530 echo "${ECHO_T}$ac_header_preproc" >&6
14531
14532 # So?  What about this header?
14533 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14534   yes:no: )
14535     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14536 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14537     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14538 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14539     ac_header_preproc=yes
14540     ;;
14541   no:yes:* )
14542     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14543 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14544     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14545 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14546     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14547 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14548     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14549 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14550     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14552     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14553 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14554     (
14555       cat <<\_ASBOX
14556 ## ----------------------------------------- ##
14557 ## Report this to the package-unused lists.  ##
14558 ## ----------------------------------------- ##
14559 _ASBOX
14560     ) |
14561       sed "s/^/$as_me: WARNING:     /" >&2
14562     ;;
14563 esac
14564 echo "$as_me:$LINENO: checking for $ac_header" >&5
14565 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14567   echo $ECHO_N "(cached) $ECHO_C" >&6
14568 else
14569   eval "$as_ac_Header=\$ac_header_preproc"
14570 fi
14571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14573
14574 fi
14575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14576   cat >>confdefs.h <<_ACEOF
14577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14578 _ACEOF
14579
14580 else
14581   USE_NLS=no
14582 fi
14583
14584 done
14585
14586     echo "$as_me:$LINENO: checking for library containing gettext" >&5
14587 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14588 if test "${ac_cv_search_gettext+set}" = set; then
14589   echo $ECHO_N "(cached) $ECHO_C" >&6
14590 else
14591   ac_func_search_save_LIBS=$LIBS
14592 ac_cv_search_gettext=no
14593 if test x$gcc_no_link = xyes; then
14594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14596    { (exit 1); exit 1; }; }
14597 fi
14598 cat >conftest.$ac_ext <<_ACEOF
14599 /* confdefs.h.  */
14600 _ACEOF
14601 cat confdefs.h >>conftest.$ac_ext
14602 cat >>conftest.$ac_ext <<_ACEOF
14603 /* end confdefs.h.  */
14604
14605 /* Override any gcc2 internal prototype to avoid an error.  */
14606 #ifdef __cplusplus
14607 extern "C"
14608 #endif
14609 /* We use char because int might match the return type of a gcc2
14610    builtin and then its argument prototype would still apply.  */
14611 char gettext ();
14612 int
14613 main ()
14614 {
14615 gettext ();
14616   ;
14617   return 0;
14618 }
14619 _ACEOF
14620 rm -f conftest.$ac_objext conftest$ac_exeext
14621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14622   (eval $ac_link) 2>conftest.er1
14623   ac_status=$?
14624   grep -v '^ *+' conftest.er1 >conftest.err
14625   rm -f conftest.er1
14626   cat conftest.err >&5
14627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628   (exit $ac_status); } &&
14629          { ac_try='test -z "$ac_c_werror_flag"
14630                          || test ! -s conftest.err'
14631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632   (eval $ac_try) 2>&5
14633   ac_status=$?
14634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635   (exit $ac_status); }; } &&
14636          { ac_try='test -s conftest$ac_exeext'
14637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638   (eval $ac_try) 2>&5
14639   ac_status=$?
14640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641   (exit $ac_status); }; }; then
14642   ac_cv_search_gettext="none required"
14643 else
14644   echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14646
14647 fi
14648 rm -f conftest.err conftest.$ac_objext \
14649       conftest$ac_exeext conftest.$ac_ext
14650 if test "$ac_cv_search_gettext" = no; then
14651   for ac_lib in intl; do
14652     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14653     if test x$gcc_no_link = xyes; then
14654   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14656    { (exit 1); exit 1; }; }
14657 fi
14658 cat >conftest.$ac_ext <<_ACEOF
14659 /* confdefs.h.  */
14660 _ACEOF
14661 cat confdefs.h >>conftest.$ac_ext
14662 cat >>conftest.$ac_ext <<_ACEOF
14663 /* end confdefs.h.  */
14664
14665 /* Override any gcc2 internal prototype to avoid an error.  */
14666 #ifdef __cplusplus
14667 extern "C"
14668 #endif
14669 /* We use char because int might match the return type of a gcc2
14670    builtin and then its argument prototype would still apply.  */
14671 char gettext ();
14672 int
14673 main ()
14674 {
14675 gettext ();
14676   ;
14677   return 0;
14678 }
14679 _ACEOF
14680 rm -f conftest.$ac_objext conftest$ac_exeext
14681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14682   (eval $ac_link) 2>conftest.er1
14683   ac_status=$?
14684   grep -v '^ *+' conftest.er1 >conftest.err
14685   rm -f conftest.er1
14686   cat conftest.err >&5
14687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688   (exit $ac_status); } &&
14689          { ac_try='test -z "$ac_c_werror_flag"
14690                          || test ! -s conftest.err'
14691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692   (eval $ac_try) 2>&5
14693   ac_status=$?
14694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695   (exit $ac_status); }; } &&
14696          { ac_try='test -s conftest$ac_exeext'
14697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698   (eval $ac_try) 2>&5
14699   ac_status=$?
14700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701   (exit $ac_status); }; }; then
14702   ac_cv_search_gettext="-l$ac_lib"
14703 break
14704 else
14705   echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.$ac_ext >&5
14707
14708 fi
14709 rm -f conftest.err conftest.$ac_objext \
14710       conftest$ac_exeext conftest.$ac_ext
14711   done
14712 fi
14713 LIBS=$ac_func_search_save_LIBS
14714 fi
14715 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14716 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14717 if test "$ac_cv_search_gettext" != no; then
14718   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14719
14720 else
14721   USE_NLS=no
14722 fi
14723
14724   fi
14725   if test $USE_NLS = yes; then
14726
14727 cat >>confdefs.h <<\_ACEOF
14728 #define _GLIBCXX_USE_NLS 1
14729 _ACEOF
14730
14731   fi
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14749 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14750    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14751 if test "${enable_libstdcxx_allocator+set}" = set; then
14752   enableval="$enable_libstdcxx_allocator"
14753
14754       case "$enableval" in
14755        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14756        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14757 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14758    { (exit 1); exit 1; }; } ;;
14759                           esac
14760
14761 else
14762   enable_libstdcxx_allocator=auto
14763 fi;
14764
14765
14766   # If they didn't use this option switch, or if they specified --enable
14767   # with no specific model, we'll have to look for one.  If they
14768   # specified --disable (???), do likewise.
14769   if test $enable_libstdcxx_allocator = no ||
14770      test $enable_libstdcxx_allocator = yes;
14771   then
14772      enable_libstdcxx_allocator=auto
14773   fi
14774
14775   # Either a known package, or "auto". Auto implies the default choice
14776   # for a particular platform.
14777   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14778
14779   # Probe for host-specific support if no specific model is specified.
14780   # Default to "new".
14781   if test $enable_libstdcxx_allocator_flag = auto; then
14782     case ${target_os} in
14783       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14784         enable_libstdcxx_allocator_flag=new
14785         ;;
14786       *)
14787         enable_libstdcxx_allocator_flag=new
14788         ;;
14789     esac
14790   fi
14791   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14792 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14793
14794
14795   # Set configure bits for specified locale package
14796   case ${enable_libstdcxx_allocator_flag} in
14797     bitmap)
14798       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14799       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14800       ;;
14801     malloc)
14802       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14803       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14804       ;;
14805     mt)
14806       ALLOCATOR_H=config/allocator/mt_allocator_base.h
14807       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14808       ;;
14809     new)
14810       ALLOCATOR_H=config/allocator/new_allocator_base.h
14811       ALLOCATOR_NAME=__gnu_cxx::new_allocator
14812       ;;
14813     pool)
14814       ALLOCATOR_H=config/allocator/pool_allocator_base.h
14815       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14816       ;;
14817   esac
14818
14819
14820
14821
14822
14823    # Check whether --enable-cheaders or --disable-cheaders was given.
14824 if test "${enable_cheaders+set}" = set; then
14825   enableval="$enable_cheaders"
14826
14827       case "$enableval" in
14828        c|c_std|c_global) ;;
14829        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14830 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14831    { (exit 1); exit 1; }; } ;;
14832                           esac
14833
14834 else
14835   enable_cheaders=$c_model
14836 fi;
14837
14838   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14839 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14840
14841   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14842
14843   # Allow overrides to configure.host here.
14844   if test $enable_cheaders = c_global; then
14845      c_compatibility=yes
14846   fi
14847
14848   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14849      c_extra=yes
14850   fi
14851
14852
14853
14854
14855
14856
14857
14858
14859    # Check whether --enable-long-long or --disable-long-long was given.
14860 if test "${enable_long_long+set}" = set; then
14861   enableval="$enable_long_long"
14862
14863       case "$enableval" in
14864        yes|no) ;;
14865        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14866 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14867    { (exit 1); exit 1; }; } ;;
14868       esac
14869
14870 else
14871   enable_long_long=yes
14872 fi;
14873
14874   if test $enable_long_long = yes; then
14875
14876 cat >>confdefs.h <<\_ACEOF
14877 #define _GLIBCXX_USE_LONG_LONG 1
14878 _ACEOF
14879
14880   fi
14881   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14882 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14883   echo "$as_me:$LINENO: result: $enable_long_long" >&5
14884 echo "${ECHO_T}$enable_long_long" >&6
14885
14886
14887    # Check whether --enable-wchar_t or --disable-wchar_t was given.
14888 if test "${enable_wchar_t+set}" = set; then
14889   enableval="$enable_wchar_t"
14890
14891       case "$enableval" in
14892        yes|no) ;;
14893        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14894 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14895    { (exit 1); exit 1; }; } ;;
14896       esac
14897
14898 else
14899   enable_wchar_t=yes
14900 fi;
14901
14902
14903   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14904
14905 for ac_header in wchar.h
14906 do
14907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14909   echo "$as_me:$LINENO: checking for $ac_header" >&5
14910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14912   echo $ECHO_N "(cached) $ECHO_C" >&6
14913 fi
14914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14916 else
14917   # Is the header compilable?
14918 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14919 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14920 cat >conftest.$ac_ext <<_ACEOF
14921 /* confdefs.h.  */
14922 _ACEOF
14923 cat confdefs.h >>conftest.$ac_ext
14924 cat >>conftest.$ac_ext <<_ACEOF
14925 /* end confdefs.h.  */
14926 $ac_includes_default
14927 #include <$ac_header>
14928 _ACEOF
14929 rm -f conftest.$ac_objext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14931   (eval $ac_compile) 2>conftest.er1
14932   ac_status=$?
14933   grep -v '^ *+' conftest.er1 >conftest.err
14934   rm -f conftest.er1
14935   cat conftest.err >&5
14936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937   (exit $ac_status); } &&
14938          { ac_try='test -z "$ac_c_werror_flag"
14939                          || test ! -s conftest.err'
14940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941   (eval $ac_try) 2>&5
14942   ac_status=$?
14943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944   (exit $ac_status); }; } &&
14945          { ac_try='test -s conftest.$ac_objext'
14946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14947   (eval $ac_try) 2>&5
14948   ac_status=$?
14949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950   (exit $ac_status); }; }; then
14951   ac_header_compiler=yes
14952 else
14953   echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14955
14956 ac_header_compiler=no
14957 fi
14958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14960 echo "${ECHO_T}$ac_header_compiler" >&6
14961
14962 # Is the header present?
14963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14965 cat >conftest.$ac_ext <<_ACEOF
14966 /* confdefs.h.  */
14967 _ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h.  */
14971 #include <$ac_header>
14972 _ACEOF
14973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14974   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14975   ac_status=$?
14976   grep -v '^ *+' conftest.er1 >conftest.err
14977   rm -f conftest.er1
14978   cat conftest.err >&5
14979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980   (exit $ac_status); } >/dev/null; then
14981   if test -s conftest.err; then
14982     ac_cpp_err=$ac_c_preproc_warn_flag
14983     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14984   else
14985     ac_cpp_err=
14986   fi
14987 else
14988   ac_cpp_err=yes
14989 fi
14990 if test -z "$ac_cpp_err"; then
14991   ac_header_preproc=yes
14992 else
14993   echo "$as_me: failed program was:" >&5
14994 sed 's/^/| /' conftest.$ac_ext >&5
14995
14996   ac_header_preproc=no
14997 fi
14998 rm -f conftest.err conftest.$ac_ext
14999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15000 echo "${ECHO_T}$ac_header_preproc" >&6
15001
15002 # So?  What about this header?
15003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15004   yes:no: )
15005     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15007     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15009     ac_header_preproc=yes
15010     ;;
15011   no:yes:* )
15012     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15014     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15015 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15016     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15018     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15019 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15020     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15022     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15024     (
15025       cat <<\_ASBOX
15026 ## ----------------------------------------- ##
15027 ## Report this to the package-unused lists.  ##
15028 ## ----------------------------------------- ##
15029 _ASBOX
15030     ) |
15031       sed "s/^/$as_me: WARNING:     /" >&2
15032     ;;
15033 esac
15034 echo "$as_me:$LINENO: checking for $ac_header" >&5
15035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15037   echo $ECHO_N "(cached) $ECHO_C" >&6
15038 else
15039   eval "$as_ac_Header=\$ac_header_preproc"
15040 fi
15041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15043
15044 fi
15045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15046   cat >>confdefs.h <<_ACEOF
15047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15048 _ACEOF
15049  ac_has_wchar_h=yes
15050 else
15051   ac_has_wchar_h=no
15052 fi
15053
15054 done
15055
15056   echo "$as_me:$LINENO: checking for mbstate_t" >&5
15057 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15058   cat >conftest.$ac_ext <<_ACEOF
15059 /* confdefs.h.  */
15060 _ACEOF
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h.  */
15064 #include <wchar.h>
15065 int
15066 main ()
15067 {
15068 mbstate_t teststate;
15069   ;
15070   return 0;
15071 }
15072 _ACEOF
15073 rm -f conftest.$ac_objext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15075   (eval $ac_compile) 2>conftest.er1
15076   ac_status=$?
15077   grep -v '^ *+' conftest.er1 >conftest.err
15078   rm -f conftest.er1
15079   cat conftest.err >&5
15080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081   (exit $ac_status); } &&
15082          { ac_try='test -z "$ac_c_werror_flag"
15083                          || test ! -s conftest.err'
15084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15085   (eval $ac_try) 2>&5
15086   ac_status=$?
15087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088   (exit $ac_status); }; } &&
15089          { ac_try='test -s conftest.$ac_objext'
15090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15091   (eval $ac_try) 2>&5
15092   ac_status=$?
15093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15094   (exit $ac_status); }; }; then
15095   have_mbstate_t=yes
15096 else
15097   echo "$as_me: failed program was:" >&5
15098 sed 's/^/| /' conftest.$ac_ext >&5
15099
15100 have_mbstate_t=no
15101 fi
15102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15103   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15104 echo "${ECHO_T}$have_mbstate_t" >&6
15105   if test x"$have_mbstate_t" = xyes; then
15106
15107 cat >>confdefs.h <<\_ACEOF
15108 #define HAVE_MBSTATE_T 1
15109 _ACEOF
15110
15111   fi
15112
15113   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15114   # ac_has_wchar_h.
15115
15116 for ac_header in wctype.h
15117 do
15118 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15120   echo "$as_me:$LINENO: checking for $ac_header" >&5
15121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15123   echo $ECHO_N "(cached) $ECHO_C" >&6
15124 fi
15125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15127 else
15128   # Is the header compilable?
15129 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15131 cat >conftest.$ac_ext <<_ACEOF
15132 /* confdefs.h.  */
15133 _ACEOF
15134 cat confdefs.h >>conftest.$ac_ext
15135 cat >>conftest.$ac_ext <<_ACEOF
15136 /* end confdefs.h.  */
15137 $ac_includes_default
15138 #include <$ac_header>
15139 _ACEOF
15140 rm -f conftest.$ac_objext
15141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15142   (eval $ac_compile) 2>conftest.er1
15143   ac_status=$?
15144   grep -v '^ *+' conftest.er1 >conftest.err
15145   rm -f conftest.er1
15146   cat conftest.err >&5
15147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148   (exit $ac_status); } &&
15149          { ac_try='test -z "$ac_c_werror_flag"
15150                          || test ! -s conftest.err'
15151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15152   (eval $ac_try) 2>&5
15153   ac_status=$?
15154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155   (exit $ac_status); }; } &&
15156          { ac_try='test -s conftest.$ac_objext'
15157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158   (eval $ac_try) 2>&5
15159   ac_status=$?
15160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161   (exit $ac_status); }; }; then
15162   ac_header_compiler=yes
15163 else
15164   echo "$as_me: failed program was:" >&5
15165 sed 's/^/| /' conftest.$ac_ext >&5
15166
15167 ac_header_compiler=no
15168 fi
15169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15171 echo "${ECHO_T}$ac_header_compiler" >&6
15172
15173 # Is the header present?
15174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15176 cat >conftest.$ac_ext <<_ACEOF
15177 /* confdefs.h.  */
15178 _ACEOF
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h.  */
15182 #include <$ac_header>
15183 _ACEOF
15184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15185   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15186   ac_status=$?
15187   grep -v '^ *+' conftest.er1 >conftest.err
15188   rm -f conftest.er1
15189   cat conftest.err >&5
15190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191   (exit $ac_status); } >/dev/null; then
15192   if test -s conftest.err; then
15193     ac_cpp_err=$ac_c_preproc_warn_flag
15194     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15195   else
15196     ac_cpp_err=
15197   fi
15198 else
15199   ac_cpp_err=yes
15200 fi
15201 if test -z "$ac_cpp_err"; then
15202   ac_header_preproc=yes
15203 else
15204   echo "$as_me: failed program was:" >&5
15205 sed 's/^/| /' conftest.$ac_ext >&5
15206
15207   ac_header_preproc=no
15208 fi
15209 rm -f conftest.err conftest.$ac_ext
15210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15211 echo "${ECHO_T}$ac_header_preproc" >&6
15212
15213 # So?  What about this header?
15214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15215   yes:no: )
15216     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15218     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15219 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15220     ac_header_preproc=yes
15221     ;;
15222   no:yes:* )
15223     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15224 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15225     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15226 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15227     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15228 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15229     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15230 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15231     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15232 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15233     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15234 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15235     (
15236       cat <<\_ASBOX
15237 ## ----------------------------------------- ##
15238 ## Report this to the package-unused lists.  ##
15239 ## ----------------------------------------- ##
15240 _ASBOX
15241     ) |
15242       sed "s/^/$as_me: WARNING:     /" >&2
15243     ;;
15244 esac
15245 echo "$as_me:$LINENO: checking for $ac_header" >&5
15246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15248   echo $ECHO_N "(cached) $ECHO_C" >&6
15249 else
15250   eval "$as_ac_Header=\$ac_header_preproc"
15251 fi
15252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15253 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15254
15255 fi
15256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15257   cat >>confdefs.h <<_ACEOF
15258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15259 _ACEOF
15260  ac_has_wctype_h=yes
15261 else
15262   ac_has_wctype_h=no
15263 fi
15264
15265 done
15266
15267
15268   if test x"$enable_wchar_t" = x"yes"; then
15269
15270
15271
15272     ac_ext=cc
15273 ac_cpp='$CXXCPP $CPPFLAGS'
15274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15277
15278
15279     if test x"$ac_has_wchar_h" = xyes &&
15280        test x"$ac_has_wctype_h" = xyes; then
15281       cat >conftest.$ac_ext <<_ACEOF
15282 /* confdefs.h.  */
15283 _ACEOF
15284 cat confdefs.h >>conftest.$ac_ext
15285 cat >>conftest.$ac_ext <<_ACEOF
15286 /* end confdefs.h.  */
15287 #include <wchar.h>
15288                       #include <stddef.h>
15289                       wint_t i;
15290                       long l = WEOF;
15291                       long j = WCHAR_MIN;
15292                       long k = WCHAR_MAX;
15293                       namespace test
15294                       {
15295                         using ::btowc;
15296                         using ::fgetwc;
15297                         using ::fgetws;
15298                         using ::fputwc;
15299                         using ::fputws;
15300                         using ::fwide;
15301                         using ::fwprintf;
15302                         using ::fwscanf;
15303                         using ::getwc;
15304                         using ::getwchar;
15305                         using ::mbrlen;
15306                         using ::mbrtowc;
15307                         using ::mbsinit;
15308                         using ::mbsrtowcs;
15309                         using ::putwc;
15310                         using ::putwchar;
15311                         using ::swprintf;
15312                         using ::swscanf;
15313                         using ::ungetwc;
15314                         using ::vfwprintf;
15315                         using ::vswprintf;
15316                         using ::vwprintf;
15317                         using ::wcrtomb;
15318                         using ::wcscat;
15319                         using ::wcschr;
15320                         using ::wcscmp;
15321                         using ::wcscoll;
15322                         using ::wcscpy;
15323                         using ::wcscspn;
15324                         using ::wcsftime;
15325                         using ::wcslen;
15326                         using ::wcsncat;
15327                         using ::wcsncmp;
15328                         using ::wcsncpy;
15329                         using ::wcspbrk;
15330                         using ::wcsrchr;
15331                         using ::wcsrtombs;
15332                         using ::wcsspn;
15333                         using ::wcsstr;
15334                         using ::wcstod;
15335                         using ::wcstok;
15336                         using ::wcstol;
15337                         using ::wcstoul;
15338                         using ::wcsxfrm;
15339                         using ::wctob;
15340                         using ::wmemchr;
15341                         using ::wmemcmp;
15342                         using ::wmemcpy;
15343                         using ::wmemmove;
15344                         using ::wmemset;
15345                         using ::wprintf;
15346                         using ::wscanf;
15347                       }
15348
15349 int
15350 main ()
15351 {
15352
15353   ;
15354   return 0;
15355 }
15356 _ACEOF
15357 rm -f conftest.$ac_objext
15358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15359   (eval $ac_compile) 2>conftest.er1
15360   ac_status=$?
15361   grep -v '^ *+' conftest.er1 >conftest.err
15362   rm -f conftest.er1
15363   cat conftest.err >&5
15364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365   (exit $ac_status); } &&
15366          { ac_try='test -z "$ac_cxx_werror_flag"
15367                          || test ! -s conftest.err'
15368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369   (eval $ac_try) 2>&5
15370   ac_status=$?
15371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372   (exit $ac_status); }; } &&
15373          { ac_try='test -s conftest.$ac_objext'
15374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375   (eval $ac_try) 2>&5
15376   ac_status=$?
15377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378   (exit $ac_status); }; }; then
15379   :
15380 else
15381   echo "$as_me: failed program was:" >&5
15382 sed 's/^/| /' conftest.$ac_ext >&5
15383
15384 enable_wchar_t=no
15385 fi
15386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15387     else
15388       enable_wchar_t=no
15389     fi
15390
15391     ac_ext=c
15392 ac_cpp='$CPP $CPPFLAGS'
15393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15396
15397   fi
15398
15399   if test x"$enable_wchar_t" = x"yes"; then
15400
15401 cat >>confdefs.h <<\_ACEOF
15402 #define _GLIBCXX_USE_WCHAR_T 1
15403 _ACEOF
15404
15405   fi
15406
15407   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15408 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15409   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15410 echo "${ECHO_T}$enable_wchar_t" >&6
15411
15412
15413
15414    # Check whether --enable-c99 or --disable-c99 was given.
15415 if test "${enable_c99+set}" = set; then
15416   enableval="$enable_c99"
15417
15418       case "$enableval" in
15419        yes|no) ;;
15420        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15421 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15422    { (exit 1); exit 1; }; } ;;
15423       esac
15424
15425 else
15426   enable_c99=yes
15427 fi;
15428
15429
15430   if test x"$enable_c99" = x"yes"; then
15431
15432
15433
15434   ac_ext=cc
15435 ac_cpp='$CXXCPP $CPPFLAGS'
15436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15439
15440
15441   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15442   # undefined and fake C99 facilities - like pre-standard snprintf - may be
15443   # spuriously enabled.
15444   # Long term, -std=c++0x could be even better, could manage to explicitely
15445   # request C99 facilities to the underlying C headers.
15446   ac_save_CXXFLAGS="$CXXFLAGS"
15447   CXXFLAGS="$CXXFLAGS -std=c++98"
15448   ac_save_LIBS="$LIBS"
15449   ac_save_gcc_no_link="$gcc_no_link"
15450
15451   if test x$gcc_no_link != xyes; then
15452     # Use -fno-exceptions to that the C driver can link these tests without
15453     # hitting undefined references to personality routines.
15454     CXXFLAGS="$CXXFLAGS -fno-exceptions"
15455     echo "$as_me:$LINENO: checking for sin in -lm" >&5
15456 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15457 if test "${ac_cv_lib_m_sin+set}" = set; then
15458   echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460   ac_check_lib_save_LIBS=$LIBS
15461 LIBS="-lm  $LIBS"
15462 if test x$gcc_no_link = xyes; then
15463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15465    { (exit 1); exit 1; }; }
15466 fi
15467 cat >conftest.$ac_ext <<_ACEOF
15468 /* confdefs.h.  */
15469 _ACEOF
15470 cat confdefs.h >>conftest.$ac_ext
15471 cat >>conftest.$ac_ext <<_ACEOF
15472 /* end confdefs.h.  */
15473
15474 /* Override any gcc2 internal prototype to avoid an error.  */
15475 #ifdef __cplusplus
15476 extern "C"
15477 #endif
15478 /* We use char because int might match the return type of a gcc2
15479    builtin and then its argument prototype would still apply.  */
15480 char sin ();
15481 int
15482 main ()
15483 {
15484 sin ();
15485   ;
15486   return 0;
15487 }
15488 _ACEOF
15489 rm -f conftest.$ac_objext conftest$ac_exeext
15490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15491   (eval $ac_link) 2>conftest.er1
15492   ac_status=$?
15493   grep -v '^ *+' conftest.er1 >conftest.err
15494   rm -f conftest.er1
15495   cat conftest.err >&5
15496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497   (exit $ac_status); } &&
15498          { ac_try='test -z "$ac_cxx_werror_flag"
15499                          || test ! -s conftest.err'
15500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501   (eval $ac_try) 2>&5
15502   ac_status=$?
15503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504   (exit $ac_status); }; } &&
15505          { ac_try='test -s conftest$ac_exeext'
15506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15507   (eval $ac_try) 2>&5
15508   ac_status=$?
15509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510   (exit $ac_status); }; }; then
15511   ac_cv_lib_m_sin=yes
15512 else
15513   echo "$as_me: failed program was:" >&5
15514 sed 's/^/| /' conftest.$ac_ext >&5
15515
15516 ac_cv_lib_m_sin=no
15517 fi
15518 rm -f conftest.err conftest.$ac_objext \
15519       conftest$ac_exeext conftest.$ac_ext
15520 LIBS=$ac_check_lib_save_LIBS
15521 fi
15522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15523 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15524 if test $ac_cv_lib_m_sin = yes; then
15525
15526       LIBS="$LIBS -lm"
15527
15528 else
15529
15530       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15531       gcc_no_link=yes
15532
15533 fi
15534
15535   fi
15536
15537   # Check for the existence of <math.h> functions used if C99 is enabled.
15538   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15539 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15540   if test "${ac_c99_math+set}" = set; then
15541   echo $ECHO_N "(cached) $ECHO_C" >&6
15542 else
15543
15544   if test x$gcc_no_link = xyes; then
15545   cat >conftest.$ac_ext <<_ACEOF
15546 /* confdefs.h.  */
15547 _ACEOF
15548 cat confdefs.h >>conftest.$ac_ext
15549 cat >>conftest.$ac_ext <<_ACEOF
15550 /* end confdefs.h.  */
15551 #include <math.h>
15552       volatile double d1, d2;
15553       volatile int i;
15554 int
15555 main ()
15556 {
15557 i = fpclassify(d1);
15558       i = isfinite(d1);
15559       i = isinf(d1);
15560       i = isnan(d1);
15561       i = isnormal(d1);
15562       i = signbit(d1);
15563       i = isgreater(d1, d2);
15564       i = isgreaterequal(d1, d2);
15565       i = isless(d1, d2);
15566       i = islessequal(d1, d2);
15567       i = islessgreater(d1, d2);
15568       i = islessgreater(d1, d2);
15569       i = isunordered(d1, d2);
15570
15571   ;
15572   return 0;
15573 }
15574 _ACEOF
15575 rm -f conftest.$ac_objext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15577   (eval $ac_compile) 2>conftest.er1
15578   ac_status=$?
15579   grep -v '^ *+' conftest.er1 >conftest.err
15580   rm -f conftest.er1
15581   cat conftest.err >&5
15582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583   (exit $ac_status); } &&
15584          { ac_try='test -z "$ac_cxx_werror_flag"
15585                          || test ! -s conftest.err'
15586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587   (eval $ac_try) 2>&5
15588   ac_status=$?
15589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590   (exit $ac_status); }; } &&
15591          { ac_try='test -s conftest.$ac_objext'
15592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593   (eval $ac_try) 2>&5
15594   ac_status=$?
15595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596   (exit $ac_status); }; }; then
15597   ac_c99_math=yes
15598 else
15599   echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15601
15602 ac_c99_math=no
15603 fi
15604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15605 else
15606   if test x$gcc_no_link = xyes; then
15607   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15609    { (exit 1); exit 1; }; }
15610 fi
15611 cat >conftest.$ac_ext <<_ACEOF
15612 /* confdefs.h.  */
15613 _ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h.  */
15617 #include <math.h>
15618       volatile double d1, d2;
15619       volatile int i;
15620 int
15621 main ()
15622 {
15623 i = fpclassify(d1);
15624       i = isfinite(d1);
15625       i = isinf(d1);
15626       i = isnan(d1);
15627       i = isnormal(d1);
15628       i = signbit(d1);
15629       i = isgreater(d1, d2);
15630       i = isgreaterequal(d1, d2);
15631       i = isless(d1, d2);
15632       i = islessequal(d1, d2);
15633       i = islessgreater(d1, d2);
15634       i = islessgreater(d1, d2);
15635       i = isunordered(d1, d2);
15636
15637   ;
15638   return 0;
15639 }
15640 _ACEOF
15641 rm -f conftest.$ac_objext conftest$ac_exeext
15642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15643   (eval $ac_link) 2>conftest.er1
15644   ac_status=$?
15645   grep -v '^ *+' conftest.er1 >conftest.err
15646   rm -f conftest.er1
15647   cat conftest.err >&5
15648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649   (exit $ac_status); } &&
15650          { ac_try='test -z "$ac_cxx_werror_flag"
15651                          || test ! -s conftest.err'
15652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15653   (eval $ac_try) 2>&5
15654   ac_status=$?
15655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656   (exit $ac_status); }; } &&
15657          { ac_try='test -s conftest$ac_exeext'
15658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659   (eval $ac_try) 2>&5
15660   ac_status=$?
15661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662   (exit $ac_status); }; }; then
15663   ac_c99_math=yes
15664 else
15665   echo "$as_me: failed program was:" >&5
15666 sed 's/^/| /' conftest.$ac_ext >&5
15667
15668 ac_c99_math=no
15669 fi
15670 rm -f conftest.err conftest.$ac_objext \
15671       conftest$ac_exeext conftest.$ac_ext
15672 fi
15673
15674 fi
15675
15676   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15677 echo "${ECHO_T}$ac_c99_math" >&6
15678   if test x"$ac_c99_math" = x"yes"; then
15679
15680 cat >>confdefs.h <<\_ACEOF
15681 #define _GLIBCXX_USE_C99_MATH 1
15682 _ACEOF
15683
15684   fi
15685
15686   # Check for the existence of <complex.h> complex math functions.
15687   # This is necessary even though libstdc++ uses the builtin versions
15688   # of these functions, because if the builtin cannot be used, a reference
15689   # to the library function is emitted.
15690
15691 for ac_header in tgmath.h
15692 do
15693 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15695   echo "$as_me:$LINENO: checking for $ac_header" >&5
15696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15698   echo $ECHO_N "(cached) $ECHO_C" >&6
15699 fi
15700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15702 else
15703   # Is the header compilable?
15704 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15705 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15706 cat >conftest.$ac_ext <<_ACEOF
15707 /* confdefs.h.  */
15708 _ACEOF
15709 cat confdefs.h >>conftest.$ac_ext
15710 cat >>conftest.$ac_ext <<_ACEOF
15711 /* end confdefs.h.  */
15712 $ac_includes_default
15713 #include <$ac_header>
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717   (eval $ac_compile) 2>conftest.er1
15718   ac_status=$?
15719   grep -v '^ *+' conftest.er1 >conftest.err
15720   rm -f conftest.er1
15721   cat conftest.err >&5
15722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723   (exit $ac_status); } &&
15724          { ac_try='test -z "$ac_cxx_werror_flag"
15725                          || test ! -s conftest.err'
15726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15727   (eval $ac_try) 2>&5
15728   ac_status=$?
15729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730   (exit $ac_status); }; } &&
15731          { ac_try='test -s conftest.$ac_objext'
15732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733   (eval $ac_try) 2>&5
15734   ac_status=$?
15735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736   (exit $ac_status); }; }; then
15737   ac_header_compiler=yes
15738 else
15739   echo "$as_me: failed program was:" >&5
15740 sed 's/^/| /' conftest.$ac_ext >&5
15741
15742 ac_header_compiler=no
15743 fi
15744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15746 echo "${ECHO_T}$ac_header_compiler" >&6
15747
15748 # Is the header present?
15749 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15750 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15751 cat >conftest.$ac_ext <<_ACEOF
15752 /* confdefs.h.  */
15753 _ACEOF
15754 cat confdefs.h >>conftest.$ac_ext
15755 cat >>conftest.$ac_ext <<_ACEOF
15756 /* end confdefs.h.  */
15757 #include <$ac_header>
15758 _ACEOF
15759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15760   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15761   ac_status=$?
15762   grep -v '^ *+' conftest.er1 >conftest.err
15763   rm -f conftest.er1
15764   cat conftest.err >&5
15765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766   (exit $ac_status); } >/dev/null; then
15767   if test -s conftest.err; then
15768     ac_cpp_err=$ac_cxx_preproc_warn_flag
15769     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15770   else
15771     ac_cpp_err=
15772   fi
15773 else
15774   ac_cpp_err=yes
15775 fi
15776 if test -z "$ac_cpp_err"; then
15777   ac_header_preproc=yes
15778 else
15779   echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15781
15782   ac_header_preproc=no
15783 fi
15784 rm -f conftest.err conftest.$ac_ext
15785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15786 echo "${ECHO_T}$ac_header_preproc" >&6
15787
15788 # So?  What about this header?
15789 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15790   yes:no: )
15791     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15792 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15793     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15794 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15795     ac_header_preproc=yes
15796     ;;
15797   no:yes:* )
15798     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15799 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15800     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15801 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15802     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15803 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15804     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15805 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15806     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15807 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15808     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15809 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15810     (
15811       cat <<\_ASBOX
15812 ## ----------------------------------------- ##
15813 ## Report this to the package-unused lists.  ##
15814 ## ----------------------------------------- ##
15815 _ASBOX
15816     ) |
15817       sed "s/^/$as_me: WARNING:     /" >&2
15818     ;;
15819 esac
15820 echo "$as_me:$LINENO: checking for $ac_header" >&5
15821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15823   echo $ECHO_N "(cached) $ECHO_C" >&6
15824 else
15825   eval "$as_ac_Header=\$ac_header_preproc"
15826 fi
15827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15829
15830 fi
15831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15832   cat >>confdefs.h <<_ACEOF
15833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15834 _ACEOF
15835  ac_has_tgmath_h=yes
15836 else
15837   ac_has_tgmath_h=no
15838 fi
15839
15840 done
15841
15842
15843 for ac_header in complex.h
15844 do
15845 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15847   echo "$as_me:$LINENO: checking for $ac_header" >&5
15848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15850   echo $ECHO_N "(cached) $ECHO_C" >&6
15851 fi
15852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15854 else
15855   # Is the header compilable?
15856 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15857 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h.  */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h.  */
15864 $ac_includes_default
15865 #include <$ac_header>
15866 _ACEOF
15867 rm -f conftest.$ac_objext
15868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15869   (eval $ac_compile) 2>conftest.er1
15870   ac_status=$?
15871   grep -v '^ *+' conftest.er1 >conftest.err
15872   rm -f conftest.er1
15873   cat conftest.err >&5
15874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875   (exit $ac_status); } &&
15876          { ac_try='test -z "$ac_cxx_werror_flag"
15877                          || test ! -s conftest.err'
15878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879   (eval $ac_try) 2>&5
15880   ac_status=$?
15881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882   (exit $ac_status); }; } &&
15883          { ac_try='test -s conftest.$ac_objext'
15884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885   (eval $ac_try) 2>&5
15886   ac_status=$?
15887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888   (exit $ac_status); }; }; then
15889   ac_header_compiler=yes
15890 else
15891   echo "$as_me: failed program was:" >&5
15892 sed 's/^/| /' conftest.$ac_ext >&5
15893
15894 ac_header_compiler=no
15895 fi
15896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15898 echo "${ECHO_T}$ac_header_compiler" >&6
15899
15900 # Is the header present?
15901 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15903 cat >conftest.$ac_ext <<_ACEOF
15904 /* confdefs.h.  */
15905 _ACEOF
15906 cat confdefs.h >>conftest.$ac_ext
15907 cat >>conftest.$ac_ext <<_ACEOF
15908 /* end confdefs.h.  */
15909 #include <$ac_header>
15910 _ACEOF
15911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15912   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15913   ac_status=$?
15914   grep -v '^ *+' conftest.er1 >conftest.err
15915   rm -f conftest.er1
15916   cat conftest.err >&5
15917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918   (exit $ac_status); } >/dev/null; then
15919   if test -s conftest.err; then
15920     ac_cpp_err=$ac_cxx_preproc_warn_flag
15921     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15922   else
15923     ac_cpp_err=
15924   fi
15925 else
15926   ac_cpp_err=yes
15927 fi
15928 if test -z "$ac_cpp_err"; then
15929   ac_header_preproc=yes
15930 else
15931   echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.$ac_ext >&5
15933
15934   ac_header_preproc=no
15935 fi
15936 rm -f conftest.err conftest.$ac_ext
15937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15938 echo "${ECHO_T}$ac_header_preproc" >&6
15939
15940 # So?  What about this header?
15941 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15942   yes:no: )
15943     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15945     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15946 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15947     ac_header_preproc=yes
15948     ;;
15949   no:yes:* )
15950     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15952     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15953 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15954     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15955 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15956     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15957 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15958     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15960     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15961 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15962     (
15963       cat <<\_ASBOX
15964 ## ----------------------------------------- ##
15965 ## Report this to the package-unused lists.  ##
15966 ## ----------------------------------------- ##
15967 _ASBOX
15968     ) |
15969       sed "s/^/$as_me: WARNING:     /" >&2
15970     ;;
15971 esac
15972 echo "$as_me:$LINENO: checking for $ac_header" >&5
15973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15975   echo $ECHO_N "(cached) $ECHO_C" >&6
15976 else
15977   eval "$as_ac_Header=\$ac_header_preproc"
15978 fi
15979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15981
15982 fi
15983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15984   cat >>confdefs.h <<_ACEOF
15985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15986 _ACEOF
15987  ac_has_complex_h=yes
15988 else
15989   ac_has_complex_h=no
15990 fi
15991
15992 done
15993
15994   ac_c99_complex=no;
15995   if test x"$ac_has_complex_h" = x"yes"; then
15996     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
15997 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
15998     if test x$gcc_no_link = xyes; then
15999   cat >conftest.$ac_ext <<_ACEOF
16000 /* confdefs.h.  */
16001 _ACEOF
16002 cat confdefs.h >>conftest.$ac_ext
16003 cat >>conftest.$ac_ext <<_ACEOF
16004 /* end confdefs.h.  */
16005 #include <complex.h>
16006         typedef __complex__ float float_type;
16007         typedef __complex__ double double_type;
16008         typedef __complex__ long double ld_type;
16009         volatile float_type tmpf;
16010         volatile double_type tmpd;
16011         volatile ld_type tmpld;
16012         volatile float f;
16013         volatile double d;
16014         volatile long double ld;
16015 int
16016 main ()
16017 {
16018 f = cabsf(tmpf);
16019         f = cargf(tmpf);
16020         tmpf = ccosf(tmpf);
16021         tmpf = ccoshf(tmpf);
16022         tmpf = cexpf(tmpf);
16023         tmpf = clogf(tmpf);
16024         tmpf = csinf(tmpf);
16025         tmpf = csinhf(tmpf);
16026         tmpf = csqrtf(tmpf);
16027         tmpf = ctanf(tmpf);
16028         tmpf = ctanhf(tmpf);
16029         tmpf = cpowf(tmpf, tmpf);
16030         d = cabs(tmpd);
16031         d = carg(tmpd);
16032         tmpd = ccos(tmpd);
16033         tmpd = ccosh(tmpd);
16034         tmpd = cexp(tmpd);
16035         tmpd = clog(tmpd);
16036         tmpd = csin(tmpd);
16037         tmpd = csinh(tmpd);
16038         tmpd = csqrt(tmpd);
16039         tmpd = ctan(tmpd);
16040         tmpd = ctanh(tmpd);
16041         tmpd = cpow(tmpd, tmpd);
16042         ld = cabsl(tmpld);
16043         ld = cargl(tmpld);
16044         tmpld = ccosl(tmpld);
16045         tmpld = ccoshl(tmpld);
16046         tmpld = cexpl(tmpld);
16047         tmpld = clogl(tmpld);
16048         tmpld = csinl(tmpld);
16049         tmpld = csinhl(tmpld);
16050         tmpld = csqrtl(tmpld);
16051         tmpld = ctanl(tmpld);
16052         tmpld = ctanhl(tmpld);
16053         tmpld = cpowl(tmpld, tmpld);
16054
16055   ;
16056   return 0;
16057 }
16058 _ACEOF
16059 rm -f conftest.$ac_objext
16060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16061   (eval $ac_compile) 2>conftest.er1
16062   ac_status=$?
16063   grep -v '^ *+' conftest.er1 >conftest.err
16064   rm -f conftest.er1
16065   cat conftest.err >&5
16066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067   (exit $ac_status); } &&
16068          { ac_try='test -z "$ac_cxx_werror_flag"
16069                          || test ! -s conftest.err'
16070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16071   (eval $ac_try) 2>&5
16072   ac_status=$?
16073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074   (exit $ac_status); }; } &&
16075          { ac_try='test -s conftest.$ac_objext'
16076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16077   (eval $ac_try) 2>&5
16078   ac_status=$?
16079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080   (exit $ac_status); }; }; then
16081   ac_c99_complex=yes
16082 else
16083   echo "$as_me: failed program was:" >&5
16084 sed 's/^/| /' conftest.$ac_ext >&5
16085
16086 ac_c99_complex=no
16087 fi
16088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16089 else
16090   if test x$gcc_no_link = xyes; then
16091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16093    { (exit 1); exit 1; }; }
16094 fi
16095 cat >conftest.$ac_ext <<_ACEOF
16096 /* confdefs.h.  */
16097 _ACEOF
16098 cat confdefs.h >>conftest.$ac_ext
16099 cat >>conftest.$ac_ext <<_ACEOF
16100 /* end confdefs.h.  */
16101 #include <complex.h>
16102         typedef __complex__ float float_type;
16103         typedef __complex__ double double_type;
16104         typedef __complex__ long double ld_type;
16105         volatile float_type tmpf;
16106         volatile double_type tmpd;
16107         volatile ld_type tmpld;
16108         volatile float f;
16109         volatile double d;
16110         volatile long double ld;
16111 int
16112 main ()
16113 {
16114 f = cabsf(tmpf);
16115         f = cargf(tmpf);
16116         tmpf = ccosf(tmpf);
16117         tmpf = ccoshf(tmpf);
16118         tmpf = cexpf(tmpf);
16119         tmpf = clogf(tmpf);
16120         tmpf = csinf(tmpf);
16121         tmpf = csinhf(tmpf);
16122         tmpf = csqrtf(tmpf);
16123         tmpf = ctanf(tmpf);
16124         tmpf = ctanhf(tmpf);
16125         tmpf = cpowf(tmpf, tmpf);
16126         d = cabs(tmpd);
16127         d = carg(tmpd);
16128         tmpd = ccos(tmpd);
16129         tmpd = ccosh(tmpd);
16130         tmpd = cexp(tmpd);
16131         tmpd = clog(tmpd);
16132         tmpd = csin(tmpd);
16133         tmpd = csinh(tmpd);
16134         tmpd = csqrt(tmpd);
16135         tmpd = ctan(tmpd);
16136         tmpd = ctanh(tmpd);
16137         tmpd = cpow(tmpd, tmpd);
16138         ld = cabsl(tmpld);
16139         ld = cargl(tmpld);
16140         tmpld = ccosl(tmpld);
16141         tmpld = ccoshl(tmpld);
16142         tmpld = cexpl(tmpld);
16143         tmpld = clogl(tmpld);
16144         tmpld = csinl(tmpld);
16145         tmpld = csinhl(tmpld);
16146         tmpld = csqrtl(tmpld);
16147         tmpld = ctanl(tmpld);
16148         tmpld = ctanhl(tmpld);
16149         tmpld = cpowl(tmpld, tmpld);
16150
16151   ;
16152   return 0;
16153 }
16154 _ACEOF
16155 rm -f conftest.$ac_objext conftest$ac_exeext
16156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16157   (eval $ac_link) 2>conftest.er1
16158   ac_status=$?
16159   grep -v '^ *+' conftest.er1 >conftest.err
16160   rm -f conftest.er1
16161   cat conftest.err >&5
16162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163   (exit $ac_status); } &&
16164          { ac_try='test -z "$ac_cxx_werror_flag"
16165                          || test ! -s conftest.err'
16166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167   (eval $ac_try) 2>&5
16168   ac_status=$?
16169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170   (exit $ac_status); }; } &&
16171          { ac_try='test -s conftest$ac_exeext'
16172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173   (eval $ac_try) 2>&5
16174   ac_status=$?
16175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176   (exit $ac_status); }; }; then
16177   ac_c99_complex=yes
16178 else
16179   echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16181
16182 ac_c99_complex=no
16183 fi
16184 rm -f conftest.err conftest.$ac_objext \
16185       conftest$ac_exeext conftest.$ac_ext
16186 fi
16187   fi
16188   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16189 echo "${ECHO_T}$ac_c99_complex" >&6
16190   if test x"$ac_c99_complex" = x"yes"; then
16191
16192 cat >>confdefs.h <<\_ACEOF
16193 #define _GLIBCXX_USE_C99_COMPLEX 1
16194 _ACEOF
16195
16196   fi
16197
16198   # Check for the existence in <stdio.h> of vscanf, et. al.
16199   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16200 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16201   if test "${ac_c99_stdio+set}" = set; then
16202   echo $ECHO_N "(cached) $ECHO_C" >&6
16203 else
16204
16205   if test x$gcc_no_link = xyes; then
16206   cat >conftest.$ac_ext <<_ACEOF
16207 /* confdefs.h.  */
16208 _ACEOF
16209 cat confdefs.h >>conftest.$ac_ext
16210 cat >>conftest.$ac_ext <<_ACEOF
16211 /* end confdefs.h.  */
16212 #include <stdio.h>
16213       #include <stdarg.h>
16214       void foo(char* fmt, ...)
16215       {
16216         va_list args; va_start(args, fmt);
16217         vfscanf(stderr, "%i", args);
16218         vscanf("%i", args);
16219         vsnprintf(fmt, 0, "%i", args);
16220         vsscanf(fmt, "%i", args);
16221       }
16222 int
16223 main ()
16224 {
16225 snprintf("12", 0, "%i");
16226   ;
16227   return 0;
16228 }
16229 _ACEOF
16230 rm -f conftest.$ac_objext
16231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16232   (eval $ac_compile) 2>conftest.er1
16233   ac_status=$?
16234   grep -v '^ *+' conftest.er1 >conftest.err
16235   rm -f conftest.er1
16236   cat conftest.err >&5
16237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238   (exit $ac_status); } &&
16239          { ac_try='test -z "$ac_cxx_werror_flag"
16240                          || test ! -s conftest.err'
16241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16242   (eval $ac_try) 2>&5
16243   ac_status=$?
16244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245   (exit $ac_status); }; } &&
16246          { ac_try='test -s conftest.$ac_objext'
16247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16248   (eval $ac_try) 2>&5
16249   ac_status=$?
16250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251   (exit $ac_status); }; }; then
16252   ac_c99_stdio=yes
16253 else
16254   echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16256
16257 ac_c99_stdio=no
16258 fi
16259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16260 else
16261   if test x$gcc_no_link = xyes; then
16262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16264    { (exit 1); exit 1; }; }
16265 fi
16266 cat >conftest.$ac_ext <<_ACEOF
16267 /* confdefs.h.  */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h.  */
16272 #include <stdio.h>
16273       #include <stdarg.h>
16274       void foo(char* fmt, ...)
16275       {
16276         va_list args; va_start(args, fmt);
16277         vfscanf(stderr, "%i", args);
16278         vscanf("%i", args);
16279         vsnprintf(fmt, 0, "%i", args);
16280         vsscanf(fmt, "%i", args);
16281       }
16282 int
16283 main ()
16284 {
16285 snprintf("12", 0, "%i");
16286   ;
16287   return 0;
16288 }
16289 _ACEOF
16290 rm -f conftest.$ac_objext conftest$ac_exeext
16291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16292   (eval $ac_link) 2>conftest.er1
16293   ac_status=$?
16294   grep -v '^ *+' conftest.er1 >conftest.err
16295   rm -f conftest.er1
16296   cat conftest.err >&5
16297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298   (exit $ac_status); } &&
16299          { ac_try='test -z "$ac_cxx_werror_flag"
16300                          || test ! -s conftest.err'
16301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302   (eval $ac_try) 2>&5
16303   ac_status=$?
16304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305   (exit $ac_status); }; } &&
16306          { ac_try='test -s conftest$ac_exeext'
16307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308   (eval $ac_try) 2>&5
16309   ac_status=$?
16310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311   (exit $ac_status); }; }; then
16312   ac_c99_stdio=yes
16313 else
16314   echo "$as_me: failed program was:" >&5
16315 sed 's/^/| /' conftest.$ac_ext >&5
16316
16317 ac_c99_stdio=no
16318 fi
16319 rm -f conftest.err conftest.$ac_objext \
16320       conftest$ac_exeext conftest.$ac_ext
16321 fi
16322
16323 fi
16324
16325   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16326 echo "${ECHO_T}$ac_c99_stdio" >&6
16327
16328   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16329   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16330 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16331   if test "${ac_c99_stdlib+set}" = set; then
16332   echo $ECHO_N "(cached) $ECHO_C" >&6
16333 else
16334
16335   if test x$gcc_no_link = xyes; then
16336   cat >conftest.$ac_ext <<_ACEOF
16337 /* confdefs.h.  */
16338 _ACEOF
16339 cat confdefs.h >>conftest.$ac_ext
16340 cat >>conftest.$ac_ext <<_ACEOF
16341 /* end confdefs.h.  */
16342 #include <stdlib.h>
16343       volatile float f;
16344       volatile long double ld;
16345       volatile unsigned long long ll;
16346       lldiv_t mydivt;
16347 int
16348 main ()
16349 {
16350 char* tmp;
16351       f = strtof("gnu", &tmp);
16352       ld = strtold("gnu", &tmp);
16353       ll = strtoll("gnu", &tmp, 10);
16354       ll = strtoull("gnu", &tmp, 10);
16355       ll = llabs(10);
16356       mydivt = lldiv(10,1);
16357       ll = mydivt.quot;
16358       ll = mydivt.rem;
16359       ll = atoll("10");
16360       _Exit(0);
16361
16362   ;
16363   return 0;
16364 }
16365 _ACEOF
16366 rm -f conftest.$ac_objext
16367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16368   (eval $ac_compile) 2>conftest.er1
16369   ac_status=$?
16370   grep -v '^ *+' conftest.er1 >conftest.err
16371   rm -f conftest.er1
16372   cat conftest.err >&5
16373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374   (exit $ac_status); } &&
16375          { ac_try='test -z "$ac_cxx_werror_flag"
16376                          || test ! -s conftest.err'
16377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378   (eval $ac_try) 2>&5
16379   ac_status=$?
16380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381   (exit $ac_status); }; } &&
16382          { ac_try='test -s conftest.$ac_objext'
16383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16384   (eval $ac_try) 2>&5
16385   ac_status=$?
16386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387   (exit $ac_status); }; }; then
16388   ac_c99_stdlib=yes
16389 else
16390   echo "$as_me: failed program was:" >&5
16391 sed 's/^/| /' conftest.$ac_ext >&5
16392
16393 ac_c99_stdlib=no
16394 fi
16395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16396 else
16397   if test x$gcc_no_link = xyes; then
16398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16400    { (exit 1); exit 1; }; }
16401 fi
16402 cat >conftest.$ac_ext <<_ACEOF
16403 /* confdefs.h.  */
16404 _ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h.  */
16408 #include <stdlib.h>
16409       volatile float f;
16410       volatile long double ld;
16411       volatile unsigned long long ll;
16412       lldiv_t mydivt;
16413 int
16414 main ()
16415 {
16416 char* tmp;
16417       f = strtof("gnu", &tmp);
16418       ld = strtold("gnu", &tmp);
16419       ll = strtoll("gnu", &tmp, 10);
16420       ll = strtoull("gnu", &tmp, 10);
16421       ll = llabs(10);
16422       mydivt = lldiv(10,1);
16423       ll = mydivt.quot;
16424       ll = mydivt.rem;
16425       ll = atoll("10");
16426       _Exit(0);
16427
16428   ;
16429   return 0;
16430 }
16431 _ACEOF
16432 rm -f conftest.$ac_objext conftest$ac_exeext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16434   (eval $ac_link) 2>conftest.er1
16435   ac_status=$?
16436   grep -v '^ *+' conftest.er1 >conftest.err
16437   rm -f conftest.er1
16438   cat conftest.err >&5
16439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440   (exit $ac_status); } &&
16441          { ac_try='test -z "$ac_cxx_werror_flag"
16442                          || test ! -s conftest.err'
16443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444   (eval $ac_try) 2>&5
16445   ac_status=$?
16446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447   (exit $ac_status); }; } &&
16448          { ac_try='test -s conftest$ac_exeext'
16449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450   (eval $ac_try) 2>&5
16451   ac_status=$?
16452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453   (exit $ac_status); }; }; then
16454   ac_c99_stdlib=yes
16455 else
16456   echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.$ac_ext >&5
16458
16459 ac_c99_stdlib=no
16460 fi
16461 rm -f conftest.err conftest.$ac_objext \
16462       conftest$ac_exeext conftest.$ac_ext
16463 fi
16464
16465 fi
16466
16467   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16468 echo "${ECHO_T}$ac_c99_stdlib" >&6
16469
16470   # Check for the existence in <wchar.h> of wcstold, etc.
16471   ac_c99_wchar=no;
16472   if test x"$ac_has_wchar_h" = xyes &&
16473      test x"$ac_has_wctype_h" = xyes; then
16474     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16475 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16476     cat >conftest.$ac_ext <<_ACEOF
16477 /* confdefs.h.  */
16478 _ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h.  */
16482 #include <wchar.h>
16483                     namespace test
16484                     {
16485                       using ::wcstold;
16486                       using ::wcstoll;
16487                       using ::wcstoull;
16488                     }
16489
16490 int
16491 main ()
16492 {
16493
16494   ;
16495   return 0;
16496 }
16497 _ACEOF
16498 rm -f conftest.$ac_objext
16499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16500   (eval $ac_compile) 2>conftest.er1
16501   ac_status=$?
16502   grep -v '^ *+' conftest.er1 >conftest.err
16503   rm -f conftest.er1
16504   cat conftest.err >&5
16505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506   (exit $ac_status); } &&
16507          { ac_try='test -z "$ac_cxx_werror_flag"
16508                          || test ! -s conftest.err'
16509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16510   (eval $ac_try) 2>&5
16511   ac_status=$?
16512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513   (exit $ac_status); }; } &&
16514          { ac_try='test -s conftest.$ac_objext'
16515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516   (eval $ac_try) 2>&5
16517   ac_status=$?
16518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519   (exit $ac_status); }; }; then
16520   ac_c99_wchar=yes
16521 else
16522   echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16524
16525 ac_c99_wchar=no
16526 fi
16527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16528
16529     # Checks for wide character functions that may not be present.
16530     # Injection of these is wrapped with guard macros.
16531     # NB: only put functions here, instead of immediately above, if
16532     # absolutely necessary.
16533     cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h.  */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h.  */
16539 #include <wchar.h>
16540                     namespace test { using ::vfwscanf; }
16541 int
16542 main ()
16543 {
16544
16545   ;
16546   return 0;
16547 }
16548 _ACEOF
16549 rm -f conftest.$ac_objext
16550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16551   (eval $ac_compile) 2>conftest.er1
16552   ac_status=$?
16553   grep -v '^ *+' conftest.er1 >conftest.err
16554   rm -f conftest.er1
16555   cat conftest.err >&5
16556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557   (exit $ac_status); } &&
16558          { ac_try='test -z "$ac_cxx_werror_flag"
16559                          || test ! -s conftest.err'
16560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561   (eval $ac_try) 2>&5
16562   ac_status=$?
16563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564   (exit $ac_status); }; } &&
16565          { ac_try='test -s conftest.$ac_objext'
16566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567   (eval $ac_try) 2>&5
16568   ac_status=$?
16569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570   (exit $ac_status); }; }; then
16571
16572 cat >>confdefs.h <<\_ACEOF
16573 #define HAVE_VFWSCANF 1
16574 _ACEOF
16575
16576 else
16577   echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16579
16580 fi
16581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16582
16583     cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h.  */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h.  */
16589 #include <wchar.h>
16590                     namespace test { using ::vswscanf; }
16591 int
16592 main ()
16593 {
16594
16595   ;
16596   return 0;
16597 }
16598 _ACEOF
16599 rm -f conftest.$ac_objext
16600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16601   (eval $ac_compile) 2>conftest.er1
16602   ac_status=$?
16603   grep -v '^ *+' conftest.er1 >conftest.err
16604   rm -f conftest.er1
16605   cat conftest.err >&5
16606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607   (exit $ac_status); } &&
16608          { ac_try='test -z "$ac_cxx_werror_flag"
16609                          || test ! -s conftest.err'
16610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611   (eval $ac_try) 2>&5
16612   ac_status=$?
16613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614   (exit $ac_status); }; } &&
16615          { ac_try='test -s conftest.$ac_objext'
16616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617   (eval $ac_try) 2>&5
16618   ac_status=$?
16619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620   (exit $ac_status); }; }; then
16621
16622 cat >>confdefs.h <<\_ACEOF
16623 #define HAVE_VSWSCANF 1
16624 _ACEOF
16625
16626 else
16627   echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16629
16630 fi
16631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16632
16633     cat >conftest.$ac_ext <<_ACEOF
16634 /* confdefs.h.  */
16635 _ACEOF
16636 cat confdefs.h >>conftest.$ac_ext
16637 cat >>conftest.$ac_ext <<_ACEOF
16638 /* end confdefs.h.  */
16639 #include <wchar.h>
16640                     namespace test { using ::vwscanf; }
16641 int
16642 main ()
16643 {
16644
16645   ;
16646   return 0;
16647 }
16648 _ACEOF
16649 rm -f conftest.$ac_objext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16651   (eval $ac_compile) 2>conftest.er1
16652   ac_status=$?
16653   grep -v '^ *+' conftest.er1 >conftest.err
16654   rm -f conftest.er1
16655   cat conftest.err >&5
16656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657   (exit $ac_status); } &&
16658          { ac_try='test -z "$ac_cxx_werror_flag"
16659                          || test ! -s conftest.err'
16660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661   (eval $ac_try) 2>&5
16662   ac_status=$?
16663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664   (exit $ac_status); }; } &&
16665          { ac_try='test -s conftest.$ac_objext'
16666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16667   (eval $ac_try) 2>&5
16668   ac_status=$?
16669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670   (exit $ac_status); }; }; then
16671
16672 cat >>confdefs.h <<\_ACEOF
16673 #define HAVE_VWSCANF 1
16674 _ACEOF
16675
16676 else
16677   echo "$as_me: failed program was:" >&5
16678 sed 's/^/| /' conftest.$ac_ext >&5
16679
16680 fi
16681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16682
16683     cat >conftest.$ac_ext <<_ACEOF
16684 /* confdefs.h.  */
16685 _ACEOF
16686 cat confdefs.h >>conftest.$ac_ext
16687 cat >>conftest.$ac_ext <<_ACEOF
16688 /* end confdefs.h.  */
16689 #include <wchar.h>
16690                     namespace test { using ::wcstof; }
16691 int
16692 main ()
16693 {
16694
16695   ;
16696   return 0;
16697 }
16698 _ACEOF
16699 rm -f conftest.$ac_objext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16701   (eval $ac_compile) 2>conftest.er1
16702   ac_status=$?
16703   grep -v '^ *+' conftest.er1 >conftest.err
16704   rm -f conftest.er1
16705   cat conftest.err >&5
16706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707   (exit $ac_status); } &&
16708          { ac_try='test -z "$ac_cxx_werror_flag"
16709                          || test ! -s conftest.err'
16710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711   (eval $ac_try) 2>&5
16712   ac_status=$?
16713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714   (exit $ac_status); }; } &&
16715          { ac_try='test -s conftest.$ac_objext'
16716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717   (eval $ac_try) 2>&5
16718   ac_status=$?
16719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720   (exit $ac_status); }; }; then
16721
16722 cat >>confdefs.h <<\_ACEOF
16723 #define HAVE_WCSTOF 1
16724 _ACEOF
16725
16726 else
16727   echo "$as_me: failed program was:" >&5
16728 sed 's/^/| /' conftest.$ac_ext >&5
16729
16730 fi
16731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16732
16733     cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h.  */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h.  */
16739 #include <wctype.h>
16740 int
16741 main ()
16742 {
16743  wint_t t; int i = iswblank(t);
16744   ;
16745   return 0;
16746 }
16747 _ACEOF
16748 rm -f conftest.$ac_objext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16750   (eval $ac_compile) 2>conftest.er1
16751   ac_status=$?
16752   grep -v '^ *+' conftest.er1 >conftest.err
16753   rm -f conftest.er1
16754   cat conftest.err >&5
16755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756   (exit $ac_status); } &&
16757          { ac_try='test -z "$ac_cxx_werror_flag"
16758                          || test ! -s conftest.err'
16759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16760   (eval $ac_try) 2>&5
16761   ac_status=$?
16762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763   (exit $ac_status); }; } &&
16764          { ac_try='test -s conftest.$ac_objext'
16765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16766   (eval $ac_try) 2>&5
16767   ac_status=$?
16768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769   (exit $ac_status); }; }; then
16770
16771 cat >>confdefs.h <<\_ACEOF
16772 #define HAVE_ISWBLANK 1
16773 _ACEOF
16774
16775 else
16776   echo "$as_me: failed program was:" >&5
16777 sed 's/^/| /' conftest.$ac_ext >&5
16778
16779 fi
16780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16781
16782     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16783 echo "${ECHO_T}$ac_c99_wchar" >&6
16784   fi
16785
16786   # Option parsed, now set things appropriately.
16787   if test x"$ac_c99_math" = x"no" ||
16788      test x"$ac_c99_complex" = x"no" ||
16789      test x"$ac_c99_stdio" = x"no" ||
16790      test x"$ac_c99_stdlib" = x"no" ||
16791      test x"$ac_c99_wchar" = x"no"; then
16792     enable_c99=no;
16793   else
16794
16795 cat >>confdefs.h <<\_ACEOF
16796 #define _GLIBCXX_USE_C99 1
16797 _ACEOF
16798
16799   fi
16800
16801   gcc_no_link="$ac_save_gcc_no_link"
16802   LIBS="$ac_save_LIBS"
16803   CXXFLAGS="$ac_save_CXXFLAGS"
16804   ac_ext=c
16805 ac_cpp='$CPP $CPPFLAGS'
16806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16809
16810   fi
16811
16812   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16813 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16814   echo "$as_me:$LINENO: result: $enable_c99" >&5
16815 echo "${ECHO_T}$enable_c99" >&6
16816
16817
16818    # Check whether --enable-concept-checks or --disable-concept-checks was given.
16819 if test "${enable_concept_checks+set}" = set; then
16820   enableval="$enable_concept_checks"
16821
16822       case "$enableval" in
16823        yes|no) ;;
16824        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16825 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16826    { (exit 1); exit 1; }; } ;;
16827       esac
16828
16829 else
16830   enable_concept_checks=no
16831 fi;
16832
16833   if test $enable_concept_checks = yes; then
16834
16835 cat >>confdefs.h <<\_ACEOF
16836 #define _GLIBCXX_CONCEPT_CHECKS 1
16837 _ACEOF
16838
16839   fi
16840
16841
16842    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16843 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16844   enableval="$enable_libstdcxx_debug_flags"
16845   case "x$enable_libstdcxx_debug_flags" in
16846       xno | x)    enable_libstdcxx_debug_flags= ;;
16847       x-*)        ;;
16848       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16849 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16850    { (exit 1); exit 1; }; } ;;
16851      esac
16852 else
16853   enable_libstdcxx_debug_flags="-g3 -O0"
16854 fi;
16855
16856
16857   # Option parsed, now set things appropriately
16858   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16859
16860
16861   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16862 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16863
16864
16865   echo "$as_me:$LINENO: checking for additional debug build" >&5
16866 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16867    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16868 if test "${enable_libstdcxx_debug+set}" = set; then
16869   enableval="$enable_libstdcxx_debug"
16870
16871       case "$enableval" in
16872        yes|no) ;;
16873        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16874 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16875    { (exit 1); exit 1; }; } ;;
16876       esac
16877
16878 else
16879   enable_libstdcxx_debug=no
16880 fi;
16881
16882   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16883 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16884
16885
16886
16887
16888   # NB: libstdc++ may be configured before libgomp: can't check for the actual
16889   # dependencies (omp.h and libgomp).
16890   enable_parallel=no;
16891   if test -f $glibcxx_builddir/../libgomp/omp.h; then
16892     enable_parallel=yes;
16893   else
16894     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16895 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16896   fi
16897
16898   # Check to see if it's explicitly disabled.
16899 #  GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16900 #       [permit yes|no])
16901
16902 #  if test x$enable_libgomp = xno; then
16903 #    enable_parallel=no
16904 #  fi
16905
16906   echo "$as_me:$LINENO: checking for parallel mode support" >&5
16907 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16908   echo "$as_me:$LINENO: result: $enable_parallel" >&5
16909 echo "${ECHO_T}$enable_parallel" >&6
16910
16911
16912   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16913 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16914    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16915 if test "${enable_cxx_flags+set}" = set; then
16916   enableval="$enable_cxx_flags"
16917   case "x$enable_cxx_flags" in
16918       xno | x)   enable_cxx_flags= ;;
16919       x-*)       ;;
16920       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16921 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16922    { (exit 1); exit 1; }; } ;;
16923      esac
16924 else
16925   enable_cxx_flags=
16926 fi;
16927
16928
16929   # Run through flags (either default or command-line) and set anything
16930   # extra (e.g., #defines) that must accompany particular g++ options.
16931   if test -n "$enable_cxx_flags"; then
16932     for f in $enable_cxx_flags; do
16933       case "$f" in
16934         -fhonor-std)  ;;
16935         -*)  ;;
16936         *)   # and we're trying to pass /what/ exactly?
16937              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16938 echo "$as_me: error: compiler flags start with a -" >&2;}
16939    { (exit 1); exit 1; }; } ;;
16940       esac
16941     done
16942   fi
16943
16944   EXTRA_CXX_FLAGS="$enable_cxx_flags"
16945   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16946 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16947
16948
16949
16950    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16951 if test "${enable_fully_dynamic_string+set}" = set; then
16952   enableval="$enable_fully_dynamic_string"
16953
16954       case "$enableval" in
16955        yes|no) ;;
16956        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16957 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16958    { (exit 1); exit 1; }; } ;;
16959       esac
16960
16961 else
16962   enable_fully_dynamic_string=no
16963 fi;
16964
16965   if test $enable_fully_dynamic_string = yes; then
16966
16967 cat >>confdefs.h <<\_ACEOF
16968 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16969 _ACEOF
16970
16971   fi
16972
16973
16974 # Checks for operating systems support that don't require linking.
16975
16976
16977   echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16978 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16979   if test "${ac_system_error1+set}" = set; then
16980   echo $ECHO_N "(cached) $ECHO_C" >&6
16981 else
16982
16983   cat >conftest.$ac_ext <<_ACEOF
16984 /* confdefs.h.  */
16985 _ACEOF
16986 cat confdefs.h >>conftest.$ac_ext
16987 cat >>conftest.$ac_ext <<_ACEOF
16988 /* end confdefs.h.  */
16989 #include <errno.h>
16990 int
16991 main ()
16992 {
16993  int i = EOWNERDEAD;
16994   ;
16995   return 0;
16996 }
16997 _ACEOF
16998 rm -f conftest.$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000   (eval $ac_compile) 2>conftest.er1
17001   ac_status=$?
17002   grep -v '^ *+' conftest.er1 >conftest.err
17003   rm -f conftest.er1
17004   cat conftest.err >&5
17005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006   (exit $ac_status); } &&
17007          { ac_try='test -z "$ac_c_werror_flag"
17008                          || test ! -s conftest.err'
17009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010   (eval $ac_try) 2>&5
17011   ac_status=$?
17012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013   (exit $ac_status); }; } &&
17014          { ac_try='test -s conftest.$ac_objext'
17015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016   (eval $ac_try) 2>&5
17017   ac_status=$?
17018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019   (exit $ac_status); }; }; then
17020   ac_system_error1=yes
17021 else
17022   echo "$as_me: failed program was:" >&5
17023 sed 's/^/| /' conftest.$ac_ext >&5
17024
17025 ac_system_error1=no
17026 fi
17027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17028
17029 fi
17030
17031   echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17032 echo "${ECHO_T}$ac_system_error1" >&6
17033   if test x"$ac_system_error1" = x"yes"; then
17034
17035 cat >>confdefs.h <<\_ACEOF
17036 #define HAVE_EOWNERDEAD 1
17037 _ACEOF
17038
17039   fi
17040
17041   echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17042 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17043   if test "${ac_system_error2+set}" = set; then
17044   echo $ECHO_N "(cached) $ECHO_C" >&6
17045 else
17046
17047   cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h.  */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h.  */
17053 #include <errno.h>
17054 int
17055 main ()
17056 {
17057  int i = ENOTRECOVERABLE;
17058   ;
17059   return 0;
17060 }
17061 _ACEOF
17062 rm -f conftest.$ac_objext
17063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17064   (eval $ac_compile) 2>conftest.er1
17065   ac_status=$?
17066   grep -v '^ *+' conftest.er1 >conftest.err
17067   rm -f conftest.er1
17068   cat conftest.err >&5
17069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17070   (exit $ac_status); } &&
17071          { ac_try='test -z "$ac_c_werror_flag"
17072                          || test ! -s conftest.err'
17073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074   (eval $ac_try) 2>&5
17075   ac_status=$?
17076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077   (exit $ac_status); }; } &&
17078          { ac_try='test -s conftest.$ac_objext'
17079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080   (eval $ac_try) 2>&5
17081   ac_status=$?
17082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083   (exit $ac_status); }; }; then
17084   ac_system_error2=yes
17085 else
17086   echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17088
17089 ac_system_error2=no
17090 fi
17091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17092
17093 fi
17094
17095   echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17096 echo "${ECHO_T}$ac_system_error2" >&6
17097   if test x"$ac_system_error2" = x"yes"; then
17098
17099 cat >>confdefs.h <<\_ACEOF
17100 #define HAVE_ENOTRECOVERABLE 1
17101 _ACEOF
17102
17103   fi
17104
17105   echo "$as_me:$LINENO: checking for ENOLINK" >&5
17106 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17107   if test "${ac_system_error3+set}" = set; then
17108   echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17110
17111   cat >conftest.$ac_ext <<_ACEOF
17112 /* confdefs.h.  */
17113 _ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h.  */
17117 #include <errno.h>
17118 int
17119 main ()
17120 {
17121  int i = ENOLINK;
17122   ;
17123   return 0;
17124 }
17125 _ACEOF
17126 rm -f conftest.$ac_objext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17128   (eval $ac_compile) 2>conftest.er1
17129   ac_status=$?
17130   grep -v '^ *+' conftest.er1 >conftest.err
17131   rm -f conftest.er1
17132   cat conftest.err >&5
17133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134   (exit $ac_status); } &&
17135          { ac_try='test -z "$ac_c_werror_flag"
17136                          || test ! -s conftest.err'
17137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17138   (eval $ac_try) 2>&5
17139   ac_status=$?
17140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141   (exit $ac_status); }; } &&
17142          { ac_try='test -s conftest.$ac_objext'
17143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144   (eval $ac_try) 2>&5
17145   ac_status=$?
17146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147   (exit $ac_status); }; }; then
17148   ac_system_error3=yes
17149 else
17150   echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17152
17153 ac_system_error3=no
17154 fi
17155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17156
17157 fi
17158
17159   echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17160 echo "${ECHO_T}$ac_system_error3" >&6
17161   if test x"$ac_system_error3" = x"yes"; then
17162
17163 cat >>confdefs.h <<\_ACEOF
17164 #define HAVE_ENOLINK 1
17165 _ACEOF
17166
17167   fi
17168
17169   echo "$as_me:$LINENO: checking for EPROTO" >&5
17170 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17171   if test "${ac_system_error_4+set}" = set; then
17172   echo $ECHO_N "(cached) $ECHO_C" >&6
17173 else
17174
17175   cat >conftest.$ac_ext <<_ACEOF
17176 /* confdefs.h.  */
17177 _ACEOF
17178 cat confdefs.h >>conftest.$ac_ext
17179 cat >>conftest.$ac_ext <<_ACEOF
17180 /* end confdefs.h.  */
17181 #include <errno.h>
17182 int
17183 main ()
17184 {
17185  int i = EPROTO;
17186   ;
17187   return 0;
17188 }
17189 _ACEOF
17190 rm -f conftest.$ac_objext
17191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17192   (eval $ac_compile) 2>conftest.er1
17193   ac_status=$?
17194   grep -v '^ *+' conftest.er1 >conftest.err
17195   rm -f conftest.er1
17196   cat conftest.err >&5
17197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198   (exit $ac_status); } &&
17199          { ac_try='test -z "$ac_c_werror_flag"
17200                          || test ! -s conftest.err'
17201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202   (eval $ac_try) 2>&5
17203   ac_status=$?
17204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205   (exit $ac_status); }; } &&
17206          { ac_try='test -s conftest.$ac_objext'
17207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208   (eval $ac_try) 2>&5
17209   ac_status=$?
17210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211   (exit $ac_status); }; }; then
17212   ac_system_error_4=yes
17213 else
17214   echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17216
17217 ac_system_error_4=no
17218 fi
17219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17220
17221 fi
17222
17223   echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17224 echo "${ECHO_T}$ac_system_error_4" >&6
17225   if test x"$ac_system_error_4" = x"yes"; then
17226
17227 cat >>confdefs.h <<\_ACEOF
17228 #define HAVE_EPROTO 1
17229 _ACEOF
17230
17231   fi
17232
17233   echo "$as_me:$LINENO: checking for ENODATA" >&5
17234 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17235   if test "${ac_system_error_5+set}" = set; then
17236   echo $ECHO_N "(cached) $ECHO_C" >&6
17237 else
17238
17239   cat >conftest.$ac_ext <<_ACEOF
17240 /* confdefs.h.  */
17241 _ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h.  */
17245 #include <errno.h>
17246 int
17247 main ()
17248 {
17249  int i = ENODATA;
17250   ;
17251   return 0;
17252 }
17253 _ACEOF
17254 rm -f conftest.$ac_objext
17255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17256   (eval $ac_compile) 2>conftest.er1
17257   ac_status=$?
17258   grep -v '^ *+' conftest.er1 >conftest.err
17259   rm -f conftest.er1
17260   cat conftest.err >&5
17261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262   (exit $ac_status); } &&
17263          { ac_try='test -z "$ac_c_werror_flag"
17264                          || test ! -s conftest.err'
17265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266   (eval $ac_try) 2>&5
17267   ac_status=$?
17268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269   (exit $ac_status); }; } &&
17270          { ac_try='test -s conftest.$ac_objext'
17271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17272   (eval $ac_try) 2>&5
17273   ac_status=$?
17274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275   (exit $ac_status); }; }; then
17276   ac_system_error_5=yes
17277 else
17278   echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17280
17281 ac_system_error_5=no
17282 fi
17283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17284
17285 fi
17286
17287   echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
17288 echo "${ECHO_T}$ac_system_error_5" >&6
17289   if test x"$ac_system_error_5" = x"yes"; then
17290
17291 cat >>confdefs.h <<\_ACEOF
17292 #define HAVE_ENODATA 1
17293 _ACEOF
17294
17295   fi
17296
17297   echo "$as_me:$LINENO: checking for ENOSR" >&5
17298 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17299   if test "${ac_system_error_6+set}" = set; then
17300   echo $ECHO_N "(cached) $ECHO_C" >&6
17301 else
17302
17303   cat >conftest.$ac_ext <<_ACEOF
17304 /* confdefs.h.  */
17305 _ACEOF
17306 cat confdefs.h >>conftest.$ac_ext
17307 cat >>conftest.$ac_ext <<_ACEOF
17308 /* end confdefs.h.  */
17309 #include <errno.h>
17310 int
17311 main ()
17312 {
17313  int i = ENOSR;
17314   ;
17315   return 0;
17316 }
17317 _ACEOF
17318 rm -f conftest.$ac_objext
17319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17320   (eval $ac_compile) 2>conftest.er1
17321   ac_status=$?
17322   grep -v '^ *+' conftest.er1 >conftest.err
17323   rm -f conftest.er1
17324   cat conftest.err >&5
17325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326   (exit $ac_status); } &&
17327          { ac_try='test -z "$ac_c_werror_flag"
17328                          || test ! -s conftest.err'
17329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17330   (eval $ac_try) 2>&5
17331   ac_status=$?
17332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17333   (exit $ac_status); }; } &&
17334          { ac_try='test -s conftest.$ac_objext'
17335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17336   (eval $ac_try) 2>&5
17337   ac_status=$?
17338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339   (exit $ac_status); }; }; then
17340   ac_system_error_6=yes
17341 else
17342   echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17344
17345 ac_system_error_6=no
17346 fi
17347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17348
17349 fi
17350
17351   echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
17352 echo "${ECHO_T}$ac_system_error_6" >&6
17353   if test x"$ac_system_error_6" = x"yes"; then
17354
17355 cat >>confdefs.h <<\_ACEOF
17356 #define HAVE_ENOSR 1
17357 _ACEOF
17358
17359   fi
17360
17361   echo "$as_me:$LINENO: checking for ENOSTR" >&5
17362 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17363   if test "${ac_system_error_7+set}" = set; then
17364   echo $ECHO_N "(cached) $ECHO_C" >&6
17365 else
17366
17367   cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h.  */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h.  */
17373 #include <errno.h>
17374 int
17375 main ()
17376 {
17377  int i = ENOSTR;
17378   ;
17379   return 0;
17380 }
17381 _ACEOF
17382 rm -f conftest.$ac_objext
17383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17384   (eval $ac_compile) 2>conftest.er1
17385   ac_status=$?
17386   grep -v '^ *+' conftest.er1 >conftest.err
17387   rm -f conftest.er1
17388   cat conftest.err >&5
17389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390   (exit $ac_status); } &&
17391          { ac_try='test -z "$ac_c_werror_flag"
17392                          || test ! -s conftest.err'
17393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394   (eval $ac_try) 2>&5
17395   ac_status=$?
17396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397   (exit $ac_status); }; } &&
17398          { ac_try='test -s conftest.$ac_objext'
17399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400   (eval $ac_try) 2>&5
17401   ac_status=$?
17402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403   (exit $ac_status); }; }; then
17404   ac_system_error_7=yes
17405 else
17406   echo "$as_me: failed program was:" >&5
17407 sed 's/^/| /' conftest.$ac_ext >&5
17408
17409 ac_system_error_7=no
17410 fi
17411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17412
17413 fi
17414
17415   echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17416 echo "${ECHO_T}$ac_system_error_7" >&6
17417   if test x"$ac_system_error_7" = x"yes"; then
17418
17419 cat >>confdefs.h <<\_ACEOF
17420 #define HAVE_ENOSTR 1
17421 _ACEOF
17422
17423   fi
17424
17425   echo "$as_me:$LINENO: checking for ETIME" >&5
17426 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17427   if test "${ac_system_error_8+set}" = set; then
17428   echo $ECHO_N "(cached) $ECHO_C" >&6
17429 else
17430
17431   cat >conftest.$ac_ext <<_ACEOF
17432 /* confdefs.h.  */
17433 _ACEOF
17434 cat confdefs.h >>conftest.$ac_ext
17435 cat >>conftest.$ac_ext <<_ACEOF
17436 /* end confdefs.h.  */
17437 #include <errno.h>
17438 int
17439 main ()
17440 {
17441  int i = ETIME;
17442   ;
17443   return 0;
17444 }
17445 _ACEOF
17446 rm -f conftest.$ac_objext
17447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17448   (eval $ac_compile) 2>conftest.er1
17449   ac_status=$?
17450   grep -v '^ *+' conftest.er1 >conftest.err
17451   rm -f conftest.er1
17452   cat conftest.err >&5
17453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454   (exit $ac_status); } &&
17455          { ac_try='test -z "$ac_c_werror_flag"
17456                          || test ! -s conftest.err'
17457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17458   (eval $ac_try) 2>&5
17459   ac_status=$?
17460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461   (exit $ac_status); }; } &&
17462          { ac_try='test -s conftest.$ac_objext'
17463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464   (eval $ac_try) 2>&5
17465   ac_status=$?
17466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467   (exit $ac_status); }; }; then
17468   ac_system_error_8=yes
17469 else
17470   echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.$ac_ext >&5
17472
17473 ac_system_error_8=no
17474 fi
17475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17476
17477 fi
17478
17479   echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17480 echo "${ECHO_T}$ac_system_error_8" >&6
17481   if test x"$ac_system_error_8" = x"yes"; then
17482
17483 cat >>confdefs.h <<\_ACEOF
17484 #define HAVE_ETIME 1
17485 _ACEOF
17486
17487   fi
17488
17489   echo "$as_me:$LINENO: checking for sys_nerr" >&5
17490 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17491   if test "${ac_system_error9+set}" = set; then
17492   echo $ECHO_N "(cached) $ECHO_C" >&6
17493 else
17494
17495   cat >conftest.$ac_ext <<_ACEOF
17496 /* confdefs.h.  */
17497 _ACEOF
17498 cat confdefs.h >>conftest.$ac_ext
17499 cat >>conftest.$ac_ext <<_ACEOF
17500 /* end confdefs.h.  */
17501 #include <errno.h>
17502 int
17503 main ()
17504 {
17505  int i = sys_nerr;
17506   ;
17507   return 0;
17508 }
17509 _ACEOF
17510 rm -f conftest.$ac_objext
17511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17512   (eval $ac_compile) 2>conftest.er1
17513   ac_status=$?
17514   grep -v '^ *+' conftest.er1 >conftest.err
17515   rm -f conftest.er1
17516   cat conftest.err >&5
17517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518   (exit $ac_status); } &&
17519          { ac_try='test -z "$ac_c_werror_flag"
17520                          || test ! -s conftest.err'
17521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17522   (eval $ac_try) 2>&5
17523   ac_status=$?
17524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525   (exit $ac_status); }; } &&
17526          { ac_try='test -s conftest.$ac_objext'
17527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528   (eval $ac_try) 2>&5
17529   ac_status=$?
17530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531   (exit $ac_status); }; }; then
17532   ac_system_error9=yes
17533 else
17534   echo "$as_me: failed program was:" >&5
17535 sed 's/^/| /' conftest.$ac_ext >&5
17536
17537 ac_system_error9=no
17538 fi
17539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17540
17541 fi
17542
17543   echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17544 echo "${ECHO_T}$ac_system_error9" >&6
17545   if test x"$ac_system_error9" = x"yes"; then
17546
17547 cat >>confdefs.h <<\_ACEOF
17548 #define HAVE_SYS_NERR 1
17549 _ACEOF
17550
17551   fi
17552
17553   echo "$as_me:$LINENO: checking for EBADMSG" >&5
17554 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17555   if test "${ac_system_error_10+set}" = set; then
17556   echo $ECHO_N "(cached) $ECHO_C" >&6
17557 else
17558
17559   cat >conftest.$ac_ext <<_ACEOF
17560 /* confdefs.h.  */
17561 _ACEOF
17562 cat confdefs.h >>conftest.$ac_ext
17563 cat >>conftest.$ac_ext <<_ACEOF
17564 /* end confdefs.h.  */
17565 #include <errno.h>
17566 int
17567 main ()
17568 {
17569  int i = EBADMSG;
17570   ;
17571   return 0;
17572 }
17573 _ACEOF
17574 rm -f conftest.$ac_objext
17575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17576   (eval $ac_compile) 2>conftest.er1
17577   ac_status=$?
17578   grep -v '^ *+' conftest.er1 >conftest.err
17579   rm -f conftest.er1
17580   cat conftest.err >&5
17581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582   (exit $ac_status); } &&
17583          { ac_try='test -z "$ac_c_werror_flag"
17584                          || test ! -s conftest.err'
17585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586   (eval $ac_try) 2>&5
17587   ac_status=$?
17588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589   (exit $ac_status); }; } &&
17590          { ac_try='test -s conftest.$ac_objext'
17591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592   (eval $ac_try) 2>&5
17593   ac_status=$?
17594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595   (exit $ac_status); }; }; then
17596   ac_system_error_10=yes
17597 else
17598   echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17600
17601 ac_system_error_10=no
17602 fi
17603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17604
17605 fi
17606
17607   echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17608 echo "${ECHO_T}$ac_system_error_10" >&6
17609   if test x"$ac_system_error_10" = x"yes"; then
17610
17611 cat >>confdefs.h <<\_ACEOF
17612 #define HAVE_EBADMSG 1
17613 _ACEOF
17614
17615   fi
17616
17617   echo "$as_me:$LINENO: checking for ECANCELED" >&5
17618 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17619   if test "${ac_system_error_11+set}" = set; then
17620   echo $ECHO_N "(cached) $ECHO_C" >&6
17621 else
17622
17623   cat >conftest.$ac_ext <<_ACEOF
17624 /* confdefs.h.  */
17625 _ACEOF
17626 cat confdefs.h >>conftest.$ac_ext
17627 cat >>conftest.$ac_ext <<_ACEOF
17628 /* end confdefs.h.  */
17629 #include <errno.h>
17630 int
17631 main ()
17632 {
17633  int i = ECANCELED;
17634   ;
17635   return 0;
17636 }
17637 _ACEOF
17638 rm -f conftest.$ac_objext
17639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17640   (eval $ac_compile) 2>conftest.er1
17641   ac_status=$?
17642   grep -v '^ *+' conftest.er1 >conftest.err
17643   rm -f conftest.er1
17644   cat conftest.err >&5
17645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646   (exit $ac_status); } &&
17647          { ac_try='test -z "$ac_c_werror_flag"
17648                          || test ! -s conftest.err'
17649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17650   (eval $ac_try) 2>&5
17651   ac_status=$?
17652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17653   (exit $ac_status); }; } &&
17654          { ac_try='test -s conftest.$ac_objext'
17655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656   (eval $ac_try) 2>&5
17657   ac_status=$?
17658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659   (exit $ac_status); }; }; then
17660   ac_system_error_11=yes
17661 else
17662   echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.$ac_ext >&5
17664
17665 ac_system_error_11=no
17666 fi
17667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17668
17669 fi
17670
17671   echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17672 echo "${ECHO_T}$ac_system_error_11" >&6
17673   if test x"$ac_system_error_11" = x"yes"; then
17674
17675 cat >>confdefs.h <<\_ACEOF
17676 #define HAVE_ECANCELED 1
17677 _ACEOF
17678
17679   fi
17680
17681   echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17682 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17683   if test "${ac_system_error_12+set}" = set; then
17684   echo $ECHO_N "(cached) $ECHO_C" >&6
17685 else
17686
17687   cat >conftest.$ac_ext <<_ACEOF
17688 /* confdefs.h.  */
17689 _ACEOF
17690 cat confdefs.h >>conftest.$ac_ext
17691 cat >>conftest.$ac_ext <<_ACEOF
17692 /* end confdefs.h.  */
17693 #include <errno.h>
17694 int
17695 main ()
17696 {
17697  int i = EOVERFLOW;
17698   ;
17699   return 0;
17700 }
17701 _ACEOF
17702 rm -f conftest.$ac_objext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17704   (eval $ac_compile) 2>conftest.er1
17705   ac_status=$?
17706   grep -v '^ *+' conftest.er1 >conftest.err
17707   rm -f conftest.er1
17708   cat conftest.err >&5
17709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710   (exit $ac_status); } &&
17711          { ac_try='test -z "$ac_c_werror_flag"
17712                          || test ! -s conftest.err'
17713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714   (eval $ac_try) 2>&5
17715   ac_status=$?
17716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717   (exit $ac_status); }; } &&
17718          { ac_try='test -s conftest.$ac_objext'
17719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17720   (eval $ac_try) 2>&5
17721   ac_status=$?
17722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723   (exit $ac_status); }; }; then
17724   ac_system_error_12=yes
17725 else
17726   echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17728
17729 ac_system_error_12=no
17730 fi
17731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17732
17733 fi
17734
17735   echo "$as_me:$LINENO: result: $ac_system_error_12" >&5
17736 echo "${ECHO_T}$ac_system_error_12" >&6
17737   if test x"$ac_system_error_12" = x"yes"; then
17738
17739 cat >>confdefs.h <<\_ACEOF
17740 #define HAVE_EOVERFLOW 1
17741 _ACEOF
17742
17743   fi
17744
17745   echo "$as_me:$LINENO: checking for ENOTSUP" >&5
17746 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
17747   if test "${ac_system_error_13+set}" = set; then
17748   echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17750
17751   cat >conftest.$ac_ext <<_ACEOF
17752 /* confdefs.h.  */
17753 _ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h.  */
17757 #include <errno.h>
17758 int
17759 main ()
17760 {
17761  int i = ENOTSUP;
17762   ;
17763   return 0;
17764 }
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768   (eval $ac_compile) 2>conftest.er1
17769   ac_status=$?
17770   grep -v '^ *+' conftest.er1 >conftest.err
17771   rm -f conftest.er1
17772   cat conftest.err >&5
17773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774   (exit $ac_status); } &&
17775          { ac_try='test -z "$ac_c_werror_flag"
17776                          || test ! -s conftest.err'
17777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778   (eval $ac_try) 2>&5
17779   ac_status=$?
17780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781   (exit $ac_status); }; } &&
17782          { ac_try='test -s conftest.$ac_objext'
17783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784   (eval $ac_try) 2>&5
17785   ac_status=$?
17786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787   (exit $ac_status); }; }; then
17788   ac_system_error_13=yes
17789 else
17790   echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17792
17793 ac_system_error_13=no
17794 fi
17795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17796
17797 fi
17798
17799   echo "$as_me:$LINENO: result: $ac_system_error_13" >&5
17800 echo "${ECHO_T}$ac_system_error_13" >&6
17801   if test x"$ac_system_error_13" = x"yes"; then
17802
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_ENOTSUP 1
17805 _ACEOF
17806
17807   fi
17808
17809   echo "$as_me:$LINENO: checking for EIDRM" >&5
17810 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
17811   if test "${ac_system_error_14+set}" = set; then
17812   echo $ECHO_N "(cached) $ECHO_C" >&6
17813 else
17814
17815   cat >conftest.$ac_ext <<_ACEOF
17816 /* confdefs.h.  */
17817 _ACEOF
17818 cat confdefs.h >>conftest.$ac_ext
17819 cat >>conftest.$ac_ext <<_ACEOF
17820 /* end confdefs.h.  */
17821 #include <errno.h>
17822 int
17823 main ()
17824 {
17825  int i = EIDRM;
17826   ;
17827   return 0;
17828 }
17829 _ACEOF
17830 rm -f conftest.$ac_objext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17832   (eval $ac_compile) 2>conftest.er1
17833   ac_status=$?
17834   grep -v '^ *+' conftest.er1 >conftest.err
17835   rm -f conftest.er1
17836   cat conftest.err >&5
17837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838   (exit $ac_status); } &&
17839          { ac_try='test -z "$ac_c_werror_flag"
17840                          || test ! -s conftest.err'
17841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842   (eval $ac_try) 2>&5
17843   ac_status=$?
17844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845   (exit $ac_status); }; } &&
17846          { ac_try='test -s conftest.$ac_objext'
17847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848   (eval $ac_try) 2>&5
17849   ac_status=$?
17850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851   (exit $ac_status); }; }; then
17852   ac_system_error_14=yes
17853 else
17854   echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17856
17857 ac_system_error_14=no
17858 fi
17859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17860
17861 fi
17862
17863   echo "$as_me:$LINENO: result: $ac_system_error_14" >&5
17864 echo "${ECHO_T}$ac_system_error_14" >&6
17865   if test x"$ac_system_error_14" = x"yes"; then
17866
17867 cat >>confdefs.h <<\_ACEOF
17868 #define HAVE_EIDRM 1
17869 _ACEOF
17870
17871   fi
17872
17873   echo "$as_me:$LINENO: checking for ETXTBSY" >&5
17874 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
17875   if test "${ac_system_error_15+set}" = set; then
17876   echo $ECHO_N "(cached) $ECHO_C" >&6
17877 else
17878
17879   cat >conftest.$ac_ext <<_ACEOF
17880 /* confdefs.h.  */
17881 _ACEOF
17882 cat confdefs.h >>conftest.$ac_ext
17883 cat >>conftest.$ac_ext <<_ACEOF
17884 /* end confdefs.h.  */
17885 #include <errno.h>
17886 int
17887 main ()
17888 {
17889  int i = ETXTBSY;
17890   ;
17891   return 0;
17892 }
17893 _ACEOF
17894 rm -f conftest.$ac_objext
17895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17896   (eval $ac_compile) 2>conftest.er1
17897   ac_status=$?
17898   grep -v '^ *+' conftest.er1 >conftest.err
17899   rm -f conftest.er1
17900   cat conftest.err >&5
17901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902   (exit $ac_status); } &&
17903          { ac_try='test -z "$ac_c_werror_flag"
17904                          || test ! -s conftest.err'
17905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906   (eval $ac_try) 2>&5
17907   ac_status=$?
17908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909   (exit $ac_status); }; } &&
17910          { ac_try='test -s conftest.$ac_objext'
17911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17912   (eval $ac_try) 2>&5
17913   ac_status=$?
17914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915   (exit $ac_status); }; }; then
17916   ac_system_error_15=yes
17917 else
17918   echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17920
17921 ac_system_error_15=no
17922 fi
17923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17924
17925 fi
17926
17927   echo "$as_me:$LINENO: result: $ac_system_error_15" >&5
17928 echo "${ECHO_T}$ac_system_error_15" >&6
17929   if test x"$ac_system_error_15" = x"yes"; then
17930
17931 cat >>confdefs.h <<\_ACEOF
17932 #define HAVE_ETXTBSY 1
17933 _ACEOF
17934
17935   fi
17936
17937
17938 # No surprises, no surprises...
17939
17940   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17941 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17942   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17943   echo "$as_me:$LINENO: result: $target_thread_file" >&5
17944 echo "${ECHO_T}$target_thread_file" >&6
17945
17946   if test $target_thread_file != single; then
17947
17948 cat >>confdefs.h <<\_ACEOF
17949 #define HAVE_GTHR_DEFAULT 1
17950 _ACEOF
17951
17952   fi
17953
17954   glibcxx_thread_h=gthr-$target_thread_file.h
17955
17956     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17957   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17958     enable_thread=yes
17959   else
17960    enable_thread=no
17961   fi
17962
17963
17964
17965
17966   echo "$as_me:$LINENO: checking for atomic builtins" >&5
17967 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17968
17969
17970   ac_ext=cc
17971 ac_cpp='$CXXCPP $CPPFLAGS'
17972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17975
17976
17977   # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
17978     cat > conftest.$ac_ext << EOF
17979 #line 17851 "configure"
17980 int main()
17981 {
17982   // NB: _Atomic_word not necessarily int.
17983   typedef int atomic_type;
17984   atomic_type c1;
17985   atomic_type c2;
17986   const atomic_type c3(0);
17987   if (__sync_fetch_and_add(&c1, c2) == c3)
17988     {
17989       // Do something.
17990     }
17991    return 0;
17992 }
17993 EOF
17994     old_CXXFLAGS="$CXXFLAGS"
17995     CXXFLAGS=-S
17996     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17997   (eval $ac_compile) 2>&5
17998   ac_status=$?
17999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000   (exit $ac_status); }; then
18001       if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
18002         enable_atomic_builtins=no
18003       else
18004
18005 cat >>confdefs.h <<\_ACEOF
18006 #define _GLIBCXX_ATOMIC_BUILTINS 1
18007 _ACEOF
18008
18009         enable_atomic_builtins=yes
18010         atomicity_dir=cpu/generic/atomicity_builtins
18011       fi
18012     fi
18013     CXXFLAGS="$old_CXXFLAGS"
18014     rm -f conftest*
18015
18016    # Now, if still generic, set to mutex.
18017   if test $atomicity_dir = "cpu/generic" ; then
18018         atomicity_dir=cpu/generic/atomicity_mutex
18019   fi
18020  ac_ext=c
18021 ac_cpp='$CPP $CPPFLAGS'
18022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18025
18026  echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
18027 echo "${ECHO_T}$enable_atomic_builtins" >&6
18028
18029 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
18030   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
18031 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
18032   if test $target_thread_file = single; then
18033     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
18034 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
18035     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
18036 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
18037   else
18038     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
18039 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
18040     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
18041 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
18042   fi
18043 fi
18044
18045
18046   # All these tests are for C++; save the language and the compiler flags.
18047   # The CXXFLAGS thing is suspicious, but based on similar bits previously
18048   # found in GLIBCXX_CONFIGURE.
18049
18050
18051   ac_ext=cc
18052 ac_cpp='$CXXCPP $CPPFLAGS'
18053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18056
18057   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18058   ac_save_CXXFLAGS="$CXXFLAGS"
18059
18060   # Check for maintainer-mode bits.
18061   if test x"$USE_MAINTAINER_MODE" = xno; then
18062     WERROR=''
18063   else
18064     WERROR='-Werror'
18065   fi
18066
18067   # Check for -ffunction-sections -fdata-sections
18068   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
18069 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
18070   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
18071   cat >conftest.$ac_ext <<_ACEOF
18072 /* confdefs.h.  */
18073 _ACEOF
18074 cat confdefs.h >>conftest.$ac_ext
18075 cat >>conftest.$ac_ext <<_ACEOF
18076 /* end confdefs.h.  */
18077 int foo; void bar() { };
18078 int
18079 main ()
18080 {
18081
18082   ;
18083   return 0;
18084 }
18085 _ACEOF
18086 rm -f conftest.$ac_objext
18087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18088   (eval $ac_compile) 2>conftest.er1
18089   ac_status=$?
18090   grep -v '^ *+' conftest.er1 >conftest.err
18091   rm -f conftest.er1
18092   cat conftest.err >&5
18093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094   (exit $ac_status); } &&
18095          { ac_try='test -z "$ac_cxx_werror_flag"
18096                          || test ! -s conftest.err'
18097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098   (eval $ac_try) 2>&5
18099   ac_status=$?
18100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101   (exit $ac_status); }; } &&
18102          { ac_try='test -s conftest.$ac_objext'
18103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18104   (eval $ac_try) 2>&5
18105   ac_status=$?
18106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107   (exit $ac_status); }; }; then
18108   ac_fdsections=yes
18109 else
18110   echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18112
18113 ac_fdsections=no
18114 fi
18115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18116   if test "$ac_test_CXXFLAGS" = set; then
18117     CXXFLAGS="$ac_save_CXXFLAGS"
18118   else
18119     # this is the suspicious part
18120     CXXFLAGS=''
18121   fi
18122   if test x"$ac_fdsections" = x"yes"; then
18123     SECTION_FLAGS='-ffunction-sections -fdata-sections'
18124   fi
18125   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
18126 echo "${ECHO_T}$ac_fdsections" >&6
18127
18128   ac_ext=c
18129 ac_cpp='$CPP $CPPFLAGS'
18130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18133
18134
18135
18136
18137
18138 if $GLIBCXX_IS_NATIVE; then
18139
18140   # We can do more elaborate tests that assume a working linker.
18141   CANADIAN=no
18142
18143   # Check for available headers.
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18160   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
18161   sys/types.h sys/ipc.h sys/sem.h
18162 do
18163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18165   echo "$as_me:$LINENO: checking for $ac_header" >&5
18166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18168   echo $ECHO_N "(cached) $ECHO_C" >&6
18169 fi
18170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18172 else
18173   # Is the header compilable?
18174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18176 cat >conftest.$ac_ext <<_ACEOF
18177 /* confdefs.h.  */
18178 _ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h.  */
18182 $ac_includes_default
18183 #include <$ac_header>
18184 _ACEOF
18185 rm -f conftest.$ac_objext
18186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18187   (eval $ac_compile) 2>conftest.er1
18188   ac_status=$?
18189   grep -v '^ *+' conftest.er1 >conftest.err
18190   rm -f conftest.er1
18191   cat conftest.err >&5
18192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193   (exit $ac_status); } &&
18194          { ac_try='test -z "$ac_c_werror_flag"
18195                          || test ! -s conftest.err'
18196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197   (eval $ac_try) 2>&5
18198   ac_status=$?
18199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200   (exit $ac_status); }; } &&
18201          { ac_try='test -s conftest.$ac_objext'
18202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203   (eval $ac_try) 2>&5
18204   ac_status=$?
18205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206   (exit $ac_status); }; }; then
18207   ac_header_compiler=yes
18208 else
18209   echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18211
18212 ac_header_compiler=no
18213 fi
18214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18216 echo "${ECHO_T}$ac_header_compiler" >&6
18217
18218 # Is the header present?
18219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18221 cat >conftest.$ac_ext <<_ACEOF
18222 /* confdefs.h.  */
18223 _ACEOF
18224 cat confdefs.h >>conftest.$ac_ext
18225 cat >>conftest.$ac_ext <<_ACEOF
18226 /* end confdefs.h.  */
18227 #include <$ac_header>
18228 _ACEOF
18229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18230   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18231   ac_status=$?
18232   grep -v '^ *+' conftest.er1 >conftest.err
18233   rm -f conftest.er1
18234   cat conftest.err >&5
18235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236   (exit $ac_status); } >/dev/null; then
18237   if test -s conftest.err; then
18238     ac_cpp_err=$ac_c_preproc_warn_flag
18239     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18240   else
18241     ac_cpp_err=
18242   fi
18243 else
18244   ac_cpp_err=yes
18245 fi
18246 if test -z "$ac_cpp_err"; then
18247   ac_header_preproc=yes
18248 else
18249   echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18251
18252   ac_header_preproc=no
18253 fi
18254 rm -f conftest.err conftest.$ac_ext
18255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18256 echo "${ECHO_T}$ac_header_preproc" >&6
18257
18258 # So?  What about this header?
18259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18260   yes:no: )
18261     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18263     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18265     ac_header_preproc=yes
18266     ;;
18267   no:yes:* )
18268     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18270     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18271 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18272     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18274     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18275 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18276     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18278     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18280     (
18281       cat <<\_ASBOX
18282 ## ----------------------------------------- ##
18283 ## Report this to the package-unused lists.  ##
18284 ## ----------------------------------------- ##
18285 _ASBOX
18286     ) |
18287       sed "s/^/$as_me: WARNING:     /" >&2
18288     ;;
18289 esac
18290 echo "$as_me:$LINENO: checking for $ac_header" >&5
18291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18293   echo $ECHO_N "(cached) $ECHO_C" >&6
18294 else
18295   eval "$as_ac_Header=\$ac_header_preproc"
18296 fi
18297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18299
18300 fi
18301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18302   cat >>confdefs.h <<_ACEOF
18303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18304 _ACEOF
18305
18306 fi
18307
18308 done
18309
18310
18311
18312
18313 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18314 if test "${with_gnu_ld+set}" = set; then
18315   withval="$with_gnu_ld"
18316   test "$withval" = no || with_gnu_ld=yes
18317 else
18318   with_gnu_ld=no
18319 fi;
18320 ac_prog=ld
18321 if test "$GCC" = yes; then
18322   # Check if gcc -print-prog-name=ld gives a path.
18323   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18324 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18325   case $host in
18326   *-*-mingw*)
18327     # gcc leaves a trailing carriage return which upsets mingw
18328     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18329   *)
18330     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18331   esac
18332   case $ac_prog in
18333     # Accept absolute paths.
18334     [\\/]* | ?:[\\/]*)
18335       re_direlt='/[^/][^/]*/\.\./'
18336       # Canonicalize the pathname of ld
18337       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18338       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18339         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18340       done
18341       test -z "$LD" && LD="$ac_prog"
18342       ;;
18343   "")
18344     # If it fails, then pretend we aren't using GCC.
18345     ac_prog=ld
18346     ;;
18347   *)
18348     # If it is relative, then search for the first ld in PATH.
18349     with_gnu_ld=unknown
18350     ;;
18351   esac
18352 elif test "$with_gnu_ld" = yes; then
18353   echo "$as_me:$LINENO: checking for GNU ld" >&5
18354 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18355 else
18356   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18357 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18358 fi
18359 if test "${lt_cv_path_LD+set}" = set; then
18360   echo $ECHO_N "(cached) $ECHO_C" >&6
18361 else
18362   if test -z "$LD"; then
18363   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18364   for ac_dir in $PATH; do
18365     IFS="$lt_save_ifs"
18366     test -z "$ac_dir" && ac_dir=.
18367     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18368       lt_cv_path_LD="$ac_dir/$ac_prog"
18369       # Check to see if the program is GNU ld.  I'd rather use --version,
18370       # but apparently some variants of GNU ld only accept -v.
18371       # Break only if it was the GNU/non-GNU ld that we prefer.
18372       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18373       *GNU* | *'with BFD'*)
18374         test "$with_gnu_ld" != no && break
18375         ;;
18376       *)
18377         test "$with_gnu_ld" != yes && break
18378         ;;
18379       esac
18380     fi
18381   done
18382   IFS="$lt_save_ifs"
18383 else
18384   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18385 fi
18386 fi
18387
18388 LD="$lt_cv_path_LD"
18389 if test -n "$LD"; then
18390   echo "$as_me:$LINENO: result: $LD" >&5
18391 echo "${ECHO_T}$LD" >&6
18392 else
18393   echo "$as_me:$LINENO: result: no" >&5
18394 echo "${ECHO_T}no" >&6
18395 fi
18396 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18397 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18398    { (exit 1); exit 1; }; }
18399 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18400 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18401 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18402   echo $ECHO_N "(cached) $ECHO_C" >&6
18403 else
18404   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18405 case `$LD -v 2>&1 </dev/null` in
18406 *GNU* | *'with BFD'*)
18407   lt_cv_prog_gnu_ld=yes
18408   ;;
18409 *)
18410   lt_cv_prog_gnu_ld=no
18411   ;;
18412 esac
18413 fi
18414 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18415 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18416 with_gnu_ld=$lt_cv_prog_gnu_ld
18417
18418
18419
18420
18421
18422
18423
18424   # If we're not using GNU ld, then there's no point in even trying these
18425   # tests.  Check for that first.  We should have already tested for gld
18426   # by now (in libtool), but require it now just to be safe...
18427   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18428   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18429
18430
18431
18432   # The name set by libtool depends on the version of libtool.  Shame on us
18433   # for depending on an impl detail, but c'est la vie.  Older versions used
18434   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18435   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18436   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
18437   # set (hence we're using an older libtool), then set it.
18438   if test x${with_gnu_ld+set} != xset; then
18439     if test x${ac_cv_prog_gnu_ld+set} != xset; then
18440       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
18441       with_gnu_ld=no
18442     else
18443       with_gnu_ld=$ac_cv_prog_gnu_ld
18444     fi
18445   fi
18446
18447   # Start by getting the version number.  I think the libtool test already
18448   # does some of this, but throws away the result.
18449   if test x"$with_gnu_ld" = x"yes"; then
18450     echo "$as_me:$LINENO: checking for ld version" >&5
18451 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18452
18453     ldver=`$LD --version 2>/dev/null | head -1 | \
18454            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18455
18456     glibcxx_gnu_ld_version=`echo $ldver | \
18457            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18458     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18459 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18460   fi
18461
18462   # Set --gc-sections.
18463   glibcxx_gcsections_min_ld=21602
18464   if test x"$with_gnu_ld" = x"yes" &&
18465         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18466
18467     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
18468     # NB: This flag only works reliably after 2.16.1. Configure tests
18469     # for this are difficult, so hard wire a value that should work.
18470
18471     ac_test_CFLAGS="${CFLAGS+set}"
18472     ac_save_CFLAGS="$CFLAGS"
18473     CFLAGS='-Wl,--gc-sections'
18474
18475     # Check for -Wl,--gc-sections
18476     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18477 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18478     if test x$gcc_no_link = xyes; then
18479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18481    { (exit 1); exit 1; }; }
18482 fi
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  int one(void) { return 1; }
18490      int two(void) { return 2; }
18491
18492 int
18493 main ()
18494 {
18495  two();
18496   ;
18497   return 0;
18498 }
18499 _ACEOF
18500 rm -f conftest.$ac_objext conftest$ac_exeext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18502   (eval $ac_link) 2>conftest.er1
18503   ac_status=$?
18504   grep -v '^ *+' conftest.er1 >conftest.err
18505   rm -f conftest.er1
18506   cat conftest.err >&5
18507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508   (exit $ac_status); } &&
18509          { ac_try='test -z "$ac_c_werror_flag"
18510                          || test ! -s conftest.err'
18511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18512   (eval $ac_try) 2>&5
18513   ac_status=$?
18514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515   (exit $ac_status); }; } &&
18516          { ac_try='test -s conftest$ac_exeext'
18517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18518   (eval $ac_try) 2>&5
18519   ac_status=$?
18520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18521   (exit $ac_status); }; }; then
18522   ac_gcsections=yes
18523 else
18524   echo "$as_me: failed program was:" >&5
18525 sed 's/^/| /' conftest.$ac_ext >&5
18526
18527 ac_gcsections=no
18528 fi
18529 rm -f conftest.err conftest.$ac_objext \
18530       conftest$ac_exeext conftest.$ac_ext
18531     if test "$ac_gcsections" = "yes"; then
18532       rm -f conftest.c
18533       touch conftest.c
18534       if $CC -c conftest.c; then
18535         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18536            grep "Warning: gc-sections option ignored" > /dev/null; then
18537           ac_gcsections=no
18538         fi
18539       fi
18540       rm -f conftest.c conftest.o conftest
18541     fi
18542     if test "$ac_gcsections" = "yes"; then
18543       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18544     fi
18545     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18546 echo "${ECHO_T}$ac_gcsections" >&6
18547
18548     if test "$ac_test_CFLAGS" = set; then
18549       CFLAGS="$ac_save_CFLAGS"
18550     else
18551       # this is the suspicious part
18552       CFLAGS=''
18553     fi
18554   fi
18555
18556   # Set -z,relro.
18557   # Note this is only for shared objects.
18558   ac_ld_relro=no
18559   if test x"$with_gnu_ld" = x"yes"; then
18560     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18561 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18562     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18563     if test -n "$cxx_z_relo"; then
18564       OPT_LDFLAGS="-Wl,-z,relro"
18565       ac_ld_relro=yes
18566     fi
18567     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18568 echo "${ECHO_T}$ac_ld_relro" >&6
18569   fi
18570
18571   # Set linker optimization flags.
18572   if test x"$with_gnu_ld" = x"yes"; then
18573     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18574   fi
18575
18576
18577
18578
18579
18580   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18581   ac_save_CXXFLAGS="$CXXFLAGS"
18582   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18583
18584     echo "$as_me:$LINENO: checking for sin in -lm" >&5
18585 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18586 if test "${ac_cv_lib_m_sin+set}" = set; then
18587   echo $ECHO_N "(cached) $ECHO_C" >&6
18588 else
18589   ac_check_lib_save_LIBS=$LIBS
18590 LIBS="-lm  $LIBS"
18591 if test x$gcc_no_link = xyes; then
18592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18594    { (exit 1); exit 1; }; }
18595 fi
18596 cat >conftest.$ac_ext <<_ACEOF
18597 /* confdefs.h.  */
18598 _ACEOF
18599 cat confdefs.h >>conftest.$ac_ext
18600 cat >>conftest.$ac_ext <<_ACEOF
18601 /* end confdefs.h.  */
18602
18603 /* Override any gcc2 internal prototype to avoid an error.  */
18604 #ifdef __cplusplus
18605 extern "C"
18606 #endif
18607 /* We use char because int might match the return type of a gcc2
18608    builtin and then its argument prototype would still apply.  */
18609 char sin ();
18610 int
18611 main ()
18612 {
18613 sin ();
18614   ;
18615   return 0;
18616 }
18617 _ACEOF
18618 rm -f conftest.$ac_objext conftest$ac_exeext
18619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18620   (eval $ac_link) 2>conftest.er1
18621   ac_status=$?
18622   grep -v '^ *+' conftest.er1 >conftest.err
18623   rm -f conftest.er1
18624   cat conftest.err >&5
18625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626   (exit $ac_status); } &&
18627          { ac_try='test -z "$ac_c_werror_flag"
18628                          || test ! -s conftest.err'
18629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18630   (eval $ac_try) 2>&5
18631   ac_status=$?
18632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633   (exit $ac_status); }; } &&
18634          { ac_try='test -s conftest$ac_exeext'
18635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18636   (eval $ac_try) 2>&5
18637   ac_status=$?
18638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639   (exit $ac_status); }; }; then
18640   ac_cv_lib_m_sin=yes
18641 else
18642   echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18644
18645 ac_cv_lib_m_sin=no
18646 fi
18647 rm -f conftest.err conftest.$ac_objext \
18648       conftest$ac_exeext conftest.$ac_ext
18649 LIBS=$ac_check_lib_save_LIBS
18650 fi
18651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18652 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18653 if test $ac_cv_lib_m_sin = yes; then
18654   libm="-lm"
18655 fi
18656
18657   ac_save_LIBS="$LIBS"
18658   LIBS="$LIBS $libm"
18659
18660
18661
18662   echo "$as_me:$LINENO: checking for isinf declaration" >&5
18663 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18664   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18665     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18666   echo $ECHO_N "(cached) $ECHO_C" >&6
18667 else
18668
18669
18670
18671       ac_ext=cc
18672 ac_cpp='$CXXCPP $CPPFLAGS'
18673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18676
18677       cat >conftest.$ac_ext <<_ACEOF
18678 /* confdefs.h.  */
18679 _ACEOF
18680 cat confdefs.h >>conftest.$ac_ext
18681 cat >>conftest.$ac_ext <<_ACEOF
18682 /* end confdefs.h.  */
18683 #include <math.h>
18684                       #ifdef HAVE_IEEEFP_H
18685                       #include <ieeefp.h>
18686                       #endif
18687
18688 int
18689 main ()
18690 {
18691  isinf(0);
18692   ;
18693   return 0;
18694 }
18695 _ACEOF
18696 rm -f conftest.$ac_objext
18697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18698   (eval $ac_compile) 2>conftest.er1
18699   ac_status=$?
18700   grep -v '^ *+' conftest.er1 >conftest.err
18701   rm -f conftest.er1
18702   cat conftest.err >&5
18703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704   (exit $ac_status); } &&
18705          { ac_try='test -z "$ac_cxx_werror_flag"
18706                          || test ! -s conftest.err'
18707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18708   (eval $ac_try) 2>&5
18709   ac_status=$?
18710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711   (exit $ac_status); }; } &&
18712          { ac_try='test -s conftest.$ac_objext'
18713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18714   (eval $ac_try) 2>&5
18715   ac_status=$?
18716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717   (exit $ac_status); }; }; then
18718   glibcxx_cv_func_isinf_use=yes
18719 else
18720   echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18722
18723 glibcxx_cv_func_isinf_use=no
18724 fi
18725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18726       ac_ext=c
18727 ac_cpp='$CPP $CPPFLAGS'
18728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18731
18732
18733 fi
18734
18735   fi
18736   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18737 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18738
18739   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18740
18741 for ac_func in isinf
18742 do
18743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18744 echo "$as_me:$LINENO: checking for $ac_func" >&5
18745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18746 if eval "test \"\${$as_ac_var+set}\" = set"; then
18747   echo $ECHO_N "(cached) $ECHO_C" >&6
18748 else
18749   if test x$gcc_no_link = xyes; then
18750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18752    { (exit 1); exit 1; }; }
18753 fi
18754 cat >conftest.$ac_ext <<_ACEOF
18755 /* confdefs.h.  */
18756 _ACEOF
18757 cat confdefs.h >>conftest.$ac_ext
18758 cat >>conftest.$ac_ext <<_ACEOF
18759 /* end confdefs.h.  */
18760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18762 #define $ac_func innocuous_$ac_func
18763
18764 /* System header to define __stub macros and hopefully few prototypes,
18765     which can conflict with char $ac_func (); below.
18766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18767     <limits.h> exists even on freestanding compilers.  */
18768
18769 #ifdef __STDC__
18770 # include <limits.h>
18771 #else
18772 # include <assert.h>
18773 #endif
18774
18775 #undef $ac_func
18776
18777 /* Override any gcc2 internal prototype to avoid an error.  */
18778 #ifdef __cplusplus
18779 extern "C"
18780 {
18781 #endif
18782 /* We use char because int might match the return type of a gcc2
18783    builtin and then its argument prototype would still apply.  */
18784 char $ac_func ();
18785 /* The GNU C library defines this for functions which it implements
18786     to always fail with ENOSYS.  Some functions are actually named
18787     something starting with __ and the normal name is an alias.  */
18788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18789 choke me
18790 #else
18791 char (*f) () = $ac_func;
18792 #endif
18793 #ifdef __cplusplus
18794 }
18795 #endif
18796
18797 int
18798 main ()
18799 {
18800 return f != $ac_func;
18801   ;
18802   return 0;
18803 }
18804 _ACEOF
18805 rm -f conftest.$ac_objext conftest$ac_exeext
18806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18807   (eval $ac_link) 2>conftest.er1
18808   ac_status=$?
18809   grep -v '^ *+' conftest.er1 >conftest.err
18810   rm -f conftest.er1
18811   cat conftest.err >&5
18812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813   (exit $ac_status); } &&
18814          { ac_try='test -z "$ac_c_werror_flag"
18815                          || test ! -s conftest.err'
18816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817   (eval $ac_try) 2>&5
18818   ac_status=$?
18819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820   (exit $ac_status); }; } &&
18821          { ac_try='test -s conftest$ac_exeext'
18822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18823   (eval $ac_try) 2>&5
18824   ac_status=$?
18825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826   (exit $ac_status); }; }; then
18827   eval "$as_ac_var=yes"
18828 else
18829   echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.$ac_ext >&5
18831
18832 eval "$as_ac_var=no"
18833 fi
18834 rm -f conftest.err conftest.$ac_objext \
18835       conftest$ac_exeext conftest.$ac_ext
18836 fi
18837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18839 if test `eval echo '${'$as_ac_var'}'` = yes; then
18840   cat >>confdefs.h <<_ACEOF
18841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18842 _ACEOF
18843
18844 fi
18845 done
18846
18847   else
18848
18849   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18850 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18851   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18852     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18853   echo $ECHO_N "(cached) $ECHO_C" >&6
18854 else
18855
18856
18857
18858       ac_ext=cc
18859 ac_cpp='$CXXCPP $CPPFLAGS'
18860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18863
18864       cat >conftest.$ac_ext <<_ACEOF
18865 /* confdefs.h.  */
18866 _ACEOF
18867 cat confdefs.h >>conftest.$ac_ext
18868 cat >>conftest.$ac_ext <<_ACEOF
18869 /* end confdefs.h.  */
18870 #include <math.h>
18871                       #ifdef HAVE_IEEEFP_H
18872                       #include <ieeefp.h>
18873                       #endif
18874
18875 int
18876 main ()
18877 {
18878  _isinf(0);
18879   ;
18880   return 0;
18881 }
18882 _ACEOF
18883 rm -f conftest.$ac_objext
18884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18885   (eval $ac_compile) 2>conftest.er1
18886   ac_status=$?
18887   grep -v '^ *+' conftest.er1 >conftest.err
18888   rm -f conftest.er1
18889   cat conftest.err >&5
18890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891   (exit $ac_status); } &&
18892          { ac_try='test -z "$ac_cxx_werror_flag"
18893                          || test ! -s conftest.err'
18894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895   (eval $ac_try) 2>&5
18896   ac_status=$?
18897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898   (exit $ac_status); }; } &&
18899          { ac_try='test -s conftest.$ac_objext'
18900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18901   (eval $ac_try) 2>&5
18902   ac_status=$?
18903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904   (exit $ac_status); }; }; then
18905   glibcxx_cv_func__isinf_use=yes
18906 else
18907   echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18909
18910 glibcxx_cv_func__isinf_use=no
18911 fi
18912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18913       ac_ext=c
18914 ac_cpp='$CPP $CPPFLAGS'
18915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18918
18919
18920 fi
18921
18922   fi
18923   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18924 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18925
18926     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18927
18928 for ac_func in _isinf
18929 do
18930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18931 echo "$as_me:$LINENO: checking for $ac_func" >&5
18932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18933 if eval "test \"\${$as_ac_var+set}\" = set"; then
18934   echo $ECHO_N "(cached) $ECHO_C" >&6
18935 else
18936   if test x$gcc_no_link = xyes; then
18937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18939    { (exit 1); exit 1; }; }
18940 fi
18941 cat >conftest.$ac_ext <<_ACEOF
18942 /* confdefs.h.  */
18943 _ACEOF
18944 cat confdefs.h >>conftest.$ac_ext
18945 cat >>conftest.$ac_ext <<_ACEOF
18946 /* end confdefs.h.  */
18947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18948    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18949 #define $ac_func innocuous_$ac_func
18950
18951 /* System header to define __stub macros and hopefully few prototypes,
18952     which can conflict with char $ac_func (); below.
18953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18954     <limits.h> exists even on freestanding compilers.  */
18955
18956 #ifdef __STDC__
18957 # include <limits.h>
18958 #else
18959 # include <assert.h>
18960 #endif
18961
18962 #undef $ac_func
18963
18964 /* Override any gcc2 internal prototype to avoid an error.  */
18965 #ifdef __cplusplus
18966 extern "C"
18967 {
18968 #endif
18969 /* We use char because int might match the return type of a gcc2
18970    builtin and then its argument prototype would still apply.  */
18971 char $ac_func ();
18972 /* The GNU C library defines this for functions which it implements
18973     to always fail with ENOSYS.  Some functions are actually named
18974     something starting with __ and the normal name is an alias.  */
18975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18976 choke me
18977 #else
18978 char (*f) () = $ac_func;
18979 #endif
18980 #ifdef __cplusplus
18981 }
18982 #endif
18983
18984 int
18985 main ()
18986 {
18987 return f != $ac_func;
18988   ;
18989   return 0;
18990 }
18991 _ACEOF
18992 rm -f conftest.$ac_objext conftest$ac_exeext
18993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18994   (eval $ac_link) 2>conftest.er1
18995   ac_status=$?
18996   grep -v '^ *+' conftest.er1 >conftest.err
18997   rm -f conftest.er1
18998   cat conftest.err >&5
18999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000   (exit $ac_status); } &&
19001          { ac_try='test -z "$ac_c_werror_flag"
19002                          || test ! -s conftest.err'
19003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004   (eval $ac_try) 2>&5
19005   ac_status=$?
19006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007   (exit $ac_status); }; } &&
19008          { ac_try='test -s conftest$ac_exeext'
19009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010   (eval $ac_try) 2>&5
19011   ac_status=$?
19012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013   (exit $ac_status); }; }; then
19014   eval "$as_ac_var=yes"
19015 else
19016   echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.$ac_ext >&5
19018
19019 eval "$as_ac_var=no"
19020 fi
19021 rm -f conftest.err conftest.$ac_objext \
19022       conftest$ac_exeext conftest.$ac_ext
19023 fi
19024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19026 if test `eval echo '${'$as_ac_var'}'` = yes; then
19027   cat >>confdefs.h <<_ACEOF
19028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19029 _ACEOF
19030
19031 fi
19032 done
19033
19034     fi
19035   fi
19036
19037
19038
19039
19040
19041
19042   echo "$as_me:$LINENO: checking for isnan declaration" >&5
19043 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19044   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19045     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19046   echo $ECHO_N "(cached) $ECHO_C" >&6
19047 else
19048
19049
19050
19051       ac_ext=cc
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19056
19057       cat >conftest.$ac_ext <<_ACEOF
19058 /* confdefs.h.  */
19059 _ACEOF
19060 cat confdefs.h >>conftest.$ac_ext
19061 cat >>conftest.$ac_ext <<_ACEOF
19062 /* end confdefs.h.  */
19063 #include <math.h>
19064                       #ifdef HAVE_IEEEFP_H
19065                       #include <ieeefp.h>
19066                       #endif
19067
19068 int
19069 main ()
19070 {
19071  isnan(0);
19072   ;
19073   return 0;
19074 }
19075 _ACEOF
19076 rm -f conftest.$ac_objext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19078   (eval $ac_compile) 2>conftest.er1
19079   ac_status=$?
19080   grep -v '^ *+' conftest.er1 >conftest.err
19081   rm -f conftest.er1
19082   cat conftest.err >&5
19083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084   (exit $ac_status); } &&
19085          { ac_try='test -z "$ac_cxx_werror_flag"
19086                          || test ! -s conftest.err'
19087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19088   (eval $ac_try) 2>&5
19089   ac_status=$?
19090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19091   (exit $ac_status); }; } &&
19092          { ac_try='test -s conftest.$ac_objext'
19093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19094   (eval $ac_try) 2>&5
19095   ac_status=$?
19096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097   (exit $ac_status); }; }; then
19098   glibcxx_cv_func_isnan_use=yes
19099 else
19100   echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 glibcxx_cv_func_isnan_use=no
19104 fi
19105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19106       ac_ext=c
19107 ac_cpp='$CPP $CPPFLAGS'
19108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19111
19112
19113 fi
19114
19115   fi
19116   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19117 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19118
19119   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19120
19121 for ac_func in isnan
19122 do
19123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19124 echo "$as_me:$LINENO: checking for $ac_func" >&5
19125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19126 if eval "test \"\${$as_ac_var+set}\" = set"; then
19127   echo $ECHO_N "(cached) $ECHO_C" >&6
19128 else
19129   if test x$gcc_no_link = xyes; then
19130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19132    { (exit 1); exit 1; }; }
19133 fi
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h.  */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h.  */
19140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19142 #define $ac_func innocuous_$ac_func
19143
19144 /* System header to define __stub macros and hopefully few prototypes,
19145     which can conflict with char $ac_func (); below.
19146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19147     <limits.h> exists even on freestanding compilers.  */
19148
19149 #ifdef __STDC__
19150 # include <limits.h>
19151 #else
19152 # include <assert.h>
19153 #endif
19154
19155 #undef $ac_func
19156
19157 /* Override any gcc2 internal prototype to avoid an error.  */
19158 #ifdef __cplusplus
19159 extern "C"
19160 {
19161 #endif
19162 /* We use char because int might match the return type of a gcc2
19163    builtin and then its argument prototype would still apply.  */
19164 char $ac_func ();
19165 /* The GNU C library defines this for functions which it implements
19166     to always fail with ENOSYS.  Some functions are actually named
19167     something starting with __ and the normal name is an alias.  */
19168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19169 choke me
19170 #else
19171 char (*f) () = $ac_func;
19172 #endif
19173 #ifdef __cplusplus
19174 }
19175 #endif
19176
19177 int
19178 main ()
19179 {
19180 return f != $ac_func;
19181   ;
19182   return 0;
19183 }
19184 _ACEOF
19185 rm -f conftest.$ac_objext conftest$ac_exeext
19186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19187   (eval $ac_link) 2>conftest.er1
19188   ac_status=$?
19189   grep -v '^ *+' conftest.er1 >conftest.err
19190   rm -f conftest.er1
19191   cat conftest.err >&5
19192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193   (exit $ac_status); } &&
19194          { ac_try='test -z "$ac_c_werror_flag"
19195                          || test ! -s conftest.err'
19196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197   (eval $ac_try) 2>&5
19198   ac_status=$?
19199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200   (exit $ac_status); }; } &&
19201          { ac_try='test -s conftest$ac_exeext'
19202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203   (eval $ac_try) 2>&5
19204   ac_status=$?
19205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206   (exit $ac_status); }; }; then
19207   eval "$as_ac_var=yes"
19208 else
19209   echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19211
19212 eval "$as_ac_var=no"
19213 fi
19214 rm -f conftest.err conftest.$ac_objext \
19215       conftest$ac_exeext conftest.$ac_ext
19216 fi
19217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19219 if test `eval echo '${'$as_ac_var'}'` = yes; then
19220   cat >>confdefs.h <<_ACEOF
19221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19222 _ACEOF
19223
19224 fi
19225 done
19226
19227   else
19228
19229   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19230 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19231   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19232     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19233   echo $ECHO_N "(cached) $ECHO_C" >&6
19234 else
19235
19236
19237
19238       ac_ext=cc
19239 ac_cpp='$CXXCPP $CPPFLAGS'
19240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19243
19244       cat >conftest.$ac_ext <<_ACEOF
19245 /* confdefs.h.  */
19246 _ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h.  */
19250 #include <math.h>
19251                       #ifdef HAVE_IEEEFP_H
19252                       #include <ieeefp.h>
19253                       #endif
19254
19255 int
19256 main ()
19257 {
19258  _isnan(0);
19259   ;
19260   return 0;
19261 }
19262 _ACEOF
19263 rm -f conftest.$ac_objext
19264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19265   (eval $ac_compile) 2>conftest.er1
19266   ac_status=$?
19267   grep -v '^ *+' conftest.er1 >conftest.err
19268   rm -f conftest.er1
19269   cat conftest.err >&5
19270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271   (exit $ac_status); } &&
19272          { ac_try='test -z "$ac_cxx_werror_flag"
19273                          || test ! -s conftest.err'
19274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275   (eval $ac_try) 2>&5
19276   ac_status=$?
19277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278   (exit $ac_status); }; } &&
19279          { ac_try='test -s conftest.$ac_objext'
19280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281   (eval $ac_try) 2>&5
19282   ac_status=$?
19283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284   (exit $ac_status); }; }; then
19285   glibcxx_cv_func__isnan_use=yes
19286 else
19287   echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.$ac_ext >&5
19289
19290 glibcxx_cv_func__isnan_use=no
19291 fi
19292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19293       ac_ext=c
19294 ac_cpp='$CPP $CPPFLAGS'
19295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19298
19299
19300 fi
19301
19302   fi
19303   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19304 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19305
19306     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19307
19308 for ac_func in _isnan
19309 do
19310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19311 echo "$as_me:$LINENO: checking for $ac_func" >&5
19312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19313 if eval "test \"\${$as_ac_var+set}\" = set"; then
19314   echo $ECHO_N "(cached) $ECHO_C" >&6
19315 else
19316   if test x$gcc_no_link = xyes; then
19317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19319    { (exit 1); exit 1; }; }
19320 fi
19321 cat >conftest.$ac_ext <<_ACEOF
19322 /* confdefs.h.  */
19323 _ACEOF
19324 cat confdefs.h >>conftest.$ac_ext
19325 cat >>conftest.$ac_ext <<_ACEOF
19326 /* end confdefs.h.  */
19327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19329 #define $ac_func innocuous_$ac_func
19330
19331 /* System header to define __stub macros and hopefully few prototypes,
19332     which can conflict with char $ac_func (); below.
19333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19334     <limits.h> exists even on freestanding compilers.  */
19335
19336 #ifdef __STDC__
19337 # include <limits.h>
19338 #else
19339 # include <assert.h>
19340 #endif
19341
19342 #undef $ac_func
19343
19344 /* Override any gcc2 internal prototype to avoid an error.  */
19345 #ifdef __cplusplus
19346 extern "C"
19347 {
19348 #endif
19349 /* We use char because int might match the return type of a gcc2
19350    builtin and then its argument prototype would still apply.  */
19351 char $ac_func ();
19352 /* The GNU C library defines this for functions which it implements
19353     to always fail with ENOSYS.  Some functions are actually named
19354     something starting with __ and the normal name is an alias.  */
19355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19356 choke me
19357 #else
19358 char (*f) () = $ac_func;
19359 #endif
19360 #ifdef __cplusplus
19361 }
19362 #endif
19363
19364 int
19365 main ()
19366 {
19367 return f != $ac_func;
19368   ;
19369   return 0;
19370 }
19371 _ACEOF
19372 rm -f conftest.$ac_objext conftest$ac_exeext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19374   (eval $ac_link) 2>conftest.er1
19375   ac_status=$?
19376   grep -v '^ *+' conftest.er1 >conftest.err
19377   rm -f conftest.er1
19378   cat conftest.err >&5
19379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380   (exit $ac_status); } &&
19381          { ac_try='test -z "$ac_c_werror_flag"
19382                          || test ! -s conftest.err'
19383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384   (eval $ac_try) 2>&5
19385   ac_status=$?
19386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387   (exit $ac_status); }; } &&
19388          { ac_try='test -s conftest$ac_exeext'
19389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390   (eval $ac_try) 2>&5
19391   ac_status=$?
19392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393   (exit $ac_status); }; }; then
19394   eval "$as_ac_var=yes"
19395 else
19396   echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19398
19399 eval "$as_ac_var=no"
19400 fi
19401 rm -f conftest.err conftest.$ac_objext \
19402       conftest$ac_exeext conftest.$ac_ext
19403 fi
19404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19406 if test `eval echo '${'$as_ac_var'}'` = yes; then
19407   cat >>confdefs.h <<_ACEOF
19408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19409 _ACEOF
19410
19411 fi
19412 done
19413
19414     fi
19415   fi
19416
19417
19418
19419
19420
19421
19422   echo "$as_me:$LINENO: checking for finite declaration" >&5
19423 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19424   if test x${glibcxx_cv_func_finite_use+set} != xset; then
19425     if test "${glibcxx_cv_func_finite_use+set}" = set; then
19426   echo $ECHO_N "(cached) $ECHO_C" >&6
19427 else
19428
19429
19430
19431       ac_ext=cc
19432 ac_cpp='$CXXCPP $CPPFLAGS'
19433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19436
19437       cat >conftest.$ac_ext <<_ACEOF
19438 /* confdefs.h.  */
19439 _ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h.  */
19443 #include <math.h>
19444                       #ifdef HAVE_IEEEFP_H
19445                       #include <ieeefp.h>
19446                       #endif
19447
19448 int
19449 main ()
19450 {
19451  finite(0);
19452   ;
19453   return 0;
19454 }
19455 _ACEOF
19456 rm -f conftest.$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458   (eval $ac_compile) 2>conftest.er1
19459   ac_status=$?
19460   grep -v '^ *+' conftest.er1 >conftest.err
19461   rm -f conftest.er1
19462   cat conftest.err >&5
19463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464   (exit $ac_status); } &&
19465          { ac_try='test -z "$ac_cxx_werror_flag"
19466                          || test ! -s conftest.err'
19467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468   (eval $ac_try) 2>&5
19469   ac_status=$?
19470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471   (exit $ac_status); }; } &&
19472          { ac_try='test -s conftest.$ac_objext'
19473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474   (eval $ac_try) 2>&5
19475   ac_status=$?
19476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477   (exit $ac_status); }; }; then
19478   glibcxx_cv_func_finite_use=yes
19479 else
19480   echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.$ac_ext >&5
19482
19483 glibcxx_cv_func_finite_use=no
19484 fi
19485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19486       ac_ext=c
19487 ac_cpp='$CPP $CPPFLAGS'
19488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19491
19492
19493 fi
19494
19495   fi
19496   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19497 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19498
19499   if test x$glibcxx_cv_func_finite_use = x"yes"; then
19500
19501 for ac_func in finite
19502 do
19503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19504 echo "$as_me:$LINENO: checking for $ac_func" >&5
19505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19506 if eval "test \"\${$as_ac_var+set}\" = set"; then
19507   echo $ECHO_N "(cached) $ECHO_C" >&6
19508 else
19509   if test x$gcc_no_link = xyes; then
19510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19512    { (exit 1); exit 1; }; }
19513 fi
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h.  */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h.  */
19520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19522 #define $ac_func innocuous_$ac_func
19523
19524 /* System header to define __stub macros and hopefully few prototypes,
19525     which can conflict with char $ac_func (); below.
19526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19527     <limits.h> exists even on freestanding compilers.  */
19528
19529 #ifdef __STDC__
19530 # include <limits.h>
19531 #else
19532 # include <assert.h>
19533 #endif
19534
19535 #undef $ac_func
19536
19537 /* Override any gcc2 internal prototype to avoid an error.  */
19538 #ifdef __cplusplus
19539 extern "C"
19540 {
19541 #endif
19542 /* We use char because int might match the return type of a gcc2
19543    builtin and then its argument prototype would still apply.  */
19544 char $ac_func ();
19545 /* The GNU C library defines this for functions which it implements
19546     to always fail with ENOSYS.  Some functions are actually named
19547     something starting with __ and the normal name is an alias.  */
19548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19549 choke me
19550 #else
19551 char (*f) () = $ac_func;
19552 #endif
19553 #ifdef __cplusplus
19554 }
19555 #endif
19556
19557 int
19558 main ()
19559 {
19560 return f != $ac_func;
19561   ;
19562   return 0;
19563 }
19564 _ACEOF
19565 rm -f conftest.$ac_objext conftest$ac_exeext
19566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19567   (eval $ac_link) 2>conftest.er1
19568   ac_status=$?
19569   grep -v '^ *+' conftest.er1 >conftest.err
19570   rm -f conftest.er1
19571   cat conftest.err >&5
19572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573   (exit $ac_status); } &&
19574          { ac_try='test -z "$ac_c_werror_flag"
19575                          || test ! -s conftest.err'
19576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577   (eval $ac_try) 2>&5
19578   ac_status=$?
19579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580   (exit $ac_status); }; } &&
19581          { ac_try='test -s conftest$ac_exeext'
19582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583   (eval $ac_try) 2>&5
19584   ac_status=$?
19585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586   (exit $ac_status); }; }; then
19587   eval "$as_ac_var=yes"
19588 else
19589   echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19591
19592 eval "$as_ac_var=no"
19593 fi
19594 rm -f conftest.err conftest.$ac_objext \
19595       conftest$ac_exeext conftest.$ac_ext
19596 fi
19597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19599 if test `eval echo '${'$as_ac_var'}'` = yes; then
19600   cat >>confdefs.h <<_ACEOF
19601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19602 _ACEOF
19603
19604 fi
19605 done
19606
19607   else
19608
19609   echo "$as_me:$LINENO: checking for _finite declaration" >&5
19610 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19611   if test x${glibcxx_cv_func__finite_use+set} != xset; then
19612     if test "${glibcxx_cv_func__finite_use+set}" = set; then
19613   echo $ECHO_N "(cached) $ECHO_C" >&6
19614 else
19615
19616
19617
19618       ac_ext=cc
19619 ac_cpp='$CXXCPP $CPPFLAGS'
19620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19623
19624       cat >conftest.$ac_ext <<_ACEOF
19625 /* confdefs.h.  */
19626 _ACEOF
19627 cat confdefs.h >>conftest.$ac_ext
19628 cat >>conftest.$ac_ext <<_ACEOF
19629 /* end confdefs.h.  */
19630 #include <math.h>
19631                       #ifdef HAVE_IEEEFP_H
19632                       #include <ieeefp.h>
19633                       #endif
19634
19635 int
19636 main ()
19637 {
19638  _finite(0);
19639   ;
19640   return 0;
19641 }
19642 _ACEOF
19643 rm -f conftest.$ac_objext
19644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19645   (eval $ac_compile) 2>conftest.er1
19646   ac_status=$?
19647   grep -v '^ *+' conftest.er1 >conftest.err
19648   rm -f conftest.er1
19649   cat conftest.err >&5
19650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651   (exit $ac_status); } &&
19652          { ac_try='test -z "$ac_cxx_werror_flag"
19653                          || test ! -s conftest.err'
19654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19655   (eval $ac_try) 2>&5
19656   ac_status=$?
19657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658   (exit $ac_status); }; } &&
19659          { ac_try='test -s conftest.$ac_objext'
19660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19661   (eval $ac_try) 2>&5
19662   ac_status=$?
19663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664   (exit $ac_status); }; }; then
19665   glibcxx_cv_func__finite_use=yes
19666 else
19667   echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19669
19670 glibcxx_cv_func__finite_use=no
19671 fi
19672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19673       ac_ext=c
19674 ac_cpp='$CPP $CPPFLAGS'
19675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19678
19679
19680 fi
19681
19682   fi
19683   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19684 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19685
19686     if test x$glibcxx_cv_func__finite_use = x"yes"; then
19687
19688 for ac_func in _finite
19689 do
19690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19691 echo "$as_me:$LINENO: checking for $ac_func" >&5
19692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19693 if eval "test \"\${$as_ac_var+set}\" = set"; then
19694   echo $ECHO_N "(cached) $ECHO_C" >&6
19695 else
19696   if test x$gcc_no_link = xyes; then
19697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19699    { (exit 1); exit 1; }; }
19700 fi
19701 cat >conftest.$ac_ext <<_ACEOF
19702 /* confdefs.h.  */
19703 _ACEOF
19704 cat confdefs.h >>conftest.$ac_ext
19705 cat >>conftest.$ac_ext <<_ACEOF
19706 /* end confdefs.h.  */
19707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19709 #define $ac_func innocuous_$ac_func
19710
19711 /* System header to define __stub macros and hopefully few prototypes,
19712     which can conflict with char $ac_func (); below.
19713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19714     <limits.h> exists even on freestanding compilers.  */
19715
19716 #ifdef __STDC__
19717 # include <limits.h>
19718 #else
19719 # include <assert.h>
19720 #endif
19721
19722 #undef $ac_func
19723
19724 /* Override any gcc2 internal prototype to avoid an error.  */
19725 #ifdef __cplusplus
19726 extern "C"
19727 {
19728 #endif
19729 /* We use char because int might match the return type of a gcc2
19730    builtin and then its argument prototype would still apply.  */
19731 char $ac_func ();
19732 /* The GNU C library defines this for functions which it implements
19733     to always fail with ENOSYS.  Some functions are actually named
19734     something starting with __ and the normal name is an alias.  */
19735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19736 choke me
19737 #else
19738 char (*f) () = $ac_func;
19739 #endif
19740 #ifdef __cplusplus
19741 }
19742 #endif
19743
19744 int
19745 main ()
19746 {
19747 return f != $ac_func;
19748   ;
19749   return 0;
19750 }
19751 _ACEOF
19752 rm -f conftest.$ac_objext conftest$ac_exeext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19754   (eval $ac_link) 2>conftest.er1
19755   ac_status=$?
19756   grep -v '^ *+' conftest.er1 >conftest.err
19757   rm -f conftest.er1
19758   cat conftest.err >&5
19759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760   (exit $ac_status); } &&
19761          { ac_try='test -z "$ac_c_werror_flag"
19762                          || test ! -s conftest.err'
19763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764   (eval $ac_try) 2>&5
19765   ac_status=$?
19766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767   (exit $ac_status); }; } &&
19768          { ac_try='test -s conftest$ac_exeext'
19769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770   (eval $ac_try) 2>&5
19771   ac_status=$?
19772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773   (exit $ac_status); }; }; then
19774   eval "$as_ac_var=yes"
19775 else
19776   echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19778
19779 eval "$as_ac_var=no"
19780 fi
19781 rm -f conftest.err conftest.$ac_objext \
19782       conftest$ac_exeext conftest.$ac_ext
19783 fi
19784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19786 if test `eval echo '${'$as_ac_var'}'` = yes; then
19787   cat >>confdefs.h <<_ACEOF
19788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19789 _ACEOF
19790
19791 fi
19792 done
19793
19794     fi
19795   fi
19796
19797
19798
19799
19800
19801
19802   echo "$as_me:$LINENO: checking for copysign declaration" >&5
19803 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19804   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19805     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19806   echo $ECHO_N "(cached) $ECHO_C" >&6
19807 else
19808
19809
19810
19811       ac_ext=cc
19812 ac_cpp='$CXXCPP $CPPFLAGS'
19813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19816
19817       cat >conftest.$ac_ext <<_ACEOF
19818 /* confdefs.h.  */
19819 _ACEOF
19820 cat confdefs.h >>conftest.$ac_ext
19821 cat >>conftest.$ac_ext <<_ACEOF
19822 /* end confdefs.h.  */
19823 #include <math.h>
19824 int
19825 main ()
19826 {
19827  copysign(0, 0);
19828   ;
19829   return 0;
19830 }
19831 _ACEOF
19832 rm -f conftest.$ac_objext
19833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19834   (eval $ac_compile) 2>conftest.er1
19835   ac_status=$?
19836   grep -v '^ *+' conftest.er1 >conftest.err
19837   rm -f conftest.er1
19838   cat conftest.err >&5
19839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840   (exit $ac_status); } &&
19841          { ac_try='test -z "$ac_cxx_werror_flag"
19842                          || test ! -s conftest.err'
19843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19844   (eval $ac_try) 2>&5
19845   ac_status=$?
19846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847   (exit $ac_status); }; } &&
19848          { ac_try='test -s conftest.$ac_objext'
19849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19850   (eval $ac_try) 2>&5
19851   ac_status=$?
19852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853   (exit $ac_status); }; }; then
19854   glibcxx_cv_func_copysign_use=yes
19855 else
19856   echo "$as_me: failed program was:" >&5
19857 sed 's/^/| /' conftest.$ac_ext >&5
19858
19859 glibcxx_cv_func_copysign_use=no
19860 fi
19861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19862       ac_ext=c
19863 ac_cpp='$CPP $CPPFLAGS'
19864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19867
19868
19869 fi
19870
19871   fi
19872   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19873 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19874
19875   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19876
19877 for ac_func in copysign
19878 do
19879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19880 echo "$as_me:$LINENO: checking for $ac_func" >&5
19881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19882 if eval "test \"\${$as_ac_var+set}\" = set"; then
19883   echo $ECHO_N "(cached) $ECHO_C" >&6
19884 else
19885   if test x$gcc_no_link = xyes; then
19886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19888    { (exit 1); exit 1; }; }
19889 fi
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h.  */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h.  */
19896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19898 #define $ac_func innocuous_$ac_func
19899
19900 /* System header to define __stub macros and hopefully few prototypes,
19901     which can conflict with char $ac_func (); below.
19902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19903     <limits.h> exists even on freestanding compilers.  */
19904
19905 #ifdef __STDC__
19906 # include <limits.h>
19907 #else
19908 # include <assert.h>
19909 #endif
19910
19911 #undef $ac_func
19912
19913 /* Override any gcc2 internal prototype to avoid an error.  */
19914 #ifdef __cplusplus
19915 extern "C"
19916 {
19917 #endif
19918 /* We use char because int might match the return type of a gcc2
19919    builtin and then its argument prototype would still apply.  */
19920 char $ac_func ();
19921 /* The GNU C library defines this for functions which it implements
19922     to always fail with ENOSYS.  Some functions are actually named
19923     something starting with __ and the normal name is an alias.  */
19924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19925 choke me
19926 #else
19927 char (*f) () = $ac_func;
19928 #endif
19929 #ifdef __cplusplus
19930 }
19931 #endif
19932
19933 int
19934 main ()
19935 {
19936 return f != $ac_func;
19937   ;
19938   return 0;
19939 }
19940 _ACEOF
19941 rm -f conftest.$ac_objext conftest$ac_exeext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19943   (eval $ac_link) 2>conftest.er1
19944   ac_status=$?
19945   grep -v '^ *+' conftest.er1 >conftest.err
19946   rm -f conftest.er1
19947   cat conftest.err >&5
19948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949   (exit $ac_status); } &&
19950          { ac_try='test -z "$ac_c_werror_flag"
19951                          || test ! -s conftest.err'
19952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953   (eval $ac_try) 2>&5
19954   ac_status=$?
19955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956   (exit $ac_status); }; } &&
19957          { ac_try='test -s conftest$ac_exeext'
19958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959   (eval $ac_try) 2>&5
19960   ac_status=$?
19961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962   (exit $ac_status); }; }; then
19963   eval "$as_ac_var=yes"
19964 else
19965   echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19967
19968 eval "$as_ac_var=no"
19969 fi
19970 rm -f conftest.err conftest.$ac_objext \
19971       conftest$ac_exeext conftest.$ac_ext
19972 fi
19973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19975 if test `eval echo '${'$as_ac_var'}'` = yes; then
19976   cat >>confdefs.h <<_ACEOF
19977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19978 _ACEOF
19979
19980 fi
19981 done
19982
19983   else
19984
19985   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19986 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19987   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19988     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19989   echo $ECHO_N "(cached) $ECHO_C" >&6
19990 else
19991
19992
19993
19994       ac_ext=cc
19995 ac_cpp='$CXXCPP $CPPFLAGS'
19996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19999
20000       cat >conftest.$ac_ext <<_ACEOF
20001 /* confdefs.h.  */
20002 _ACEOF
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h.  */
20006 #include <math.h>
20007 int
20008 main ()
20009 {
20010  _copysign(0, 0);
20011   ;
20012   return 0;
20013 }
20014 _ACEOF
20015 rm -f conftest.$ac_objext
20016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20017   (eval $ac_compile) 2>conftest.er1
20018   ac_status=$?
20019   grep -v '^ *+' conftest.er1 >conftest.err
20020   rm -f conftest.er1
20021   cat conftest.err >&5
20022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023   (exit $ac_status); } &&
20024          { ac_try='test -z "$ac_cxx_werror_flag"
20025                          || test ! -s conftest.err'
20026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20027   (eval $ac_try) 2>&5
20028   ac_status=$?
20029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030   (exit $ac_status); }; } &&
20031          { ac_try='test -s conftest.$ac_objext'
20032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20033   (eval $ac_try) 2>&5
20034   ac_status=$?
20035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036   (exit $ac_status); }; }; then
20037   glibcxx_cv_func__copysign_use=yes
20038 else
20039   echo "$as_me: failed program was:" >&5
20040 sed 's/^/| /' conftest.$ac_ext >&5
20041
20042 glibcxx_cv_func__copysign_use=no
20043 fi
20044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20045       ac_ext=c
20046 ac_cpp='$CPP $CPPFLAGS'
20047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20050
20051
20052 fi
20053
20054   fi
20055   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20056 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20057
20058     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20059
20060 for ac_func in _copysign
20061 do
20062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20063 echo "$as_me:$LINENO: checking for $ac_func" >&5
20064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20065 if eval "test \"\${$as_ac_var+set}\" = set"; then
20066   echo $ECHO_N "(cached) $ECHO_C" >&6
20067 else
20068   if test x$gcc_no_link = xyes; then
20069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20071    { (exit 1); exit 1; }; }
20072 fi
20073 cat >conftest.$ac_ext <<_ACEOF
20074 /* confdefs.h.  */
20075 _ACEOF
20076 cat confdefs.h >>conftest.$ac_ext
20077 cat >>conftest.$ac_ext <<_ACEOF
20078 /* end confdefs.h.  */
20079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20081 #define $ac_func innocuous_$ac_func
20082
20083 /* System header to define __stub macros and hopefully few prototypes,
20084     which can conflict with char $ac_func (); below.
20085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20086     <limits.h> exists even on freestanding compilers.  */
20087
20088 #ifdef __STDC__
20089 # include <limits.h>
20090 #else
20091 # include <assert.h>
20092 #endif
20093
20094 #undef $ac_func
20095
20096 /* Override any gcc2 internal prototype to avoid an error.  */
20097 #ifdef __cplusplus
20098 extern "C"
20099 {
20100 #endif
20101 /* We use char because int might match the return type of a gcc2
20102    builtin and then its argument prototype would still apply.  */
20103 char $ac_func ();
20104 /* The GNU C library defines this for functions which it implements
20105     to always fail with ENOSYS.  Some functions are actually named
20106     something starting with __ and the normal name is an alias.  */
20107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20108 choke me
20109 #else
20110 char (*f) () = $ac_func;
20111 #endif
20112 #ifdef __cplusplus
20113 }
20114 #endif
20115
20116 int
20117 main ()
20118 {
20119 return f != $ac_func;
20120   ;
20121   return 0;
20122 }
20123 _ACEOF
20124 rm -f conftest.$ac_objext conftest$ac_exeext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20126   (eval $ac_link) 2>conftest.er1
20127   ac_status=$?
20128   grep -v '^ *+' conftest.er1 >conftest.err
20129   rm -f conftest.er1
20130   cat conftest.err >&5
20131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132   (exit $ac_status); } &&
20133          { ac_try='test -z "$ac_c_werror_flag"
20134                          || test ! -s conftest.err'
20135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136   (eval $ac_try) 2>&5
20137   ac_status=$?
20138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139   (exit $ac_status); }; } &&
20140          { ac_try='test -s conftest$ac_exeext'
20141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142   (eval $ac_try) 2>&5
20143   ac_status=$?
20144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145   (exit $ac_status); }; }; then
20146   eval "$as_ac_var=yes"
20147 else
20148   echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20150
20151 eval "$as_ac_var=no"
20152 fi
20153 rm -f conftest.err conftest.$ac_objext \
20154       conftest$ac_exeext conftest.$ac_ext
20155 fi
20156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20158 if test `eval echo '${'$as_ac_var'}'` = yes; then
20159   cat >>confdefs.h <<_ACEOF
20160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20161 _ACEOF
20162
20163 fi
20164 done
20165
20166     fi
20167   fi
20168
20169
20170
20171
20172
20173
20174   echo "$as_me:$LINENO: checking for sincos declaration" >&5
20175 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20176   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20177     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20178   echo $ECHO_N "(cached) $ECHO_C" >&6
20179 else
20180
20181
20182
20183       ac_ext=cc
20184 ac_cpp='$CXXCPP $CPPFLAGS'
20185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20188
20189       cat >conftest.$ac_ext <<_ACEOF
20190 /* confdefs.h.  */
20191 _ACEOF
20192 cat confdefs.h >>conftest.$ac_ext
20193 cat >>conftest.$ac_ext <<_ACEOF
20194 /* end confdefs.h.  */
20195 #include <math.h>
20196 int
20197 main ()
20198 {
20199  sincos(0, 0, 0);
20200   ;
20201   return 0;
20202 }
20203 _ACEOF
20204 rm -f conftest.$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206   (eval $ac_compile) 2>conftest.er1
20207   ac_status=$?
20208   grep -v '^ *+' conftest.er1 >conftest.err
20209   rm -f conftest.er1
20210   cat conftest.err >&5
20211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212   (exit $ac_status); } &&
20213          { ac_try='test -z "$ac_cxx_werror_flag"
20214                          || test ! -s conftest.err'
20215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20216   (eval $ac_try) 2>&5
20217   ac_status=$?
20218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219   (exit $ac_status); }; } &&
20220          { ac_try='test -s conftest.$ac_objext'
20221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20222   (eval $ac_try) 2>&5
20223   ac_status=$?
20224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20225   (exit $ac_status); }; }; then
20226   glibcxx_cv_func_sincos_use=yes
20227 else
20228   echo "$as_me: failed program was:" >&5
20229 sed 's/^/| /' conftest.$ac_ext >&5
20230
20231 glibcxx_cv_func_sincos_use=no
20232 fi
20233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20234       ac_ext=c
20235 ac_cpp='$CPP $CPPFLAGS'
20236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20239
20240
20241 fi
20242
20243   fi
20244   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20245 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20246
20247   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20248
20249 for ac_func in sincos
20250 do
20251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20252 echo "$as_me:$LINENO: checking for $ac_func" >&5
20253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20254 if eval "test \"\${$as_ac_var+set}\" = set"; then
20255   echo $ECHO_N "(cached) $ECHO_C" >&6
20256 else
20257   if test x$gcc_no_link = xyes; then
20258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20260    { (exit 1); exit 1; }; }
20261 fi
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h.  */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h.  */
20268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20270 #define $ac_func innocuous_$ac_func
20271
20272 /* System header to define __stub macros and hopefully few prototypes,
20273     which can conflict with char $ac_func (); below.
20274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20275     <limits.h> exists even on freestanding compilers.  */
20276
20277 #ifdef __STDC__
20278 # include <limits.h>
20279 #else
20280 # include <assert.h>
20281 #endif
20282
20283 #undef $ac_func
20284
20285 /* Override any gcc2 internal prototype to avoid an error.  */
20286 #ifdef __cplusplus
20287 extern "C"
20288 {
20289 #endif
20290 /* We use char because int might match the return type of a gcc2
20291    builtin and then its argument prototype would still apply.  */
20292 char $ac_func ();
20293 /* The GNU C library defines this for functions which it implements
20294     to always fail with ENOSYS.  Some functions are actually named
20295     something starting with __ and the normal name is an alias.  */
20296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20297 choke me
20298 #else
20299 char (*f) () = $ac_func;
20300 #endif
20301 #ifdef __cplusplus
20302 }
20303 #endif
20304
20305 int
20306 main ()
20307 {
20308 return f != $ac_func;
20309   ;
20310   return 0;
20311 }
20312 _ACEOF
20313 rm -f conftest.$ac_objext conftest$ac_exeext
20314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20315   (eval $ac_link) 2>conftest.er1
20316   ac_status=$?
20317   grep -v '^ *+' conftest.er1 >conftest.err
20318   rm -f conftest.er1
20319   cat conftest.err >&5
20320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321   (exit $ac_status); } &&
20322          { ac_try='test -z "$ac_c_werror_flag"
20323                          || test ! -s conftest.err'
20324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325   (eval $ac_try) 2>&5
20326   ac_status=$?
20327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328   (exit $ac_status); }; } &&
20329          { ac_try='test -s conftest$ac_exeext'
20330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331   (eval $ac_try) 2>&5
20332   ac_status=$?
20333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334   (exit $ac_status); }; }; then
20335   eval "$as_ac_var=yes"
20336 else
20337   echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20339
20340 eval "$as_ac_var=no"
20341 fi
20342 rm -f conftest.err conftest.$ac_objext \
20343       conftest$ac_exeext conftest.$ac_ext
20344 fi
20345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20347 if test `eval echo '${'$as_ac_var'}'` = yes; then
20348   cat >>confdefs.h <<_ACEOF
20349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20350 _ACEOF
20351
20352 fi
20353 done
20354
20355   else
20356
20357   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20358 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20359   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20360     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20361   echo $ECHO_N "(cached) $ECHO_C" >&6
20362 else
20363
20364
20365
20366       ac_ext=cc
20367 ac_cpp='$CXXCPP $CPPFLAGS'
20368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20371
20372       cat >conftest.$ac_ext <<_ACEOF
20373 /* confdefs.h.  */
20374 _ACEOF
20375 cat confdefs.h >>conftest.$ac_ext
20376 cat >>conftest.$ac_ext <<_ACEOF
20377 /* end confdefs.h.  */
20378 #include <math.h>
20379 int
20380 main ()
20381 {
20382  _sincos(0, 0, 0);
20383   ;
20384   return 0;
20385 }
20386 _ACEOF
20387 rm -f conftest.$ac_objext
20388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20389   (eval $ac_compile) 2>conftest.er1
20390   ac_status=$?
20391   grep -v '^ *+' conftest.er1 >conftest.err
20392   rm -f conftest.er1
20393   cat conftest.err >&5
20394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395   (exit $ac_status); } &&
20396          { ac_try='test -z "$ac_cxx_werror_flag"
20397                          || test ! -s conftest.err'
20398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399   (eval $ac_try) 2>&5
20400   ac_status=$?
20401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402   (exit $ac_status); }; } &&
20403          { ac_try='test -s conftest.$ac_objext'
20404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405   (eval $ac_try) 2>&5
20406   ac_status=$?
20407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408   (exit $ac_status); }; }; then
20409   glibcxx_cv_func__sincos_use=yes
20410 else
20411   echo "$as_me: failed program was:" >&5
20412 sed 's/^/| /' conftest.$ac_ext >&5
20413
20414 glibcxx_cv_func__sincos_use=no
20415 fi
20416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20417       ac_ext=c
20418 ac_cpp='$CPP $CPPFLAGS'
20419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20422
20423
20424 fi
20425
20426   fi
20427   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20428 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20429
20430     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20431
20432 for ac_func in _sincos
20433 do
20434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20435 echo "$as_me:$LINENO: checking for $ac_func" >&5
20436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20437 if eval "test \"\${$as_ac_var+set}\" = set"; then
20438   echo $ECHO_N "(cached) $ECHO_C" >&6
20439 else
20440   if test x$gcc_no_link = xyes; then
20441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20443    { (exit 1); exit 1; }; }
20444 fi
20445 cat >conftest.$ac_ext <<_ACEOF
20446 /* confdefs.h.  */
20447 _ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h.  */
20451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20453 #define $ac_func innocuous_$ac_func
20454
20455 /* System header to define __stub macros and hopefully few prototypes,
20456     which can conflict with char $ac_func (); below.
20457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20458     <limits.h> exists even on freestanding compilers.  */
20459
20460 #ifdef __STDC__
20461 # include <limits.h>
20462 #else
20463 # include <assert.h>
20464 #endif
20465
20466 #undef $ac_func
20467
20468 /* Override any gcc2 internal prototype to avoid an error.  */
20469 #ifdef __cplusplus
20470 extern "C"
20471 {
20472 #endif
20473 /* We use char because int might match the return type of a gcc2
20474    builtin and then its argument prototype would still apply.  */
20475 char $ac_func ();
20476 /* The GNU C library defines this for functions which it implements
20477     to always fail with ENOSYS.  Some functions are actually named
20478     something starting with __ and the normal name is an alias.  */
20479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20480 choke me
20481 #else
20482 char (*f) () = $ac_func;
20483 #endif
20484 #ifdef __cplusplus
20485 }
20486 #endif
20487
20488 int
20489 main ()
20490 {
20491 return f != $ac_func;
20492   ;
20493   return 0;
20494 }
20495 _ACEOF
20496 rm -f conftest.$ac_objext conftest$ac_exeext
20497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20498   (eval $ac_link) 2>conftest.er1
20499   ac_status=$?
20500   grep -v '^ *+' conftest.er1 >conftest.err
20501   rm -f conftest.er1
20502   cat conftest.err >&5
20503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504   (exit $ac_status); } &&
20505          { ac_try='test -z "$ac_c_werror_flag"
20506                          || test ! -s conftest.err'
20507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508   (eval $ac_try) 2>&5
20509   ac_status=$?
20510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511   (exit $ac_status); }; } &&
20512          { ac_try='test -s conftest$ac_exeext'
20513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514   (eval $ac_try) 2>&5
20515   ac_status=$?
20516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517   (exit $ac_status); }; }; then
20518   eval "$as_ac_var=yes"
20519 else
20520   echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.$ac_ext >&5
20522
20523 eval "$as_ac_var=no"
20524 fi
20525 rm -f conftest.err conftest.$ac_objext \
20526       conftest$ac_exeext conftest.$ac_ext
20527 fi
20528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20530 if test `eval echo '${'$as_ac_var'}'` = yes; then
20531   cat >>confdefs.h <<_ACEOF
20532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20533 _ACEOF
20534
20535 fi
20536 done
20537
20538     fi
20539   fi
20540
20541
20542
20543
20544
20545
20546   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20547 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20548   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20549     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20550   echo $ECHO_N "(cached) $ECHO_C" >&6
20551 else
20552
20553
20554
20555       ac_ext=cc
20556 ac_cpp='$CXXCPP $CPPFLAGS'
20557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20560
20561       cat >conftest.$ac_ext <<_ACEOF
20562 /* confdefs.h.  */
20563 _ACEOF
20564 cat confdefs.h >>conftest.$ac_ext
20565 cat >>conftest.$ac_ext <<_ACEOF
20566 /* end confdefs.h.  */
20567 #include <math.h>
20568                       #ifdef HAVE_IEEEFP_H
20569                       #include <ieeefp.h>
20570                       #endif
20571
20572 int
20573 main ()
20574 {
20575  fpclass(0);
20576   ;
20577   return 0;
20578 }
20579 _ACEOF
20580 rm -f conftest.$ac_objext
20581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20582   (eval $ac_compile) 2>conftest.er1
20583   ac_status=$?
20584   grep -v '^ *+' conftest.er1 >conftest.err
20585   rm -f conftest.er1
20586   cat conftest.err >&5
20587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20588   (exit $ac_status); } &&
20589          { ac_try='test -z "$ac_cxx_werror_flag"
20590                          || test ! -s conftest.err'
20591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20592   (eval $ac_try) 2>&5
20593   ac_status=$?
20594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20595   (exit $ac_status); }; } &&
20596          { ac_try='test -s conftest.$ac_objext'
20597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20598   (eval $ac_try) 2>&5
20599   ac_status=$?
20600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20601   (exit $ac_status); }; }; then
20602   glibcxx_cv_func_fpclass_use=yes
20603 else
20604   echo "$as_me: failed program was:" >&5
20605 sed 's/^/| /' conftest.$ac_ext >&5
20606
20607 glibcxx_cv_func_fpclass_use=no
20608 fi
20609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20610       ac_ext=c
20611 ac_cpp='$CPP $CPPFLAGS'
20612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20615
20616
20617 fi
20618
20619   fi
20620   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20621 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20622
20623   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20624
20625 for ac_func in fpclass
20626 do
20627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20628 echo "$as_me:$LINENO: checking for $ac_func" >&5
20629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20630 if eval "test \"\${$as_ac_var+set}\" = set"; then
20631   echo $ECHO_N "(cached) $ECHO_C" >&6
20632 else
20633   if test x$gcc_no_link = xyes; then
20634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20636    { (exit 1); exit 1; }; }
20637 fi
20638 cat >conftest.$ac_ext <<_ACEOF
20639 /* confdefs.h.  */
20640 _ACEOF
20641 cat confdefs.h >>conftest.$ac_ext
20642 cat >>conftest.$ac_ext <<_ACEOF
20643 /* end confdefs.h.  */
20644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20646 #define $ac_func innocuous_$ac_func
20647
20648 /* System header to define __stub macros and hopefully few prototypes,
20649     which can conflict with char $ac_func (); below.
20650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20651     <limits.h> exists even on freestanding compilers.  */
20652
20653 #ifdef __STDC__
20654 # include <limits.h>
20655 #else
20656 # include <assert.h>
20657 #endif
20658
20659 #undef $ac_func
20660
20661 /* Override any gcc2 internal prototype to avoid an error.  */
20662 #ifdef __cplusplus
20663 extern "C"
20664 {
20665 #endif
20666 /* We use char because int might match the return type of a gcc2
20667    builtin and then its argument prototype would still apply.  */
20668 char $ac_func ();
20669 /* The GNU C library defines this for functions which it implements
20670     to always fail with ENOSYS.  Some functions are actually named
20671     something starting with __ and the normal name is an alias.  */
20672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20673 choke me
20674 #else
20675 char (*f) () = $ac_func;
20676 #endif
20677 #ifdef __cplusplus
20678 }
20679 #endif
20680
20681 int
20682 main ()
20683 {
20684 return f != $ac_func;
20685   ;
20686   return 0;
20687 }
20688 _ACEOF
20689 rm -f conftest.$ac_objext conftest$ac_exeext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20691   (eval $ac_link) 2>conftest.er1
20692   ac_status=$?
20693   grep -v '^ *+' conftest.er1 >conftest.err
20694   rm -f conftest.er1
20695   cat conftest.err >&5
20696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697   (exit $ac_status); } &&
20698          { ac_try='test -z "$ac_c_werror_flag"
20699                          || test ! -s conftest.err'
20700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701   (eval $ac_try) 2>&5
20702   ac_status=$?
20703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704   (exit $ac_status); }; } &&
20705          { ac_try='test -s conftest$ac_exeext'
20706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707   (eval $ac_try) 2>&5
20708   ac_status=$?
20709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710   (exit $ac_status); }; }; then
20711   eval "$as_ac_var=yes"
20712 else
20713   echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20715
20716 eval "$as_ac_var=no"
20717 fi
20718 rm -f conftest.err conftest.$ac_objext \
20719       conftest$ac_exeext conftest.$ac_ext
20720 fi
20721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20723 if test `eval echo '${'$as_ac_var'}'` = yes; then
20724   cat >>confdefs.h <<_ACEOF
20725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20726 _ACEOF
20727
20728 fi
20729 done
20730
20731   else
20732
20733   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20734 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20735   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20736     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20737   echo $ECHO_N "(cached) $ECHO_C" >&6
20738 else
20739
20740
20741
20742       ac_ext=cc
20743 ac_cpp='$CXXCPP $CPPFLAGS'
20744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20747
20748       cat >conftest.$ac_ext <<_ACEOF
20749 /* confdefs.h.  */
20750 _ACEOF
20751 cat confdefs.h >>conftest.$ac_ext
20752 cat >>conftest.$ac_ext <<_ACEOF
20753 /* end confdefs.h.  */
20754 #include <math.h>
20755                       #ifdef HAVE_IEEEFP_H
20756                       #include <ieeefp.h>
20757                       #endif
20758
20759 int
20760 main ()
20761 {
20762  _fpclass(0);
20763   ;
20764   return 0;
20765 }
20766 _ACEOF
20767 rm -f conftest.$ac_objext
20768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20769   (eval $ac_compile) 2>conftest.er1
20770   ac_status=$?
20771   grep -v '^ *+' conftest.er1 >conftest.err
20772   rm -f conftest.er1
20773   cat conftest.err >&5
20774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775   (exit $ac_status); } &&
20776          { ac_try='test -z "$ac_cxx_werror_flag"
20777                          || test ! -s conftest.err'
20778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20779   (eval $ac_try) 2>&5
20780   ac_status=$?
20781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782   (exit $ac_status); }; } &&
20783          { ac_try='test -s conftest.$ac_objext'
20784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20785   (eval $ac_try) 2>&5
20786   ac_status=$?
20787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788   (exit $ac_status); }; }; then
20789   glibcxx_cv_func__fpclass_use=yes
20790 else
20791   echo "$as_me: failed program was:" >&5
20792 sed 's/^/| /' conftest.$ac_ext >&5
20793
20794 glibcxx_cv_func__fpclass_use=no
20795 fi
20796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20797       ac_ext=c
20798 ac_cpp='$CPP $CPPFLAGS'
20799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20802
20803
20804 fi
20805
20806   fi
20807   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20808 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20809
20810     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20811
20812 for ac_func in _fpclass
20813 do
20814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20815 echo "$as_me:$LINENO: checking for $ac_func" >&5
20816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20817 if eval "test \"\${$as_ac_var+set}\" = set"; then
20818   echo $ECHO_N "(cached) $ECHO_C" >&6
20819 else
20820   if test x$gcc_no_link = xyes; then
20821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20823    { (exit 1); exit 1; }; }
20824 fi
20825 cat >conftest.$ac_ext <<_ACEOF
20826 /* confdefs.h.  */
20827 _ACEOF
20828 cat confdefs.h >>conftest.$ac_ext
20829 cat >>conftest.$ac_ext <<_ACEOF
20830 /* end confdefs.h.  */
20831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20833 #define $ac_func innocuous_$ac_func
20834
20835 /* System header to define __stub macros and hopefully few prototypes,
20836     which can conflict with char $ac_func (); below.
20837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20838     <limits.h> exists even on freestanding compilers.  */
20839
20840 #ifdef __STDC__
20841 # include <limits.h>
20842 #else
20843 # include <assert.h>
20844 #endif
20845
20846 #undef $ac_func
20847
20848 /* Override any gcc2 internal prototype to avoid an error.  */
20849 #ifdef __cplusplus
20850 extern "C"
20851 {
20852 #endif
20853 /* We use char because int might match the return type of a gcc2
20854    builtin and then its argument prototype would still apply.  */
20855 char $ac_func ();
20856 /* The GNU C library defines this for functions which it implements
20857     to always fail with ENOSYS.  Some functions are actually named
20858     something starting with __ and the normal name is an alias.  */
20859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20860 choke me
20861 #else
20862 char (*f) () = $ac_func;
20863 #endif
20864 #ifdef __cplusplus
20865 }
20866 #endif
20867
20868 int
20869 main ()
20870 {
20871 return f != $ac_func;
20872   ;
20873   return 0;
20874 }
20875 _ACEOF
20876 rm -f conftest.$ac_objext conftest$ac_exeext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20878   (eval $ac_link) 2>conftest.er1
20879   ac_status=$?
20880   grep -v '^ *+' conftest.er1 >conftest.err
20881   rm -f conftest.er1
20882   cat conftest.err >&5
20883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884   (exit $ac_status); } &&
20885          { ac_try='test -z "$ac_c_werror_flag"
20886                          || test ! -s conftest.err'
20887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888   (eval $ac_try) 2>&5
20889   ac_status=$?
20890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891   (exit $ac_status); }; } &&
20892          { ac_try='test -s conftest$ac_exeext'
20893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894   (eval $ac_try) 2>&5
20895   ac_status=$?
20896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897   (exit $ac_status); }; }; then
20898   eval "$as_ac_var=yes"
20899 else
20900   echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 eval "$as_ac_var=no"
20904 fi
20905 rm -f conftest.err conftest.$ac_objext \
20906       conftest$ac_exeext conftest.$ac_ext
20907 fi
20908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20910 if test `eval echo '${'$as_ac_var'}'` = yes; then
20911   cat >>confdefs.h <<_ACEOF
20912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20913 _ACEOF
20914
20915 fi
20916 done
20917
20918     fi
20919   fi
20920
20921
20922
20923
20924
20925
20926   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20927 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20928   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20929     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20930   echo $ECHO_N "(cached) $ECHO_C" >&6
20931 else
20932
20933
20934
20935       ac_ext=cc
20936 ac_cpp='$CXXCPP $CPPFLAGS'
20937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20940
20941       cat >conftest.$ac_ext <<_ACEOF
20942 /* confdefs.h.  */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h.  */
20947 #include <math.h>
20948                       #ifdef HAVE_IEEEFP_H
20949                       #include <ieeefp.h>
20950                       #endif
20951
20952 int
20953 main ()
20954 {
20955  qfpclass(0);
20956   ;
20957   return 0;
20958 }
20959 _ACEOF
20960 rm -f conftest.$ac_objext
20961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20962   (eval $ac_compile) 2>conftest.er1
20963   ac_status=$?
20964   grep -v '^ *+' conftest.er1 >conftest.err
20965   rm -f conftest.er1
20966   cat conftest.err >&5
20967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968   (exit $ac_status); } &&
20969          { ac_try='test -z "$ac_cxx_werror_flag"
20970                          || test ! -s conftest.err'
20971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972   (eval $ac_try) 2>&5
20973   ac_status=$?
20974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975   (exit $ac_status); }; } &&
20976          { ac_try='test -s conftest.$ac_objext'
20977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20978   (eval $ac_try) 2>&5
20979   ac_status=$?
20980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981   (exit $ac_status); }; }; then
20982   glibcxx_cv_func_qfpclass_use=yes
20983 else
20984   echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20986
20987 glibcxx_cv_func_qfpclass_use=no
20988 fi
20989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20990       ac_ext=c
20991 ac_cpp='$CPP $CPPFLAGS'
20992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20995
20996
20997 fi
20998
20999   fi
21000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21001 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21002
21003   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21004
21005 for ac_func in qfpclass
21006 do
21007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21008 echo "$as_me:$LINENO: checking for $ac_func" >&5
21009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21010 if eval "test \"\${$as_ac_var+set}\" = set"; then
21011   echo $ECHO_N "(cached) $ECHO_C" >&6
21012 else
21013   if test x$gcc_no_link = xyes; then
21014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21016    { (exit 1); exit 1; }; }
21017 fi
21018 cat >conftest.$ac_ext <<_ACEOF
21019 /* confdefs.h.  */
21020 _ACEOF
21021 cat confdefs.h >>conftest.$ac_ext
21022 cat >>conftest.$ac_ext <<_ACEOF
21023 /* end confdefs.h.  */
21024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21026 #define $ac_func innocuous_$ac_func
21027
21028 /* System header to define __stub macros and hopefully few prototypes,
21029     which can conflict with char $ac_func (); below.
21030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21031     <limits.h> exists even on freestanding compilers.  */
21032
21033 #ifdef __STDC__
21034 # include <limits.h>
21035 #else
21036 # include <assert.h>
21037 #endif
21038
21039 #undef $ac_func
21040
21041 /* Override any gcc2 internal prototype to avoid an error.  */
21042 #ifdef __cplusplus
21043 extern "C"
21044 {
21045 #endif
21046 /* We use char because int might match the return type of a gcc2
21047    builtin and then its argument prototype would still apply.  */
21048 char $ac_func ();
21049 /* The GNU C library defines this for functions which it implements
21050     to always fail with ENOSYS.  Some functions are actually named
21051     something starting with __ and the normal name is an alias.  */
21052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21053 choke me
21054 #else
21055 char (*f) () = $ac_func;
21056 #endif
21057 #ifdef __cplusplus
21058 }
21059 #endif
21060
21061 int
21062 main ()
21063 {
21064 return f != $ac_func;
21065   ;
21066   return 0;
21067 }
21068 _ACEOF
21069 rm -f conftest.$ac_objext conftest$ac_exeext
21070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21071   (eval $ac_link) 2>conftest.er1
21072   ac_status=$?
21073   grep -v '^ *+' conftest.er1 >conftest.err
21074   rm -f conftest.er1
21075   cat conftest.err >&5
21076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077   (exit $ac_status); } &&
21078          { ac_try='test -z "$ac_c_werror_flag"
21079                          || test ! -s conftest.err'
21080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081   (eval $ac_try) 2>&5
21082   ac_status=$?
21083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084   (exit $ac_status); }; } &&
21085          { ac_try='test -s conftest$ac_exeext'
21086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087   (eval $ac_try) 2>&5
21088   ac_status=$?
21089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090   (exit $ac_status); }; }; then
21091   eval "$as_ac_var=yes"
21092 else
21093   echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21095
21096 eval "$as_ac_var=no"
21097 fi
21098 rm -f conftest.err conftest.$ac_objext \
21099       conftest$ac_exeext conftest.$ac_ext
21100 fi
21101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21103 if test `eval echo '${'$as_ac_var'}'` = yes; then
21104   cat >>confdefs.h <<_ACEOF
21105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21106 _ACEOF
21107
21108 fi
21109 done
21110
21111   else
21112
21113   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21114 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21115   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21116     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21117   echo $ECHO_N "(cached) $ECHO_C" >&6
21118 else
21119
21120
21121
21122       ac_ext=cc
21123 ac_cpp='$CXXCPP $CPPFLAGS'
21124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21127
21128       cat >conftest.$ac_ext <<_ACEOF
21129 /* confdefs.h.  */
21130 _ACEOF
21131 cat confdefs.h >>conftest.$ac_ext
21132 cat >>conftest.$ac_ext <<_ACEOF
21133 /* end confdefs.h.  */
21134 #include <math.h>
21135                       #ifdef HAVE_IEEEFP_H
21136                       #include <ieeefp.h>
21137                       #endif
21138
21139 int
21140 main ()
21141 {
21142  _qfpclass(0);
21143   ;
21144   return 0;
21145 }
21146 _ACEOF
21147 rm -f conftest.$ac_objext
21148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21149   (eval $ac_compile) 2>conftest.er1
21150   ac_status=$?
21151   grep -v '^ *+' conftest.er1 >conftest.err
21152   rm -f conftest.er1
21153   cat conftest.err >&5
21154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155   (exit $ac_status); } &&
21156          { ac_try='test -z "$ac_cxx_werror_flag"
21157                          || test ! -s conftest.err'
21158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21159   (eval $ac_try) 2>&5
21160   ac_status=$?
21161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162   (exit $ac_status); }; } &&
21163          { ac_try='test -s conftest.$ac_objext'
21164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21165   (eval $ac_try) 2>&5
21166   ac_status=$?
21167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21168   (exit $ac_status); }; }; then
21169   glibcxx_cv_func__qfpclass_use=yes
21170 else
21171   echo "$as_me: failed program was:" >&5
21172 sed 's/^/| /' conftest.$ac_ext >&5
21173
21174 glibcxx_cv_func__qfpclass_use=no
21175 fi
21176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21177       ac_ext=c
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21182
21183
21184 fi
21185
21186   fi
21187   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21188 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21189
21190     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21191
21192 for ac_func in _qfpclass
21193 do
21194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21195 echo "$as_me:$LINENO: checking for $ac_func" >&5
21196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21197 if eval "test \"\${$as_ac_var+set}\" = set"; then
21198   echo $ECHO_N "(cached) $ECHO_C" >&6
21199 else
21200   if test x$gcc_no_link = xyes; then
21201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21203    { (exit 1); exit 1; }; }
21204 fi
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h.  */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h.  */
21211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21213 #define $ac_func innocuous_$ac_func
21214
21215 /* System header to define __stub macros and hopefully few prototypes,
21216     which can conflict with char $ac_func (); below.
21217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21218     <limits.h> exists even on freestanding compilers.  */
21219
21220 #ifdef __STDC__
21221 # include <limits.h>
21222 #else
21223 # include <assert.h>
21224 #endif
21225
21226 #undef $ac_func
21227
21228 /* Override any gcc2 internal prototype to avoid an error.  */
21229 #ifdef __cplusplus
21230 extern "C"
21231 {
21232 #endif
21233 /* We use char because int might match the return type of a gcc2
21234    builtin and then its argument prototype would still apply.  */
21235 char $ac_func ();
21236 /* The GNU C library defines this for functions which it implements
21237     to always fail with ENOSYS.  Some functions are actually named
21238     something starting with __ and the normal name is an alias.  */
21239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21240 choke me
21241 #else
21242 char (*f) () = $ac_func;
21243 #endif
21244 #ifdef __cplusplus
21245 }
21246 #endif
21247
21248 int
21249 main ()
21250 {
21251 return f != $ac_func;
21252   ;
21253   return 0;
21254 }
21255 _ACEOF
21256 rm -f conftest.$ac_objext conftest$ac_exeext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258   (eval $ac_link) 2>conftest.er1
21259   ac_status=$?
21260   grep -v '^ *+' conftest.er1 >conftest.err
21261   rm -f conftest.er1
21262   cat conftest.err >&5
21263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264   (exit $ac_status); } &&
21265          { ac_try='test -z "$ac_c_werror_flag"
21266                          || test ! -s conftest.err'
21267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268   (eval $ac_try) 2>&5
21269   ac_status=$?
21270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271   (exit $ac_status); }; } &&
21272          { ac_try='test -s conftest$ac_exeext'
21273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274   (eval $ac_try) 2>&5
21275   ac_status=$?
21276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277   (exit $ac_status); }; }; then
21278   eval "$as_ac_var=yes"
21279 else
21280   echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21282
21283 eval "$as_ac_var=no"
21284 fi
21285 rm -f conftest.err conftest.$ac_objext \
21286       conftest$ac_exeext conftest.$ac_ext
21287 fi
21288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21290 if test `eval echo '${'$as_ac_var'}'` = yes; then
21291   cat >>confdefs.h <<_ACEOF
21292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21293 _ACEOF
21294
21295 fi
21296 done
21297
21298     fi
21299   fi
21300
21301
21302
21303
21304
21305
21306   echo "$as_me:$LINENO: checking for hypot declaration" >&5
21307 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21308   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21309     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21310   echo $ECHO_N "(cached) $ECHO_C" >&6
21311 else
21312
21313
21314
21315       ac_ext=cc
21316 ac_cpp='$CXXCPP $CPPFLAGS'
21317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21320
21321       cat >conftest.$ac_ext <<_ACEOF
21322 /* confdefs.h.  */
21323 _ACEOF
21324 cat confdefs.h >>conftest.$ac_ext
21325 cat >>conftest.$ac_ext <<_ACEOF
21326 /* end confdefs.h.  */
21327 #include <math.h>
21328 int
21329 main ()
21330 {
21331  hypot(0, 0);
21332   ;
21333   return 0;
21334 }
21335 _ACEOF
21336 rm -f conftest.$ac_objext
21337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21338   (eval $ac_compile) 2>conftest.er1
21339   ac_status=$?
21340   grep -v '^ *+' conftest.er1 >conftest.err
21341   rm -f conftest.er1
21342   cat conftest.err >&5
21343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344   (exit $ac_status); } &&
21345          { ac_try='test -z "$ac_cxx_werror_flag"
21346                          || test ! -s conftest.err'
21347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21348   (eval $ac_try) 2>&5
21349   ac_status=$?
21350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351   (exit $ac_status); }; } &&
21352          { ac_try='test -s conftest.$ac_objext'
21353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354   (eval $ac_try) 2>&5
21355   ac_status=$?
21356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357   (exit $ac_status); }; }; then
21358   glibcxx_cv_func_hypot_use=yes
21359 else
21360   echo "$as_me: failed program was:" >&5
21361 sed 's/^/| /' conftest.$ac_ext >&5
21362
21363 glibcxx_cv_func_hypot_use=no
21364 fi
21365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21366       ac_ext=c
21367 ac_cpp='$CPP $CPPFLAGS'
21368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21371
21372
21373 fi
21374
21375   fi
21376   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21377 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21378
21379   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21380
21381 for ac_func in hypot
21382 do
21383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21384 echo "$as_me:$LINENO: checking for $ac_func" >&5
21385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21386 if eval "test \"\${$as_ac_var+set}\" = set"; then
21387   echo $ECHO_N "(cached) $ECHO_C" >&6
21388 else
21389   if test x$gcc_no_link = xyes; then
21390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21392    { (exit 1); exit 1; }; }
21393 fi
21394 cat >conftest.$ac_ext <<_ACEOF
21395 /* confdefs.h.  */
21396 _ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h.  */
21400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21402 #define $ac_func innocuous_$ac_func
21403
21404 /* System header to define __stub macros and hopefully few prototypes,
21405     which can conflict with char $ac_func (); below.
21406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21407     <limits.h> exists even on freestanding compilers.  */
21408
21409 #ifdef __STDC__
21410 # include <limits.h>
21411 #else
21412 # include <assert.h>
21413 #endif
21414
21415 #undef $ac_func
21416
21417 /* Override any gcc2 internal prototype to avoid an error.  */
21418 #ifdef __cplusplus
21419 extern "C"
21420 {
21421 #endif
21422 /* We use char because int might match the return type of a gcc2
21423    builtin and then its argument prototype would still apply.  */
21424 char $ac_func ();
21425 /* The GNU C library defines this for functions which it implements
21426     to always fail with ENOSYS.  Some functions are actually named
21427     something starting with __ and the normal name is an alias.  */
21428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21429 choke me
21430 #else
21431 char (*f) () = $ac_func;
21432 #endif
21433 #ifdef __cplusplus
21434 }
21435 #endif
21436
21437 int
21438 main ()
21439 {
21440 return f != $ac_func;
21441   ;
21442   return 0;
21443 }
21444 _ACEOF
21445 rm -f conftest.$ac_objext conftest$ac_exeext
21446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21447   (eval $ac_link) 2>conftest.er1
21448   ac_status=$?
21449   grep -v '^ *+' conftest.er1 >conftest.err
21450   rm -f conftest.er1
21451   cat conftest.err >&5
21452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453   (exit $ac_status); } &&
21454          { ac_try='test -z "$ac_c_werror_flag"
21455                          || test ! -s conftest.err'
21456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457   (eval $ac_try) 2>&5
21458   ac_status=$?
21459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460   (exit $ac_status); }; } &&
21461          { ac_try='test -s conftest$ac_exeext'
21462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463   (eval $ac_try) 2>&5
21464   ac_status=$?
21465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466   (exit $ac_status); }; }; then
21467   eval "$as_ac_var=yes"
21468 else
21469   echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21471
21472 eval "$as_ac_var=no"
21473 fi
21474 rm -f conftest.err conftest.$ac_objext \
21475       conftest$ac_exeext conftest.$ac_ext
21476 fi
21477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21479 if test `eval echo '${'$as_ac_var'}'` = yes; then
21480   cat >>confdefs.h <<_ACEOF
21481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21482 _ACEOF
21483
21484 fi
21485 done
21486
21487   else
21488
21489   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21490 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21491   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21492     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21493   echo $ECHO_N "(cached) $ECHO_C" >&6
21494 else
21495
21496
21497
21498       ac_ext=cc
21499 ac_cpp='$CXXCPP $CPPFLAGS'
21500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21503
21504       cat >conftest.$ac_ext <<_ACEOF
21505 /* confdefs.h.  */
21506 _ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h.  */
21510 #include <math.h>
21511 int
21512 main ()
21513 {
21514  _hypot(0, 0);
21515   ;
21516   return 0;
21517 }
21518 _ACEOF
21519 rm -f conftest.$ac_objext
21520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21521   (eval $ac_compile) 2>conftest.er1
21522   ac_status=$?
21523   grep -v '^ *+' conftest.er1 >conftest.err
21524   rm -f conftest.er1
21525   cat conftest.err >&5
21526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527   (exit $ac_status); } &&
21528          { ac_try='test -z "$ac_cxx_werror_flag"
21529                          || test ! -s conftest.err'
21530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21531   (eval $ac_try) 2>&5
21532   ac_status=$?
21533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534   (exit $ac_status); }; } &&
21535          { ac_try='test -s conftest.$ac_objext'
21536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537   (eval $ac_try) 2>&5
21538   ac_status=$?
21539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540   (exit $ac_status); }; }; then
21541   glibcxx_cv_func__hypot_use=yes
21542 else
21543   echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21545
21546 glibcxx_cv_func__hypot_use=no
21547 fi
21548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21549       ac_ext=c
21550 ac_cpp='$CPP $CPPFLAGS'
21551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21554
21555
21556 fi
21557
21558   fi
21559   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21560 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21561
21562     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21563
21564 for ac_func in _hypot
21565 do
21566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21567 echo "$as_me:$LINENO: checking for $ac_func" >&5
21568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21569 if eval "test \"\${$as_ac_var+set}\" = set"; then
21570   echo $ECHO_N "(cached) $ECHO_C" >&6
21571 else
21572   if test x$gcc_no_link = xyes; then
21573   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21575    { (exit 1); exit 1; }; }
21576 fi
21577 cat >conftest.$ac_ext <<_ACEOF
21578 /* confdefs.h.  */
21579 _ACEOF
21580 cat confdefs.h >>conftest.$ac_ext
21581 cat >>conftest.$ac_ext <<_ACEOF
21582 /* end confdefs.h.  */
21583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21585 #define $ac_func innocuous_$ac_func
21586
21587 /* System header to define __stub macros and hopefully few prototypes,
21588     which can conflict with char $ac_func (); below.
21589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21590     <limits.h> exists even on freestanding compilers.  */
21591
21592 #ifdef __STDC__
21593 # include <limits.h>
21594 #else
21595 # include <assert.h>
21596 #endif
21597
21598 #undef $ac_func
21599
21600 /* Override any gcc2 internal prototype to avoid an error.  */
21601 #ifdef __cplusplus
21602 extern "C"
21603 {
21604 #endif
21605 /* We use char because int might match the return type of a gcc2
21606    builtin and then its argument prototype would still apply.  */
21607 char $ac_func ();
21608 /* The GNU C library defines this for functions which it implements
21609     to always fail with ENOSYS.  Some functions are actually named
21610     something starting with __ and the normal name is an alias.  */
21611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21612 choke me
21613 #else
21614 char (*f) () = $ac_func;
21615 #endif
21616 #ifdef __cplusplus
21617 }
21618 #endif
21619
21620 int
21621 main ()
21622 {
21623 return f != $ac_func;
21624   ;
21625   return 0;
21626 }
21627 _ACEOF
21628 rm -f conftest.$ac_objext conftest$ac_exeext
21629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21630   (eval $ac_link) 2>conftest.er1
21631   ac_status=$?
21632   grep -v '^ *+' conftest.er1 >conftest.err
21633   rm -f conftest.er1
21634   cat conftest.err >&5
21635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636   (exit $ac_status); } &&
21637          { ac_try='test -z "$ac_c_werror_flag"
21638                          || test ! -s conftest.err'
21639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640   (eval $ac_try) 2>&5
21641   ac_status=$?
21642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643   (exit $ac_status); }; } &&
21644          { ac_try='test -s conftest$ac_exeext'
21645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646   (eval $ac_try) 2>&5
21647   ac_status=$?
21648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649   (exit $ac_status); }; }; then
21650   eval "$as_ac_var=yes"
21651 else
21652   echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21654
21655 eval "$as_ac_var=no"
21656 fi
21657 rm -f conftest.err conftest.$ac_objext \
21658       conftest$ac_exeext conftest.$ac_ext
21659 fi
21660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21662 if test `eval echo '${'$as_ac_var'}'` = yes; then
21663   cat >>confdefs.h <<_ACEOF
21664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21665 _ACEOF
21666
21667 fi
21668 done
21669
21670     fi
21671   fi
21672
21673
21674
21675
21676
21677
21678     echo "$as_me:$LINENO: checking for float trig functions" >&5
21679 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21680   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21681   echo $ECHO_N "(cached) $ECHO_C" >&6
21682 else
21683
21684
21685
21686     ac_ext=cc
21687 ac_cpp='$CXXCPP $CPPFLAGS'
21688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21691
21692     cat >conftest.$ac_ext <<_ACEOF
21693 /* confdefs.h.  */
21694 _ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h.  */
21698 #include <math.h>
21699 int
21700 main ()
21701 {
21702 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21703   ;
21704   return 0;
21705 }
21706 _ACEOF
21707 rm -f conftest.$ac_objext
21708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21709   (eval $ac_compile) 2>conftest.er1
21710   ac_status=$?
21711   grep -v '^ *+' conftest.er1 >conftest.err
21712   rm -f conftest.er1
21713   cat conftest.err >&5
21714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715   (exit $ac_status); } &&
21716          { ac_try='test -z "$ac_cxx_werror_flag"
21717                          || test ! -s conftest.err'
21718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21719   (eval $ac_try) 2>&5
21720   ac_status=$?
21721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722   (exit $ac_status); }; } &&
21723          { ac_try='test -s conftest.$ac_objext'
21724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725   (eval $ac_try) 2>&5
21726   ac_status=$?
21727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728   (exit $ac_status); }; }; then
21729   glibcxx_cv_func_float_trig_use=yes
21730 else
21731   echo "$as_me: failed program was:" >&5
21732 sed 's/^/| /' conftest.$ac_ext >&5
21733
21734 glibcxx_cv_func_float_trig_use=no
21735 fi
21736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21737     ac_ext=c
21738 ac_cpp='$CPP $CPPFLAGS'
21739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21742
21743 fi
21744
21745   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21746 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21747   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21758 do
21759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21760 echo "$as_me:$LINENO: checking for $ac_func" >&5
21761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21762 if eval "test \"\${$as_ac_var+set}\" = set"; then
21763   echo $ECHO_N "(cached) $ECHO_C" >&6
21764 else
21765   if test x$gcc_no_link = xyes; then
21766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21768    { (exit 1); exit 1; }; }
21769 fi
21770 cat >conftest.$ac_ext <<_ACEOF
21771 /* confdefs.h.  */
21772 _ACEOF
21773 cat confdefs.h >>conftest.$ac_ext
21774 cat >>conftest.$ac_ext <<_ACEOF
21775 /* end confdefs.h.  */
21776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21778 #define $ac_func innocuous_$ac_func
21779
21780 /* System header to define __stub macros and hopefully few prototypes,
21781     which can conflict with char $ac_func (); below.
21782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21783     <limits.h> exists even on freestanding compilers.  */
21784
21785 #ifdef __STDC__
21786 # include <limits.h>
21787 #else
21788 # include <assert.h>
21789 #endif
21790
21791 #undef $ac_func
21792
21793 /* Override any gcc2 internal prototype to avoid an error.  */
21794 #ifdef __cplusplus
21795 extern "C"
21796 {
21797 #endif
21798 /* We use char because int might match the return type of a gcc2
21799    builtin and then its argument prototype would still apply.  */
21800 char $ac_func ();
21801 /* The GNU C library defines this for functions which it implements
21802     to always fail with ENOSYS.  Some functions are actually named
21803     something starting with __ and the normal name is an alias.  */
21804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21805 choke me
21806 #else
21807 char (*f) () = $ac_func;
21808 #endif
21809 #ifdef __cplusplus
21810 }
21811 #endif
21812
21813 int
21814 main ()
21815 {
21816 return f != $ac_func;
21817   ;
21818   return 0;
21819 }
21820 _ACEOF
21821 rm -f conftest.$ac_objext conftest$ac_exeext
21822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21823   (eval $ac_link) 2>conftest.er1
21824   ac_status=$?
21825   grep -v '^ *+' conftest.er1 >conftest.err
21826   rm -f conftest.er1
21827   cat conftest.err >&5
21828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829   (exit $ac_status); } &&
21830          { ac_try='test -z "$ac_c_werror_flag"
21831                          || test ! -s conftest.err'
21832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21833   (eval $ac_try) 2>&5
21834   ac_status=$?
21835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836   (exit $ac_status); }; } &&
21837          { ac_try='test -s conftest$ac_exeext'
21838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839   (eval $ac_try) 2>&5
21840   ac_status=$?
21841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842   (exit $ac_status); }; }; then
21843   eval "$as_ac_var=yes"
21844 else
21845   echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21847
21848 eval "$as_ac_var=no"
21849 fi
21850 rm -f conftest.err conftest.$ac_objext \
21851       conftest$ac_exeext conftest.$ac_ext
21852 fi
21853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21855 if test `eval echo '${'$as_ac_var'}'` = yes; then
21856   cat >>confdefs.h <<_ACEOF
21857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21858 _ACEOF
21859
21860 fi
21861 done
21862
21863   else
21864     echo "$as_me:$LINENO: checking for _float trig functions" >&5
21865 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21866     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21867   echo $ECHO_N "(cached) $ECHO_C" >&6
21868 else
21869
21870
21871
21872       ac_ext=cc
21873 ac_cpp='$CXXCPP $CPPFLAGS'
21874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21877
21878       cat >conftest.$ac_ext <<_ACEOF
21879 /* confdefs.h.  */
21880 _ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h.  */
21884 #include <math.h>
21885 int
21886 main ()
21887 {
21888 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21889   ;
21890   return 0;
21891 }
21892 _ACEOF
21893 rm -f conftest.$ac_objext
21894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21895   (eval $ac_compile) 2>conftest.er1
21896   ac_status=$?
21897   grep -v '^ *+' conftest.er1 >conftest.err
21898   rm -f conftest.er1
21899   cat conftest.err >&5
21900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901   (exit $ac_status); } &&
21902          { ac_try='test -z "$ac_cxx_werror_flag"
21903                          || test ! -s conftest.err'
21904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905   (eval $ac_try) 2>&5
21906   ac_status=$?
21907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908   (exit $ac_status); }; } &&
21909          { ac_try='test -s conftest.$ac_objext'
21910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911   (eval $ac_try) 2>&5
21912   ac_status=$?
21913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914   (exit $ac_status); }; }; then
21915   glibcxx_cv_func__float_trig_use=yes
21916 else
21917   echo "$as_me: failed program was:" >&5
21918 sed 's/^/| /' conftest.$ac_ext >&5
21919
21920 glibcxx_cv_func__float_trig_use=no
21921 fi
21922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21923       ac_ext=c
21924 ac_cpp='$CPP $CPPFLAGS'
21925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21928
21929 fi
21930
21931     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21932 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21933     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21944 do
21945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21946 echo "$as_me:$LINENO: checking for $ac_func" >&5
21947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21948 if eval "test \"\${$as_ac_var+set}\" = set"; then
21949   echo $ECHO_N "(cached) $ECHO_C" >&6
21950 else
21951   if test x$gcc_no_link = xyes; then
21952   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21954    { (exit 1); exit 1; }; }
21955 fi
21956 cat >conftest.$ac_ext <<_ACEOF
21957 /* confdefs.h.  */
21958 _ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h.  */
21962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21963    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21964 #define $ac_func innocuous_$ac_func
21965
21966 /* System header to define __stub macros and hopefully few prototypes,
21967     which can conflict with char $ac_func (); below.
21968     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21969     <limits.h> exists even on freestanding compilers.  */
21970
21971 #ifdef __STDC__
21972 # include <limits.h>
21973 #else
21974 # include <assert.h>
21975 #endif
21976
21977 #undef $ac_func
21978
21979 /* Override any gcc2 internal prototype to avoid an error.  */
21980 #ifdef __cplusplus
21981 extern "C"
21982 {
21983 #endif
21984 /* We use char because int might match the return type of a gcc2
21985    builtin and then its argument prototype would still apply.  */
21986 char $ac_func ();
21987 /* The GNU C library defines this for functions which it implements
21988     to always fail with ENOSYS.  Some functions are actually named
21989     something starting with __ and the normal name is an alias.  */
21990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21991 choke me
21992 #else
21993 char (*f) () = $ac_func;
21994 #endif
21995 #ifdef __cplusplus
21996 }
21997 #endif
21998
21999 int
22000 main ()
22001 {
22002 return f != $ac_func;
22003   ;
22004   return 0;
22005 }
22006 _ACEOF
22007 rm -f conftest.$ac_objext conftest$ac_exeext
22008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22009   (eval $ac_link) 2>conftest.er1
22010   ac_status=$?
22011   grep -v '^ *+' conftest.er1 >conftest.err
22012   rm -f conftest.er1
22013   cat conftest.err >&5
22014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015   (exit $ac_status); } &&
22016          { ac_try='test -z "$ac_c_werror_flag"
22017                          || test ! -s conftest.err'
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); }; } &&
22023          { ac_try='test -s conftest$ac_exeext'
22024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22025   (eval $ac_try) 2>&5
22026   ac_status=$?
22027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028   (exit $ac_status); }; }; then
22029   eval "$as_ac_var=yes"
22030 else
22031   echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.$ac_ext >&5
22033
22034 eval "$as_ac_var=no"
22035 fi
22036 rm -f conftest.err conftest.$ac_objext \
22037       conftest$ac_exeext conftest.$ac_ext
22038 fi
22039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22041 if test `eval echo '${'$as_ac_var'}'` = yes; then
22042   cat >>confdefs.h <<_ACEOF
22043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22044 _ACEOF
22045
22046 fi
22047 done
22048
22049     fi
22050   fi
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065     echo "$as_me:$LINENO: checking for float round functions" >&5
22066 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22067   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22068   echo $ECHO_N "(cached) $ECHO_C" >&6
22069 else
22070
22071
22072
22073     ac_ext=cc
22074 ac_cpp='$CXXCPP $CPPFLAGS'
22075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22078
22079     cat >conftest.$ac_ext <<_ACEOF
22080 /* confdefs.h.  */
22081 _ACEOF
22082 cat confdefs.h >>conftest.$ac_ext
22083 cat >>conftest.$ac_ext <<_ACEOF
22084 /* end confdefs.h.  */
22085 #include <math.h>
22086 int
22087 main ()
22088 {
22089 ceilf (0); floorf (0);
22090   ;
22091   return 0;
22092 }
22093 _ACEOF
22094 rm -f conftest.$ac_objext
22095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22096   (eval $ac_compile) 2>conftest.er1
22097   ac_status=$?
22098   grep -v '^ *+' conftest.er1 >conftest.err
22099   rm -f conftest.er1
22100   cat conftest.err >&5
22101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102   (exit $ac_status); } &&
22103          { ac_try='test -z "$ac_cxx_werror_flag"
22104                          || test ! -s conftest.err'
22105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22106   (eval $ac_try) 2>&5
22107   ac_status=$?
22108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109   (exit $ac_status); }; } &&
22110          { ac_try='test -s conftest.$ac_objext'
22111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22112   (eval $ac_try) 2>&5
22113   ac_status=$?
22114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115   (exit $ac_status); }; }; then
22116   glibcxx_cv_func_float_round_use=yes
22117 else
22118   echo "$as_me: failed program was:" >&5
22119 sed 's/^/| /' conftest.$ac_ext >&5
22120
22121 glibcxx_cv_func_float_round_use=no
22122 fi
22123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22124     ac_ext=c
22125 ac_cpp='$CPP $CPPFLAGS'
22126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22129
22130 fi
22131
22132   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22133 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22134   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22135
22136
22137 for ac_func in ceilf floorf
22138 do
22139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22140 echo "$as_me:$LINENO: checking for $ac_func" >&5
22141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22142 if eval "test \"\${$as_ac_var+set}\" = set"; then
22143   echo $ECHO_N "(cached) $ECHO_C" >&6
22144 else
22145   if test x$gcc_no_link = xyes; then
22146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22148    { (exit 1); exit 1; }; }
22149 fi
22150 cat >conftest.$ac_ext <<_ACEOF
22151 /* confdefs.h.  */
22152 _ACEOF
22153 cat confdefs.h >>conftest.$ac_ext
22154 cat >>conftest.$ac_ext <<_ACEOF
22155 /* end confdefs.h.  */
22156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22158 #define $ac_func innocuous_$ac_func
22159
22160 /* System header to define __stub macros and hopefully few prototypes,
22161     which can conflict with char $ac_func (); below.
22162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22163     <limits.h> exists even on freestanding compilers.  */
22164
22165 #ifdef __STDC__
22166 # include <limits.h>
22167 #else
22168 # include <assert.h>
22169 #endif
22170
22171 #undef $ac_func
22172
22173 /* Override any gcc2 internal prototype to avoid an error.  */
22174 #ifdef __cplusplus
22175 extern "C"
22176 {
22177 #endif
22178 /* We use char because int might match the return type of a gcc2
22179    builtin and then its argument prototype would still apply.  */
22180 char $ac_func ();
22181 /* The GNU C library defines this for functions which it implements
22182     to always fail with ENOSYS.  Some functions are actually named
22183     something starting with __ and the normal name is an alias.  */
22184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22185 choke me
22186 #else
22187 char (*f) () = $ac_func;
22188 #endif
22189 #ifdef __cplusplus
22190 }
22191 #endif
22192
22193 int
22194 main ()
22195 {
22196 return f != $ac_func;
22197   ;
22198   return 0;
22199 }
22200 _ACEOF
22201 rm -f conftest.$ac_objext conftest$ac_exeext
22202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22203   (eval $ac_link) 2>conftest.er1
22204   ac_status=$?
22205   grep -v '^ *+' conftest.er1 >conftest.err
22206   rm -f conftest.er1
22207   cat conftest.err >&5
22208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209   (exit $ac_status); } &&
22210          { ac_try='test -z "$ac_c_werror_flag"
22211                          || test ! -s conftest.err'
22212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213   (eval $ac_try) 2>&5
22214   ac_status=$?
22215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216   (exit $ac_status); }; } &&
22217          { ac_try='test -s conftest$ac_exeext'
22218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22219   (eval $ac_try) 2>&5
22220   ac_status=$?
22221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222   (exit $ac_status); }; }; then
22223   eval "$as_ac_var=yes"
22224 else
22225   echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22227
22228 eval "$as_ac_var=no"
22229 fi
22230 rm -f conftest.err conftest.$ac_objext \
22231       conftest$ac_exeext conftest.$ac_ext
22232 fi
22233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22235 if test `eval echo '${'$as_ac_var'}'` = yes; then
22236   cat >>confdefs.h <<_ACEOF
22237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22238 _ACEOF
22239
22240 fi
22241 done
22242
22243   else
22244     echo "$as_me:$LINENO: checking for _float round functions" >&5
22245 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22246     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22247   echo $ECHO_N "(cached) $ECHO_C" >&6
22248 else
22249
22250
22251
22252       ac_ext=cc
22253 ac_cpp='$CXXCPP $CPPFLAGS'
22254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22257
22258       cat >conftest.$ac_ext <<_ACEOF
22259 /* confdefs.h.  */
22260 _ACEOF
22261 cat confdefs.h >>conftest.$ac_ext
22262 cat >>conftest.$ac_ext <<_ACEOF
22263 /* end confdefs.h.  */
22264 #include <math.h>
22265 int
22266 main ()
22267 {
22268 _ceilf (0); _floorf (0);
22269   ;
22270   return 0;
22271 }
22272 _ACEOF
22273 rm -f conftest.$ac_objext
22274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22275   (eval $ac_compile) 2>conftest.er1
22276   ac_status=$?
22277   grep -v '^ *+' conftest.er1 >conftest.err
22278   rm -f conftest.er1
22279   cat conftest.err >&5
22280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281   (exit $ac_status); } &&
22282          { ac_try='test -z "$ac_cxx_werror_flag"
22283                          || test ! -s conftest.err'
22284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285   (eval $ac_try) 2>&5
22286   ac_status=$?
22287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288   (exit $ac_status); }; } &&
22289          { ac_try='test -s conftest.$ac_objext'
22290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291   (eval $ac_try) 2>&5
22292   ac_status=$?
22293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294   (exit $ac_status); }; }; then
22295   glibcxx_cv_func__float_round_use=yes
22296 else
22297   echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 glibcxx_cv_func__float_round_use=no
22301 fi
22302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22303       ac_ext=c
22304 ac_cpp='$CPP $CPPFLAGS'
22305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22308
22309 fi
22310
22311     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22312 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22313     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22314
22315
22316 for ac_func in _ceilf _floorf
22317 do
22318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22319 echo "$as_me:$LINENO: checking for $ac_func" >&5
22320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22321 if eval "test \"\${$as_ac_var+set}\" = set"; then
22322   echo $ECHO_N "(cached) $ECHO_C" >&6
22323 else
22324   if test x$gcc_no_link = xyes; then
22325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22327    { (exit 1); exit 1; }; }
22328 fi
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h.  */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h.  */
22335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22337 #define $ac_func innocuous_$ac_func
22338
22339 /* System header to define __stub macros and hopefully few prototypes,
22340     which can conflict with char $ac_func (); below.
22341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22342     <limits.h> exists even on freestanding compilers.  */
22343
22344 #ifdef __STDC__
22345 # include <limits.h>
22346 #else
22347 # include <assert.h>
22348 #endif
22349
22350 #undef $ac_func
22351
22352 /* Override any gcc2 internal prototype to avoid an error.  */
22353 #ifdef __cplusplus
22354 extern "C"
22355 {
22356 #endif
22357 /* We use char because int might match the return type of a gcc2
22358    builtin and then its argument prototype would still apply.  */
22359 char $ac_func ();
22360 /* The GNU C library defines this for functions which it implements
22361     to always fail with ENOSYS.  Some functions are actually named
22362     something starting with __ and the normal name is an alias.  */
22363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22364 choke me
22365 #else
22366 char (*f) () = $ac_func;
22367 #endif
22368 #ifdef __cplusplus
22369 }
22370 #endif
22371
22372 int
22373 main ()
22374 {
22375 return f != $ac_func;
22376   ;
22377   return 0;
22378 }
22379 _ACEOF
22380 rm -f conftest.$ac_objext conftest$ac_exeext
22381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22382   (eval $ac_link) 2>conftest.er1
22383   ac_status=$?
22384   grep -v '^ *+' conftest.er1 >conftest.err
22385   rm -f conftest.er1
22386   cat conftest.err >&5
22387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388   (exit $ac_status); } &&
22389          { ac_try='test -z "$ac_c_werror_flag"
22390                          || test ! -s conftest.err'
22391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22392   (eval $ac_try) 2>&5
22393   ac_status=$?
22394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395   (exit $ac_status); }; } &&
22396          { ac_try='test -s conftest$ac_exeext'
22397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22398   (eval $ac_try) 2>&5
22399   ac_status=$?
22400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401   (exit $ac_status); }; }; then
22402   eval "$as_ac_var=yes"
22403 else
22404   echo "$as_me: failed program was:" >&5
22405 sed 's/^/| /' conftest.$ac_ext >&5
22406
22407 eval "$as_ac_var=no"
22408 fi
22409 rm -f conftest.err conftest.$ac_objext \
22410       conftest$ac_exeext conftest.$ac_ext
22411 fi
22412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22414 if test `eval echo '${'$as_ac_var'}'` = yes; then
22415   cat >>confdefs.h <<_ACEOF
22416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22417 _ACEOF
22418
22419 fi
22420 done
22421
22422     fi
22423   fi
22424
22425
22426
22427
22428
22429
22430
22431
22432   echo "$as_me:$LINENO: checking for expf declaration" >&5
22433 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22434   if test x${glibcxx_cv_func_expf_use+set} != xset; then
22435     if test "${glibcxx_cv_func_expf_use+set}" = set; then
22436   echo $ECHO_N "(cached) $ECHO_C" >&6
22437 else
22438
22439
22440
22441       ac_ext=cc
22442 ac_cpp='$CXXCPP $CPPFLAGS'
22443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22446
22447       cat >conftest.$ac_ext <<_ACEOF
22448 /* confdefs.h.  */
22449 _ACEOF
22450 cat confdefs.h >>conftest.$ac_ext
22451 cat >>conftest.$ac_ext <<_ACEOF
22452 /* end confdefs.h.  */
22453 #include <math.h>
22454                       #ifdef HAVE_IEEEFP_H
22455                       #include <ieeefp.h>
22456                       #endif
22457
22458 int
22459 main ()
22460 {
22461  expf(0);
22462   ;
22463   return 0;
22464 }
22465 _ACEOF
22466 rm -f conftest.$ac_objext
22467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22468   (eval $ac_compile) 2>conftest.er1
22469   ac_status=$?
22470   grep -v '^ *+' conftest.er1 >conftest.err
22471   rm -f conftest.er1
22472   cat conftest.err >&5
22473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474   (exit $ac_status); } &&
22475          { ac_try='test -z "$ac_cxx_werror_flag"
22476                          || test ! -s conftest.err'
22477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478   (eval $ac_try) 2>&5
22479   ac_status=$?
22480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481   (exit $ac_status); }; } &&
22482          { ac_try='test -s conftest.$ac_objext'
22483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22484   (eval $ac_try) 2>&5
22485   ac_status=$?
22486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22487   (exit $ac_status); }; }; then
22488   glibcxx_cv_func_expf_use=yes
22489 else
22490   echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22492
22493 glibcxx_cv_func_expf_use=no
22494 fi
22495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22496       ac_ext=c
22497 ac_cpp='$CPP $CPPFLAGS'
22498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22501
22502
22503 fi
22504
22505   fi
22506   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22507 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22508
22509   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22510
22511 for ac_func in expf
22512 do
22513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22514 echo "$as_me:$LINENO: checking for $ac_func" >&5
22515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22516 if eval "test \"\${$as_ac_var+set}\" = set"; then
22517   echo $ECHO_N "(cached) $ECHO_C" >&6
22518 else
22519   if test x$gcc_no_link = xyes; then
22520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22522    { (exit 1); exit 1; }; }
22523 fi
22524 cat >conftest.$ac_ext <<_ACEOF
22525 /* confdefs.h.  */
22526 _ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h.  */
22530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22532 #define $ac_func innocuous_$ac_func
22533
22534 /* System header to define __stub macros and hopefully few prototypes,
22535     which can conflict with char $ac_func (); below.
22536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22537     <limits.h> exists even on freestanding compilers.  */
22538
22539 #ifdef __STDC__
22540 # include <limits.h>
22541 #else
22542 # include <assert.h>
22543 #endif
22544
22545 #undef $ac_func
22546
22547 /* Override any gcc2 internal prototype to avoid an error.  */
22548 #ifdef __cplusplus
22549 extern "C"
22550 {
22551 #endif
22552 /* We use char because int might match the return type of a gcc2
22553    builtin and then its argument prototype would still apply.  */
22554 char $ac_func ();
22555 /* The GNU C library defines this for functions which it implements
22556     to always fail with ENOSYS.  Some functions are actually named
22557     something starting with __ and the normal name is an alias.  */
22558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22559 choke me
22560 #else
22561 char (*f) () = $ac_func;
22562 #endif
22563 #ifdef __cplusplus
22564 }
22565 #endif
22566
22567 int
22568 main ()
22569 {
22570 return f != $ac_func;
22571   ;
22572   return 0;
22573 }
22574 _ACEOF
22575 rm -f conftest.$ac_objext conftest$ac_exeext
22576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22577   (eval $ac_link) 2>conftest.er1
22578   ac_status=$?
22579   grep -v '^ *+' conftest.er1 >conftest.err
22580   rm -f conftest.er1
22581   cat conftest.err >&5
22582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583   (exit $ac_status); } &&
22584          { ac_try='test -z "$ac_c_werror_flag"
22585                          || test ! -s conftest.err'
22586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22587   (eval $ac_try) 2>&5
22588   ac_status=$?
22589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590   (exit $ac_status); }; } &&
22591          { ac_try='test -s conftest$ac_exeext'
22592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22593   (eval $ac_try) 2>&5
22594   ac_status=$?
22595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596   (exit $ac_status); }; }; then
22597   eval "$as_ac_var=yes"
22598 else
22599   echo "$as_me: failed program was:" >&5
22600 sed 's/^/| /' conftest.$ac_ext >&5
22601
22602 eval "$as_ac_var=no"
22603 fi
22604 rm -f conftest.err conftest.$ac_objext \
22605       conftest$ac_exeext conftest.$ac_ext
22606 fi
22607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22609 if test `eval echo '${'$as_ac_var'}'` = yes; then
22610   cat >>confdefs.h <<_ACEOF
22611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22612 _ACEOF
22613
22614 fi
22615 done
22616
22617   else
22618
22619   echo "$as_me:$LINENO: checking for _expf declaration" >&5
22620 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22621   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22622     if test "${glibcxx_cv_func__expf_use+set}" = set; then
22623   echo $ECHO_N "(cached) $ECHO_C" >&6
22624 else
22625
22626
22627
22628       ac_ext=cc
22629 ac_cpp='$CXXCPP $CPPFLAGS'
22630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22633
22634       cat >conftest.$ac_ext <<_ACEOF
22635 /* confdefs.h.  */
22636 _ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h.  */
22640 #include <math.h>
22641                       #ifdef HAVE_IEEEFP_H
22642                       #include <ieeefp.h>
22643                       #endif
22644
22645 int
22646 main ()
22647 {
22648  _expf(0);
22649   ;
22650   return 0;
22651 }
22652 _ACEOF
22653 rm -f conftest.$ac_objext
22654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22655   (eval $ac_compile) 2>conftest.er1
22656   ac_status=$?
22657   grep -v '^ *+' conftest.er1 >conftest.err
22658   rm -f conftest.er1
22659   cat conftest.err >&5
22660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661   (exit $ac_status); } &&
22662          { ac_try='test -z "$ac_cxx_werror_flag"
22663                          || test ! -s conftest.err'
22664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665   (eval $ac_try) 2>&5
22666   ac_status=$?
22667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668   (exit $ac_status); }; } &&
22669          { ac_try='test -s conftest.$ac_objext'
22670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671   (eval $ac_try) 2>&5
22672   ac_status=$?
22673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674   (exit $ac_status); }; }; then
22675   glibcxx_cv_func__expf_use=yes
22676 else
22677   echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 glibcxx_cv_func__expf_use=no
22681 fi
22682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22683       ac_ext=c
22684 ac_cpp='$CPP $CPPFLAGS'
22685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22688
22689
22690 fi
22691
22692   fi
22693   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22694 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22695
22696     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22697
22698 for ac_func in _expf
22699 do
22700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22701 echo "$as_me:$LINENO: checking for $ac_func" >&5
22702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22703 if eval "test \"\${$as_ac_var+set}\" = set"; then
22704   echo $ECHO_N "(cached) $ECHO_C" >&6
22705 else
22706   if test x$gcc_no_link = xyes; then
22707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22709    { (exit 1); exit 1; }; }
22710 fi
22711 cat >conftest.$ac_ext <<_ACEOF
22712 /* confdefs.h.  */
22713 _ACEOF
22714 cat confdefs.h >>conftest.$ac_ext
22715 cat >>conftest.$ac_ext <<_ACEOF
22716 /* end confdefs.h.  */
22717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22719 #define $ac_func innocuous_$ac_func
22720
22721 /* System header to define __stub macros and hopefully few prototypes,
22722     which can conflict with char $ac_func (); below.
22723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22724     <limits.h> exists even on freestanding compilers.  */
22725
22726 #ifdef __STDC__
22727 # include <limits.h>
22728 #else
22729 # include <assert.h>
22730 #endif
22731
22732 #undef $ac_func
22733
22734 /* Override any gcc2 internal prototype to avoid an error.  */
22735 #ifdef __cplusplus
22736 extern "C"
22737 {
22738 #endif
22739 /* We use char because int might match the return type of a gcc2
22740    builtin and then its argument prototype would still apply.  */
22741 char $ac_func ();
22742 /* The GNU C library defines this for functions which it implements
22743     to always fail with ENOSYS.  Some functions are actually named
22744     something starting with __ and the normal name is an alias.  */
22745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22746 choke me
22747 #else
22748 char (*f) () = $ac_func;
22749 #endif
22750 #ifdef __cplusplus
22751 }
22752 #endif
22753
22754 int
22755 main ()
22756 {
22757 return f != $ac_func;
22758   ;
22759   return 0;
22760 }
22761 _ACEOF
22762 rm -f conftest.$ac_objext conftest$ac_exeext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22764   (eval $ac_link) 2>conftest.er1
22765   ac_status=$?
22766   grep -v '^ *+' conftest.er1 >conftest.err
22767   rm -f conftest.er1
22768   cat conftest.err >&5
22769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770   (exit $ac_status); } &&
22771          { ac_try='test -z "$ac_c_werror_flag"
22772                          || test ! -s conftest.err'
22773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774   (eval $ac_try) 2>&5
22775   ac_status=$?
22776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777   (exit $ac_status); }; } &&
22778          { ac_try='test -s conftest$ac_exeext'
22779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780   (eval $ac_try) 2>&5
22781   ac_status=$?
22782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783   (exit $ac_status); }; }; then
22784   eval "$as_ac_var=yes"
22785 else
22786   echo "$as_me: failed program was:" >&5
22787 sed 's/^/| /' conftest.$ac_ext >&5
22788
22789 eval "$as_ac_var=no"
22790 fi
22791 rm -f conftest.err conftest.$ac_objext \
22792       conftest$ac_exeext conftest.$ac_ext
22793 fi
22794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22796 if test `eval echo '${'$as_ac_var'}'` = yes; then
22797   cat >>confdefs.h <<_ACEOF
22798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22799 _ACEOF
22800
22801 fi
22802 done
22803
22804     fi
22805   fi
22806
22807
22808
22809
22810
22811
22812   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22813 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22814   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22815     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22816   echo $ECHO_N "(cached) $ECHO_C" >&6
22817 else
22818
22819
22820
22821       ac_ext=cc
22822 ac_cpp='$CXXCPP $CPPFLAGS'
22823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22826
22827       cat >conftest.$ac_ext <<_ACEOF
22828 /* confdefs.h.  */
22829 _ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h.  */
22833 #include <math.h>
22834                       #ifdef HAVE_IEEEFP_H
22835                       #include <ieeefp.h>
22836                       #endif
22837
22838 int
22839 main ()
22840 {
22841  isnanf(0);
22842   ;
22843   return 0;
22844 }
22845 _ACEOF
22846 rm -f conftest.$ac_objext
22847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22848   (eval $ac_compile) 2>conftest.er1
22849   ac_status=$?
22850   grep -v '^ *+' conftest.er1 >conftest.err
22851   rm -f conftest.er1
22852   cat conftest.err >&5
22853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854   (exit $ac_status); } &&
22855          { ac_try='test -z "$ac_cxx_werror_flag"
22856                          || test ! -s conftest.err'
22857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858   (eval $ac_try) 2>&5
22859   ac_status=$?
22860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861   (exit $ac_status); }; } &&
22862          { ac_try='test -s conftest.$ac_objext'
22863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864   (eval $ac_try) 2>&5
22865   ac_status=$?
22866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867   (exit $ac_status); }; }; then
22868   glibcxx_cv_func_isnanf_use=yes
22869 else
22870   echo "$as_me: failed program was:" >&5
22871 sed 's/^/| /' conftest.$ac_ext >&5
22872
22873 glibcxx_cv_func_isnanf_use=no
22874 fi
22875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22876       ac_ext=c
22877 ac_cpp='$CPP $CPPFLAGS'
22878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22881
22882
22883 fi
22884
22885   fi
22886   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22887 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22888
22889   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22890
22891 for ac_func in isnanf
22892 do
22893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22894 echo "$as_me:$LINENO: checking for $ac_func" >&5
22895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22896 if eval "test \"\${$as_ac_var+set}\" = set"; then
22897   echo $ECHO_N "(cached) $ECHO_C" >&6
22898 else
22899   if test x$gcc_no_link = xyes; then
22900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22902    { (exit 1); exit 1; }; }
22903 fi
22904 cat >conftest.$ac_ext <<_ACEOF
22905 /* confdefs.h.  */
22906 _ACEOF
22907 cat confdefs.h >>conftest.$ac_ext
22908 cat >>conftest.$ac_ext <<_ACEOF
22909 /* end confdefs.h.  */
22910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22912 #define $ac_func innocuous_$ac_func
22913
22914 /* System header to define __stub macros and hopefully few prototypes,
22915     which can conflict with char $ac_func (); below.
22916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22917     <limits.h> exists even on freestanding compilers.  */
22918
22919 #ifdef __STDC__
22920 # include <limits.h>
22921 #else
22922 # include <assert.h>
22923 #endif
22924
22925 #undef $ac_func
22926
22927 /* Override any gcc2 internal prototype to avoid an error.  */
22928 #ifdef __cplusplus
22929 extern "C"
22930 {
22931 #endif
22932 /* We use char because int might match the return type of a gcc2
22933    builtin and then its argument prototype would still apply.  */
22934 char $ac_func ();
22935 /* The GNU C library defines this for functions which it implements
22936     to always fail with ENOSYS.  Some functions are actually named
22937     something starting with __ and the normal name is an alias.  */
22938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22939 choke me
22940 #else
22941 char (*f) () = $ac_func;
22942 #endif
22943 #ifdef __cplusplus
22944 }
22945 #endif
22946
22947 int
22948 main ()
22949 {
22950 return f != $ac_func;
22951   ;
22952   return 0;
22953 }
22954 _ACEOF
22955 rm -f conftest.$ac_objext conftest$ac_exeext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22957   (eval $ac_link) 2>conftest.er1
22958   ac_status=$?
22959   grep -v '^ *+' conftest.er1 >conftest.err
22960   rm -f conftest.er1
22961   cat conftest.err >&5
22962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963   (exit $ac_status); } &&
22964          { ac_try='test -z "$ac_c_werror_flag"
22965                          || test ! -s conftest.err'
22966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967   (eval $ac_try) 2>&5
22968   ac_status=$?
22969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970   (exit $ac_status); }; } &&
22971          { ac_try='test -s conftest$ac_exeext'
22972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973   (eval $ac_try) 2>&5
22974   ac_status=$?
22975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976   (exit $ac_status); }; }; then
22977   eval "$as_ac_var=yes"
22978 else
22979   echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22981
22982 eval "$as_ac_var=no"
22983 fi
22984 rm -f conftest.err conftest.$ac_objext \
22985       conftest$ac_exeext conftest.$ac_ext
22986 fi
22987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22989 if test `eval echo '${'$as_ac_var'}'` = yes; then
22990   cat >>confdefs.h <<_ACEOF
22991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22992 _ACEOF
22993
22994 fi
22995 done
22996
22997   else
22998
22999   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23000 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23001   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23002     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23003   echo $ECHO_N "(cached) $ECHO_C" >&6
23004 else
23005
23006
23007
23008       ac_ext=cc
23009 ac_cpp='$CXXCPP $CPPFLAGS'
23010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23013
23014       cat >conftest.$ac_ext <<_ACEOF
23015 /* confdefs.h.  */
23016 _ACEOF
23017 cat confdefs.h >>conftest.$ac_ext
23018 cat >>conftest.$ac_ext <<_ACEOF
23019 /* end confdefs.h.  */
23020 #include <math.h>
23021                       #ifdef HAVE_IEEEFP_H
23022                       #include <ieeefp.h>
23023                       #endif
23024
23025 int
23026 main ()
23027 {
23028  _isnanf(0);
23029   ;
23030   return 0;
23031 }
23032 _ACEOF
23033 rm -f conftest.$ac_objext
23034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23035   (eval $ac_compile) 2>conftest.er1
23036   ac_status=$?
23037   grep -v '^ *+' conftest.er1 >conftest.err
23038   rm -f conftest.er1
23039   cat conftest.err >&5
23040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041   (exit $ac_status); } &&
23042          { ac_try='test -z "$ac_cxx_werror_flag"
23043                          || test ! -s conftest.err'
23044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045   (eval $ac_try) 2>&5
23046   ac_status=$?
23047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048   (exit $ac_status); }; } &&
23049          { ac_try='test -s conftest.$ac_objext'
23050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23051   (eval $ac_try) 2>&5
23052   ac_status=$?
23053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054   (exit $ac_status); }; }; then
23055   glibcxx_cv_func__isnanf_use=yes
23056 else
23057   echo "$as_me: failed program was:" >&5
23058 sed 's/^/| /' conftest.$ac_ext >&5
23059
23060 glibcxx_cv_func__isnanf_use=no
23061 fi
23062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23063       ac_ext=c
23064 ac_cpp='$CPP $CPPFLAGS'
23065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23068
23069
23070 fi
23071
23072   fi
23073   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23074 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23075
23076     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23077
23078 for ac_func in _isnanf
23079 do
23080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23081 echo "$as_me:$LINENO: checking for $ac_func" >&5
23082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23083 if eval "test \"\${$as_ac_var+set}\" = set"; then
23084   echo $ECHO_N "(cached) $ECHO_C" >&6
23085 else
23086   if test x$gcc_no_link = xyes; then
23087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23089    { (exit 1); exit 1; }; }
23090 fi
23091 cat >conftest.$ac_ext <<_ACEOF
23092 /* confdefs.h.  */
23093 _ACEOF
23094 cat confdefs.h >>conftest.$ac_ext
23095 cat >>conftest.$ac_ext <<_ACEOF
23096 /* end confdefs.h.  */
23097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23099 #define $ac_func innocuous_$ac_func
23100
23101 /* System header to define __stub macros and hopefully few prototypes,
23102     which can conflict with char $ac_func (); below.
23103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23104     <limits.h> exists even on freestanding compilers.  */
23105
23106 #ifdef __STDC__
23107 # include <limits.h>
23108 #else
23109 # include <assert.h>
23110 #endif
23111
23112 #undef $ac_func
23113
23114 /* Override any gcc2 internal prototype to avoid an error.  */
23115 #ifdef __cplusplus
23116 extern "C"
23117 {
23118 #endif
23119 /* We use char because int might match the return type of a gcc2
23120    builtin and then its argument prototype would still apply.  */
23121 char $ac_func ();
23122 /* The GNU C library defines this for functions which it implements
23123     to always fail with ENOSYS.  Some functions are actually named
23124     something starting with __ and the normal name is an alias.  */
23125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23126 choke me
23127 #else
23128 char (*f) () = $ac_func;
23129 #endif
23130 #ifdef __cplusplus
23131 }
23132 #endif
23133
23134 int
23135 main ()
23136 {
23137 return f != $ac_func;
23138   ;
23139   return 0;
23140 }
23141 _ACEOF
23142 rm -f conftest.$ac_objext conftest$ac_exeext
23143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23144   (eval $ac_link) 2>conftest.er1
23145   ac_status=$?
23146   grep -v '^ *+' conftest.er1 >conftest.err
23147   rm -f conftest.er1
23148   cat conftest.err >&5
23149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150   (exit $ac_status); } &&
23151          { ac_try='test -z "$ac_c_werror_flag"
23152                          || test ! -s conftest.err'
23153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154   (eval $ac_try) 2>&5
23155   ac_status=$?
23156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157   (exit $ac_status); }; } &&
23158          { ac_try='test -s conftest$ac_exeext'
23159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23160   (eval $ac_try) 2>&5
23161   ac_status=$?
23162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163   (exit $ac_status); }; }; then
23164   eval "$as_ac_var=yes"
23165 else
23166   echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23168
23169 eval "$as_ac_var=no"
23170 fi
23171 rm -f conftest.err conftest.$ac_objext \
23172       conftest$ac_exeext conftest.$ac_ext
23173 fi
23174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23176 if test `eval echo '${'$as_ac_var'}'` = yes; then
23177   cat >>confdefs.h <<_ACEOF
23178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23179 _ACEOF
23180
23181 fi
23182 done
23183
23184     fi
23185   fi
23186
23187
23188
23189
23190
23191
23192   echo "$as_me:$LINENO: checking for isinff declaration" >&5
23193 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23194   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23195     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23196   echo $ECHO_N "(cached) $ECHO_C" >&6
23197 else
23198
23199
23200
23201       ac_ext=cc
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206
23207       cat >conftest.$ac_ext <<_ACEOF
23208 /* confdefs.h.  */
23209 _ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h.  */
23213 #include <math.h>
23214                       #ifdef HAVE_IEEEFP_H
23215                       #include <ieeefp.h>
23216                       #endif
23217
23218 int
23219 main ()
23220 {
23221  isinff(0);
23222   ;
23223   return 0;
23224 }
23225 _ACEOF
23226 rm -f conftest.$ac_objext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23228   (eval $ac_compile) 2>conftest.er1
23229   ac_status=$?
23230   grep -v '^ *+' conftest.er1 >conftest.err
23231   rm -f conftest.er1
23232   cat conftest.err >&5
23233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234   (exit $ac_status); } &&
23235          { ac_try='test -z "$ac_cxx_werror_flag"
23236                          || test ! -s conftest.err'
23237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238   (eval $ac_try) 2>&5
23239   ac_status=$?
23240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241   (exit $ac_status); }; } &&
23242          { ac_try='test -s conftest.$ac_objext'
23243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244   (eval $ac_try) 2>&5
23245   ac_status=$?
23246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247   (exit $ac_status); }; }; then
23248   glibcxx_cv_func_isinff_use=yes
23249 else
23250   echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.$ac_ext >&5
23252
23253 glibcxx_cv_func_isinff_use=no
23254 fi
23255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23256       ac_ext=c
23257 ac_cpp='$CPP $CPPFLAGS'
23258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23261
23262
23263 fi
23264
23265   fi
23266   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23267 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23268
23269   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23270
23271 for ac_func in isinff
23272 do
23273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23274 echo "$as_me:$LINENO: checking for $ac_func" >&5
23275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23276 if eval "test \"\${$as_ac_var+set}\" = set"; then
23277   echo $ECHO_N "(cached) $ECHO_C" >&6
23278 else
23279   if test x$gcc_no_link = xyes; then
23280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23282    { (exit 1); exit 1; }; }
23283 fi
23284 cat >conftest.$ac_ext <<_ACEOF
23285 /* confdefs.h.  */
23286 _ACEOF
23287 cat confdefs.h >>conftest.$ac_ext
23288 cat >>conftest.$ac_ext <<_ACEOF
23289 /* end confdefs.h.  */
23290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23292 #define $ac_func innocuous_$ac_func
23293
23294 /* System header to define __stub macros and hopefully few prototypes,
23295     which can conflict with char $ac_func (); below.
23296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23297     <limits.h> exists even on freestanding compilers.  */
23298
23299 #ifdef __STDC__
23300 # include <limits.h>
23301 #else
23302 # include <assert.h>
23303 #endif
23304
23305 #undef $ac_func
23306
23307 /* Override any gcc2 internal prototype to avoid an error.  */
23308 #ifdef __cplusplus
23309 extern "C"
23310 {
23311 #endif
23312 /* We use char because int might match the return type of a gcc2
23313    builtin and then its argument prototype would still apply.  */
23314 char $ac_func ();
23315 /* The GNU C library defines this for functions which it implements
23316     to always fail with ENOSYS.  Some functions are actually named
23317     something starting with __ and the normal name is an alias.  */
23318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23319 choke me
23320 #else
23321 char (*f) () = $ac_func;
23322 #endif
23323 #ifdef __cplusplus
23324 }
23325 #endif
23326
23327 int
23328 main ()
23329 {
23330 return f != $ac_func;
23331   ;
23332   return 0;
23333 }
23334 _ACEOF
23335 rm -f conftest.$ac_objext conftest$ac_exeext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23337   (eval $ac_link) 2>conftest.er1
23338   ac_status=$?
23339   grep -v '^ *+' conftest.er1 >conftest.err
23340   rm -f conftest.er1
23341   cat conftest.err >&5
23342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343   (exit $ac_status); } &&
23344          { ac_try='test -z "$ac_c_werror_flag"
23345                          || test ! -s conftest.err'
23346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347   (eval $ac_try) 2>&5
23348   ac_status=$?
23349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350   (exit $ac_status); }; } &&
23351          { ac_try='test -s conftest$ac_exeext'
23352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353   (eval $ac_try) 2>&5
23354   ac_status=$?
23355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356   (exit $ac_status); }; }; then
23357   eval "$as_ac_var=yes"
23358 else
23359   echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23361
23362 eval "$as_ac_var=no"
23363 fi
23364 rm -f conftest.err conftest.$ac_objext \
23365       conftest$ac_exeext conftest.$ac_ext
23366 fi
23367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23369 if test `eval echo '${'$as_ac_var'}'` = yes; then
23370   cat >>confdefs.h <<_ACEOF
23371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23372 _ACEOF
23373
23374 fi
23375 done
23376
23377   else
23378
23379   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23380 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23381   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23382     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23383   echo $ECHO_N "(cached) $ECHO_C" >&6
23384 else
23385
23386
23387
23388       ac_ext=cc
23389 ac_cpp='$CXXCPP $CPPFLAGS'
23390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23393
23394       cat >conftest.$ac_ext <<_ACEOF
23395 /* confdefs.h.  */
23396 _ACEOF
23397 cat confdefs.h >>conftest.$ac_ext
23398 cat >>conftest.$ac_ext <<_ACEOF
23399 /* end confdefs.h.  */
23400 #include <math.h>
23401                       #ifdef HAVE_IEEEFP_H
23402                       #include <ieeefp.h>
23403                       #endif
23404
23405 int
23406 main ()
23407 {
23408  _isinff(0);
23409   ;
23410   return 0;
23411 }
23412 _ACEOF
23413 rm -f conftest.$ac_objext
23414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23415   (eval $ac_compile) 2>conftest.er1
23416   ac_status=$?
23417   grep -v '^ *+' conftest.er1 >conftest.err
23418   rm -f conftest.er1
23419   cat conftest.err >&5
23420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23421   (exit $ac_status); } &&
23422          { ac_try='test -z "$ac_cxx_werror_flag"
23423                          || test ! -s conftest.err'
23424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425   (eval $ac_try) 2>&5
23426   ac_status=$?
23427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428   (exit $ac_status); }; } &&
23429          { ac_try='test -s conftest.$ac_objext'
23430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23431   (eval $ac_try) 2>&5
23432   ac_status=$?
23433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23434   (exit $ac_status); }; }; then
23435   glibcxx_cv_func__isinff_use=yes
23436 else
23437   echo "$as_me: failed program was:" >&5
23438 sed 's/^/| /' conftest.$ac_ext >&5
23439
23440 glibcxx_cv_func__isinff_use=no
23441 fi
23442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23443       ac_ext=c
23444 ac_cpp='$CPP $CPPFLAGS'
23445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23448
23449
23450 fi
23451
23452   fi
23453   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23454 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23455
23456     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23457
23458 for ac_func in _isinff
23459 do
23460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23461 echo "$as_me:$LINENO: checking for $ac_func" >&5
23462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23463 if eval "test \"\${$as_ac_var+set}\" = set"; then
23464   echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23466   if test x$gcc_no_link = xyes; then
23467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23469    { (exit 1); exit 1; }; }
23470 fi
23471 cat >conftest.$ac_ext <<_ACEOF
23472 /* confdefs.h.  */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h.  */
23477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23479 #define $ac_func innocuous_$ac_func
23480
23481 /* System header to define __stub macros and hopefully few prototypes,
23482     which can conflict with char $ac_func (); below.
23483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23484     <limits.h> exists even on freestanding compilers.  */
23485
23486 #ifdef __STDC__
23487 # include <limits.h>
23488 #else
23489 # include <assert.h>
23490 #endif
23491
23492 #undef $ac_func
23493
23494 /* Override any gcc2 internal prototype to avoid an error.  */
23495 #ifdef __cplusplus
23496 extern "C"
23497 {
23498 #endif
23499 /* We use char because int might match the return type of a gcc2
23500    builtin and then its argument prototype would still apply.  */
23501 char $ac_func ();
23502 /* The GNU C library defines this for functions which it implements
23503     to always fail with ENOSYS.  Some functions are actually named
23504     something starting with __ and the normal name is an alias.  */
23505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23506 choke me
23507 #else
23508 char (*f) () = $ac_func;
23509 #endif
23510 #ifdef __cplusplus
23511 }
23512 #endif
23513
23514 int
23515 main ()
23516 {
23517 return f != $ac_func;
23518   ;
23519   return 0;
23520 }
23521 _ACEOF
23522 rm -f conftest.$ac_objext conftest$ac_exeext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23524   (eval $ac_link) 2>conftest.er1
23525   ac_status=$?
23526   grep -v '^ *+' conftest.er1 >conftest.err
23527   rm -f conftest.er1
23528   cat conftest.err >&5
23529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530   (exit $ac_status); } &&
23531          { ac_try='test -z "$ac_c_werror_flag"
23532                          || test ! -s conftest.err'
23533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534   (eval $ac_try) 2>&5
23535   ac_status=$?
23536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537   (exit $ac_status); }; } &&
23538          { ac_try='test -s conftest$ac_exeext'
23539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23540   (eval $ac_try) 2>&5
23541   ac_status=$?
23542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543   (exit $ac_status); }; }; then
23544   eval "$as_ac_var=yes"
23545 else
23546   echo "$as_me: failed program was:" >&5
23547 sed 's/^/| /' conftest.$ac_ext >&5
23548
23549 eval "$as_ac_var=no"
23550 fi
23551 rm -f conftest.err conftest.$ac_objext \
23552       conftest$ac_exeext conftest.$ac_ext
23553 fi
23554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23556 if test `eval echo '${'$as_ac_var'}'` = yes; then
23557   cat >>confdefs.h <<_ACEOF
23558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23559 _ACEOF
23560
23561 fi
23562 done
23563
23564     fi
23565   fi
23566
23567
23568
23569
23570
23571
23572   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23573 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23574   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23575     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23576   echo $ECHO_N "(cached) $ECHO_C" >&6
23577 else
23578
23579
23580
23581       ac_ext=cc
23582 ac_cpp='$CXXCPP $CPPFLAGS'
23583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23586
23587       cat >conftest.$ac_ext <<_ACEOF
23588 /* confdefs.h.  */
23589 _ACEOF
23590 cat confdefs.h >>conftest.$ac_ext
23591 cat >>conftest.$ac_ext <<_ACEOF
23592 /* end confdefs.h.  */
23593 #include <math.h>
23594 int
23595 main ()
23596 {
23597  atan2f(0, 0);
23598   ;
23599   return 0;
23600 }
23601 _ACEOF
23602 rm -f conftest.$ac_objext
23603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23604   (eval $ac_compile) 2>conftest.er1
23605   ac_status=$?
23606   grep -v '^ *+' conftest.er1 >conftest.err
23607   rm -f conftest.er1
23608   cat conftest.err >&5
23609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610   (exit $ac_status); } &&
23611          { ac_try='test -z "$ac_cxx_werror_flag"
23612                          || test ! -s conftest.err'
23613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23614   (eval $ac_try) 2>&5
23615   ac_status=$?
23616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617   (exit $ac_status); }; } &&
23618          { ac_try='test -s conftest.$ac_objext'
23619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23620   (eval $ac_try) 2>&5
23621   ac_status=$?
23622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623   (exit $ac_status); }; }; then
23624   glibcxx_cv_func_atan2f_use=yes
23625 else
23626   echo "$as_me: failed program was:" >&5
23627 sed 's/^/| /' conftest.$ac_ext >&5
23628
23629 glibcxx_cv_func_atan2f_use=no
23630 fi
23631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23632       ac_ext=c
23633 ac_cpp='$CPP $CPPFLAGS'
23634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23637
23638
23639 fi
23640
23641   fi
23642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23643 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23644
23645   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23646
23647 for ac_func in atan2f
23648 do
23649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23650 echo "$as_me:$LINENO: checking for $ac_func" >&5
23651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23652 if eval "test \"\${$as_ac_var+set}\" = set"; then
23653   echo $ECHO_N "(cached) $ECHO_C" >&6
23654 else
23655   if test x$gcc_no_link = xyes; then
23656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23658    { (exit 1); exit 1; }; }
23659 fi
23660 cat >conftest.$ac_ext <<_ACEOF
23661 /* confdefs.h.  */
23662 _ACEOF
23663 cat confdefs.h >>conftest.$ac_ext
23664 cat >>conftest.$ac_ext <<_ACEOF
23665 /* end confdefs.h.  */
23666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23668 #define $ac_func innocuous_$ac_func
23669
23670 /* System header to define __stub macros and hopefully few prototypes,
23671     which can conflict with char $ac_func (); below.
23672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23673     <limits.h> exists even on freestanding compilers.  */
23674
23675 #ifdef __STDC__
23676 # include <limits.h>
23677 #else
23678 # include <assert.h>
23679 #endif
23680
23681 #undef $ac_func
23682
23683 /* Override any gcc2 internal prototype to avoid an error.  */
23684 #ifdef __cplusplus
23685 extern "C"
23686 {
23687 #endif
23688 /* We use char because int might match the return type of a gcc2
23689    builtin and then its argument prototype would still apply.  */
23690 char $ac_func ();
23691 /* The GNU C library defines this for functions which it implements
23692     to always fail with ENOSYS.  Some functions are actually named
23693     something starting with __ and the normal name is an alias.  */
23694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23695 choke me
23696 #else
23697 char (*f) () = $ac_func;
23698 #endif
23699 #ifdef __cplusplus
23700 }
23701 #endif
23702
23703 int
23704 main ()
23705 {
23706 return f != $ac_func;
23707   ;
23708   return 0;
23709 }
23710 _ACEOF
23711 rm -f conftest.$ac_objext conftest$ac_exeext
23712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23713   (eval $ac_link) 2>conftest.er1
23714   ac_status=$?
23715   grep -v '^ *+' conftest.er1 >conftest.err
23716   rm -f conftest.er1
23717   cat conftest.err >&5
23718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719   (exit $ac_status); } &&
23720          { ac_try='test -z "$ac_c_werror_flag"
23721                          || test ! -s conftest.err'
23722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723   (eval $ac_try) 2>&5
23724   ac_status=$?
23725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726   (exit $ac_status); }; } &&
23727          { ac_try='test -s conftest$ac_exeext'
23728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729   (eval $ac_try) 2>&5
23730   ac_status=$?
23731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732   (exit $ac_status); }; }; then
23733   eval "$as_ac_var=yes"
23734 else
23735   echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.$ac_ext >&5
23737
23738 eval "$as_ac_var=no"
23739 fi
23740 rm -f conftest.err conftest.$ac_objext \
23741       conftest$ac_exeext conftest.$ac_ext
23742 fi
23743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23745 if test `eval echo '${'$as_ac_var'}'` = yes; then
23746   cat >>confdefs.h <<_ACEOF
23747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23748 _ACEOF
23749
23750 fi
23751 done
23752
23753   else
23754
23755   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23756 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23757   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23758     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23759   echo $ECHO_N "(cached) $ECHO_C" >&6
23760 else
23761
23762
23763
23764       ac_ext=cc
23765 ac_cpp='$CXXCPP $CPPFLAGS'
23766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23769
23770       cat >conftest.$ac_ext <<_ACEOF
23771 /* confdefs.h.  */
23772 _ACEOF
23773 cat confdefs.h >>conftest.$ac_ext
23774 cat >>conftest.$ac_ext <<_ACEOF
23775 /* end confdefs.h.  */
23776 #include <math.h>
23777 int
23778 main ()
23779 {
23780  _atan2f(0, 0);
23781   ;
23782   return 0;
23783 }
23784 _ACEOF
23785 rm -f conftest.$ac_objext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23787   (eval $ac_compile) 2>conftest.er1
23788   ac_status=$?
23789   grep -v '^ *+' conftest.er1 >conftest.err
23790   rm -f conftest.er1
23791   cat conftest.err >&5
23792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23793   (exit $ac_status); } &&
23794          { ac_try='test -z "$ac_cxx_werror_flag"
23795                          || test ! -s conftest.err'
23796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23797   (eval $ac_try) 2>&5
23798   ac_status=$?
23799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800   (exit $ac_status); }; } &&
23801          { ac_try='test -s conftest.$ac_objext'
23802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23803   (eval $ac_try) 2>&5
23804   ac_status=$?
23805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806   (exit $ac_status); }; }; then
23807   glibcxx_cv_func__atan2f_use=yes
23808 else
23809   echo "$as_me: failed program was:" >&5
23810 sed 's/^/| /' conftest.$ac_ext >&5
23811
23812 glibcxx_cv_func__atan2f_use=no
23813 fi
23814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23815       ac_ext=c
23816 ac_cpp='$CPP $CPPFLAGS'
23817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23820
23821
23822 fi
23823
23824   fi
23825   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23826 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23827
23828     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23829
23830 for ac_func in _atan2f
23831 do
23832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23833 echo "$as_me:$LINENO: checking for $ac_func" >&5
23834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23835 if eval "test \"\${$as_ac_var+set}\" = set"; then
23836   echo $ECHO_N "(cached) $ECHO_C" >&6
23837 else
23838   if test x$gcc_no_link = xyes; then
23839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23841    { (exit 1); exit 1; }; }
23842 fi
23843 cat >conftest.$ac_ext <<_ACEOF
23844 /* confdefs.h.  */
23845 _ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h.  */
23849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23851 #define $ac_func innocuous_$ac_func
23852
23853 /* System header to define __stub macros and hopefully few prototypes,
23854     which can conflict with char $ac_func (); below.
23855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23856     <limits.h> exists even on freestanding compilers.  */
23857
23858 #ifdef __STDC__
23859 # include <limits.h>
23860 #else
23861 # include <assert.h>
23862 #endif
23863
23864 #undef $ac_func
23865
23866 /* Override any gcc2 internal prototype to avoid an error.  */
23867 #ifdef __cplusplus
23868 extern "C"
23869 {
23870 #endif
23871 /* We use char because int might match the return type of a gcc2
23872    builtin and then its argument prototype would still apply.  */
23873 char $ac_func ();
23874 /* The GNU C library defines this for functions which it implements
23875     to always fail with ENOSYS.  Some functions are actually named
23876     something starting with __ and the normal name is an alias.  */
23877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23878 choke me
23879 #else
23880 char (*f) () = $ac_func;
23881 #endif
23882 #ifdef __cplusplus
23883 }
23884 #endif
23885
23886 int
23887 main ()
23888 {
23889 return f != $ac_func;
23890   ;
23891   return 0;
23892 }
23893 _ACEOF
23894 rm -f conftest.$ac_objext conftest$ac_exeext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23896   (eval $ac_link) 2>conftest.er1
23897   ac_status=$?
23898   grep -v '^ *+' conftest.er1 >conftest.err
23899   rm -f conftest.er1
23900   cat conftest.err >&5
23901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902   (exit $ac_status); } &&
23903          { ac_try='test -z "$ac_c_werror_flag"
23904                          || test ! -s conftest.err'
23905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906   (eval $ac_try) 2>&5
23907   ac_status=$?
23908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909   (exit $ac_status); }; } &&
23910          { ac_try='test -s conftest$ac_exeext'
23911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912   (eval $ac_try) 2>&5
23913   ac_status=$?
23914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915   (exit $ac_status); }; }; then
23916   eval "$as_ac_var=yes"
23917 else
23918   echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23920
23921 eval "$as_ac_var=no"
23922 fi
23923 rm -f conftest.err conftest.$ac_objext \
23924       conftest$ac_exeext conftest.$ac_ext
23925 fi
23926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23928 if test `eval echo '${'$as_ac_var'}'` = yes; then
23929   cat >>confdefs.h <<_ACEOF
23930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23931 _ACEOF
23932
23933 fi
23934 done
23935
23936     fi
23937   fi
23938
23939
23940
23941
23942
23943
23944   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23945 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23946   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23947     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23948   echo $ECHO_N "(cached) $ECHO_C" >&6
23949 else
23950
23951
23952
23953       ac_ext=cc
23954 ac_cpp='$CXXCPP $CPPFLAGS'
23955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958
23959       cat >conftest.$ac_ext <<_ACEOF
23960 /* confdefs.h.  */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h.  */
23965 #include <math.h>
23966                       #ifdef HAVE_IEEEFP_H
23967                       #include <ieeefp.h>
23968                       #endif
23969
23970 int
23971 main ()
23972 {
23973  fabsf(0);
23974   ;
23975   return 0;
23976 }
23977 _ACEOF
23978 rm -f conftest.$ac_objext
23979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23980   (eval $ac_compile) 2>conftest.er1
23981   ac_status=$?
23982   grep -v '^ *+' conftest.er1 >conftest.err
23983   rm -f conftest.er1
23984   cat conftest.err >&5
23985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23986   (exit $ac_status); } &&
23987          { ac_try='test -z "$ac_cxx_werror_flag"
23988                          || test ! -s conftest.err'
23989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23990   (eval $ac_try) 2>&5
23991   ac_status=$?
23992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993   (exit $ac_status); }; } &&
23994          { ac_try='test -s conftest.$ac_objext'
23995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23996   (eval $ac_try) 2>&5
23997   ac_status=$?
23998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23999   (exit $ac_status); }; }; then
24000   glibcxx_cv_func_fabsf_use=yes
24001 else
24002   echo "$as_me: failed program was:" >&5
24003 sed 's/^/| /' conftest.$ac_ext >&5
24004
24005 glibcxx_cv_func_fabsf_use=no
24006 fi
24007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24008       ac_ext=c
24009 ac_cpp='$CPP $CPPFLAGS'
24010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24013
24014
24015 fi
24016
24017   fi
24018   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24019 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24020
24021   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24022
24023 for ac_func in fabsf
24024 do
24025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24026 echo "$as_me:$LINENO: checking for $ac_func" >&5
24027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24028 if eval "test \"\${$as_ac_var+set}\" = set"; then
24029   echo $ECHO_N "(cached) $ECHO_C" >&6
24030 else
24031   if test x$gcc_no_link = xyes; then
24032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24034    { (exit 1); exit 1; }; }
24035 fi
24036 cat >conftest.$ac_ext <<_ACEOF
24037 /* confdefs.h.  */
24038 _ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h.  */
24042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24044 #define $ac_func innocuous_$ac_func
24045
24046 /* System header to define __stub macros and hopefully few prototypes,
24047     which can conflict with char $ac_func (); below.
24048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24049     <limits.h> exists even on freestanding compilers.  */
24050
24051 #ifdef __STDC__
24052 # include <limits.h>
24053 #else
24054 # include <assert.h>
24055 #endif
24056
24057 #undef $ac_func
24058
24059 /* Override any gcc2 internal prototype to avoid an error.  */
24060 #ifdef __cplusplus
24061 extern "C"
24062 {
24063 #endif
24064 /* We use char because int might match the return type of a gcc2
24065    builtin and then its argument prototype would still apply.  */
24066 char $ac_func ();
24067 /* The GNU C library defines this for functions which it implements
24068     to always fail with ENOSYS.  Some functions are actually named
24069     something starting with __ and the normal name is an alias.  */
24070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24071 choke me
24072 #else
24073 char (*f) () = $ac_func;
24074 #endif
24075 #ifdef __cplusplus
24076 }
24077 #endif
24078
24079 int
24080 main ()
24081 {
24082 return f != $ac_func;
24083   ;
24084   return 0;
24085 }
24086 _ACEOF
24087 rm -f conftest.$ac_objext conftest$ac_exeext
24088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24089   (eval $ac_link) 2>conftest.er1
24090   ac_status=$?
24091   grep -v '^ *+' conftest.er1 >conftest.err
24092   rm -f conftest.er1
24093   cat conftest.err >&5
24094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095   (exit $ac_status); } &&
24096          { ac_try='test -z "$ac_c_werror_flag"
24097                          || test ! -s conftest.err'
24098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24099   (eval $ac_try) 2>&5
24100   ac_status=$?
24101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102   (exit $ac_status); }; } &&
24103          { ac_try='test -s conftest$ac_exeext'
24104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105   (eval $ac_try) 2>&5
24106   ac_status=$?
24107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108   (exit $ac_status); }; }; then
24109   eval "$as_ac_var=yes"
24110 else
24111   echo "$as_me: failed program was:" >&5
24112 sed 's/^/| /' conftest.$ac_ext >&5
24113
24114 eval "$as_ac_var=no"
24115 fi
24116 rm -f conftest.err conftest.$ac_objext \
24117       conftest$ac_exeext conftest.$ac_ext
24118 fi
24119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24121 if test `eval echo '${'$as_ac_var'}'` = yes; then
24122   cat >>confdefs.h <<_ACEOF
24123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24124 _ACEOF
24125
24126 fi
24127 done
24128
24129   else
24130
24131   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24132 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24133   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24134     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24135   echo $ECHO_N "(cached) $ECHO_C" >&6
24136 else
24137
24138
24139
24140       ac_ext=cc
24141 ac_cpp='$CXXCPP $CPPFLAGS'
24142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24145
24146       cat >conftest.$ac_ext <<_ACEOF
24147 /* confdefs.h.  */
24148 _ACEOF
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h.  */
24152 #include <math.h>
24153                       #ifdef HAVE_IEEEFP_H
24154                       #include <ieeefp.h>
24155                       #endif
24156
24157 int
24158 main ()
24159 {
24160  _fabsf(0);
24161   ;
24162   return 0;
24163 }
24164 _ACEOF
24165 rm -f conftest.$ac_objext
24166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24167   (eval $ac_compile) 2>conftest.er1
24168   ac_status=$?
24169   grep -v '^ *+' conftest.er1 >conftest.err
24170   rm -f conftest.er1
24171   cat conftest.err >&5
24172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173   (exit $ac_status); } &&
24174          { ac_try='test -z "$ac_cxx_werror_flag"
24175                          || test ! -s conftest.err'
24176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24177   (eval $ac_try) 2>&5
24178   ac_status=$?
24179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180   (exit $ac_status); }; } &&
24181          { ac_try='test -s conftest.$ac_objext'
24182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24183   (eval $ac_try) 2>&5
24184   ac_status=$?
24185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24186   (exit $ac_status); }; }; then
24187   glibcxx_cv_func__fabsf_use=yes
24188 else
24189   echo "$as_me: failed program was:" >&5
24190 sed 's/^/| /' conftest.$ac_ext >&5
24191
24192 glibcxx_cv_func__fabsf_use=no
24193 fi
24194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24195       ac_ext=c
24196 ac_cpp='$CPP $CPPFLAGS'
24197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24200
24201
24202 fi
24203
24204   fi
24205   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24206 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24207
24208     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24209
24210 for ac_func in _fabsf
24211 do
24212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24213 echo "$as_me:$LINENO: checking for $ac_func" >&5
24214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24215 if eval "test \"\${$as_ac_var+set}\" = set"; then
24216   echo $ECHO_N "(cached) $ECHO_C" >&6
24217 else
24218   if test x$gcc_no_link = xyes; then
24219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24221    { (exit 1); exit 1; }; }
24222 fi
24223 cat >conftest.$ac_ext <<_ACEOF
24224 /* confdefs.h.  */
24225 _ACEOF
24226 cat confdefs.h >>conftest.$ac_ext
24227 cat >>conftest.$ac_ext <<_ACEOF
24228 /* end confdefs.h.  */
24229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24231 #define $ac_func innocuous_$ac_func
24232
24233 /* System header to define __stub macros and hopefully few prototypes,
24234     which can conflict with char $ac_func (); below.
24235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24236     <limits.h> exists even on freestanding compilers.  */
24237
24238 #ifdef __STDC__
24239 # include <limits.h>
24240 #else
24241 # include <assert.h>
24242 #endif
24243
24244 #undef $ac_func
24245
24246 /* Override any gcc2 internal prototype to avoid an error.  */
24247 #ifdef __cplusplus
24248 extern "C"
24249 {
24250 #endif
24251 /* We use char because int might match the return type of a gcc2
24252    builtin and then its argument prototype would still apply.  */
24253 char $ac_func ();
24254 /* The GNU C library defines this for functions which it implements
24255     to always fail with ENOSYS.  Some functions are actually named
24256     something starting with __ and the normal name is an alias.  */
24257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24258 choke me
24259 #else
24260 char (*f) () = $ac_func;
24261 #endif
24262 #ifdef __cplusplus
24263 }
24264 #endif
24265
24266 int
24267 main ()
24268 {
24269 return f != $ac_func;
24270   ;
24271   return 0;
24272 }
24273 _ACEOF
24274 rm -f conftest.$ac_objext conftest$ac_exeext
24275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24276   (eval $ac_link) 2>conftest.er1
24277   ac_status=$?
24278   grep -v '^ *+' conftest.er1 >conftest.err
24279   rm -f conftest.er1
24280   cat conftest.err >&5
24281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282   (exit $ac_status); } &&
24283          { ac_try='test -z "$ac_c_werror_flag"
24284                          || test ! -s conftest.err'
24285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286   (eval $ac_try) 2>&5
24287   ac_status=$?
24288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289   (exit $ac_status); }; } &&
24290          { ac_try='test -s conftest$ac_exeext'
24291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24292   (eval $ac_try) 2>&5
24293   ac_status=$?
24294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295   (exit $ac_status); }; }; then
24296   eval "$as_ac_var=yes"
24297 else
24298   echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24300
24301 eval "$as_ac_var=no"
24302 fi
24303 rm -f conftest.err conftest.$ac_objext \
24304       conftest$ac_exeext conftest.$ac_ext
24305 fi
24306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24308 if test `eval echo '${'$as_ac_var'}'` = yes; then
24309   cat >>confdefs.h <<_ACEOF
24310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24311 _ACEOF
24312
24313 fi
24314 done
24315
24316     fi
24317   fi
24318
24319
24320
24321
24322
24323
24324   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24325 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24326   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24327     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24328   echo $ECHO_N "(cached) $ECHO_C" >&6
24329 else
24330
24331
24332
24333       ac_ext=cc
24334 ac_cpp='$CXXCPP $CPPFLAGS'
24335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24338
24339       cat >conftest.$ac_ext <<_ACEOF
24340 /* confdefs.h.  */
24341 _ACEOF
24342 cat confdefs.h >>conftest.$ac_ext
24343 cat >>conftest.$ac_ext <<_ACEOF
24344 /* end confdefs.h.  */
24345 #include <math.h>
24346 int
24347 main ()
24348 {
24349  fmodf(0, 0);
24350   ;
24351   return 0;
24352 }
24353 _ACEOF
24354 rm -f conftest.$ac_objext
24355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24356   (eval $ac_compile) 2>conftest.er1
24357   ac_status=$?
24358   grep -v '^ *+' conftest.er1 >conftest.err
24359   rm -f conftest.er1
24360   cat conftest.err >&5
24361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362   (exit $ac_status); } &&
24363          { ac_try='test -z "$ac_cxx_werror_flag"
24364                          || test ! -s conftest.err'
24365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366   (eval $ac_try) 2>&5
24367   ac_status=$?
24368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369   (exit $ac_status); }; } &&
24370          { ac_try='test -s conftest.$ac_objext'
24371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372   (eval $ac_try) 2>&5
24373   ac_status=$?
24374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375   (exit $ac_status); }; }; then
24376   glibcxx_cv_func_fmodf_use=yes
24377 else
24378   echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24380
24381 glibcxx_cv_func_fmodf_use=no
24382 fi
24383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24384       ac_ext=c
24385 ac_cpp='$CPP $CPPFLAGS'
24386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24389
24390
24391 fi
24392
24393   fi
24394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24395 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24396
24397   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24398
24399 for ac_func in fmodf
24400 do
24401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24402 echo "$as_me:$LINENO: checking for $ac_func" >&5
24403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24404 if eval "test \"\${$as_ac_var+set}\" = set"; then
24405   echo $ECHO_N "(cached) $ECHO_C" >&6
24406 else
24407   if test x$gcc_no_link = xyes; then
24408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24410    { (exit 1); exit 1; }; }
24411 fi
24412 cat >conftest.$ac_ext <<_ACEOF
24413 /* confdefs.h.  */
24414 _ACEOF
24415 cat confdefs.h >>conftest.$ac_ext
24416 cat >>conftest.$ac_ext <<_ACEOF
24417 /* end confdefs.h.  */
24418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24420 #define $ac_func innocuous_$ac_func
24421
24422 /* System header to define __stub macros and hopefully few prototypes,
24423     which can conflict with char $ac_func (); below.
24424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24425     <limits.h> exists even on freestanding compilers.  */
24426
24427 #ifdef __STDC__
24428 # include <limits.h>
24429 #else
24430 # include <assert.h>
24431 #endif
24432
24433 #undef $ac_func
24434
24435 /* Override any gcc2 internal prototype to avoid an error.  */
24436 #ifdef __cplusplus
24437 extern "C"
24438 {
24439 #endif
24440 /* We use char because int might match the return type of a gcc2
24441    builtin and then its argument prototype would still apply.  */
24442 char $ac_func ();
24443 /* The GNU C library defines this for functions which it implements
24444     to always fail with ENOSYS.  Some functions are actually named
24445     something starting with __ and the normal name is an alias.  */
24446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24447 choke me
24448 #else
24449 char (*f) () = $ac_func;
24450 #endif
24451 #ifdef __cplusplus
24452 }
24453 #endif
24454
24455 int
24456 main ()
24457 {
24458 return f != $ac_func;
24459   ;
24460   return 0;
24461 }
24462 _ACEOF
24463 rm -f conftest.$ac_objext conftest$ac_exeext
24464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24465   (eval $ac_link) 2>conftest.er1
24466   ac_status=$?
24467   grep -v '^ *+' conftest.er1 >conftest.err
24468   rm -f conftest.er1
24469   cat conftest.err >&5
24470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471   (exit $ac_status); } &&
24472          { ac_try='test -z "$ac_c_werror_flag"
24473                          || test ! -s conftest.err'
24474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475   (eval $ac_try) 2>&5
24476   ac_status=$?
24477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478   (exit $ac_status); }; } &&
24479          { ac_try='test -s conftest$ac_exeext'
24480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24481   (eval $ac_try) 2>&5
24482   ac_status=$?
24483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484   (exit $ac_status); }; }; then
24485   eval "$as_ac_var=yes"
24486 else
24487   echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.$ac_ext >&5
24489
24490 eval "$as_ac_var=no"
24491 fi
24492 rm -f conftest.err conftest.$ac_objext \
24493       conftest$ac_exeext conftest.$ac_ext
24494 fi
24495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24497 if test `eval echo '${'$as_ac_var'}'` = yes; then
24498   cat >>confdefs.h <<_ACEOF
24499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24500 _ACEOF
24501
24502 fi
24503 done
24504
24505   else
24506
24507   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24508 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24509   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24510     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24511   echo $ECHO_N "(cached) $ECHO_C" >&6
24512 else
24513
24514
24515
24516       ac_ext=cc
24517 ac_cpp='$CXXCPP $CPPFLAGS'
24518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24521
24522       cat >conftest.$ac_ext <<_ACEOF
24523 /* confdefs.h.  */
24524 _ACEOF
24525 cat confdefs.h >>conftest.$ac_ext
24526 cat >>conftest.$ac_ext <<_ACEOF
24527 /* end confdefs.h.  */
24528 #include <math.h>
24529 int
24530 main ()
24531 {
24532  _fmodf(0, 0);
24533   ;
24534   return 0;
24535 }
24536 _ACEOF
24537 rm -f conftest.$ac_objext
24538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24539   (eval $ac_compile) 2>conftest.er1
24540   ac_status=$?
24541   grep -v '^ *+' conftest.er1 >conftest.err
24542   rm -f conftest.er1
24543   cat conftest.err >&5
24544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545   (exit $ac_status); } &&
24546          { ac_try='test -z "$ac_cxx_werror_flag"
24547                          || test ! -s conftest.err'
24548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24549   (eval $ac_try) 2>&5
24550   ac_status=$?
24551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552   (exit $ac_status); }; } &&
24553          { ac_try='test -s conftest.$ac_objext'
24554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24555   (eval $ac_try) 2>&5
24556   ac_status=$?
24557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558   (exit $ac_status); }; }; then
24559   glibcxx_cv_func__fmodf_use=yes
24560 else
24561   echo "$as_me: failed program was:" >&5
24562 sed 's/^/| /' conftest.$ac_ext >&5
24563
24564 glibcxx_cv_func__fmodf_use=no
24565 fi
24566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24567       ac_ext=c
24568 ac_cpp='$CPP $CPPFLAGS'
24569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24572
24573
24574 fi
24575
24576   fi
24577   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24578 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24579
24580     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24581
24582 for ac_func in _fmodf
24583 do
24584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24585 echo "$as_me:$LINENO: checking for $ac_func" >&5
24586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24587 if eval "test \"\${$as_ac_var+set}\" = set"; then
24588   echo $ECHO_N "(cached) $ECHO_C" >&6
24589 else
24590   if test x$gcc_no_link = xyes; then
24591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24593    { (exit 1); exit 1; }; }
24594 fi
24595 cat >conftest.$ac_ext <<_ACEOF
24596 /* confdefs.h.  */
24597 _ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h.  */
24601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24603 #define $ac_func innocuous_$ac_func
24604
24605 /* System header to define __stub macros and hopefully few prototypes,
24606     which can conflict with char $ac_func (); below.
24607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24608     <limits.h> exists even on freestanding compilers.  */
24609
24610 #ifdef __STDC__
24611 # include <limits.h>
24612 #else
24613 # include <assert.h>
24614 #endif
24615
24616 #undef $ac_func
24617
24618 /* Override any gcc2 internal prototype to avoid an error.  */
24619 #ifdef __cplusplus
24620 extern "C"
24621 {
24622 #endif
24623 /* We use char because int might match the return type of a gcc2
24624    builtin and then its argument prototype would still apply.  */
24625 char $ac_func ();
24626 /* The GNU C library defines this for functions which it implements
24627     to always fail with ENOSYS.  Some functions are actually named
24628     something starting with __ and the normal name is an alias.  */
24629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24630 choke me
24631 #else
24632 char (*f) () = $ac_func;
24633 #endif
24634 #ifdef __cplusplus
24635 }
24636 #endif
24637
24638 int
24639 main ()
24640 {
24641 return f != $ac_func;
24642   ;
24643   return 0;
24644 }
24645 _ACEOF
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648   (eval $ac_link) 2>conftest.er1
24649   ac_status=$?
24650   grep -v '^ *+' conftest.er1 >conftest.err
24651   rm -f conftest.er1
24652   cat conftest.err >&5
24653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654   (exit $ac_status); } &&
24655          { ac_try='test -z "$ac_c_werror_flag"
24656                          || test ! -s conftest.err'
24657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658   (eval $ac_try) 2>&5
24659   ac_status=$?
24660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661   (exit $ac_status); }; } &&
24662          { ac_try='test -s conftest$ac_exeext'
24663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664   (eval $ac_try) 2>&5
24665   ac_status=$?
24666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667   (exit $ac_status); }; }; then
24668   eval "$as_ac_var=yes"
24669 else
24670   echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24672
24673 eval "$as_ac_var=no"
24674 fi
24675 rm -f conftest.err conftest.$ac_objext \
24676       conftest$ac_exeext conftest.$ac_ext
24677 fi
24678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24680 if test `eval echo '${'$as_ac_var'}'` = yes; then
24681   cat >>confdefs.h <<_ACEOF
24682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24683 _ACEOF
24684
24685 fi
24686 done
24687
24688     fi
24689   fi
24690
24691
24692
24693
24694
24695
24696   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24697 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24698   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24699     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24700   echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24702
24703
24704
24705       ac_ext=cc
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24710
24711       cat >conftest.$ac_ext <<_ACEOF
24712 /* confdefs.h.  */
24713 _ACEOF
24714 cat confdefs.h >>conftest.$ac_ext
24715 cat >>conftest.$ac_ext <<_ACEOF
24716 /* end confdefs.h.  */
24717 #include <math.h>
24718 int
24719 main ()
24720 {
24721  frexpf(0, 0);
24722   ;
24723   return 0;
24724 }
24725 _ACEOF
24726 rm -f conftest.$ac_objext
24727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24728   (eval $ac_compile) 2>conftest.er1
24729   ac_status=$?
24730   grep -v '^ *+' conftest.er1 >conftest.err
24731   rm -f conftest.er1
24732   cat conftest.err >&5
24733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734   (exit $ac_status); } &&
24735          { ac_try='test -z "$ac_cxx_werror_flag"
24736                          || test ! -s conftest.err'
24737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24738   (eval $ac_try) 2>&5
24739   ac_status=$?
24740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741   (exit $ac_status); }; } &&
24742          { ac_try='test -s conftest.$ac_objext'
24743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24744   (eval $ac_try) 2>&5
24745   ac_status=$?
24746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747   (exit $ac_status); }; }; then
24748   glibcxx_cv_func_frexpf_use=yes
24749 else
24750   echo "$as_me: failed program was:" >&5
24751 sed 's/^/| /' conftest.$ac_ext >&5
24752
24753 glibcxx_cv_func_frexpf_use=no
24754 fi
24755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24756       ac_ext=c
24757 ac_cpp='$CPP $CPPFLAGS'
24758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24761
24762
24763 fi
24764
24765   fi
24766   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24767 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24768
24769   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24770
24771 for ac_func in frexpf
24772 do
24773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24774 echo "$as_me:$LINENO: checking for $ac_func" >&5
24775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24776 if eval "test \"\${$as_ac_var+set}\" = set"; then
24777   echo $ECHO_N "(cached) $ECHO_C" >&6
24778 else
24779   if test x$gcc_no_link = xyes; then
24780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24782    { (exit 1); exit 1; }; }
24783 fi
24784 cat >conftest.$ac_ext <<_ACEOF
24785 /* confdefs.h.  */
24786 _ACEOF
24787 cat confdefs.h >>conftest.$ac_ext
24788 cat >>conftest.$ac_ext <<_ACEOF
24789 /* end confdefs.h.  */
24790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24791    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24792 #define $ac_func innocuous_$ac_func
24793
24794 /* System header to define __stub macros and hopefully few prototypes,
24795     which can conflict with char $ac_func (); below.
24796     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24797     <limits.h> exists even on freestanding compilers.  */
24798
24799 #ifdef __STDC__
24800 # include <limits.h>
24801 #else
24802 # include <assert.h>
24803 #endif
24804
24805 #undef $ac_func
24806
24807 /* Override any gcc2 internal prototype to avoid an error.  */
24808 #ifdef __cplusplus
24809 extern "C"
24810 {
24811 #endif
24812 /* We use char because int might match the return type of a gcc2
24813    builtin and then its argument prototype would still apply.  */
24814 char $ac_func ();
24815 /* The GNU C library defines this for functions which it implements
24816     to always fail with ENOSYS.  Some functions are actually named
24817     something starting with __ and the normal name is an alias.  */
24818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24819 choke me
24820 #else
24821 char (*f) () = $ac_func;
24822 #endif
24823 #ifdef __cplusplus
24824 }
24825 #endif
24826
24827 int
24828 main ()
24829 {
24830 return f != $ac_func;
24831   ;
24832   return 0;
24833 }
24834 _ACEOF
24835 rm -f conftest.$ac_objext conftest$ac_exeext
24836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24837   (eval $ac_link) 2>conftest.er1
24838   ac_status=$?
24839   grep -v '^ *+' conftest.er1 >conftest.err
24840   rm -f conftest.er1
24841   cat conftest.err >&5
24842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843   (exit $ac_status); } &&
24844          { ac_try='test -z "$ac_c_werror_flag"
24845                          || test ! -s conftest.err'
24846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847   (eval $ac_try) 2>&5
24848   ac_status=$?
24849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850   (exit $ac_status); }; } &&
24851          { ac_try='test -s conftest$ac_exeext'
24852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853   (eval $ac_try) 2>&5
24854   ac_status=$?
24855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856   (exit $ac_status); }; }; then
24857   eval "$as_ac_var=yes"
24858 else
24859   echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.$ac_ext >&5
24861
24862 eval "$as_ac_var=no"
24863 fi
24864 rm -f conftest.err conftest.$ac_objext \
24865       conftest$ac_exeext conftest.$ac_ext
24866 fi
24867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24869 if test `eval echo '${'$as_ac_var'}'` = yes; then
24870   cat >>confdefs.h <<_ACEOF
24871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24872 _ACEOF
24873
24874 fi
24875 done
24876
24877   else
24878
24879   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24880 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24881   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24882     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24883   echo $ECHO_N "(cached) $ECHO_C" >&6
24884 else
24885
24886
24887
24888       ac_ext=cc
24889 ac_cpp='$CXXCPP $CPPFLAGS'
24890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24893
24894       cat >conftest.$ac_ext <<_ACEOF
24895 /* confdefs.h.  */
24896 _ACEOF
24897 cat confdefs.h >>conftest.$ac_ext
24898 cat >>conftest.$ac_ext <<_ACEOF
24899 /* end confdefs.h.  */
24900 #include <math.h>
24901 int
24902 main ()
24903 {
24904  _frexpf(0, 0);
24905   ;
24906   return 0;
24907 }
24908 _ACEOF
24909 rm -f conftest.$ac_objext
24910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24911   (eval $ac_compile) 2>conftest.er1
24912   ac_status=$?
24913   grep -v '^ *+' conftest.er1 >conftest.err
24914   rm -f conftest.er1
24915   cat conftest.err >&5
24916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917   (exit $ac_status); } &&
24918          { ac_try='test -z "$ac_cxx_werror_flag"
24919                          || test ! -s conftest.err'
24920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24921   (eval $ac_try) 2>&5
24922   ac_status=$?
24923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924   (exit $ac_status); }; } &&
24925          { ac_try='test -s conftest.$ac_objext'
24926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24927   (eval $ac_try) 2>&5
24928   ac_status=$?
24929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930   (exit $ac_status); }; }; then
24931   glibcxx_cv_func__frexpf_use=yes
24932 else
24933   echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24935
24936 glibcxx_cv_func__frexpf_use=no
24937 fi
24938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24939       ac_ext=c
24940 ac_cpp='$CPP $CPPFLAGS'
24941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24944
24945
24946 fi
24947
24948   fi
24949   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24950 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24951
24952     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24953
24954 for ac_func in _frexpf
24955 do
24956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24957 echo "$as_me:$LINENO: checking for $ac_func" >&5
24958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24959 if eval "test \"\${$as_ac_var+set}\" = set"; then
24960   echo $ECHO_N "(cached) $ECHO_C" >&6
24961 else
24962   if test x$gcc_no_link = xyes; then
24963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24965    { (exit 1); exit 1; }; }
24966 fi
24967 cat >conftest.$ac_ext <<_ACEOF
24968 /* confdefs.h.  */
24969 _ACEOF
24970 cat confdefs.h >>conftest.$ac_ext
24971 cat >>conftest.$ac_ext <<_ACEOF
24972 /* end confdefs.h.  */
24973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24975 #define $ac_func innocuous_$ac_func
24976
24977 /* System header to define __stub macros and hopefully few prototypes,
24978     which can conflict with char $ac_func (); below.
24979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24980     <limits.h> exists even on freestanding compilers.  */
24981
24982 #ifdef __STDC__
24983 # include <limits.h>
24984 #else
24985 # include <assert.h>
24986 #endif
24987
24988 #undef $ac_func
24989
24990 /* Override any gcc2 internal prototype to avoid an error.  */
24991 #ifdef __cplusplus
24992 extern "C"
24993 {
24994 #endif
24995 /* We use char because int might match the return type of a gcc2
24996    builtin and then its argument prototype would still apply.  */
24997 char $ac_func ();
24998 /* The GNU C library defines this for functions which it implements
24999     to always fail with ENOSYS.  Some functions are actually named
25000     something starting with __ and the normal name is an alias.  */
25001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25002 choke me
25003 #else
25004 char (*f) () = $ac_func;
25005 #endif
25006 #ifdef __cplusplus
25007 }
25008 #endif
25009
25010 int
25011 main ()
25012 {
25013 return f != $ac_func;
25014   ;
25015   return 0;
25016 }
25017 _ACEOF
25018 rm -f conftest.$ac_objext conftest$ac_exeext
25019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25020   (eval $ac_link) 2>conftest.er1
25021   ac_status=$?
25022   grep -v '^ *+' conftest.er1 >conftest.err
25023   rm -f conftest.er1
25024   cat conftest.err >&5
25025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026   (exit $ac_status); } &&
25027          { ac_try='test -z "$ac_c_werror_flag"
25028                          || test ! -s conftest.err'
25029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25030   (eval $ac_try) 2>&5
25031   ac_status=$?
25032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033   (exit $ac_status); }; } &&
25034          { ac_try='test -s conftest$ac_exeext'
25035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25036   (eval $ac_try) 2>&5
25037   ac_status=$?
25038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039   (exit $ac_status); }; }; then
25040   eval "$as_ac_var=yes"
25041 else
25042   echo "$as_me: failed program was:" >&5
25043 sed 's/^/| /' conftest.$ac_ext >&5
25044
25045 eval "$as_ac_var=no"
25046 fi
25047 rm -f conftest.err conftest.$ac_objext \
25048       conftest$ac_exeext conftest.$ac_ext
25049 fi
25050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25052 if test `eval echo '${'$as_ac_var'}'` = yes; then
25053   cat >>confdefs.h <<_ACEOF
25054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25055 _ACEOF
25056
25057 fi
25058 done
25059
25060     fi
25061   fi
25062
25063
25064
25065
25066
25067
25068   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25069 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25070   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25071     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25072   echo $ECHO_N "(cached) $ECHO_C" >&6
25073 else
25074
25075
25076
25077       ac_ext=cc
25078 ac_cpp='$CXXCPP $CPPFLAGS'
25079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25082
25083       cat >conftest.$ac_ext <<_ACEOF
25084 /* confdefs.h.  */
25085 _ACEOF
25086 cat confdefs.h >>conftest.$ac_ext
25087 cat >>conftest.$ac_ext <<_ACEOF
25088 /* end confdefs.h.  */
25089 #include <math.h>
25090 int
25091 main ()
25092 {
25093  hypotf(0, 0);
25094   ;
25095   return 0;
25096 }
25097 _ACEOF
25098 rm -f conftest.$ac_objext
25099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25100   (eval $ac_compile) 2>conftest.er1
25101   ac_status=$?
25102   grep -v '^ *+' conftest.er1 >conftest.err
25103   rm -f conftest.er1
25104   cat conftest.err >&5
25105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106   (exit $ac_status); } &&
25107          { ac_try='test -z "$ac_cxx_werror_flag"
25108                          || test ! -s conftest.err'
25109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110   (eval $ac_try) 2>&5
25111   ac_status=$?
25112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113   (exit $ac_status); }; } &&
25114          { ac_try='test -s conftest.$ac_objext'
25115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25116   (eval $ac_try) 2>&5
25117   ac_status=$?
25118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119   (exit $ac_status); }; }; then
25120   glibcxx_cv_func_hypotf_use=yes
25121 else
25122   echo "$as_me: failed program was:" >&5
25123 sed 's/^/| /' conftest.$ac_ext >&5
25124
25125 glibcxx_cv_func_hypotf_use=no
25126 fi
25127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25128       ac_ext=c
25129 ac_cpp='$CPP $CPPFLAGS'
25130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25133
25134
25135 fi
25136
25137   fi
25138   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25139 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25140
25141   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25142
25143 for ac_func in hypotf
25144 do
25145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25146 echo "$as_me:$LINENO: checking for $ac_func" >&5
25147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25148 if eval "test \"\${$as_ac_var+set}\" = set"; then
25149   echo $ECHO_N "(cached) $ECHO_C" >&6
25150 else
25151   if test x$gcc_no_link = xyes; then
25152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25154    { (exit 1); exit 1; }; }
25155 fi
25156 cat >conftest.$ac_ext <<_ACEOF
25157 /* confdefs.h.  */
25158 _ACEOF
25159 cat confdefs.h >>conftest.$ac_ext
25160 cat >>conftest.$ac_ext <<_ACEOF
25161 /* end confdefs.h.  */
25162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25164 #define $ac_func innocuous_$ac_func
25165
25166 /* System header to define __stub macros and hopefully few prototypes,
25167     which can conflict with char $ac_func (); below.
25168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25169     <limits.h> exists even on freestanding compilers.  */
25170
25171 #ifdef __STDC__
25172 # include <limits.h>
25173 #else
25174 # include <assert.h>
25175 #endif
25176
25177 #undef $ac_func
25178
25179 /* Override any gcc2 internal prototype to avoid an error.  */
25180 #ifdef __cplusplus
25181 extern "C"
25182 {
25183 #endif
25184 /* We use char because int might match the return type of a gcc2
25185    builtin and then its argument prototype would still apply.  */
25186 char $ac_func ();
25187 /* The GNU C library defines this for functions which it implements
25188     to always fail with ENOSYS.  Some functions are actually named
25189     something starting with __ and the normal name is an alias.  */
25190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25191 choke me
25192 #else
25193 char (*f) () = $ac_func;
25194 #endif
25195 #ifdef __cplusplus
25196 }
25197 #endif
25198
25199 int
25200 main ()
25201 {
25202 return f != $ac_func;
25203   ;
25204   return 0;
25205 }
25206 _ACEOF
25207 rm -f conftest.$ac_objext conftest$ac_exeext
25208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25209   (eval $ac_link) 2>conftest.er1
25210   ac_status=$?
25211   grep -v '^ *+' conftest.er1 >conftest.err
25212   rm -f conftest.er1
25213   cat conftest.err >&5
25214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215   (exit $ac_status); } &&
25216          { ac_try='test -z "$ac_c_werror_flag"
25217                          || test ! -s conftest.err'
25218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219   (eval $ac_try) 2>&5
25220   ac_status=$?
25221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222   (exit $ac_status); }; } &&
25223          { ac_try='test -s conftest$ac_exeext'
25224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225   (eval $ac_try) 2>&5
25226   ac_status=$?
25227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228   (exit $ac_status); }; }; then
25229   eval "$as_ac_var=yes"
25230 else
25231   echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.$ac_ext >&5
25233
25234 eval "$as_ac_var=no"
25235 fi
25236 rm -f conftest.err conftest.$ac_objext \
25237       conftest$ac_exeext conftest.$ac_ext
25238 fi
25239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25241 if test `eval echo '${'$as_ac_var'}'` = yes; then
25242   cat >>confdefs.h <<_ACEOF
25243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25244 _ACEOF
25245
25246 fi
25247 done
25248
25249   else
25250
25251   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25252 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25253   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25254     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25255   echo $ECHO_N "(cached) $ECHO_C" >&6
25256 else
25257
25258
25259
25260       ac_ext=cc
25261 ac_cpp='$CXXCPP $CPPFLAGS'
25262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25265
25266       cat >conftest.$ac_ext <<_ACEOF
25267 /* confdefs.h.  */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h.  */
25272 #include <math.h>
25273 int
25274 main ()
25275 {
25276  _hypotf(0, 0);
25277   ;
25278   return 0;
25279 }
25280 _ACEOF
25281 rm -f conftest.$ac_objext
25282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25283   (eval $ac_compile) 2>conftest.er1
25284   ac_status=$?
25285   grep -v '^ *+' conftest.er1 >conftest.err
25286   rm -f conftest.er1
25287   cat conftest.err >&5
25288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289   (exit $ac_status); } &&
25290          { ac_try='test -z "$ac_cxx_werror_flag"
25291                          || test ! -s conftest.err'
25292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293   (eval $ac_try) 2>&5
25294   ac_status=$?
25295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296   (exit $ac_status); }; } &&
25297          { ac_try='test -s conftest.$ac_objext'
25298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25299   (eval $ac_try) 2>&5
25300   ac_status=$?
25301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302   (exit $ac_status); }; }; then
25303   glibcxx_cv_func__hypotf_use=yes
25304 else
25305   echo "$as_me: failed program was:" >&5
25306 sed 's/^/| /' conftest.$ac_ext >&5
25307
25308 glibcxx_cv_func__hypotf_use=no
25309 fi
25310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25311       ac_ext=c
25312 ac_cpp='$CPP $CPPFLAGS'
25313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25316
25317
25318 fi
25319
25320   fi
25321   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25322 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25323
25324     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25325
25326 for ac_func in _hypotf
25327 do
25328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25329 echo "$as_me:$LINENO: checking for $ac_func" >&5
25330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25331 if eval "test \"\${$as_ac_var+set}\" = set"; then
25332   echo $ECHO_N "(cached) $ECHO_C" >&6
25333 else
25334   if test x$gcc_no_link = xyes; then
25335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25337    { (exit 1); exit 1; }; }
25338 fi
25339 cat >conftest.$ac_ext <<_ACEOF
25340 /* confdefs.h.  */
25341 _ACEOF
25342 cat confdefs.h >>conftest.$ac_ext
25343 cat >>conftest.$ac_ext <<_ACEOF
25344 /* end confdefs.h.  */
25345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25347 #define $ac_func innocuous_$ac_func
25348
25349 /* System header to define __stub macros and hopefully few prototypes,
25350     which can conflict with char $ac_func (); below.
25351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25352     <limits.h> exists even on freestanding compilers.  */
25353
25354 #ifdef __STDC__
25355 # include <limits.h>
25356 #else
25357 # include <assert.h>
25358 #endif
25359
25360 #undef $ac_func
25361
25362 /* Override any gcc2 internal prototype to avoid an error.  */
25363 #ifdef __cplusplus
25364 extern "C"
25365 {
25366 #endif
25367 /* We use char because int might match the return type of a gcc2
25368    builtin and then its argument prototype would still apply.  */
25369 char $ac_func ();
25370 /* The GNU C library defines this for functions which it implements
25371     to always fail with ENOSYS.  Some functions are actually named
25372     something starting with __ and the normal name is an alias.  */
25373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25374 choke me
25375 #else
25376 char (*f) () = $ac_func;
25377 #endif
25378 #ifdef __cplusplus
25379 }
25380 #endif
25381
25382 int
25383 main ()
25384 {
25385 return f != $ac_func;
25386   ;
25387   return 0;
25388 }
25389 _ACEOF
25390 rm -f conftest.$ac_objext conftest$ac_exeext
25391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25392   (eval $ac_link) 2>conftest.er1
25393   ac_status=$?
25394   grep -v '^ *+' conftest.er1 >conftest.err
25395   rm -f conftest.er1
25396   cat conftest.err >&5
25397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398   (exit $ac_status); } &&
25399          { ac_try='test -z "$ac_c_werror_flag"
25400                          || test ! -s conftest.err'
25401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25402   (eval $ac_try) 2>&5
25403   ac_status=$?
25404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405   (exit $ac_status); }; } &&
25406          { ac_try='test -s conftest$ac_exeext'
25407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25408   (eval $ac_try) 2>&5
25409   ac_status=$?
25410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411   (exit $ac_status); }; }; then
25412   eval "$as_ac_var=yes"
25413 else
25414   echo "$as_me: failed program was:" >&5
25415 sed 's/^/| /' conftest.$ac_ext >&5
25416
25417 eval "$as_ac_var=no"
25418 fi
25419 rm -f conftest.err conftest.$ac_objext \
25420       conftest$ac_exeext conftest.$ac_ext
25421 fi
25422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25424 if test `eval echo '${'$as_ac_var'}'` = yes; then
25425   cat >>confdefs.h <<_ACEOF
25426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25427 _ACEOF
25428
25429 fi
25430 done
25431
25432     fi
25433   fi
25434
25435
25436
25437
25438
25439
25440   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25441 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25442   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25443     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25444   echo $ECHO_N "(cached) $ECHO_C" >&6
25445 else
25446
25447
25448
25449       ac_ext=cc
25450 ac_cpp='$CXXCPP $CPPFLAGS'
25451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25454
25455       cat >conftest.$ac_ext <<_ACEOF
25456 /* confdefs.h.  */
25457 _ACEOF
25458 cat confdefs.h >>conftest.$ac_ext
25459 cat >>conftest.$ac_ext <<_ACEOF
25460 /* end confdefs.h.  */
25461 #include <math.h>
25462 int
25463 main ()
25464 {
25465  ldexpf(0, 0);
25466   ;
25467   return 0;
25468 }
25469 _ACEOF
25470 rm -f conftest.$ac_objext
25471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25472   (eval $ac_compile) 2>conftest.er1
25473   ac_status=$?
25474   grep -v '^ *+' conftest.er1 >conftest.err
25475   rm -f conftest.er1
25476   cat conftest.err >&5
25477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478   (exit $ac_status); } &&
25479          { ac_try='test -z "$ac_cxx_werror_flag"
25480                          || test ! -s conftest.err'
25481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482   (eval $ac_try) 2>&5
25483   ac_status=$?
25484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485   (exit $ac_status); }; } &&
25486          { ac_try='test -s conftest.$ac_objext'
25487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25488   (eval $ac_try) 2>&5
25489   ac_status=$?
25490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491   (exit $ac_status); }; }; then
25492   glibcxx_cv_func_ldexpf_use=yes
25493 else
25494   echo "$as_me: failed program was:" >&5
25495 sed 's/^/| /' conftest.$ac_ext >&5
25496
25497 glibcxx_cv_func_ldexpf_use=no
25498 fi
25499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25500       ac_ext=c
25501 ac_cpp='$CPP $CPPFLAGS'
25502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25505
25506
25507 fi
25508
25509   fi
25510   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25511 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25512
25513   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25514
25515 for ac_func in ldexpf
25516 do
25517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25518 echo "$as_me:$LINENO: checking for $ac_func" >&5
25519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25520 if eval "test \"\${$as_ac_var+set}\" = set"; then
25521   echo $ECHO_N "(cached) $ECHO_C" >&6
25522 else
25523   if test x$gcc_no_link = xyes; then
25524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25526    { (exit 1); exit 1; }; }
25527 fi
25528 cat >conftest.$ac_ext <<_ACEOF
25529 /* confdefs.h.  */
25530 _ACEOF
25531 cat confdefs.h >>conftest.$ac_ext
25532 cat >>conftest.$ac_ext <<_ACEOF
25533 /* end confdefs.h.  */
25534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25536 #define $ac_func innocuous_$ac_func
25537
25538 /* System header to define __stub macros and hopefully few prototypes,
25539     which can conflict with char $ac_func (); below.
25540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25541     <limits.h> exists even on freestanding compilers.  */
25542
25543 #ifdef __STDC__
25544 # include <limits.h>
25545 #else
25546 # include <assert.h>
25547 #endif
25548
25549 #undef $ac_func
25550
25551 /* Override any gcc2 internal prototype to avoid an error.  */
25552 #ifdef __cplusplus
25553 extern "C"
25554 {
25555 #endif
25556 /* We use char because int might match the return type of a gcc2
25557    builtin and then its argument prototype would still apply.  */
25558 char $ac_func ();
25559 /* The GNU C library defines this for functions which it implements
25560     to always fail with ENOSYS.  Some functions are actually named
25561     something starting with __ and the normal name is an alias.  */
25562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25563 choke me
25564 #else
25565 char (*f) () = $ac_func;
25566 #endif
25567 #ifdef __cplusplus
25568 }
25569 #endif
25570
25571 int
25572 main ()
25573 {
25574 return f != $ac_func;
25575   ;
25576   return 0;
25577 }
25578 _ACEOF
25579 rm -f conftest.$ac_objext conftest$ac_exeext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25581   (eval $ac_link) 2>conftest.er1
25582   ac_status=$?
25583   grep -v '^ *+' conftest.er1 >conftest.err
25584   rm -f conftest.er1
25585   cat conftest.err >&5
25586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587   (exit $ac_status); } &&
25588          { ac_try='test -z "$ac_c_werror_flag"
25589                          || test ! -s conftest.err'
25590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591   (eval $ac_try) 2>&5
25592   ac_status=$?
25593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594   (exit $ac_status); }; } &&
25595          { ac_try='test -s conftest$ac_exeext'
25596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597   (eval $ac_try) 2>&5
25598   ac_status=$?
25599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600   (exit $ac_status); }; }; then
25601   eval "$as_ac_var=yes"
25602 else
25603   echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.$ac_ext >&5
25605
25606 eval "$as_ac_var=no"
25607 fi
25608 rm -f conftest.err conftest.$ac_objext \
25609       conftest$ac_exeext conftest.$ac_ext
25610 fi
25611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25613 if test `eval echo '${'$as_ac_var'}'` = yes; then
25614   cat >>confdefs.h <<_ACEOF
25615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25616 _ACEOF
25617
25618 fi
25619 done
25620
25621   else
25622
25623   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25624 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25625   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25626     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25627   echo $ECHO_N "(cached) $ECHO_C" >&6
25628 else
25629
25630
25631
25632       ac_ext=cc
25633 ac_cpp='$CXXCPP $CPPFLAGS'
25634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25637
25638       cat >conftest.$ac_ext <<_ACEOF
25639 /* confdefs.h.  */
25640 _ACEOF
25641 cat confdefs.h >>conftest.$ac_ext
25642 cat >>conftest.$ac_ext <<_ACEOF
25643 /* end confdefs.h.  */
25644 #include <math.h>
25645 int
25646 main ()
25647 {
25648  _ldexpf(0, 0);
25649   ;
25650   return 0;
25651 }
25652 _ACEOF
25653 rm -f conftest.$ac_objext
25654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25655   (eval $ac_compile) 2>conftest.er1
25656   ac_status=$?
25657   grep -v '^ *+' conftest.er1 >conftest.err
25658   rm -f conftest.er1
25659   cat conftest.err >&5
25660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661   (exit $ac_status); } &&
25662          { ac_try='test -z "$ac_cxx_werror_flag"
25663                          || test ! -s conftest.err'
25664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665   (eval $ac_try) 2>&5
25666   ac_status=$?
25667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668   (exit $ac_status); }; } &&
25669          { ac_try='test -s conftest.$ac_objext'
25670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25671   (eval $ac_try) 2>&5
25672   ac_status=$?
25673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674   (exit $ac_status); }; }; then
25675   glibcxx_cv_func__ldexpf_use=yes
25676 else
25677   echo "$as_me: failed program was:" >&5
25678 sed 's/^/| /' conftest.$ac_ext >&5
25679
25680 glibcxx_cv_func__ldexpf_use=no
25681 fi
25682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25683       ac_ext=c
25684 ac_cpp='$CPP $CPPFLAGS'
25685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25688
25689
25690 fi
25691
25692   fi
25693   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25694 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25695
25696     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25697
25698 for ac_func in _ldexpf
25699 do
25700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25701 echo "$as_me:$LINENO: checking for $ac_func" >&5
25702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25703 if eval "test \"\${$as_ac_var+set}\" = set"; then
25704   echo $ECHO_N "(cached) $ECHO_C" >&6
25705 else
25706   if test x$gcc_no_link = xyes; then
25707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25709    { (exit 1); exit 1; }; }
25710 fi
25711 cat >conftest.$ac_ext <<_ACEOF
25712 /* confdefs.h.  */
25713 _ACEOF
25714 cat confdefs.h >>conftest.$ac_ext
25715 cat >>conftest.$ac_ext <<_ACEOF
25716 /* end confdefs.h.  */
25717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25719 #define $ac_func innocuous_$ac_func
25720
25721 /* System header to define __stub macros and hopefully few prototypes,
25722     which can conflict with char $ac_func (); below.
25723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25724     <limits.h> exists even on freestanding compilers.  */
25725
25726 #ifdef __STDC__
25727 # include <limits.h>
25728 #else
25729 # include <assert.h>
25730 #endif
25731
25732 #undef $ac_func
25733
25734 /* Override any gcc2 internal prototype to avoid an error.  */
25735 #ifdef __cplusplus
25736 extern "C"
25737 {
25738 #endif
25739 /* We use char because int might match the return type of a gcc2
25740    builtin and then its argument prototype would still apply.  */
25741 char $ac_func ();
25742 /* The GNU C library defines this for functions which it implements
25743     to always fail with ENOSYS.  Some functions are actually named
25744     something starting with __ and the normal name is an alias.  */
25745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25746 choke me
25747 #else
25748 char (*f) () = $ac_func;
25749 #endif
25750 #ifdef __cplusplus
25751 }
25752 #endif
25753
25754 int
25755 main ()
25756 {
25757 return f != $ac_func;
25758   ;
25759   return 0;
25760 }
25761 _ACEOF
25762 rm -f conftest.$ac_objext conftest$ac_exeext
25763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25764   (eval $ac_link) 2>conftest.er1
25765   ac_status=$?
25766   grep -v '^ *+' conftest.er1 >conftest.err
25767   rm -f conftest.er1
25768   cat conftest.err >&5
25769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770   (exit $ac_status); } &&
25771          { ac_try='test -z "$ac_c_werror_flag"
25772                          || test ! -s conftest.err'
25773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774   (eval $ac_try) 2>&5
25775   ac_status=$?
25776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777   (exit $ac_status); }; } &&
25778          { ac_try='test -s conftest$ac_exeext'
25779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780   (eval $ac_try) 2>&5
25781   ac_status=$?
25782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783   (exit $ac_status); }; }; then
25784   eval "$as_ac_var=yes"
25785 else
25786   echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.$ac_ext >&5
25788
25789 eval "$as_ac_var=no"
25790 fi
25791 rm -f conftest.err conftest.$ac_objext \
25792       conftest$ac_exeext conftest.$ac_ext
25793 fi
25794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25796 if test `eval echo '${'$as_ac_var'}'` = yes; then
25797   cat >>confdefs.h <<_ACEOF
25798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25799 _ACEOF
25800
25801 fi
25802 done
25803
25804     fi
25805   fi
25806
25807
25808
25809
25810
25811
25812   echo "$as_me:$LINENO: checking for logf declaration" >&5
25813 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25814   if test x${glibcxx_cv_func_logf_use+set} != xset; then
25815     if test "${glibcxx_cv_func_logf_use+set}" = set; then
25816   echo $ECHO_N "(cached) $ECHO_C" >&6
25817 else
25818
25819
25820
25821       ac_ext=cc
25822 ac_cpp='$CXXCPP $CPPFLAGS'
25823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25826
25827       cat >conftest.$ac_ext <<_ACEOF
25828 /* confdefs.h.  */
25829 _ACEOF
25830 cat confdefs.h >>conftest.$ac_ext
25831 cat >>conftest.$ac_ext <<_ACEOF
25832 /* end confdefs.h.  */
25833 #include <math.h>
25834                       #ifdef HAVE_IEEEFP_H
25835                       #include <ieeefp.h>
25836                       #endif
25837
25838 int
25839 main ()
25840 {
25841  logf(0);
25842   ;
25843   return 0;
25844 }
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848   (eval $ac_compile) 2>conftest.er1
25849   ac_status=$?
25850   grep -v '^ *+' conftest.er1 >conftest.err
25851   rm -f conftest.er1
25852   cat conftest.err >&5
25853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854   (exit $ac_status); } &&
25855          { ac_try='test -z "$ac_cxx_werror_flag"
25856                          || test ! -s conftest.err'
25857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858   (eval $ac_try) 2>&5
25859   ac_status=$?
25860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861   (exit $ac_status); }; } &&
25862          { ac_try='test -s conftest.$ac_objext'
25863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864   (eval $ac_try) 2>&5
25865   ac_status=$?
25866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867   (exit $ac_status); }; }; then
25868   glibcxx_cv_func_logf_use=yes
25869 else
25870   echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25872
25873 glibcxx_cv_func_logf_use=no
25874 fi
25875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25876       ac_ext=c
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25881
25882
25883 fi
25884
25885   fi
25886   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25887 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25888
25889   if test x$glibcxx_cv_func_logf_use = x"yes"; then
25890
25891 for ac_func in logf
25892 do
25893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25894 echo "$as_me:$LINENO: checking for $ac_func" >&5
25895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25896 if eval "test \"\${$as_ac_var+set}\" = set"; then
25897   echo $ECHO_N "(cached) $ECHO_C" >&6
25898 else
25899   if test x$gcc_no_link = xyes; then
25900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25902    { (exit 1); exit 1; }; }
25903 fi
25904 cat >conftest.$ac_ext <<_ACEOF
25905 /* confdefs.h.  */
25906 _ACEOF
25907 cat confdefs.h >>conftest.$ac_ext
25908 cat >>conftest.$ac_ext <<_ACEOF
25909 /* end confdefs.h.  */
25910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25912 #define $ac_func innocuous_$ac_func
25913
25914 /* System header to define __stub macros and hopefully few prototypes,
25915     which can conflict with char $ac_func (); below.
25916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25917     <limits.h> exists even on freestanding compilers.  */
25918
25919 #ifdef __STDC__
25920 # include <limits.h>
25921 #else
25922 # include <assert.h>
25923 #endif
25924
25925 #undef $ac_func
25926
25927 /* Override any gcc2 internal prototype to avoid an error.  */
25928 #ifdef __cplusplus
25929 extern "C"
25930 {
25931 #endif
25932 /* We use char because int might match the return type of a gcc2
25933    builtin and then its argument prototype would still apply.  */
25934 char $ac_func ();
25935 /* The GNU C library defines this for functions which it implements
25936     to always fail with ENOSYS.  Some functions are actually named
25937     something starting with __ and the normal name is an alias.  */
25938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25939 choke me
25940 #else
25941 char (*f) () = $ac_func;
25942 #endif
25943 #ifdef __cplusplus
25944 }
25945 #endif
25946
25947 int
25948 main ()
25949 {
25950 return f != $ac_func;
25951   ;
25952   return 0;
25953 }
25954 _ACEOF
25955 rm -f conftest.$ac_objext conftest$ac_exeext
25956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25957   (eval $ac_link) 2>conftest.er1
25958   ac_status=$?
25959   grep -v '^ *+' conftest.er1 >conftest.err
25960   rm -f conftest.er1
25961   cat conftest.err >&5
25962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963   (exit $ac_status); } &&
25964          { ac_try='test -z "$ac_c_werror_flag"
25965                          || test ! -s conftest.err'
25966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967   (eval $ac_try) 2>&5
25968   ac_status=$?
25969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970   (exit $ac_status); }; } &&
25971          { ac_try='test -s conftest$ac_exeext'
25972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973   (eval $ac_try) 2>&5
25974   ac_status=$?
25975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976   (exit $ac_status); }; }; then
25977   eval "$as_ac_var=yes"
25978 else
25979   echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.$ac_ext >&5
25981
25982 eval "$as_ac_var=no"
25983 fi
25984 rm -f conftest.err conftest.$ac_objext \
25985       conftest$ac_exeext conftest.$ac_ext
25986 fi
25987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25989 if test `eval echo '${'$as_ac_var'}'` = yes; then
25990   cat >>confdefs.h <<_ACEOF
25991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25992 _ACEOF
25993
25994 fi
25995 done
25996
25997   else
25998
25999   echo "$as_me:$LINENO: checking for _logf declaration" >&5
26000 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26001   if test x${glibcxx_cv_func__logf_use+set} != xset; then
26002     if test "${glibcxx_cv_func__logf_use+set}" = set; then
26003   echo $ECHO_N "(cached) $ECHO_C" >&6
26004 else
26005
26006
26007
26008       ac_ext=cc
26009 ac_cpp='$CXXCPP $CPPFLAGS'
26010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26013
26014       cat >conftest.$ac_ext <<_ACEOF
26015 /* confdefs.h.  */
26016 _ACEOF
26017 cat confdefs.h >>conftest.$ac_ext
26018 cat >>conftest.$ac_ext <<_ACEOF
26019 /* end confdefs.h.  */
26020 #include <math.h>
26021                       #ifdef HAVE_IEEEFP_H
26022                       #include <ieeefp.h>
26023                       #endif
26024
26025 int
26026 main ()
26027 {
26028  _logf(0);
26029   ;
26030   return 0;
26031 }
26032 _ACEOF
26033 rm -f conftest.$ac_objext
26034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26035   (eval $ac_compile) 2>conftest.er1
26036   ac_status=$?
26037   grep -v '^ *+' conftest.er1 >conftest.err
26038   rm -f conftest.er1
26039   cat conftest.err >&5
26040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041   (exit $ac_status); } &&
26042          { ac_try='test -z "$ac_cxx_werror_flag"
26043                          || test ! -s conftest.err'
26044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045   (eval $ac_try) 2>&5
26046   ac_status=$?
26047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048   (exit $ac_status); }; } &&
26049          { ac_try='test -s conftest.$ac_objext'
26050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051   (eval $ac_try) 2>&5
26052   ac_status=$?
26053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054   (exit $ac_status); }; }; then
26055   glibcxx_cv_func__logf_use=yes
26056 else
26057   echo "$as_me: failed program was:" >&5
26058 sed 's/^/| /' conftest.$ac_ext >&5
26059
26060 glibcxx_cv_func__logf_use=no
26061 fi
26062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26063       ac_ext=c
26064 ac_cpp='$CPP $CPPFLAGS'
26065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26068
26069
26070 fi
26071
26072   fi
26073   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26074 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26075
26076     if test x$glibcxx_cv_func__logf_use = x"yes"; then
26077
26078 for ac_func in _logf
26079 do
26080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26081 echo "$as_me:$LINENO: checking for $ac_func" >&5
26082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26083 if eval "test \"\${$as_ac_var+set}\" = set"; then
26084   echo $ECHO_N "(cached) $ECHO_C" >&6
26085 else
26086   if test x$gcc_no_link = xyes; then
26087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26089    { (exit 1); exit 1; }; }
26090 fi
26091 cat >conftest.$ac_ext <<_ACEOF
26092 /* confdefs.h.  */
26093 _ACEOF
26094 cat confdefs.h >>conftest.$ac_ext
26095 cat >>conftest.$ac_ext <<_ACEOF
26096 /* end confdefs.h.  */
26097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26099 #define $ac_func innocuous_$ac_func
26100
26101 /* System header to define __stub macros and hopefully few prototypes,
26102     which can conflict with char $ac_func (); below.
26103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26104     <limits.h> exists even on freestanding compilers.  */
26105
26106 #ifdef __STDC__
26107 # include <limits.h>
26108 #else
26109 # include <assert.h>
26110 #endif
26111
26112 #undef $ac_func
26113
26114 /* Override any gcc2 internal prototype to avoid an error.  */
26115 #ifdef __cplusplus
26116 extern "C"
26117 {
26118 #endif
26119 /* We use char because int might match the return type of a gcc2
26120    builtin and then its argument prototype would still apply.  */
26121 char $ac_func ();
26122 /* The GNU C library defines this for functions which it implements
26123     to always fail with ENOSYS.  Some functions are actually named
26124     something starting with __ and the normal name is an alias.  */
26125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26126 choke me
26127 #else
26128 char (*f) () = $ac_func;
26129 #endif
26130 #ifdef __cplusplus
26131 }
26132 #endif
26133
26134 int
26135 main ()
26136 {
26137 return f != $ac_func;
26138   ;
26139   return 0;
26140 }
26141 _ACEOF
26142 rm -f conftest.$ac_objext conftest$ac_exeext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26144   (eval $ac_link) 2>conftest.er1
26145   ac_status=$?
26146   grep -v '^ *+' conftest.er1 >conftest.err
26147   rm -f conftest.er1
26148   cat conftest.err >&5
26149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150   (exit $ac_status); } &&
26151          { ac_try='test -z "$ac_c_werror_flag"
26152                          || test ! -s conftest.err'
26153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154   (eval $ac_try) 2>&5
26155   ac_status=$?
26156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157   (exit $ac_status); }; } &&
26158          { ac_try='test -s conftest$ac_exeext'
26159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160   (eval $ac_try) 2>&5
26161   ac_status=$?
26162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163   (exit $ac_status); }; }; then
26164   eval "$as_ac_var=yes"
26165 else
26166   echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26168
26169 eval "$as_ac_var=no"
26170 fi
26171 rm -f conftest.err conftest.$ac_objext \
26172       conftest$ac_exeext conftest.$ac_ext
26173 fi
26174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26176 if test `eval echo '${'$as_ac_var'}'` = yes; then
26177   cat >>confdefs.h <<_ACEOF
26178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26179 _ACEOF
26180
26181 fi
26182 done
26183
26184     fi
26185   fi
26186
26187
26188
26189
26190
26191
26192   echo "$as_me:$LINENO: checking for log10f declaration" >&5
26193 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26194   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26195     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26196   echo $ECHO_N "(cached) $ECHO_C" >&6
26197 else
26198
26199
26200
26201       ac_ext=cc
26202 ac_cpp='$CXXCPP $CPPFLAGS'
26203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26206
26207       cat >conftest.$ac_ext <<_ACEOF
26208 /* confdefs.h.  */
26209 _ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h.  */
26213 #include <math.h>
26214                       #ifdef HAVE_IEEEFP_H
26215                       #include <ieeefp.h>
26216                       #endif
26217
26218 int
26219 main ()
26220 {
26221  log10f(0);
26222   ;
26223   return 0;
26224 }
26225 _ACEOF
26226 rm -f conftest.$ac_objext
26227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26228   (eval $ac_compile) 2>conftest.er1
26229   ac_status=$?
26230   grep -v '^ *+' conftest.er1 >conftest.err
26231   rm -f conftest.er1
26232   cat conftest.err >&5
26233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26234   (exit $ac_status); } &&
26235          { ac_try='test -z "$ac_cxx_werror_flag"
26236                          || test ! -s conftest.err'
26237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238   (eval $ac_try) 2>&5
26239   ac_status=$?
26240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241   (exit $ac_status); }; } &&
26242          { ac_try='test -s conftest.$ac_objext'
26243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244   (eval $ac_try) 2>&5
26245   ac_status=$?
26246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247   (exit $ac_status); }; }; then
26248   glibcxx_cv_func_log10f_use=yes
26249 else
26250   echo "$as_me: failed program was:" >&5
26251 sed 's/^/| /' conftest.$ac_ext >&5
26252
26253 glibcxx_cv_func_log10f_use=no
26254 fi
26255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26256       ac_ext=c
26257 ac_cpp='$CPP $CPPFLAGS'
26258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26261
26262
26263 fi
26264
26265   fi
26266   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26267 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26268
26269   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26270
26271 for ac_func in log10f
26272 do
26273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26274 echo "$as_me:$LINENO: checking for $ac_func" >&5
26275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26276 if eval "test \"\${$as_ac_var+set}\" = set"; then
26277   echo $ECHO_N "(cached) $ECHO_C" >&6
26278 else
26279   if test x$gcc_no_link = xyes; then
26280   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26282    { (exit 1); exit 1; }; }
26283 fi
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h.  */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h.  */
26290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26291    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26292 #define $ac_func innocuous_$ac_func
26293
26294 /* System header to define __stub macros and hopefully few prototypes,
26295     which can conflict with char $ac_func (); below.
26296     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26297     <limits.h> exists even on freestanding compilers.  */
26298
26299 #ifdef __STDC__
26300 # include <limits.h>
26301 #else
26302 # include <assert.h>
26303 #endif
26304
26305 #undef $ac_func
26306
26307 /* Override any gcc2 internal prototype to avoid an error.  */
26308 #ifdef __cplusplus
26309 extern "C"
26310 {
26311 #endif
26312 /* We use char because int might match the return type of a gcc2
26313    builtin and then its argument prototype would still apply.  */
26314 char $ac_func ();
26315 /* The GNU C library defines this for functions which it implements
26316     to always fail with ENOSYS.  Some functions are actually named
26317     something starting with __ and the normal name is an alias.  */
26318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26319 choke me
26320 #else
26321 char (*f) () = $ac_func;
26322 #endif
26323 #ifdef __cplusplus
26324 }
26325 #endif
26326
26327 int
26328 main ()
26329 {
26330 return f != $ac_func;
26331   ;
26332   return 0;
26333 }
26334 _ACEOF
26335 rm -f conftest.$ac_objext conftest$ac_exeext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26337   (eval $ac_link) 2>conftest.er1
26338   ac_status=$?
26339   grep -v '^ *+' conftest.er1 >conftest.err
26340   rm -f conftest.er1
26341   cat conftest.err >&5
26342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343   (exit $ac_status); } &&
26344          { ac_try='test -z "$ac_c_werror_flag"
26345                          || test ! -s conftest.err'
26346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26347   (eval $ac_try) 2>&5
26348   ac_status=$?
26349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350   (exit $ac_status); }; } &&
26351          { ac_try='test -s conftest$ac_exeext'
26352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26353   (eval $ac_try) 2>&5
26354   ac_status=$?
26355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356   (exit $ac_status); }; }; then
26357   eval "$as_ac_var=yes"
26358 else
26359   echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26361
26362 eval "$as_ac_var=no"
26363 fi
26364 rm -f conftest.err conftest.$ac_objext \
26365       conftest$ac_exeext conftest.$ac_ext
26366 fi
26367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26369 if test `eval echo '${'$as_ac_var'}'` = yes; then
26370   cat >>confdefs.h <<_ACEOF
26371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26372 _ACEOF
26373
26374 fi
26375 done
26376
26377   else
26378
26379   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26380 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26381   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26382     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26383   echo $ECHO_N "(cached) $ECHO_C" >&6
26384 else
26385
26386
26387
26388       ac_ext=cc
26389 ac_cpp='$CXXCPP $CPPFLAGS'
26390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26393
26394       cat >conftest.$ac_ext <<_ACEOF
26395 /* confdefs.h.  */
26396 _ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h.  */
26400 #include <math.h>
26401                       #ifdef HAVE_IEEEFP_H
26402                       #include <ieeefp.h>
26403                       #endif
26404
26405 int
26406 main ()
26407 {
26408  _log10f(0);
26409   ;
26410   return 0;
26411 }
26412 _ACEOF
26413 rm -f conftest.$ac_objext
26414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26415   (eval $ac_compile) 2>conftest.er1
26416   ac_status=$?
26417   grep -v '^ *+' conftest.er1 >conftest.err
26418   rm -f conftest.er1
26419   cat conftest.err >&5
26420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26421   (exit $ac_status); } &&
26422          { ac_try='test -z "$ac_cxx_werror_flag"
26423                          || test ! -s conftest.err'
26424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26425   (eval $ac_try) 2>&5
26426   ac_status=$?
26427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428   (exit $ac_status); }; } &&
26429          { ac_try='test -s conftest.$ac_objext'
26430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26431   (eval $ac_try) 2>&5
26432   ac_status=$?
26433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434   (exit $ac_status); }; }; then
26435   glibcxx_cv_func__log10f_use=yes
26436 else
26437   echo "$as_me: failed program was:" >&5
26438 sed 's/^/| /' conftest.$ac_ext >&5
26439
26440 glibcxx_cv_func__log10f_use=no
26441 fi
26442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26443       ac_ext=c
26444 ac_cpp='$CPP $CPPFLAGS'
26445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26448
26449
26450 fi
26451
26452   fi
26453   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26454 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26455
26456     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26457
26458 for ac_func in _log10f
26459 do
26460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26461 echo "$as_me:$LINENO: checking for $ac_func" >&5
26462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26463 if eval "test \"\${$as_ac_var+set}\" = set"; then
26464   echo $ECHO_N "(cached) $ECHO_C" >&6
26465 else
26466   if test x$gcc_no_link = xyes; then
26467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26469    { (exit 1); exit 1; }; }
26470 fi
26471 cat >conftest.$ac_ext <<_ACEOF
26472 /* confdefs.h.  */
26473 _ACEOF
26474 cat confdefs.h >>conftest.$ac_ext
26475 cat >>conftest.$ac_ext <<_ACEOF
26476 /* end confdefs.h.  */
26477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26479 #define $ac_func innocuous_$ac_func
26480
26481 /* System header to define __stub macros and hopefully few prototypes,
26482     which can conflict with char $ac_func (); below.
26483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26484     <limits.h> exists even on freestanding compilers.  */
26485
26486 #ifdef __STDC__
26487 # include <limits.h>
26488 #else
26489 # include <assert.h>
26490 #endif
26491
26492 #undef $ac_func
26493
26494 /* Override any gcc2 internal prototype to avoid an error.  */
26495 #ifdef __cplusplus
26496 extern "C"
26497 {
26498 #endif
26499 /* We use char because int might match the return type of a gcc2
26500    builtin and then its argument prototype would still apply.  */
26501 char $ac_func ();
26502 /* The GNU C library defines this for functions which it implements
26503     to always fail with ENOSYS.  Some functions are actually named
26504     something starting with __ and the normal name is an alias.  */
26505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26506 choke me
26507 #else
26508 char (*f) () = $ac_func;
26509 #endif
26510 #ifdef __cplusplus
26511 }
26512 #endif
26513
26514 int
26515 main ()
26516 {
26517 return f != $ac_func;
26518   ;
26519   return 0;
26520 }
26521 _ACEOF
26522 rm -f conftest.$ac_objext conftest$ac_exeext
26523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26524   (eval $ac_link) 2>conftest.er1
26525   ac_status=$?
26526   grep -v '^ *+' conftest.er1 >conftest.err
26527   rm -f conftest.er1
26528   cat conftest.err >&5
26529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530   (exit $ac_status); } &&
26531          { ac_try='test -z "$ac_c_werror_flag"
26532                          || test ! -s conftest.err'
26533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534   (eval $ac_try) 2>&5
26535   ac_status=$?
26536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537   (exit $ac_status); }; } &&
26538          { ac_try='test -s conftest$ac_exeext'
26539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540   (eval $ac_try) 2>&5
26541   ac_status=$?
26542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543   (exit $ac_status); }; }; then
26544   eval "$as_ac_var=yes"
26545 else
26546   echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.$ac_ext >&5
26548
26549 eval "$as_ac_var=no"
26550 fi
26551 rm -f conftest.err conftest.$ac_objext \
26552       conftest$ac_exeext conftest.$ac_ext
26553 fi
26554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26556 if test `eval echo '${'$as_ac_var'}'` = yes; then
26557   cat >>confdefs.h <<_ACEOF
26558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26559 _ACEOF
26560
26561 fi
26562 done
26563
26564     fi
26565   fi
26566
26567
26568
26569
26570
26571
26572   echo "$as_me:$LINENO: checking for modff declaration" >&5
26573 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26574   if test x${glibcxx_cv_func_modff_use+set} != xset; then
26575     if test "${glibcxx_cv_func_modff_use+set}" = set; then
26576   echo $ECHO_N "(cached) $ECHO_C" >&6
26577 else
26578
26579
26580
26581       ac_ext=cc
26582 ac_cpp='$CXXCPP $CPPFLAGS'
26583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26586
26587       cat >conftest.$ac_ext <<_ACEOF
26588 /* confdefs.h.  */
26589 _ACEOF
26590 cat confdefs.h >>conftest.$ac_ext
26591 cat >>conftest.$ac_ext <<_ACEOF
26592 /* end confdefs.h.  */
26593 #include <math.h>
26594 int
26595 main ()
26596 {
26597  modff(0, 0);
26598   ;
26599   return 0;
26600 }
26601 _ACEOF
26602 rm -f conftest.$ac_objext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26604   (eval $ac_compile) 2>conftest.er1
26605   ac_status=$?
26606   grep -v '^ *+' conftest.er1 >conftest.err
26607   rm -f conftest.er1
26608   cat conftest.err >&5
26609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610   (exit $ac_status); } &&
26611          { ac_try='test -z "$ac_cxx_werror_flag"
26612                          || test ! -s conftest.err'
26613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614   (eval $ac_try) 2>&5
26615   ac_status=$?
26616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617   (exit $ac_status); }; } &&
26618          { ac_try='test -s conftest.$ac_objext'
26619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620   (eval $ac_try) 2>&5
26621   ac_status=$?
26622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623   (exit $ac_status); }; }; then
26624   glibcxx_cv_func_modff_use=yes
26625 else
26626   echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26628
26629 glibcxx_cv_func_modff_use=no
26630 fi
26631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26632       ac_ext=c
26633 ac_cpp='$CPP $CPPFLAGS'
26634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26637
26638
26639 fi
26640
26641   fi
26642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26643 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26644
26645   if test x$glibcxx_cv_func_modff_use = x"yes"; then
26646
26647 for ac_func in modff
26648 do
26649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26650 echo "$as_me:$LINENO: checking for $ac_func" >&5
26651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26652 if eval "test \"\${$as_ac_var+set}\" = set"; then
26653   echo $ECHO_N "(cached) $ECHO_C" >&6
26654 else
26655   if test x$gcc_no_link = xyes; then
26656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26658    { (exit 1); exit 1; }; }
26659 fi
26660 cat >conftest.$ac_ext <<_ACEOF
26661 /* confdefs.h.  */
26662 _ACEOF
26663 cat confdefs.h >>conftest.$ac_ext
26664 cat >>conftest.$ac_ext <<_ACEOF
26665 /* end confdefs.h.  */
26666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26668 #define $ac_func innocuous_$ac_func
26669
26670 /* System header to define __stub macros and hopefully few prototypes,
26671     which can conflict with char $ac_func (); below.
26672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26673     <limits.h> exists even on freestanding compilers.  */
26674
26675 #ifdef __STDC__
26676 # include <limits.h>
26677 #else
26678 # include <assert.h>
26679 #endif
26680
26681 #undef $ac_func
26682
26683 /* Override any gcc2 internal prototype to avoid an error.  */
26684 #ifdef __cplusplus
26685 extern "C"
26686 {
26687 #endif
26688 /* We use char because int might match the return type of a gcc2
26689    builtin and then its argument prototype would still apply.  */
26690 char $ac_func ();
26691 /* The GNU C library defines this for functions which it implements
26692     to always fail with ENOSYS.  Some functions are actually named
26693     something starting with __ and the normal name is an alias.  */
26694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26695 choke me
26696 #else
26697 char (*f) () = $ac_func;
26698 #endif
26699 #ifdef __cplusplus
26700 }
26701 #endif
26702
26703 int
26704 main ()
26705 {
26706 return f != $ac_func;
26707   ;
26708   return 0;
26709 }
26710 _ACEOF
26711 rm -f conftest.$ac_objext conftest$ac_exeext
26712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26713   (eval $ac_link) 2>conftest.er1
26714   ac_status=$?
26715   grep -v '^ *+' conftest.er1 >conftest.err
26716   rm -f conftest.er1
26717   cat conftest.err >&5
26718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719   (exit $ac_status); } &&
26720          { ac_try='test -z "$ac_c_werror_flag"
26721                          || test ! -s conftest.err'
26722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26723   (eval $ac_try) 2>&5
26724   ac_status=$?
26725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726   (exit $ac_status); }; } &&
26727          { ac_try='test -s conftest$ac_exeext'
26728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729   (eval $ac_try) 2>&5
26730   ac_status=$?
26731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732   (exit $ac_status); }; }; then
26733   eval "$as_ac_var=yes"
26734 else
26735   echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.$ac_ext >&5
26737
26738 eval "$as_ac_var=no"
26739 fi
26740 rm -f conftest.err conftest.$ac_objext \
26741       conftest$ac_exeext conftest.$ac_ext
26742 fi
26743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26745 if test `eval echo '${'$as_ac_var'}'` = yes; then
26746   cat >>confdefs.h <<_ACEOF
26747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26748 _ACEOF
26749
26750 fi
26751 done
26752
26753   else
26754
26755   echo "$as_me:$LINENO: checking for _modff declaration" >&5
26756 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26757   if test x${glibcxx_cv_func__modff_use+set} != xset; then
26758     if test "${glibcxx_cv_func__modff_use+set}" = set; then
26759   echo $ECHO_N "(cached) $ECHO_C" >&6
26760 else
26761
26762
26763
26764       ac_ext=cc
26765 ac_cpp='$CXXCPP $CPPFLAGS'
26766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26769
26770       cat >conftest.$ac_ext <<_ACEOF
26771 /* confdefs.h.  */
26772 _ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h.  */
26776 #include <math.h>
26777 int
26778 main ()
26779 {
26780  _modff(0, 0);
26781   ;
26782   return 0;
26783 }
26784 _ACEOF
26785 rm -f conftest.$ac_objext
26786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26787   (eval $ac_compile) 2>conftest.er1
26788   ac_status=$?
26789   grep -v '^ *+' conftest.er1 >conftest.err
26790   rm -f conftest.er1
26791   cat conftest.err >&5
26792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793   (exit $ac_status); } &&
26794          { ac_try='test -z "$ac_cxx_werror_flag"
26795                          || test ! -s conftest.err'
26796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26797   (eval $ac_try) 2>&5
26798   ac_status=$?
26799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800   (exit $ac_status); }; } &&
26801          { ac_try='test -s conftest.$ac_objext'
26802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26803   (eval $ac_try) 2>&5
26804   ac_status=$?
26805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26806   (exit $ac_status); }; }; then
26807   glibcxx_cv_func__modff_use=yes
26808 else
26809   echo "$as_me: failed program was:" >&5
26810 sed 's/^/| /' conftest.$ac_ext >&5
26811
26812 glibcxx_cv_func__modff_use=no
26813 fi
26814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26815       ac_ext=c
26816 ac_cpp='$CPP $CPPFLAGS'
26817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26820
26821
26822 fi
26823
26824   fi
26825   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26826 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26827
26828     if test x$glibcxx_cv_func__modff_use = x"yes"; then
26829
26830 for ac_func in _modff
26831 do
26832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26833 echo "$as_me:$LINENO: checking for $ac_func" >&5
26834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26835 if eval "test \"\${$as_ac_var+set}\" = set"; then
26836   echo $ECHO_N "(cached) $ECHO_C" >&6
26837 else
26838   if test x$gcc_no_link = xyes; then
26839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26841    { (exit 1); exit 1; }; }
26842 fi
26843 cat >conftest.$ac_ext <<_ACEOF
26844 /* confdefs.h.  */
26845 _ACEOF
26846 cat confdefs.h >>conftest.$ac_ext
26847 cat >>conftest.$ac_ext <<_ACEOF
26848 /* end confdefs.h.  */
26849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26851 #define $ac_func innocuous_$ac_func
26852
26853 /* System header to define __stub macros and hopefully few prototypes,
26854     which can conflict with char $ac_func (); below.
26855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26856     <limits.h> exists even on freestanding compilers.  */
26857
26858 #ifdef __STDC__
26859 # include <limits.h>
26860 #else
26861 # include <assert.h>
26862 #endif
26863
26864 #undef $ac_func
26865
26866 /* Override any gcc2 internal prototype to avoid an error.  */
26867 #ifdef __cplusplus
26868 extern "C"
26869 {
26870 #endif
26871 /* We use char because int might match the return type of a gcc2
26872    builtin and then its argument prototype would still apply.  */
26873 char $ac_func ();
26874 /* The GNU C library defines this for functions which it implements
26875     to always fail with ENOSYS.  Some functions are actually named
26876     something starting with __ and the normal name is an alias.  */
26877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26878 choke me
26879 #else
26880 char (*f) () = $ac_func;
26881 #endif
26882 #ifdef __cplusplus
26883 }
26884 #endif
26885
26886 int
26887 main ()
26888 {
26889 return f != $ac_func;
26890   ;
26891   return 0;
26892 }
26893 _ACEOF
26894 rm -f conftest.$ac_objext conftest$ac_exeext
26895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26896   (eval $ac_link) 2>conftest.er1
26897   ac_status=$?
26898   grep -v '^ *+' conftest.er1 >conftest.err
26899   rm -f conftest.er1
26900   cat conftest.err >&5
26901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902   (exit $ac_status); } &&
26903          { ac_try='test -z "$ac_c_werror_flag"
26904                          || test ! -s conftest.err'
26905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906   (eval $ac_try) 2>&5
26907   ac_status=$?
26908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909   (exit $ac_status); }; } &&
26910          { ac_try='test -s conftest$ac_exeext'
26911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26912   (eval $ac_try) 2>&5
26913   ac_status=$?
26914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915   (exit $ac_status); }; }; then
26916   eval "$as_ac_var=yes"
26917 else
26918   echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26920
26921 eval "$as_ac_var=no"
26922 fi
26923 rm -f conftest.err conftest.$ac_objext \
26924       conftest$ac_exeext conftest.$ac_ext
26925 fi
26926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26928 if test `eval echo '${'$as_ac_var'}'` = yes; then
26929   cat >>confdefs.h <<_ACEOF
26930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26931 _ACEOF
26932
26933 fi
26934 done
26935
26936     fi
26937   fi
26938
26939
26940
26941
26942
26943
26944   echo "$as_me:$LINENO: checking for modf declaration" >&5
26945 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26946   if test x${glibcxx_cv_func_modf_use+set} != xset; then
26947     if test "${glibcxx_cv_func_modf_use+set}" = set; then
26948   echo $ECHO_N "(cached) $ECHO_C" >&6
26949 else
26950
26951
26952
26953       ac_ext=cc
26954 ac_cpp='$CXXCPP $CPPFLAGS'
26955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26958
26959       cat >conftest.$ac_ext <<_ACEOF
26960 /* confdefs.h.  */
26961 _ACEOF
26962 cat confdefs.h >>conftest.$ac_ext
26963 cat >>conftest.$ac_ext <<_ACEOF
26964 /* end confdefs.h.  */
26965 #include <math.h>
26966 int
26967 main ()
26968 {
26969  modf(0, 0);
26970   ;
26971   return 0;
26972 }
26973 _ACEOF
26974 rm -f conftest.$ac_objext
26975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26976   (eval $ac_compile) 2>conftest.er1
26977   ac_status=$?
26978   grep -v '^ *+' conftest.er1 >conftest.err
26979   rm -f conftest.er1
26980   cat conftest.err >&5
26981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982   (exit $ac_status); } &&
26983          { ac_try='test -z "$ac_cxx_werror_flag"
26984                          || test ! -s conftest.err'
26985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26986   (eval $ac_try) 2>&5
26987   ac_status=$?
26988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989   (exit $ac_status); }; } &&
26990          { ac_try='test -s conftest.$ac_objext'
26991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26992   (eval $ac_try) 2>&5
26993   ac_status=$?
26994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26995   (exit $ac_status); }; }; then
26996   glibcxx_cv_func_modf_use=yes
26997 else
26998   echo "$as_me: failed program was:" >&5
26999 sed 's/^/| /' conftest.$ac_ext >&5
27000
27001 glibcxx_cv_func_modf_use=no
27002 fi
27003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27004       ac_ext=c
27005 ac_cpp='$CPP $CPPFLAGS'
27006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27009
27010
27011 fi
27012
27013   fi
27014   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27015 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27016
27017   if test x$glibcxx_cv_func_modf_use = x"yes"; then
27018
27019 for ac_func in modf
27020 do
27021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27022 echo "$as_me:$LINENO: checking for $ac_func" >&5
27023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27024 if eval "test \"\${$as_ac_var+set}\" = set"; then
27025   echo $ECHO_N "(cached) $ECHO_C" >&6
27026 else
27027   if test x$gcc_no_link = xyes; then
27028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27030    { (exit 1); exit 1; }; }
27031 fi
27032 cat >conftest.$ac_ext <<_ACEOF
27033 /* confdefs.h.  */
27034 _ACEOF
27035 cat confdefs.h >>conftest.$ac_ext
27036 cat >>conftest.$ac_ext <<_ACEOF
27037 /* end confdefs.h.  */
27038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27040 #define $ac_func innocuous_$ac_func
27041
27042 /* System header to define __stub macros and hopefully few prototypes,
27043     which can conflict with char $ac_func (); below.
27044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27045     <limits.h> exists even on freestanding compilers.  */
27046
27047 #ifdef __STDC__
27048 # include <limits.h>
27049 #else
27050 # include <assert.h>
27051 #endif
27052
27053 #undef $ac_func
27054
27055 /* Override any gcc2 internal prototype to avoid an error.  */
27056 #ifdef __cplusplus
27057 extern "C"
27058 {
27059 #endif
27060 /* We use char because int might match the return type of a gcc2
27061    builtin and then its argument prototype would still apply.  */
27062 char $ac_func ();
27063 /* The GNU C library defines this for functions which it implements
27064     to always fail with ENOSYS.  Some functions are actually named
27065     something starting with __ and the normal name is an alias.  */
27066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27067 choke me
27068 #else
27069 char (*f) () = $ac_func;
27070 #endif
27071 #ifdef __cplusplus
27072 }
27073 #endif
27074
27075 int
27076 main ()
27077 {
27078 return f != $ac_func;
27079   ;
27080   return 0;
27081 }
27082 _ACEOF
27083 rm -f conftest.$ac_objext conftest$ac_exeext
27084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27085   (eval $ac_link) 2>conftest.er1
27086   ac_status=$?
27087   grep -v '^ *+' conftest.er1 >conftest.err
27088   rm -f conftest.er1
27089   cat conftest.err >&5
27090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091   (exit $ac_status); } &&
27092          { ac_try='test -z "$ac_c_werror_flag"
27093                          || test ! -s conftest.err'
27094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27095   (eval $ac_try) 2>&5
27096   ac_status=$?
27097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098   (exit $ac_status); }; } &&
27099          { ac_try='test -s conftest$ac_exeext'
27100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27101   (eval $ac_try) 2>&5
27102   ac_status=$?
27103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104   (exit $ac_status); }; }; then
27105   eval "$as_ac_var=yes"
27106 else
27107   echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27109
27110 eval "$as_ac_var=no"
27111 fi
27112 rm -f conftest.err conftest.$ac_objext \
27113       conftest$ac_exeext conftest.$ac_ext
27114 fi
27115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27117 if test `eval echo '${'$as_ac_var'}'` = yes; then
27118   cat >>confdefs.h <<_ACEOF
27119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27120 _ACEOF
27121
27122 fi
27123 done
27124
27125   else
27126
27127   echo "$as_me:$LINENO: checking for _modf declaration" >&5
27128 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27129   if test x${glibcxx_cv_func__modf_use+set} != xset; then
27130     if test "${glibcxx_cv_func__modf_use+set}" = set; then
27131   echo $ECHO_N "(cached) $ECHO_C" >&6
27132 else
27133
27134
27135
27136       ac_ext=cc
27137 ac_cpp='$CXXCPP $CPPFLAGS'
27138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27141
27142       cat >conftest.$ac_ext <<_ACEOF
27143 /* confdefs.h.  */
27144 _ACEOF
27145 cat confdefs.h >>conftest.$ac_ext
27146 cat >>conftest.$ac_ext <<_ACEOF
27147 /* end confdefs.h.  */
27148 #include <math.h>
27149 int
27150 main ()
27151 {
27152  _modf(0, 0);
27153   ;
27154   return 0;
27155 }
27156 _ACEOF
27157 rm -f conftest.$ac_objext
27158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27159   (eval $ac_compile) 2>conftest.er1
27160   ac_status=$?
27161   grep -v '^ *+' conftest.er1 >conftest.err
27162   rm -f conftest.er1
27163   cat conftest.err >&5
27164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165   (exit $ac_status); } &&
27166          { ac_try='test -z "$ac_cxx_werror_flag"
27167                          || test ! -s conftest.err'
27168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169   (eval $ac_try) 2>&5
27170   ac_status=$?
27171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172   (exit $ac_status); }; } &&
27173          { ac_try='test -s conftest.$ac_objext'
27174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175   (eval $ac_try) 2>&5
27176   ac_status=$?
27177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178   (exit $ac_status); }; }; then
27179   glibcxx_cv_func__modf_use=yes
27180 else
27181   echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.$ac_ext >&5
27183
27184 glibcxx_cv_func__modf_use=no
27185 fi
27186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27187       ac_ext=c
27188 ac_cpp='$CPP $CPPFLAGS'
27189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27192
27193
27194 fi
27195
27196   fi
27197   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27198 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27199
27200     if test x$glibcxx_cv_func__modf_use = x"yes"; then
27201
27202 for ac_func in _modf
27203 do
27204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27205 echo "$as_me:$LINENO: checking for $ac_func" >&5
27206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27207 if eval "test \"\${$as_ac_var+set}\" = set"; then
27208   echo $ECHO_N "(cached) $ECHO_C" >&6
27209 else
27210   if test x$gcc_no_link = xyes; then
27211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27213    { (exit 1); exit 1; }; }
27214 fi
27215 cat >conftest.$ac_ext <<_ACEOF
27216 /* confdefs.h.  */
27217 _ACEOF
27218 cat confdefs.h >>conftest.$ac_ext
27219 cat >>conftest.$ac_ext <<_ACEOF
27220 /* end confdefs.h.  */
27221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27223 #define $ac_func innocuous_$ac_func
27224
27225 /* System header to define __stub macros and hopefully few prototypes,
27226     which can conflict with char $ac_func (); below.
27227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27228     <limits.h> exists even on freestanding compilers.  */
27229
27230 #ifdef __STDC__
27231 # include <limits.h>
27232 #else
27233 # include <assert.h>
27234 #endif
27235
27236 #undef $ac_func
27237
27238 /* Override any gcc2 internal prototype to avoid an error.  */
27239 #ifdef __cplusplus
27240 extern "C"
27241 {
27242 #endif
27243 /* We use char because int might match the return type of a gcc2
27244    builtin and then its argument prototype would still apply.  */
27245 char $ac_func ();
27246 /* The GNU C library defines this for functions which it implements
27247     to always fail with ENOSYS.  Some functions are actually named
27248     something starting with __ and the normal name is an alias.  */
27249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27250 choke me
27251 #else
27252 char (*f) () = $ac_func;
27253 #endif
27254 #ifdef __cplusplus
27255 }
27256 #endif
27257
27258 int
27259 main ()
27260 {
27261 return f != $ac_func;
27262   ;
27263   return 0;
27264 }
27265 _ACEOF
27266 rm -f conftest.$ac_objext conftest$ac_exeext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27268   (eval $ac_link) 2>conftest.er1
27269   ac_status=$?
27270   grep -v '^ *+' conftest.er1 >conftest.err
27271   rm -f conftest.er1
27272   cat conftest.err >&5
27273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274   (exit $ac_status); } &&
27275          { ac_try='test -z "$ac_c_werror_flag"
27276                          || test ! -s conftest.err'
27277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278   (eval $ac_try) 2>&5
27279   ac_status=$?
27280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281   (exit $ac_status); }; } &&
27282          { ac_try='test -s conftest$ac_exeext'
27283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284   (eval $ac_try) 2>&5
27285   ac_status=$?
27286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287   (exit $ac_status); }; }; then
27288   eval "$as_ac_var=yes"
27289 else
27290   echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.$ac_ext >&5
27292
27293 eval "$as_ac_var=no"
27294 fi
27295 rm -f conftest.err conftest.$ac_objext \
27296       conftest$ac_exeext conftest.$ac_ext
27297 fi
27298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27300 if test `eval echo '${'$as_ac_var'}'` = yes; then
27301   cat >>confdefs.h <<_ACEOF
27302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27303 _ACEOF
27304
27305 fi
27306 done
27307
27308     fi
27309   fi
27310
27311
27312
27313
27314
27315
27316   echo "$as_me:$LINENO: checking for powf declaration" >&5
27317 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27318   if test x${glibcxx_cv_func_powf_use+set} != xset; then
27319     if test "${glibcxx_cv_func_powf_use+set}" = set; then
27320   echo $ECHO_N "(cached) $ECHO_C" >&6
27321 else
27322
27323
27324
27325       ac_ext=cc
27326 ac_cpp='$CXXCPP $CPPFLAGS'
27327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27330
27331       cat >conftest.$ac_ext <<_ACEOF
27332 /* confdefs.h.  */
27333 _ACEOF
27334 cat confdefs.h >>conftest.$ac_ext
27335 cat >>conftest.$ac_ext <<_ACEOF
27336 /* end confdefs.h.  */
27337 #include <math.h>
27338 int
27339 main ()
27340 {
27341  powf(0, 0);
27342   ;
27343   return 0;
27344 }
27345 _ACEOF
27346 rm -f conftest.$ac_objext
27347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27348   (eval $ac_compile) 2>conftest.er1
27349   ac_status=$?
27350   grep -v '^ *+' conftest.er1 >conftest.err
27351   rm -f conftest.er1
27352   cat conftest.err >&5
27353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354   (exit $ac_status); } &&
27355          { ac_try='test -z "$ac_cxx_werror_flag"
27356                          || test ! -s conftest.err'
27357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27358   (eval $ac_try) 2>&5
27359   ac_status=$?
27360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361   (exit $ac_status); }; } &&
27362          { ac_try='test -s conftest.$ac_objext'
27363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364   (eval $ac_try) 2>&5
27365   ac_status=$?
27366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367   (exit $ac_status); }; }; then
27368   glibcxx_cv_func_powf_use=yes
27369 else
27370   echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.$ac_ext >&5
27372
27373 glibcxx_cv_func_powf_use=no
27374 fi
27375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27376       ac_ext=c
27377 ac_cpp='$CPP $CPPFLAGS'
27378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27381
27382
27383 fi
27384
27385   fi
27386   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27387 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27388
27389   if test x$glibcxx_cv_func_powf_use = x"yes"; then
27390
27391 for ac_func in powf
27392 do
27393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27394 echo "$as_me:$LINENO: checking for $ac_func" >&5
27395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27396 if eval "test \"\${$as_ac_var+set}\" = set"; then
27397   echo $ECHO_N "(cached) $ECHO_C" >&6
27398 else
27399   if test x$gcc_no_link = xyes; then
27400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27402    { (exit 1); exit 1; }; }
27403 fi
27404 cat >conftest.$ac_ext <<_ACEOF
27405 /* confdefs.h.  */
27406 _ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h.  */
27410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27412 #define $ac_func innocuous_$ac_func
27413
27414 /* System header to define __stub macros and hopefully few prototypes,
27415     which can conflict with char $ac_func (); below.
27416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27417     <limits.h> exists even on freestanding compilers.  */
27418
27419 #ifdef __STDC__
27420 # include <limits.h>
27421 #else
27422 # include <assert.h>
27423 #endif
27424
27425 #undef $ac_func
27426
27427 /* Override any gcc2 internal prototype to avoid an error.  */
27428 #ifdef __cplusplus
27429 extern "C"
27430 {
27431 #endif
27432 /* We use char because int might match the return type of a gcc2
27433    builtin and then its argument prototype would still apply.  */
27434 char $ac_func ();
27435 /* The GNU C library defines this for functions which it implements
27436     to always fail with ENOSYS.  Some functions are actually named
27437     something starting with __ and the normal name is an alias.  */
27438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27439 choke me
27440 #else
27441 char (*f) () = $ac_func;
27442 #endif
27443 #ifdef __cplusplus
27444 }
27445 #endif
27446
27447 int
27448 main ()
27449 {
27450 return f != $ac_func;
27451   ;
27452   return 0;
27453 }
27454 _ACEOF
27455 rm -f conftest.$ac_objext conftest$ac_exeext
27456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27457   (eval $ac_link) 2>conftest.er1
27458   ac_status=$?
27459   grep -v '^ *+' conftest.er1 >conftest.err
27460   rm -f conftest.er1
27461   cat conftest.err >&5
27462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463   (exit $ac_status); } &&
27464          { ac_try='test -z "$ac_c_werror_flag"
27465                          || test ! -s conftest.err'
27466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467   (eval $ac_try) 2>&5
27468   ac_status=$?
27469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470   (exit $ac_status); }; } &&
27471          { ac_try='test -s conftest$ac_exeext'
27472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473   (eval $ac_try) 2>&5
27474   ac_status=$?
27475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476   (exit $ac_status); }; }; then
27477   eval "$as_ac_var=yes"
27478 else
27479   echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27481
27482 eval "$as_ac_var=no"
27483 fi
27484 rm -f conftest.err conftest.$ac_objext \
27485       conftest$ac_exeext conftest.$ac_ext
27486 fi
27487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27489 if test `eval echo '${'$as_ac_var'}'` = yes; then
27490   cat >>confdefs.h <<_ACEOF
27491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27492 _ACEOF
27493
27494 fi
27495 done
27496
27497   else
27498
27499   echo "$as_me:$LINENO: checking for _powf declaration" >&5
27500 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27501   if test x${glibcxx_cv_func__powf_use+set} != xset; then
27502     if test "${glibcxx_cv_func__powf_use+set}" = set; then
27503   echo $ECHO_N "(cached) $ECHO_C" >&6
27504 else
27505
27506
27507
27508       ac_ext=cc
27509 ac_cpp='$CXXCPP $CPPFLAGS'
27510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27513
27514       cat >conftest.$ac_ext <<_ACEOF
27515 /* confdefs.h.  */
27516 _ACEOF
27517 cat confdefs.h >>conftest.$ac_ext
27518 cat >>conftest.$ac_ext <<_ACEOF
27519 /* end confdefs.h.  */
27520 #include <math.h>
27521 int
27522 main ()
27523 {
27524  _powf(0, 0);
27525   ;
27526   return 0;
27527 }
27528 _ACEOF
27529 rm -f conftest.$ac_objext
27530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27531   (eval $ac_compile) 2>conftest.er1
27532   ac_status=$?
27533   grep -v '^ *+' conftest.er1 >conftest.err
27534   rm -f conftest.er1
27535   cat conftest.err >&5
27536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27537   (exit $ac_status); } &&
27538          { ac_try='test -z "$ac_cxx_werror_flag"
27539                          || test ! -s conftest.err'
27540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27541   (eval $ac_try) 2>&5
27542   ac_status=$?
27543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544   (exit $ac_status); }; } &&
27545          { ac_try='test -s conftest.$ac_objext'
27546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547   (eval $ac_try) 2>&5
27548   ac_status=$?
27549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550   (exit $ac_status); }; }; then
27551   glibcxx_cv_func__powf_use=yes
27552 else
27553   echo "$as_me: failed program was:" >&5
27554 sed 's/^/| /' conftest.$ac_ext >&5
27555
27556 glibcxx_cv_func__powf_use=no
27557 fi
27558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27559       ac_ext=c
27560 ac_cpp='$CPP $CPPFLAGS'
27561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27564
27565
27566 fi
27567
27568   fi
27569   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27570 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27571
27572     if test x$glibcxx_cv_func__powf_use = x"yes"; then
27573
27574 for ac_func in _powf
27575 do
27576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27577 echo "$as_me:$LINENO: checking for $ac_func" >&5
27578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27579 if eval "test \"\${$as_ac_var+set}\" = set"; then
27580   echo $ECHO_N "(cached) $ECHO_C" >&6
27581 else
27582   if test x$gcc_no_link = xyes; then
27583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27585    { (exit 1); exit 1; }; }
27586 fi
27587 cat >conftest.$ac_ext <<_ACEOF
27588 /* confdefs.h.  */
27589 _ACEOF
27590 cat confdefs.h >>conftest.$ac_ext
27591 cat >>conftest.$ac_ext <<_ACEOF
27592 /* end confdefs.h.  */
27593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27594    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27595 #define $ac_func innocuous_$ac_func
27596
27597 /* System header to define __stub macros and hopefully few prototypes,
27598     which can conflict with char $ac_func (); below.
27599     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27600     <limits.h> exists even on freestanding compilers.  */
27601
27602 #ifdef __STDC__
27603 # include <limits.h>
27604 #else
27605 # include <assert.h>
27606 #endif
27607
27608 #undef $ac_func
27609
27610 /* Override any gcc2 internal prototype to avoid an error.  */
27611 #ifdef __cplusplus
27612 extern "C"
27613 {
27614 #endif
27615 /* We use char because int might match the return type of a gcc2
27616    builtin and then its argument prototype would still apply.  */
27617 char $ac_func ();
27618 /* The GNU C library defines this for functions which it implements
27619     to always fail with ENOSYS.  Some functions are actually named
27620     something starting with __ and the normal name is an alias.  */
27621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27622 choke me
27623 #else
27624 char (*f) () = $ac_func;
27625 #endif
27626 #ifdef __cplusplus
27627 }
27628 #endif
27629
27630 int
27631 main ()
27632 {
27633 return f != $ac_func;
27634   ;
27635   return 0;
27636 }
27637 _ACEOF
27638 rm -f conftest.$ac_objext conftest$ac_exeext
27639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27640   (eval $ac_link) 2>conftest.er1
27641   ac_status=$?
27642   grep -v '^ *+' conftest.er1 >conftest.err
27643   rm -f conftest.er1
27644   cat conftest.err >&5
27645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646   (exit $ac_status); } &&
27647          { ac_try='test -z "$ac_c_werror_flag"
27648                          || test ! -s conftest.err'
27649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650   (eval $ac_try) 2>&5
27651   ac_status=$?
27652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653   (exit $ac_status); }; } &&
27654          { ac_try='test -s conftest$ac_exeext'
27655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27656   (eval $ac_try) 2>&5
27657   ac_status=$?
27658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27659   (exit $ac_status); }; }; then
27660   eval "$as_ac_var=yes"
27661 else
27662   echo "$as_me: failed program was:" >&5
27663 sed 's/^/| /' conftest.$ac_ext >&5
27664
27665 eval "$as_ac_var=no"
27666 fi
27667 rm -f conftest.err conftest.$ac_objext \
27668       conftest$ac_exeext conftest.$ac_ext
27669 fi
27670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27672 if test `eval echo '${'$as_ac_var'}'` = yes; then
27673   cat >>confdefs.h <<_ACEOF
27674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27675 _ACEOF
27676
27677 fi
27678 done
27679
27680     fi
27681   fi
27682
27683
27684
27685
27686
27687
27688   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27689 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27690   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27691     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27692   echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694
27695
27696
27697       ac_ext=cc
27698 ac_cpp='$CXXCPP $CPPFLAGS'
27699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27702
27703       cat >conftest.$ac_ext <<_ACEOF
27704 /* confdefs.h.  */
27705 _ACEOF
27706 cat confdefs.h >>conftest.$ac_ext
27707 cat >>conftest.$ac_ext <<_ACEOF
27708 /* end confdefs.h.  */
27709 #include <math.h>
27710                       #ifdef HAVE_IEEEFP_H
27711                       #include <ieeefp.h>
27712                       #endif
27713
27714 int
27715 main ()
27716 {
27717  sqrtf(0);
27718   ;
27719   return 0;
27720 }
27721 _ACEOF
27722 rm -f conftest.$ac_objext
27723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27724   (eval $ac_compile) 2>conftest.er1
27725   ac_status=$?
27726   grep -v '^ *+' conftest.er1 >conftest.err
27727   rm -f conftest.er1
27728   cat conftest.err >&5
27729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730   (exit $ac_status); } &&
27731          { ac_try='test -z "$ac_cxx_werror_flag"
27732                          || test ! -s conftest.err'
27733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734   (eval $ac_try) 2>&5
27735   ac_status=$?
27736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737   (exit $ac_status); }; } &&
27738          { ac_try='test -s conftest.$ac_objext'
27739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27740   (eval $ac_try) 2>&5
27741   ac_status=$?
27742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743   (exit $ac_status); }; }; then
27744   glibcxx_cv_func_sqrtf_use=yes
27745 else
27746   echo "$as_me: failed program was:" >&5
27747 sed 's/^/| /' conftest.$ac_ext >&5
27748
27749 glibcxx_cv_func_sqrtf_use=no
27750 fi
27751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27752       ac_ext=c
27753 ac_cpp='$CPP $CPPFLAGS'
27754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27757
27758
27759 fi
27760
27761   fi
27762   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27763 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27764
27765   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27766
27767 for ac_func in sqrtf
27768 do
27769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27770 echo "$as_me:$LINENO: checking for $ac_func" >&5
27771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27772 if eval "test \"\${$as_ac_var+set}\" = set"; then
27773   echo $ECHO_N "(cached) $ECHO_C" >&6
27774 else
27775   if test x$gcc_no_link = xyes; then
27776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27778    { (exit 1); exit 1; }; }
27779 fi
27780 cat >conftest.$ac_ext <<_ACEOF
27781 /* confdefs.h.  */
27782 _ACEOF
27783 cat confdefs.h >>conftest.$ac_ext
27784 cat >>conftest.$ac_ext <<_ACEOF
27785 /* end confdefs.h.  */
27786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27788 #define $ac_func innocuous_$ac_func
27789
27790 /* System header to define __stub macros and hopefully few prototypes,
27791     which can conflict with char $ac_func (); below.
27792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27793     <limits.h> exists even on freestanding compilers.  */
27794
27795 #ifdef __STDC__
27796 # include <limits.h>
27797 #else
27798 # include <assert.h>
27799 #endif
27800
27801 #undef $ac_func
27802
27803 /* Override any gcc2 internal prototype to avoid an error.  */
27804 #ifdef __cplusplus
27805 extern "C"
27806 {
27807 #endif
27808 /* We use char because int might match the return type of a gcc2
27809    builtin and then its argument prototype would still apply.  */
27810 char $ac_func ();
27811 /* The GNU C library defines this for functions which it implements
27812     to always fail with ENOSYS.  Some functions are actually named
27813     something starting with __ and the normal name is an alias.  */
27814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27815 choke me
27816 #else
27817 char (*f) () = $ac_func;
27818 #endif
27819 #ifdef __cplusplus
27820 }
27821 #endif
27822
27823 int
27824 main ()
27825 {
27826 return f != $ac_func;
27827   ;
27828   return 0;
27829 }
27830 _ACEOF
27831 rm -f conftest.$ac_objext conftest$ac_exeext
27832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27833   (eval $ac_link) 2>conftest.er1
27834   ac_status=$?
27835   grep -v '^ *+' conftest.er1 >conftest.err
27836   rm -f conftest.er1
27837   cat conftest.err >&5
27838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839   (exit $ac_status); } &&
27840          { ac_try='test -z "$ac_c_werror_flag"
27841                          || test ! -s conftest.err'
27842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27843   (eval $ac_try) 2>&5
27844   ac_status=$?
27845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846   (exit $ac_status); }; } &&
27847          { ac_try='test -s conftest$ac_exeext'
27848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27849   (eval $ac_try) 2>&5
27850   ac_status=$?
27851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852   (exit $ac_status); }; }; then
27853   eval "$as_ac_var=yes"
27854 else
27855   echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27857
27858 eval "$as_ac_var=no"
27859 fi
27860 rm -f conftest.err conftest.$ac_objext \
27861       conftest$ac_exeext conftest.$ac_ext
27862 fi
27863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27865 if test `eval echo '${'$as_ac_var'}'` = yes; then
27866   cat >>confdefs.h <<_ACEOF
27867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27868 _ACEOF
27869
27870 fi
27871 done
27872
27873   else
27874
27875   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27876 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27877   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27878     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27879   echo $ECHO_N "(cached) $ECHO_C" >&6
27880 else
27881
27882
27883
27884       ac_ext=cc
27885 ac_cpp='$CXXCPP $CPPFLAGS'
27886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27889
27890       cat >conftest.$ac_ext <<_ACEOF
27891 /* confdefs.h.  */
27892 _ACEOF
27893 cat confdefs.h >>conftest.$ac_ext
27894 cat >>conftest.$ac_ext <<_ACEOF
27895 /* end confdefs.h.  */
27896 #include <math.h>
27897                       #ifdef HAVE_IEEEFP_H
27898                       #include <ieeefp.h>
27899                       #endif
27900
27901 int
27902 main ()
27903 {
27904  _sqrtf(0);
27905   ;
27906   return 0;
27907 }
27908 _ACEOF
27909 rm -f conftest.$ac_objext
27910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27911   (eval $ac_compile) 2>conftest.er1
27912   ac_status=$?
27913   grep -v '^ *+' conftest.er1 >conftest.err
27914   rm -f conftest.er1
27915   cat conftest.err >&5
27916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917   (exit $ac_status); } &&
27918          { ac_try='test -z "$ac_cxx_werror_flag"
27919                          || test ! -s conftest.err'
27920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921   (eval $ac_try) 2>&5
27922   ac_status=$?
27923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924   (exit $ac_status); }; } &&
27925          { ac_try='test -s conftest.$ac_objext'
27926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927   (eval $ac_try) 2>&5
27928   ac_status=$?
27929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930   (exit $ac_status); }; }; then
27931   glibcxx_cv_func__sqrtf_use=yes
27932 else
27933   echo "$as_me: failed program was:" >&5
27934 sed 's/^/| /' conftest.$ac_ext >&5
27935
27936 glibcxx_cv_func__sqrtf_use=no
27937 fi
27938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27939       ac_ext=c
27940 ac_cpp='$CPP $CPPFLAGS'
27941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27944
27945
27946 fi
27947
27948   fi
27949   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27950 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27951
27952     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27953
27954 for ac_func in _sqrtf
27955 do
27956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27957 echo "$as_me:$LINENO: checking for $ac_func" >&5
27958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27959 if eval "test \"\${$as_ac_var+set}\" = set"; then
27960   echo $ECHO_N "(cached) $ECHO_C" >&6
27961 else
27962   if test x$gcc_no_link = xyes; then
27963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27965    { (exit 1); exit 1; }; }
27966 fi
27967 cat >conftest.$ac_ext <<_ACEOF
27968 /* confdefs.h.  */
27969 _ACEOF
27970 cat confdefs.h >>conftest.$ac_ext
27971 cat >>conftest.$ac_ext <<_ACEOF
27972 /* end confdefs.h.  */
27973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27975 #define $ac_func innocuous_$ac_func
27976
27977 /* System header to define __stub macros and hopefully few prototypes,
27978     which can conflict with char $ac_func (); below.
27979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27980     <limits.h> exists even on freestanding compilers.  */
27981
27982 #ifdef __STDC__
27983 # include <limits.h>
27984 #else
27985 # include <assert.h>
27986 #endif
27987
27988 #undef $ac_func
27989
27990 /* Override any gcc2 internal prototype to avoid an error.  */
27991 #ifdef __cplusplus
27992 extern "C"
27993 {
27994 #endif
27995 /* We use char because int might match the return type of a gcc2
27996    builtin and then its argument prototype would still apply.  */
27997 char $ac_func ();
27998 /* The GNU C library defines this for functions which it implements
27999     to always fail with ENOSYS.  Some functions are actually named
28000     something starting with __ and the normal name is an alias.  */
28001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28002 choke me
28003 #else
28004 char (*f) () = $ac_func;
28005 #endif
28006 #ifdef __cplusplus
28007 }
28008 #endif
28009
28010 int
28011 main ()
28012 {
28013 return f != $ac_func;
28014   ;
28015   return 0;
28016 }
28017 _ACEOF
28018 rm -f conftest.$ac_objext conftest$ac_exeext
28019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28020   (eval $ac_link) 2>conftest.er1
28021   ac_status=$?
28022   grep -v '^ *+' conftest.er1 >conftest.err
28023   rm -f conftest.er1
28024   cat conftest.err >&5
28025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026   (exit $ac_status); } &&
28027          { ac_try='test -z "$ac_c_werror_flag"
28028                          || test ! -s conftest.err'
28029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030   (eval $ac_try) 2>&5
28031   ac_status=$?
28032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033   (exit $ac_status); }; } &&
28034          { ac_try='test -s conftest$ac_exeext'
28035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036   (eval $ac_try) 2>&5
28037   ac_status=$?
28038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039   (exit $ac_status); }; }; then
28040   eval "$as_ac_var=yes"
28041 else
28042   echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28044
28045 eval "$as_ac_var=no"
28046 fi
28047 rm -f conftest.err conftest.$ac_objext \
28048       conftest$ac_exeext conftest.$ac_ext
28049 fi
28050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28052 if test `eval echo '${'$as_ac_var'}'` = yes; then
28053   cat >>confdefs.h <<_ACEOF
28054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28055 _ACEOF
28056
28057 fi
28058 done
28059
28060     fi
28061   fi
28062
28063
28064
28065
28066
28067
28068   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28069 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28070   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28071     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28072   echo $ECHO_N "(cached) $ECHO_C" >&6
28073 else
28074
28075
28076
28077       ac_ext=cc
28078 ac_cpp='$CXXCPP $CPPFLAGS'
28079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28082
28083       cat >conftest.$ac_ext <<_ACEOF
28084 /* confdefs.h.  */
28085 _ACEOF
28086 cat confdefs.h >>conftest.$ac_ext
28087 cat >>conftest.$ac_ext <<_ACEOF
28088 /* end confdefs.h.  */
28089 #include <math.h>
28090 int
28091 main ()
28092 {
28093  sincosf(0, 0, 0);
28094   ;
28095   return 0;
28096 }
28097 _ACEOF
28098 rm -f conftest.$ac_objext
28099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28100   (eval $ac_compile) 2>conftest.er1
28101   ac_status=$?
28102   grep -v '^ *+' conftest.er1 >conftest.err
28103   rm -f conftest.er1
28104   cat conftest.err >&5
28105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106   (exit $ac_status); } &&
28107          { ac_try='test -z "$ac_cxx_werror_flag"
28108                          || test ! -s conftest.err'
28109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28110   (eval $ac_try) 2>&5
28111   ac_status=$?
28112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113   (exit $ac_status); }; } &&
28114          { ac_try='test -s conftest.$ac_objext'
28115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28116   (eval $ac_try) 2>&5
28117   ac_status=$?
28118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119   (exit $ac_status); }; }; then
28120   glibcxx_cv_func_sincosf_use=yes
28121 else
28122   echo "$as_me: failed program was:" >&5
28123 sed 's/^/| /' conftest.$ac_ext >&5
28124
28125 glibcxx_cv_func_sincosf_use=no
28126 fi
28127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28128       ac_ext=c
28129 ac_cpp='$CPP $CPPFLAGS'
28130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28133
28134
28135 fi
28136
28137   fi
28138   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28139 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28140
28141   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28142
28143 for ac_func in sincosf
28144 do
28145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28146 echo "$as_me:$LINENO: checking for $ac_func" >&5
28147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28148 if eval "test \"\${$as_ac_var+set}\" = set"; then
28149   echo $ECHO_N "(cached) $ECHO_C" >&6
28150 else
28151   if test x$gcc_no_link = xyes; then
28152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28154    { (exit 1); exit 1; }; }
28155 fi
28156 cat >conftest.$ac_ext <<_ACEOF
28157 /* confdefs.h.  */
28158 _ACEOF
28159 cat confdefs.h >>conftest.$ac_ext
28160 cat >>conftest.$ac_ext <<_ACEOF
28161 /* end confdefs.h.  */
28162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28164 #define $ac_func innocuous_$ac_func
28165
28166 /* System header to define __stub macros and hopefully few prototypes,
28167     which can conflict with char $ac_func (); below.
28168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28169     <limits.h> exists even on freestanding compilers.  */
28170
28171 #ifdef __STDC__
28172 # include <limits.h>
28173 #else
28174 # include <assert.h>
28175 #endif
28176
28177 #undef $ac_func
28178
28179 /* Override any gcc2 internal prototype to avoid an error.  */
28180 #ifdef __cplusplus
28181 extern "C"
28182 {
28183 #endif
28184 /* We use char because int might match the return type of a gcc2
28185    builtin and then its argument prototype would still apply.  */
28186 char $ac_func ();
28187 /* The GNU C library defines this for functions which it implements
28188     to always fail with ENOSYS.  Some functions are actually named
28189     something starting with __ and the normal name is an alias.  */
28190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28191 choke me
28192 #else
28193 char (*f) () = $ac_func;
28194 #endif
28195 #ifdef __cplusplus
28196 }
28197 #endif
28198
28199 int
28200 main ()
28201 {
28202 return f != $ac_func;
28203   ;
28204   return 0;
28205 }
28206 _ACEOF
28207 rm -f conftest.$ac_objext conftest$ac_exeext
28208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28209   (eval $ac_link) 2>conftest.er1
28210   ac_status=$?
28211   grep -v '^ *+' conftest.er1 >conftest.err
28212   rm -f conftest.er1
28213   cat conftest.err >&5
28214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215   (exit $ac_status); } &&
28216          { ac_try='test -z "$ac_c_werror_flag"
28217                          || test ! -s conftest.err'
28218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219   (eval $ac_try) 2>&5
28220   ac_status=$?
28221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222   (exit $ac_status); }; } &&
28223          { ac_try='test -s conftest$ac_exeext'
28224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28225   (eval $ac_try) 2>&5
28226   ac_status=$?
28227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228   (exit $ac_status); }; }; then
28229   eval "$as_ac_var=yes"
28230 else
28231   echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28233
28234 eval "$as_ac_var=no"
28235 fi
28236 rm -f conftest.err conftest.$ac_objext \
28237       conftest$ac_exeext conftest.$ac_ext
28238 fi
28239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28241 if test `eval echo '${'$as_ac_var'}'` = yes; then
28242   cat >>confdefs.h <<_ACEOF
28243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28244 _ACEOF
28245
28246 fi
28247 done
28248
28249   else
28250
28251   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28252 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28253   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28254     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28255   echo $ECHO_N "(cached) $ECHO_C" >&6
28256 else
28257
28258
28259
28260       ac_ext=cc
28261 ac_cpp='$CXXCPP $CPPFLAGS'
28262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28265
28266       cat >conftest.$ac_ext <<_ACEOF
28267 /* confdefs.h.  */
28268 _ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h.  */
28272 #include <math.h>
28273 int
28274 main ()
28275 {
28276  _sincosf(0, 0, 0);
28277   ;
28278   return 0;
28279 }
28280 _ACEOF
28281 rm -f conftest.$ac_objext
28282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28283   (eval $ac_compile) 2>conftest.er1
28284   ac_status=$?
28285   grep -v '^ *+' conftest.er1 >conftest.err
28286   rm -f conftest.er1
28287   cat conftest.err >&5
28288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289   (exit $ac_status); } &&
28290          { ac_try='test -z "$ac_cxx_werror_flag"
28291                          || test ! -s conftest.err'
28292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28293   (eval $ac_try) 2>&5
28294   ac_status=$?
28295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28296   (exit $ac_status); }; } &&
28297          { ac_try='test -s conftest.$ac_objext'
28298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28299   (eval $ac_try) 2>&5
28300   ac_status=$?
28301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302   (exit $ac_status); }; }; then
28303   glibcxx_cv_func__sincosf_use=yes
28304 else
28305   echo "$as_me: failed program was:" >&5
28306 sed 's/^/| /' conftest.$ac_ext >&5
28307
28308 glibcxx_cv_func__sincosf_use=no
28309 fi
28310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28311       ac_ext=c
28312 ac_cpp='$CPP $CPPFLAGS'
28313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28316
28317
28318 fi
28319
28320   fi
28321   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28322 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28323
28324     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28325
28326 for ac_func in _sincosf
28327 do
28328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28329 echo "$as_me:$LINENO: checking for $ac_func" >&5
28330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28331 if eval "test \"\${$as_ac_var+set}\" = set"; then
28332   echo $ECHO_N "(cached) $ECHO_C" >&6
28333 else
28334   if test x$gcc_no_link = xyes; then
28335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28337    { (exit 1); exit 1; }; }
28338 fi
28339 cat >conftest.$ac_ext <<_ACEOF
28340 /* confdefs.h.  */
28341 _ACEOF
28342 cat confdefs.h >>conftest.$ac_ext
28343 cat >>conftest.$ac_ext <<_ACEOF
28344 /* end confdefs.h.  */
28345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28347 #define $ac_func innocuous_$ac_func
28348
28349 /* System header to define __stub macros and hopefully few prototypes,
28350     which can conflict with char $ac_func (); below.
28351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28352     <limits.h> exists even on freestanding compilers.  */
28353
28354 #ifdef __STDC__
28355 # include <limits.h>
28356 #else
28357 # include <assert.h>
28358 #endif
28359
28360 #undef $ac_func
28361
28362 /* Override any gcc2 internal prototype to avoid an error.  */
28363 #ifdef __cplusplus
28364 extern "C"
28365 {
28366 #endif
28367 /* We use char because int might match the return type of a gcc2
28368    builtin and then its argument prototype would still apply.  */
28369 char $ac_func ();
28370 /* The GNU C library defines this for functions which it implements
28371     to always fail with ENOSYS.  Some functions are actually named
28372     something starting with __ and the normal name is an alias.  */
28373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28374 choke me
28375 #else
28376 char (*f) () = $ac_func;
28377 #endif
28378 #ifdef __cplusplus
28379 }
28380 #endif
28381
28382 int
28383 main ()
28384 {
28385 return f != $ac_func;
28386   ;
28387   return 0;
28388 }
28389 _ACEOF
28390 rm -f conftest.$ac_objext conftest$ac_exeext
28391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28392   (eval $ac_link) 2>conftest.er1
28393   ac_status=$?
28394   grep -v '^ *+' conftest.er1 >conftest.err
28395   rm -f conftest.er1
28396   cat conftest.err >&5
28397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398   (exit $ac_status); } &&
28399          { ac_try='test -z "$ac_c_werror_flag"
28400                          || test ! -s conftest.err'
28401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402   (eval $ac_try) 2>&5
28403   ac_status=$?
28404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405   (exit $ac_status); }; } &&
28406          { ac_try='test -s conftest$ac_exeext'
28407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408   (eval $ac_try) 2>&5
28409   ac_status=$?
28410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411   (exit $ac_status); }; }; then
28412   eval "$as_ac_var=yes"
28413 else
28414   echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.$ac_ext >&5
28416
28417 eval "$as_ac_var=no"
28418 fi
28419 rm -f conftest.err conftest.$ac_objext \
28420       conftest$ac_exeext conftest.$ac_ext
28421 fi
28422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28424 if test `eval echo '${'$as_ac_var'}'` = yes; then
28425   cat >>confdefs.h <<_ACEOF
28426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28427 _ACEOF
28428
28429 fi
28430 done
28431
28432     fi
28433   fi
28434
28435
28436
28437
28438
28439
28440   echo "$as_me:$LINENO: checking for finitef declaration" >&5
28441 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28442   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28443     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28444   echo $ECHO_N "(cached) $ECHO_C" >&6
28445 else
28446
28447
28448
28449       ac_ext=cc
28450 ac_cpp='$CXXCPP $CPPFLAGS'
28451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28454
28455       cat >conftest.$ac_ext <<_ACEOF
28456 /* confdefs.h.  */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h.  */
28461 #include <math.h>
28462                       #ifdef HAVE_IEEEFP_H
28463                       #include <ieeefp.h>
28464                       #endif
28465
28466 int
28467 main ()
28468 {
28469  finitef(0);
28470   ;
28471   return 0;
28472 }
28473 _ACEOF
28474 rm -f conftest.$ac_objext
28475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28476   (eval $ac_compile) 2>conftest.er1
28477   ac_status=$?
28478   grep -v '^ *+' conftest.er1 >conftest.err
28479   rm -f conftest.er1
28480   cat conftest.err >&5
28481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482   (exit $ac_status); } &&
28483          { ac_try='test -z "$ac_cxx_werror_flag"
28484                          || test ! -s conftest.err'
28485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28486   (eval $ac_try) 2>&5
28487   ac_status=$?
28488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489   (exit $ac_status); }; } &&
28490          { ac_try='test -s conftest.$ac_objext'
28491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28492   (eval $ac_try) 2>&5
28493   ac_status=$?
28494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495   (exit $ac_status); }; }; then
28496   glibcxx_cv_func_finitef_use=yes
28497 else
28498   echo "$as_me: failed program was:" >&5
28499 sed 's/^/| /' conftest.$ac_ext >&5
28500
28501 glibcxx_cv_func_finitef_use=no
28502 fi
28503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28504       ac_ext=c
28505 ac_cpp='$CPP $CPPFLAGS'
28506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28509
28510
28511 fi
28512
28513   fi
28514   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28515 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28516
28517   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28518
28519 for ac_func in finitef
28520 do
28521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28522 echo "$as_me:$LINENO: checking for $ac_func" >&5
28523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28524 if eval "test \"\${$as_ac_var+set}\" = set"; then
28525   echo $ECHO_N "(cached) $ECHO_C" >&6
28526 else
28527   if test x$gcc_no_link = xyes; then
28528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28530    { (exit 1); exit 1; }; }
28531 fi
28532 cat >conftest.$ac_ext <<_ACEOF
28533 /* confdefs.h.  */
28534 _ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h.  */
28538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28540 #define $ac_func innocuous_$ac_func
28541
28542 /* System header to define __stub macros and hopefully few prototypes,
28543     which can conflict with char $ac_func (); below.
28544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28545     <limits.h> exists even on freestanding compilers.  */
28546
28547 #ifdef __STDC__
28548 # include <limits.h>
28549 #else
28550 # include <assert.h>
28551 #endif
28552
28553 #undef $ac_func
28554
28555 /* Override any gcc2 internal prototype to avoid an error.  */
28556 #ifdef __cplusplus
28557 extern "C"
28558 {
28559 #endif
28560 /* We use char because int might match the return type of a gcc2
28561    builtin and then its argument prototype would still apply.  */
28562 char $ac_func ();
28563 /* The GNU C library defines this for functions which it implements
28564     to always fail with ENOSYS.  Some functions are actually named
28565     something starting with __ and the normal name is an alias.  */
28566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28567 choke me
28568 #else
28569 char (*f) () = $ac_func;
28570 #endif
28571 #ifdef __cplusplus
28572 }
28573 #endif
28574
28575 int
28576 main ()
28577 {
28578 return f != $ac_func;
28579   ;
28580   return 0;
28581 }
28582 _ACEOF
28583 rm -f conftest.$ac_objext conftest$ac_exeext
28584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28585   (eval $ac_link) 2>conftest.er1
28586   ac_status=$?
28587   grep -v '^ *+' conftest.er1 >conftest.err
28588   rm -f conftest.er1
28589   cat conftest.err >&5
28590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591   (exit $ac_status); } &&
28592          { ac_try='test -z "$ac_c_werror_flag"
28593                          || test ! -s conftest.err'
28594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28595   (eval $ac_try) 2>&5
28596   ac_status=$?
28597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598   (exit $ac_status); }; } &&
28599          { ac_try='test -s conftest$ac_exeext'
28600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601   (eval $ac_try) 2>&5
28602   ac_status=$?
28603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604   (exit $ac_status); }; }; then
28605   eval "$as_ac_var=yes"
28606 else
28607   echo "$as_me: failed program was:" >&5
28608 sed 's/^/| /' conftest.$ac_ext >&5
28609
28610 eval "$as_ac_var=no"
28611 fi
28612 rm -f conftest.err conftest.$ac_objext \
28613       conftest$ac_exeext conftest.$ac_ext
28614 fi
28615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28617 if test `eval echo '${'$as_ac_var'}'` = yes; then
28618   cat >>confdefs.h <<_ACEOF
28619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28620 _ACEOF
28621
28622 fi
28623 done
28624
28625   else
28626
28627   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28628 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28629   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28630     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28631   echo $ECHO_N "(cached) $ECHO_C" >&6
28632 else
28633
28634
28635
28636       ac_ext=cc
28637 ac_cpp='$CXXCPP $CPPFLAGS'
28638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28641
28642       cat >conftest.$ac_ext <<_ACEOF
28643 /* confdefs.h.  */
28644 _ACEOF
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h.  */
28648 #include <math.h>
28649                       #ifdef HAVE_IEEEFP_H
28650                       #include <ieeefp.h>
28651                       #endif
28652
28653 int
28654 main ()
28655 {
28656  _finitef(0);
28657   ;
28658   return 0;
28659 }
28660 _ACEOF
28661 rm -f conftest.$ac_objext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28663   (eval $ac_compile) 2>conftest.er1
28664   ac_status=$?
28665   grep -v '^ *+' conftest.er1 >conftest.err
28666   rm -f conftest.er1
28667   cat conftest.err >&5
28668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669   (exit $ac_status); } &&
28670          { ac_try='test -z "$ac_cxx_werror_flag"
28671                          || test ! -s conftest.err'
28672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673   (eval $ac_try) 2>&5
28674   ac_status=$?
28675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676   (exit $ac_status); }; } &&
28677          { ac_try='test -s conftest.$ac_objext'
28678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679   (eval $ac_try) 2>&5
28680   ac_status=$?
28681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682   (exit $ac_status); }; }; then
28683   glibcxx_cv_func__finitef_use=yes
28684 else
28685   echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28687
28688 glibcxx_cv_func__finitef_use=no
28689 fi
28690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28691       ac_ext=c
28692 ac_cpp='$CPP $CPPFLAGS'
28693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28696
28697
28698 fi
28699
28700   fi
28701   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28702 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28703
28704     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28705
28706 for ac_func in _finitef
28707 do
28708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28709 echo "$as_me:$LINENO: checking for $ac_func" >&5
28710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28711 if eval "test \"\${$as_ac_var+set}\" = set"; then
28712   echo $ECHO_N "(cached) $ECHO_C" >&6
28713 else
28714   if test x$gcc_no_link = xyes; then
28715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28717    { (exit 1); exit 1; }; }
28718 fi
28719 cat >conftest.$ac_ext <<_ACEOF
28720 /* confdefs.h.  */
28721 _ACEOF
28722 cat confdefs.h >>conftest.$ac_ext
28723 cat >>conftest.$ac_ext <<_ACEOF
28724 /* end confdefs.h.  */
28725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28727 #define $ac_func innocuous_$ac_func
28728
28729 /* System header to define __stub macros and hopefully few prototypes,
28730     which can conflict with char $ac_func (); below.
28731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28732     <limits.h> exists even on freestanding compilers.  */
28733
28734 #ifdef __STDC__
28735 # include <limits.h>
28736 #else
28737 # include <assert.h>
28738 #endif
28739
28740 #undef $ac_func
28741
28742 /* Override any gcc2 internal prototype to avoid an error.  */
28743 #ifdef __cplusplus
28744 extern "C"
28745 {
28746 #endif
28747 /* We use char because int might match the return type of a gcc2
28748    builtin and then its argument prototype would still apply.  */
28749 char $ac_func ();
28750 /* The GNU C library defines this for functions which it implements
28751     to always fail with ENOSYS.  Some functions are actually named
28752     something starting with __ and the normal name is an alias.  */
28753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28754 choke me
28755 #else
28756 char (*f) () = $ac_func;
28757 #endif
28758 #ifdef __cplusplus
28759 }
28760 #endif
28761
28762 int
28763 main ()
28764 {
28765 return f != $ac_func;
28766   ;
28767   return 0;
28768 }
28769 _ACEOF
28770 rm -f conftest.$ac_objext conftest$ac_exeext
28771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28772   (eval $ac_link) 2>conftest.er1
28773   ac_status=$?
28774   grep -v '^ *+' conftest.er1 >conftest.err
28775   rm -f conftest.er1
28776   cat conftest.err >&5
28777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778   (exit $ac_status); } &&
28779          { ac_try='test -z "$ac_c_werror_flag"
28780                          || test ! -s conftest.err'
28781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782   (eval $ac_try) 2>&5
28783   ac_status=$?
28784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785   (exit $ac_status); }; } &&
28786          { ac_try='test -s conftest$ac_exeext'
28787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28788   (eval $ac_try) 2>&5
28789   ac_status=$?
28790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791   (exit $ac_status); }; }; then
28792   eval "$as_ac_var=yes"
28793 else
28794   echo "$as_me: failed program was:" >&5
28795 sed 's/^/| /' conftest.$ac_ext >&5
28796
28797 eval "$as_ac_var=no"
28798 fi
28799 rm -f conftest.err conftest.$ac_objext \
28800       conftest$ac_exeext conftest.$ac_ext
28801 fi
28802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28804 if test `eval echo '${'$as_ac_var'}'` = yes; then
28805   cat >>confdefs.h <<_ACEOF
28806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28807 _ACEOF
28808
28809 fi
28810 done
28811
28812     fi
28813   fi
28814
28815
28816
28817
28818
28819
28820     echo "$as_me:$LINENO: checking for long double trig functions" >&5
28821 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28822   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28823   echo $ECHO_N "(cached) $ECHO_C" >&6
28824 else
28825
28826
28827
28828     ac_ext=cc
28829 ac_cpp='$CXXCPP $CPPFLAGS'
28830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28833
28834     cat >conftest.$ac_ext <<_ACEOF
28835 /* confdefs.h.  */
28836 _ACEOF
28837 cat confdefs.h >>conftest.$ac_ext
28838 cat >>conftest.$ac_ext <<_ACEOF
28839 /* end confdefs.h.  */
28840 #include <math.h>
28841 int
28842 main ()
28843 {
28844 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28845   ;
28846   return 0;
28847 }
28848 _ACEOF
28849 rm -f conftest.$ac_objext
28850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28851   (eval $ac_compile) 2>conftest.er1
28852   ac_status=$?
28853   grep -v '^ *+' conftest.er1 >conftest.err
28854   rm -f conftest.er1
28855   cat conftest.err >&5
28856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857   (exit $ac_status); } &&
28858          { ac_try='test -z "$ac_cxx_werror_flag"
28859                          || test ! -s conftest.err'
28860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28861   (eval $ac_try) 2>&5
28862   ac_status=$?
28863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864   (exit $ac_status); }; } &&
28865          { ac_try='test -s conftest.$ac_objext'
28866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867   (eval $ac_try) 2>&5
28868   ac_status=$?
28869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870   (exit $ac_status); }; }; then
28871   glibcxx_cv_func_long_double_trig_use=yes
28872 else
28873   echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.$ac_ext >&5
28875
28876 glibcxx_cv_func_long_double_trig_use=no
28877 fi
28878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28879     ac_ext=c
28880 ac_cpp='$CPP $CPPFLAGS'
28881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28884
28885 fi
28886
28887   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28888 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28889   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28900 do
28901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28902 echo "$as_me:$LINENO: checking for $ac_func" >&5
28903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28904 if eval "test \"\${$as_ac_var+set}\" = set"; then
28905   echo $ECHO_N "(cached) $ECHO_C" >&6
28906 else
28907   if test x$gcc_no_link = xyes; then
28908   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28910    { (exit 1); exit 1; }; }
28911 fi
28912 cat >conftest.$ac_ext <<_ACEOF
28913 /* confdefs.h.  */
28914 _ACEOF
28915 cat confdefs.h >>conftest.$ac_ext
28916 cat >>conftest.$ac_ext <<_ACEOF
28917 /* end confdefs.h.  */
28918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28920 #define $ac_func innocuous_$ac_func
28921
28922 /* System header to define __stub macros and hopefully few prototypes,
28923     which can conflict with char $ac_func (); below.
28924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28925     <limits.h> exists even on freestanding compilers.  */
28926
28927 #ifdef __STDC__
28928 # include <limits.h>
28929 #else
28930 # include <assert.h>
28931 #endif
28932
28933 #undef $ac_func
28934
28935 /* Override any gcc2 internal prototype to avoid an error.  */
28936 #ifdef __cplusplus
28937 extern "C"
28938 {
28939 #endif
28940 /* We use char because int might match the return type of a gcc2
28941    builtin and then its argument prototype would still apply.  */
28942 char $ac_func ();
28943 /* The GNU C library defines this for functions which it implements
28944     to always fail with ENOSYS.  Some functions are actually named
28945     something starting with __ and the normal name is an alias.  */
28946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28947 choke me
28948 #else
28949 char (*f) () = $ac_func;
28950 #endif
28951 #ifdef __cplusplus
28952 }
28953 #endif
28954
28955 int
28956 main ()
28957 {
28958 return f != $ac_func;
28959   ;
28960   return 0;
28961 }
28962 _ACEOF
28963 rm -f conftest.$ac_objext conftest$ac_exeext
28964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28965   (eval $ac_link) 2>conftest.er1
28966   ac_status=$?
28967   grep -v '^ *+' conftest.er1 >conftest.err
28968   rm -f conftest.er1
28969   cat conftest.err >&5
28970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971   (exit $ac_status); } &&
28972          { ac_try='test -z "$ac_c_werror_flag"
28973                          || test ! -s conftest.err'
28974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975   (eval $ac_try) 2>&5
28976   ac_status=$?
28977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978   (exit $ac_status); }; } &&
28979          { ac_try='test -s conftest$ac_exeext'
28980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981   (eval $ac_try) 2>&5
28982   ac_status=$?
28983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984   (exit $ac_status); }; }; then
28985   eval "$as_ac_var=yes"
28986 else
28987   echo "$as_me: failed program was:" >&5
28988 sed 's/^/| /' conftest.$ac_ext >&5
28989
28990 eval "$as_ac_var=no"
28991 fi
28992 rm -f conftest.err conftest.$ac_objext \
28993       conftest$ac_exeext conftest.$ac_ext
28994 fi
28995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28997 if test `eval echo '${'$as_ac_var'}'` = yes; then
28998   cat >>confdefs.h <<_ACEOF
28999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29000 _ACEOF
29001
29002 fi
29003 done
29004
29005   else
29006     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29007 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29008     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29009   echo $ECHO_N "(cached) $ECHO_C" >&6
29010 else
29011
29012
29013
29014       ac_ext=cc
29015 ac_cpp='$CXXCPP $CPPFLAGS'
29016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29019
29020       cat >conftest.$ac_ext <<_ACEOF
29021 /* confdefs.h.  */
29022 _ACEOF
29023 cat confdefs.h >>conftest.$ac_ext
29024 cat >>conftest.$ac_ext <<_ACEOF
29025 /* end confdefs.h.  */
29026 #include <math.h>
29027 int
29028 main ()
29029 {
29030 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29031   ;
29032   return 0;
29033 }
29034 _ACEOF
29035 rm -f conftest.$ac_objext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29037   (eval $ac_compile) 2>conftest.er1
29038   ac_status=$?
29039   grep -v '^ *+' conftest.er1 >conftest.err
29040   rm -f conftest.er1
29041   cat conftest.err >&5
29042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043   (exit $ac_status); } &&
29044          { ac_try='test -z "$ac_cxx_werror_flag"
29045                          || test ! -s conftest.err'
29046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047   (eval $ac_try) 2>&5
29048   ac_status=$?
29049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050   (exit $ac_status); }; } &&
29051          { ac_try='test -s conftest.$ac_objext'
29052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053   (eval $ac_try) 2>&5
29054   ac_status=$?
29055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056   (exit $ac_status); }; }; then
29057   glibcxx_cv_func__long_double_trig_use=yes
29058 else
29059   echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29061
29062 glibcxx_cv_func__long_double_trig_use=no
29063 fi
29064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29065       ac_ext=c
29066 ac_cpp='$CPP $CPPFLAGS'
29067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29070
29071 fi
29072
29073     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29074 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29075     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29086 do
29087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29088 echo "$as_me:$LINENO: checking for $ac_func" >&5
29089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29090 if eval "test \"\${$as_ac_var+set}\" = set"; then
29091   echo $ECHO_N "(cached) $ECHO_C" >&6
29092 else
29093   if test x$gcc_no_link = xyes; then
29094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29096    { (exit 1); exit 1; }; }
29097 fi
29098 cat >conftest.$ac_ext <<_ACEOF
29099 /* confdefs.h.  */
29100 _ACEOF
29101 cat confdefs.h >>conftest.$ac_ext
29102 cat >>conftest.$ac_ext <<_ACEOF
29103 /* end confdefs.h.  */
29104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29106 #define $ac_func innocuous_$ac_func
29107
29108 /* System header to define __stub macros and hopefully few prototypes,
29109     which can conflict with char $ac_func (); below.
29110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29111     <limits.h> exists even on freestanding compilers.  */
29112
29113 #ifdef __STDC__
29114 # include <limits.h>
29115 #else
29116 # include <assert.h>
29117 #endif
29118
29119 #undef $ac_func
29120
29121 /* Override any gcc2 internal prototype to avoid an error.  */
29122 #ifdef __cplusplus
29123 extern "C"
29124 {
29125 #endif
29126 /* We use char because int might match the return type of a gcc2
29127    builtin and then its argument prototype would still apply.  */
29128 char $ac_func ();
29129 /* The GNU C library defines this for functions which it implements
29130     to always fail with ENOSYS.  Some functions are actually named
29131     something starting with __ and the normal name is an alias.  */
29132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29133 choke me
29134 #else
29135 char (*f) () = $ac_func;
29136 #endif
29137 #ifdef __cplusplus
29138 }
29139 #endif
29140
29141 int
29142 main ()
29143 {
29144 return f != $ac_func;
29145   ;
29146   return 0;
29147 }
29148 _ACEOF
29149 rm -f conftest.$ac_objext conftest$ac_exeext
29150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29151   (eval $ac_link) 2>conftest.er1
29152   ac_status=$?
29153   grep -v '^ *+' conftest.er1 >conftest.err
29154   rm -f conftest.er1
29155   cat conftest.err >&5
29156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157   (exit $ac_status); } &&
29158          { ac_try='test -z "$ac_c_werror_flag"
29159                          || test ! -s conftest.err'
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); }; } &&
29165          { ac_try='test -s conftest$ac_exeext'
29166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167   (eval $ac_try) 2>&5
29168   ac_status=$?
29169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170   (exit $ac_status); }; }; then
29171   eval "$as_ac_var=yes"
29172 else
29173   echo "$as_me: failed program was:" >&5
29174 sed 's/^/| /' conftest.$ac_ext >&5
29175
29176 eval "$as_ac_var=no"
29177 fi
29178 rm -f conftest.err conftest.$ac_objext \
29179       conftest$ac_exeext conftest.$ac_ext
29180 fi
29181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29183 if test `eval echo '${'$as_ac_var'}'` = yes; then
29184   cat >>confdefs.h <<_ACEOF
29185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29186 _ACEOF
29187
29188 fi
29189 done
29190
29191     fi
29192   fi
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207     echo "$as_me:$LINENO: checking for long double round functions" >&5
29208 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29209   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29210   echo $ECHO_N "(cached) $ECHO_C" >&6
29211 else
29212
29213
29214
29215     ac_ext=cc
29216 ac_cpp='$CXXCPP $CPPFLAGS'
29217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29220
29221     cat >conftest.$ac_ext <<_ACEOF
29222 /* confdefs.h.  */
29223 _ACEOF
29224 cat confdefs.h >>conftest.$ac_ext
29225 cat >>conftest.$ac_ext <<_ACEOF
29226 /* end confdefs.h.  */
29227 #include <math.h>
29228 int
29229 main ()
29230 {
29231 ceill (0); floorl (0);
29232   ;
29233   return 0;
29234 }
29235 _ACEOF
29236 rm -f conftest.$ac_objext
29237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29238   (eval $ac_compile) 2>conftest.er1
29239   ac_status=$?
29240   grep -v '^ *+' conftest.er1 >conftest.err
29241   rm -f conftest.er1
29242   cat conftest.err >&5
29243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244   (exit $ac_status); } &&
29245          { ac_try='test -z "$ac_cxx_werror_flag"
29246                          || test ! -s conftest.err'
29247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248   (eval $ac_try) 2>&5
29249   ac_status=$?
29250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251   (exit $ac_status); }; } &&
29252          { ac_try='test -s conftest.$ac_objext'
29253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29254   (eval $ac_try) 2>&5
29255   ac_status=$?
29256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257   (exit $ac_status); }; }; then
29258   glibcxx_cv_func_long_double_round_use=yes
29259 else
29260   echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.$ac_ext >&5
29262
29263 glibcxx_cv_func_long_double_round_use=no
29264 fi
29265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29266     ac_ext=c
29267 ac_cpp='$CPP $CPPFLAGS'
29268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29271
29272 fi
29273
29274   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29275 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29276   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29277
29278
29279 for ac_func in ceill floorl
29280 do
29281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29282 echo "$as_me:$LINENO: checking for $ac_func" >&5
29283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29284 if eval "test \"\${$as_ac_var+set}\" = set"; then
29285   echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287   if test x$gcc_no_link = xyes; then
29288   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29290    { (exit 1); exit 1; }; }
29291 fi
29292 cat >conftest.$ac_ext <<_ACEOF
29293 /* confdefs.h.  */
29294 _ACEOF
29295 cat confdefs.h >>conftest.$ac_ext
29296 cat >>conftest.$ac_ext <<_ACEOF
29297 /* end confdefs.h.  */
29298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29300 #define $ac_func innocuous_$ac_func
29301
29302 /* System header to define __stub macros and hopefully few prototypes,
29303     which can conflict with char $ac_func (); below.
29304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29305     <limits.h> exists even on freestanding compilers.  */
29306
29307 #ifdef __STDC__
29308 # include <limits.h>
29309 #else
29310 # include <assert.h>
29311 #endif
29312
29313 #undef $ac_func
29314
29315 /* Override any gcc2 internal prototype to avoid an error.  */
29316 #ifdef __cplusplus
29317 extern "C"
29318 {
29319 #endif
29320 /* We use char because int might match the return type of a gcc2
29321    builtin and then its argument prototype would still apply.  */
29322 char $ac_func ();
29323 /* The GNU C library defines this for functions which it implements
29324     to always fail with ENOSYS.  Some functions are actually named
29325     something starting with __ and the normal name is an alias.  */
29326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29327 choke me
29328 #else
29329 char (*f) () = $ac_func;
29330 #endif
29331 #ifdef __cplusplus
29332 }
29333 #endif
29334
29335 int
29336 main ()
29337 {
29338 return f != $ac_func;
29339   ;
29340   return 0;
29341 }
29342 _ACEOF
29343 rm -f conftest.$ac_objext conftest$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345   (eval $ac_link) 2>conftest.er1
29346   ac_status=$?
29347   grep -v '^ *+' conftest.er1 >conftest.err
29348   rm -f conftest.er1
29349   cat conftest.err >&5
29350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351   (exit $ac_status); } &&
29352          { ac_try='test -z "$ac_c_werror_flag"
29353                          || test ! -s conftest.err'
29354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29355   (eval $ac_try) 2>&5
29356   ac_status=$?
29357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358   (exit $ac_status); }; } &&
29359          { ac_try='test -s conftest$ac_exeext'
29360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361   (eval $ac_try) 2>&5
29362   ac_status=$?
29363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364   (exit $ac_status); }; }; then
29365   eval "$as_ac_var=yes"
29366 else
29367   echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29369
29370 eval "$as_ac_var=no"
29371 fi
29372 rm -f conftest.err conftest.$ac_objext \
29373       conftest$ac_exeext conftest.$ac_ext
29374 fi
29375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29377 if test `eval echo '${'$as_ac_var'}'` = yes; then
29378   cat >>confdefs.h <<_ACEOF
29379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29380 _ACEOF
29381
29382 fi
29383 done
29384
29385   else
29386     echo "$as_me:$LINENO: checking for _long double round functions" >&5
29387 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29388     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29389   echo $ECHO_N "(cached) $ECHO_C" >&6
29390 else
29391
29392
29393
29394       ac_ext=cc
29395 ac_cpp='$CXXCPP $CPPFLAGS'
29396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29399
29400       cat >conftest.$ac_ext <<_ACEOF
29401 /* confdefs.h.  */
29402 _ACEOF
29403 cat confdefs.h >>conftest.$ac_ext
29404 cat >>conftest.$ac_ext <<_ACEOF
29405 /* end confdefs.h.  */
29406 #include <math.h>
29407 int
29408 main ()
29409 {
29410 _ceill (0); _floorl (0);
29411   ;
29412   return 0;
29413 }
29414 _ACEOF
29415 rm -f conftest.$ac_objext
29416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29417   (eval $ac_compile) 2>conftest.er1
29418   ac_status=$?
29419   grep -v '^ *+' conftest.er1 >conftest.err
29420   rm -f conftest.er1
29421   cat conftest.err >&5
29422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423   (exit $ac_status); } &&
29424          { ac_try='test -z "$ac_cxx_werror_flag"
29425                          || test ! -s conftest.err'
29426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29427   (eval $ac_try) 2>&5
29428   ac_status=$?
29429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29430   (exit $ac_status); }; } &&
29431          { ac_try='test -s conftest.$ac_objext'
29432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29433   (eval $ac_try) 2>&5
29434   ac_status=$?
29435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29436   (exit $ac_status); }; }; then
29437   glibcxx_cv_func__long_double_round_use=yes
29438 else
29439   echo "$as_me: failed program was:" >&5
29440 sed 's/^/| /' conftest.$ac_ext >&5
29441
29442 glibcxx_cv_func__long_double_round_use=no
29443 fi
29444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29445       ac_ext=c
29446 ac_cpp='$CPP $CPPFLAGS'
29447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29450
29451 fi
29452
29453     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29454 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29455     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29456
29457
29458 for ac_func in _ceill _floorl
29459 do
29460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29461 echo "$as_me:$LINENO: checking for $ac_func" >&5
29462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29463 if eval "test \"\${$as_ac_var+set}\" = set"; then
29464   echo $ECHO_N "(cached) $ECHO_C" >&6
29465 else
29466   if test x$gcc_no_link = xyes; then
29467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29469    { (exit 1); exit 1; }; }
29470 fi
29471 cat >conftest.$ac_ext <<_ACEOF
29472 /* confdefs.h.  */
29473 _ACEOF
29474 cat confdefs.h >>conftest.$ac_ext
29475 cat >>conftest.$ac_ext <<_ACEOF
29476 /* end confdefs.h.  */
29477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29479 #define $ac_func innocuous_$ac_func
29480
29481 /* System header to define __stub macros and hopefully few prototypes,
29482     which can conflict with char $ac_func (); below.
29483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29484     <limits.h> exists even on freestanding compilers.  */
29485
29486 #ifdef __STDC__
29487 # include <limits.h>
29488 #else
29489 # include <assert.h>
29490 #endif
29491
29492 #undef $ac_func
29493
29494 /* Override any gcc2 internal prototype to avoid an error.  */
29495 #ifdef __cplusplus
29496 extern "C"
29497 {
29498 #endif
29499 /* We use char because int might match the return type of a gcc2
29500    builtin and then its argument prototype would still apply.  */
29501 char $ac_func ();
29502 /* The GNU C library defines this for functions which it implements
29503     to always fail with ENOSYS.  Some functions are actually named
29504     something starting with __ and the normal name is an alias.  */
29505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29506 choke me
29507 #else
29508 char (*f) () = $ac_func;
29509 #endif
29510 #ifdef __cplusplus
29511 }
29512 #endif
29513
29514 int
29515 main ()
29516 {
29517 return f != $ac_func;
29518   ;
29519   return 0;
29520 }
29521 _ACEOF
29522 rm -f conftest.$ac_objext conftest$ac_exeext
29523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29524   (eval $ac_link) 2>conftest.er1
29525   ac_status=$?
29526   grep -v '^ *+' conftest.er1 >conftest.err
29527   rm -f conftest.er1
29528   cat conftest.err >&5
29529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530   (exit $ac_status); } &&
29531          { ac_try='test -z "$ac_c_werror_flag"
29532                          || test ! -s conftest.err'
29533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29534   (eval $ac_try) 2>&5
29535   ac_status=$?
29536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537   (exit $ac_status); }; } &&
29538          { ac_try='test -s conftest$ac_exeext'
29539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29540   (eval $ac_try) 2>&5
29541   ac_status=$?
29542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543   (exit $ac_status); }; }; then
29544   eval "$as_ac_var=yes"
29545 else
29546   echo "$as_me: failed program was:" >&5
29547 sed 's/^/| /' conftest.$ac_ext >&5
29548
29549 eval "$as_ac_var=no"
29550 fi
29551 rm -f conftest.err conftest.$ac_objext \
29552       conftest$ac_exeext conftest.$ac_ext
29553 fi
29554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29556 if test `eval echo '${'$as_ac_var'}'` = yes; then
29557   cat >>confdefs.h <<_ACEOF
29558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29559 _ACEOF
29560
29561 fi
29562 done
29563
29564     fi
29565   fi
29566
29567
29568
29569
29570
29571
29572
29573
29574   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29575 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29576   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29577     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29578   echo $ECHO_N "(cached) $ECHO_C" >&6
29579 else
29580
29581
29582
29583       ac_ext=cc
29584 ac_cpp='$CXXCPP $CPPFLAGS'
29585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29588
29589       cat >conftest.$ac_ext <<_ACEOF
29590 /* confdefs.h.  */
29591 _ACEOF
29592 cat confdefs.h >>conftest.$ac_ext
29593 cat >>conftest.$ac_ext <<_ACEOF
29594 /* end confdefs.h.  */
29595 #include <math.h>
29596                       #ifdef HAVE_IEEEFP_H
29597                       #include <ieeefp.h>
29598                       #endif
29599
29600 int
29601 main ()
29602 {
29603  isnanl(0);
29604   ;
29605   return 0;
29606 }
29607 _ACEOF
29608 rm -f conftest.$ac_objext
29609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29610   (eval $ac_compile) 2>conftest.er1
29611   ac_status=$?
29612   grep -v '^ *+' conftest.er1 >conftest.err
29613   rm -f conftest.er1
29614   cat conftest.err >&5
29615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616   (exit $ac_status); } &&
29617          { ac_try='test -z "$ac_cxx_werror_flag"
29618                          || test ! -s conftest.err'
29619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29620   (eval $ac_try) 2>&5
29621   ac_status=$?
29622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623   (exit $ac_status); }; } &&
29624          { ac_try='test -s conftest.$ac_objext'
29625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29626   (eval $ac_try) 2>&5
29627   ac_status=$?
29628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629   (exit $ac_status); }; }; then
29630   glibcxx_cv_func_isnanl_use=yes
29631 else
29632   echo "$as_me: failed program was:" >&5
29633 sed 's/^/| /' conftest.$ac_ext >&5
29634
29635 glibcxx_cv_func_isnanl_use=no
29636 fi
29637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29638       ac_ext=c
29639 ac_cpp='$CPP $CPPFLAGS'
29640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29643
29644
29645 fi
29646
29647   fi
29648   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29649 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29650
29651   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29652
29653 for ac_func in isnanl
29654 do
29655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29656 echo "$as_me:$LINENO: checking for $ac_func" >&5
29657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29658 if eval "test \"\${$as_ac_var+set}\" = set"; then
29659   echo $ECHO_N "(cached) $ECHO_C" >&6
29660 else
29661   if test x$gcc_no_link = xyes; then
29662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29664    { (exit 1); exit 1; }; }
29665 fi
29666 cat >conftest.$ac_ext <<_ACEOF
29667 /* confdefs.h.  */
29668 _ACEOF
29669 cat confdefs.h >>conftest.$ac_ext
29670 cat >>conftest.$ac_ext <<_ACEOF
29671 /* end confdefs.h.  */
29672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29674 #define $ac_func innocuous_$ac_func
29675
29676 /* System header to define __stub macros and hopefully few prototypes,
29677     which can conflict with char $ac_func (); below.
29678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29679     <limits.h> exists even on freestanding compilers.  */
29680
29681 #ifdef __STDC__
29682 # include <limits.h>
29683 #else
29684 # include <assert.h>
29685 #endif
29686
29687 #undef $ac_func
29688
29689 /* Override any gcc2 internal prototype to avoid an error.  */
29690 #ifdef __cplusplus
29691 extern "C"
29692 {
29693 #endif
29694 /* We use char because int might match the return type of a gcc2
29695    builtin and then its argument prototype would still apply.  */
29696 char $ac_func ();
29697 /* The GNU C library defines this for functions which it implements
29698     to always fail with ENOSYS.  Some functions are actually named
29699     something starting with __ and the normal name is an alias.  */
29700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29701 choke me
29702 #else
29703 char (*f) () = $ac_func;
29704 #endif
29705 #ifdef __cplusplus
29706 }
29707 #endif
29708
29709 int
29710 main ()
29711 {
29712 return f != $ac_func;
29713   ;
29714   return 0;
29715 }
29716 _ACEOF
29717 rm -f conftest.$ac_objext conftest$ac_exeext
29718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29719   (eval $ac_link) 2>conftest.er1
29720   ac_status=$?
29721   grep -v '^ *+' conftest.er1 >conftest.err
29722   rm -f conftest.er1
29723   cat conftest.err >&5
29724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725   (exit $ac_status); } &&
29726          { ac_try='test -z "$ac_c_werror_flag"
29727                          || test ! -s conftest.err'
29728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29729   (eval $ac_try) 2>&5
29730   ac_status=$?
29731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732   (exit $ac_status); }; } &&
29733          { ac_try='test -s conftest$ac_exeext'
29734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735   (eval $ac_try) 2>&5
29736   ac_status=$?
29737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738   (exit $ac_status); }; }; then
29739   eval "$as_ac_var=yes"
29740 else
29741   echo "$as_me: failed program was:" >&5
29742 sed 's/^/| /' conftest.$ac_ext >&5
29743
29744 eval "$as_ac_var=no"
29745 fi
29746 rm -f conftest.err conftest.$ac_objext \
29747       conftest$ac_exeext conftest.$ac_ext
29748 fi
29749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29751 if test `eval echo '${'$as_ac_var'}'` = yes; then
29752   cat >>confdefs.h <<_ACEOF
29753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29754 _ACEOF
29755
29756 fi
29757 done
29758
29759   else
29760
29761   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29762 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29763   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29764     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29765   echo $ECHO_N "(cached) $ECHO_C" >&6
29766 else
29767
29768
29769
29770       ac_ext=cc
29771 ac_cpp='$CXXCPP $CPPFLAGS'
29772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29775
29776       cat >conftest.$ac_ext <<_ACEOF
29777 /* confdefs.h.  */
29778 _ACEOF
29779 cat confdefs.h >>conftest.$ac_ext
29780 cat >>conftest.$ac_ext <<_ACEOF
29781 /* end confdefs.h.  */
29782 #include <math.h>
29783                       #ifdef HAVE_IEEEFP_H
29784                       #include <ieeefp.h>
29785                       #endif
29786
29787 int
29788 main ()
29789 {
29790  _isnanl(0);
29791   ;
29792   return 0;
29793 }
29794 _ACEOF
29795 rm -f conftest.$ac_objext
29796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29797   (eval $ac_compile) 2>conftest.er1
29798   ac_status=$?
29799   grep -v '^ *+' conftest.er1 >conftest.err
29800   rm -f conftest.er1
29801   cat conftest.err >&5
29802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803   (exit $ac_status); } &&
29804          { ac_try='test -z "$ac_cxx_werror_flag"
29805                          || test ! -s conftest.err'
29806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807   (eval $ac_try) 2>&5
29808   ac_status=$?
29809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810   (exit $ac_status); }; } &&
29811          { ac_try='test -s conftest.$ac_objext'
29812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29813   (eval $ac_try) 2>&5
29814   ac_status=$?
29815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816   (exit $ac_status); }; }; then
29817   glibcxx_cv_func__isnanl_use=yes
29818 else
29819   echo "$as_me: failed program was:" >&5
29820 sed 's/^/| /' conftest.$ac_ext >&5
29821
29822 glibcxx_cv_func__isnanl_use=no
29823 fi
29824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29825       ac_ext=c
29826 ac_cpp='$CPP $CPPFLAGS'
29827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29830
29831
29832 fi
29833
29834   fi
29835   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29836 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29837
29838     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29839
29840 for ac_func in _isnanl
29841 do
29842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29843 echo "$as_me:$LINENO: checking for $ac_func" >&5
29844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29845 if eval "test \"\${$as_ac_var+set}\" = set"; then
29846   echo $ECHO_N "(cached) $ECHO_C" >&6
29847 else
29848   if test x$gcc_no_link = xyes; then
29849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29851    { (exit 1); exit 1; }; }
29852 fi
29853 cat >conftest.$ac_ext <<_ACEOF
29854 /* confdefs.h.  */
29855 _ACEOF
29856 cat confdefs.h >>conftest.$ac_ext
29857 cat >>conftest.$ac_ext <<_ACEOF
29858 /* end confdefs.h.  */
29859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29861 #define $ac_func innocuous_$ac_func
29862
29863 /* System header to define __stub macros and hopefully few prototypes,
29864     which can conflict with char $ac_func (); below.
29865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29866     <limits.h> exists even on freestanding compilers.  */
29867
29868 #ifdef __STDC__
29869 # include <limits.h>
29870 #else
29871 # include <assert.h>
29872 #endif
29873
29874 #undef $ac_func
29875
29876 /* Override any gcc2 internal prototype to avoid an error.  */
29877 #ifdef __cplusplus
29878 extern "C"
29879 {
29880 #endif
29881 /* We use char because int might match the return type of a gcc2
29882    builtin and then its argument prototype would still apply.  */
29883 char $ac_func ();
29884 /* The GNU C library defines this for functions which it implements
29885     to always fail with ENOSYS.  Some functions are actually named
29886     something starting with __ and the normal name is an alias.  */
29887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29888 choke me
29889 #else
29890 char (*f) () = $ac_func;
29891 #endif
29892 #ifdef __cplusplus
29893 }
29894 #endif
29895
29896 int
29897 main ()
29898 {
29899 return f != $ac_func;
29900   ;
29901   return 0;
29902 }
29903 _ACEOF
29904 rm -f conftest.$ac_objext conftest$ac_exeext
29905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29906   (eval $ac_link) 2>conftest.er1
29907   ac_status=$?
29908   grep -v '^ *+' conftest.er1 >conftest.err
29909   rm -f conftest.er1
29910   cat conftest.err >&5
29911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912   (exit $ac_status); } &&
29913          { ac_try='test -z "$ac_c_werror_flag"
29914                          || test ! -s conftest.err'
29915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29916   (eval $ac_try) 2>&5
29917   ac_status=$?
29918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919   (exit $ac_status); }; } &&
29920          { ac_try='test -s conftest$ac_exeext'
29921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29922   (eval $ac_try) 2>&5
29923   ac_status=$?
29924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925   (exit $ac_status); }; }; then
29926   eval "$as_ac_var=yes"
29927 else
29928   echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.$ac_ext >&5
29930
29931 eval "$as_ac_var=no"
29932 fi
29933 rm -f conftest.err conftest.$ac_objext \
29934       conftest$ac_exeext conftest.$ac_ext
29935 fi
29936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29938 if test `eval echo '${'$as_ac_var'}'` = yes; then
29939   cat >>confdefs.h <<_ACEOF
29940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29941 _ACEOF
29942
29943 fi
29944 done
29945
29946     fi
29947   fi
29948
29949
29950
29951
29952
29953
29954   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29955 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29956   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29957     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29958   echo $ECHO_N "(cached) $ECHO_C" >&6
29959 else
29960
29961
29962
29963       ac_ext=cc
29964 ac_cpp='$CXXCPP $CPPFLAGS'
29965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29968
29969       cat >conftest.$ac_ext <<_ACEOF
29970 /* confdefs.h.  */
29971 _ACEOF
29972 cat confdefs.h >>conftest.$ac_ext
29973 cat >>conftest.$ac_ext <<_ACEOF
29974 /* end confdefs.h.  */
29975 #include <math.h>
29976                       #ifdef HAVE_IEEEFP_H
29977                       #include <ieeefp.h>
29978                       #endif
29979
29980 int
29981 main ()
29982 {
29983  isinfl(0);
29984   ;
29985   return 0;
29986 }
29987 _ACEOF
29988 rm -f conftest.$ac_objext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29990   (eval $ac_compile) 2>conftest.er1
29991   ac_status=$?
29992   grep -v '^ *+' conftest.er1 >conftest.err
29993   rm -f conftest.er1
29994   cat conftest.err >&5
29995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996   (exit $ac_status); } &&
29997          { ac_try='test -z "$ac_cxx_werror_flag"
29998                          || test ! -s conftest.err'
29999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000   (eval $ac_try) 2>&5
30001   ac_status=$?
30002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003   (exit $ac_status); }; } &&
30004          { ac_try='test -s conftest.$ac_objext'
30005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006   (eval $ac_try) 2>&5
30007   ac_status=$?
30008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009   (exit $ac_status); }; }; then
30010   glibcxx_cv_func_isinfl_use=yes
30011 else
30012   echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.$ac_ext >&5
30014
30015 glibcxx_cv_func_isinfl_use=no
30016 fi
30017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30018       ac_ext=c
30019 ac_cpp='$CPP $CPPFLAGS'
30020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30023
30024
30025 fi
30026
30027   fi
30028   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30029 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30030
30031   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30032
30033 for ac_func in isinfl
30034 do
30035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30036 echo "$as_me:$LINENO: checking for $ac_func" >&5
30037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30038 if eval "test \"\${$as_ac_var+set}\" = set"; then
30039   echo $ECHO_N "(cached) $ECHO_C" >&6
30040 else
30041   if test x$gcc_no_link = xyes; then
30042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30044    { (exit 1); exit 1; }; }
30045 fi
30046 cat >conftest.$ac_ext <<_ACEOF
30047 /* confdefs.h.  */
30048 _ACEOF
30049 cat confdefs.h >>conftest.$ac_ext
30050 cat >>conftest.$ac_ext <<_ACEOF
30051 /* end confdefs.h.  */
30052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30054 #define $ac_func innocuous_$ac_func
30055
30056 /* System header to define __stub macros and hopefully few prototypes,
30057     which can conflict with char $ac_func (); below.
30058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30059     <limits.h> exists even on freestanding compilers.  */
30060
30061 #ifdef __STDC__
30062 # include <limits.h>
30063 #else
30064 # include <assert.h>
30065 #endif
30066
30067 #undef $ac_func
30068
30069 /* Override any gcc2 internal prototype to avoid an error.  */
30070 #ifdef __cplusplus
30071 extern "C"
30072 {
30073 #endif
30074 /* We use char because int might match the return type of a gcc2
30075    builtin and then its argument prototype would still apply.  */
30076 char $ac_func ();
30077 /* The GNU C library defines this for functions which it implements
30078     to always fail with ENOSYS.  Some functions are actually named
30079     something starting with __ and the normal name is an alias.  */
30080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30081 choke me
30082 #else
30083 char (*f) () = $ac_func;
30084 #endif
30085 #ifdef __cplusplus
30086 }
30087 #endif
30088
30089 int
30090 main ()
30091 {
30092 return f != $ac_func;
30093   ;
30094   return 0;
30095 }
30096 _ACEOF
30097 rm -f conftest.$ac_objext conftest$ac_exeext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30099   (eval $ac_link) 2>conftest.er1
30100   ac_status=$?
30101   grep -v '^ *+' conftest.er1 >conftest.err
30102   rm -f conftest.er1
30103   cat conftest.err >&5
30104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105   (exit $ac_status); } &&
30106          { ac_try='test -z "$ac_c_werror_flag"
30107                          || test ! -s conftest.err'
30108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109   (eval $ac_try) 2>&5
30110   ac_status=$?
30111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112   (exit $ac_status); }; } &&
30113          { ac_try='test -s conftest$ac_exeext'
30114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115   (eval $ac_try) 2>&5
30116   ac_status=$?
30117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118   (exit $ac_status); }; }; then
30119   eval "$as_ac_var=yes"
30120 else
30121   echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30123
30124 eval "$as_ac_var=no"
30125 fi
30126 rm -f conftest.err conftest.$ac_objext \
30127       conftest$ac_exeext conftest.$ac_ext
30128 fi
30129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30131 if test `eval echo '${'$as_ac_var'}'` = yes; then
30132   cat >>confdefs.h <<_ACEOF
30133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30134 _ACEOF
30135
30136 fi
30137 done
30138
30139   else
30140
30141   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30142 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30143   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30144     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30145   echo $ECHO_N "(cached) $ECHO_C" >&6
30146 else
30147
30148
30149
30150       ac_ext=cc
30151 ac_cpp='$CXXCPP $CPPFLAGS'
30152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30155
30156       cat >conftest.$ac_ext <<_ACEOF
30157 /* confdefs.h.  */
30158 _ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h.  */
30162 #include <math.h>
30163                       #ifdef HAVE_IEEEFP_H
30164                       #include <ieeefp.h>
30165                       #endif
30166
30167 int
30168 main ()
30169 {
30170  _isinfl(0);
30171   ;
30172   return 0;
30173 }
30174 _ACEOF
30175 rm -f conftest.$ac_objext
30176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30177   (eval $ac_compile) 2>conftest.er1
30178   ac_status=$?
30179   grep -v '^ *+' conftest.er1 >conftest.err
30180   rm -f conftest.er1
30181   cat conftest.err >&5
30182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183   (exit $ac_status); } &&
30184          { ac_try='test -z "$ac_cxx_werror_flag"
30185                          || test ! -s conftest.err'
30186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30187   (eval $ac_try) 2>&5
30188   ac_status=$?
30189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190   (exit $ac_status); }; } &&
30191          { ac_try='test -s conftest.$ac_objext'
30192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30193   (eval $ac_try) 2>&5
30194   ac_status=$?
30195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196   (exit $ac_status); }; }; then
30197   glibcxx_cv_func__isinfl_use=yes
30198 else
30199   echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.$ac_ext >&5
30201
30202 glibcxx_cv_func__isinfl_use=no
30203 fi
30204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30205       ac_ext=c
30206 ac_cpp='$CPP $CPPFLAGS'
30207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30210
30211
30212 fi
30213
30214   fi
30215   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30216 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30217
30218     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30219
30220 for ac_func in _isinfl
30221 do
30222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30223 echo "$as_me:$LINENO: checking for $ac_func" >&5
30224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30225 if eval "test \"\${$as_ac_var+set}\" = set"; then
30226   echo $ECHO_N "(cached) $ECHO_C" >&6
30227 else
30228   if test x$gcc_no_link = xyes; then
30229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30231    { (exit 1); exit 1; }; }
30232 fi
30233 cat >conftest.$ac_ext <<_ACEOF
30234 /* confdefs.h.  */
30235 _ACEOF
30236 cat confdefs.h >>conftest.$ac_ext
30237 cat >>conftest.$ac_ext <<_ACEOF
30238 /* end confdefs.h.  */
30239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30241 #define $ac_func innocuous_$ac_func
30242
30243 /* System header to define __stub macros and hopefully few prototypes,
30244     which can conflict with char $ac_func (); below.
30245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30246     <limits.h> exists even on freestanding compilers.  */
30247
30248 #ifdef __STDC__
30249 # include <limits.h>
30250 #else
30251 # include <assert.h>
30252 #endif
30253
30254 #undef $ac_func
30255
30256 /* Override any gcc2 internal prototype to avoid an error.  */
30257 #ifdef __cplusplus
30258 extern "C"
30259 {
30260 #endif
30261 /* We use char because int might match the return type of a gcc2
30262    builtin and then its argument prototype would still apply.  */
30263 char $ac_func ();
30264 /* The GNU C library defines this for functions which it implements
30265     to always fail with ENOSYS.  Some functions are actually named
30266     something starting with __ and the normal name is an alias.  */
30267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30268 choke me
30269 #else
30270 char (*f) () = $ac_func;
30271 #endif
30272 #ifdef __cplusplus
30273 }
30274 #endif
30275
30276 int
30277 main ()
30278 {
30279 return f != $ac_func;
30280   ;
30281   return 0;
30282 }
30283 _ACEOF
30284 rm -f conftest.$ac_objext conftest$ac_exeext
30285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30286   (eval $ac_link) 2>conftest.er1
30287   ac_status=$?
30288   grep -v '^ *+' conftest.er1 >conftest.err
30289   rm -f conftest.er1
30290   cat conftest.err >&5
30291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292   (exit $ac_status); } &&
30293          { ac_try='test -z "$ac_c_werror_flag"
30294                          || test ! -s conftest.err'
30295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296   (eval $ac_try) 2>&5
30297   ac_status=$?
30298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299   (exit $ac_status); }; } &&
30300          { ac_try='test -s conftest$ac_exeext'
30301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30302   (eval $ac_try) 2>&5
30303   ac_status=$?
30304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305   (exit $ac_status); }; }; then
30306   eval "$as_ac_var=yes"
30307 else
30308   echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.$ac_ext >&5
30310
30311 eval "$as_ac_var=no"
30312 fi
30313 rm -f conftest.err conftest.$ac_objext \
30314       conftest$ac_exeext conftest.$ac_ext
30315 fi
30316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30318 if test `eval echo '${'$as_ac_var'}'` = yes; then
30319   cat >>confdefs.h <<_ACEOF
30320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30321 _ACEOF
30322
30323 fi
30324 done
30325
30326     fi
30327   fi
30328
30329
30330
30331
30332
30333
30334   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30335 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30336   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30337     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30338   echo $ECHO_N "(cached) $ECHO_C" >&6
30339 else
30340
30341
30342
30343       ac_ext=cc
30344 ac_cpp='$CXXCPP $CPPFLAGS'
30345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30348
30349       cat >conftest.$ac_ext <<_ACEOF
30350 /* confdefs.h.  */
30351 _ACEOF
30352 cat confdefs.h >>conftest.$ac_ext
30353 cat >>conftest.$ac_ext <<_ACEOF
30354 /* end confdefs.h.  */
30355 #include <math.h>
30356 int
30357 main ()
30358 {
30359  copysignl(0, 0);
30360   ;
30361   return 0;
30362 }
30363 _ACEOF
30364 rm -f conftest.$ac_objext
30365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30366   (eval $ac_compile) 2>conftest.er1
30367   ac_status=$?
30368   grep -v '^ *+' conftest.er1 >conftest.err
30369   rm -f conftest.er1
30370   cat conftest.err >&5
30371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372   (exit $ac_status); } &&
30373          { ac_try='test -z "$ac_cxx_werror_flag"
30374                          || test ! -s conftest.err'
30375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30376   (eval $ac_try) 2>&5
30377   ac_status=$?
30378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379   (exit $ac_status); }; } &&
30380          { ac_try='test -s conftest.$ac_objext'
30381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30382   (eval $ac_try) 2>&5
30383   ac_status=$?
30384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30385   (exit $ac_status); }; }; then
30386   glibcxx_cv_func_copysignl_use=yes
30387 else
30388   echo "$as_me: failed program was:" >&5
30389 sed 's/^/| /' conftest.$ac_ext >&5
30390
30391 glibcxx_cv_func_copysignl_use=no
30392 fi
30393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30394       ac_ext=c
30395 ac_cpp='$CPP $CPPFLAGS'
30396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30399
30400
30401 fi
30402
30403   fi
30404   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30405 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30406
30407   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30408
30409 for ac_func in copysignl
30410 do
30411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30412 echo "$as_me:$LINENO: checking for $ac_func" >&5
30413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30414 if eval "test \"\${$as_ac_var+set}\" = set"; then
30415   echo $ECHO_N "(cached) $ECHO_C" >&6
30416 else
30417   if test x$gcc_no_link = xyes; then
30418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30420    { (exit 1); exit 1; }; }
30421 fi
30422 cat >conftest.$ac_ext <<_ACEOF
30423 /* confdefs.h.  */
30424 _ACEOF
30425 cat confdefs.h >>conftest.$ac_ext
30426 cat >>conftest.$ac_ext <<_ACEOF
30427 /* end confdefs.h.  */
30428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30430 #define $ac_func innocuous_$ac_func
30431
30432 /* System header to define __stub macros and hopefully few prototypes,
30433     which can conflict with char $ac_func (); below.
30434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30435     <limits.h> exists even on freestanding compilers.  */
30436
30437 #ifdef __STDC__
30438 # include <limits.h>
30439 #else
30440 # include <assert.h>
30441 #endif
30442
30443 #undef $ac_func
30444
30445 /* Override any gcc2 internal prototype to avoid an error.  */
30446 #ifdef __cplusplus
30447 extern "C"
30448 {
30449 #endif
30450 /* We use char because int might match the return type of a gcc2
30451    builtin and then its argument prototype would still apply.  */
30452 char $ac_func ();
30453 /* The GNU C library defines this for functions which it implements
30454     to always fail with ENOSYS.  Some functions are actually named
30455     something starting with __ and the normal name is an alias.  */
30456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30457 choke me
30458 #else
30459 char (*f) () = $ac_func;
30460 #endif
30461 #ifdef __cplusplus
30462 }
30463 #endif
30464
30465 int
30466 main ()
30467 {
30468 return f != $ac_func;
30469   ;
30470   return 0;
30471 }
30472 _ACEOF
30473 rm -f conftest.$ac_objext conftest$ac_exeext
30474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30475   (eval $ac_link) 2>conftest.er1
30476   ac_status=$?
30477   grep -v '^ *+' conftest.er1 >conftest.err
30478   rm -f conftest.er1
30479   cat conftest.err >&5
30480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481   (exit $ac_status); } &&
30482          { ac_try='test -z "$ac_c_werror_flag"
30483                          || test ! -s conftest.err'
30484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485   (eval $ac_try) 2>&5
30486   ac_status=$?
30487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488   (exit $ac_status); }; } &&
30489          { ac_try='test -s conftest$ac_exeext'
30490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491   (eval $ac_try) 2>&5
30492   ac_status=$?
30493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494   (exit $ac_status); }; }; then
30495   eval "$as_ac_var=yes"
30496 else
30497   echo "$as_me: failed program was:" >&5
30498 sed 's/^/| /' conftest.$ac_ext >&5
30499
30500 eval "$as_ac_var=no"
30501 fi
30502 rm -f conftest.err conftest.$ac_objext \
30503       conftest$ac_exeext conftest.$ac_ext
30504 fi
30505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30507 if test `eval echo '${'$as_ac_var'}'` = yes; then
30508   cat >>confdefs.h <<_ACEOF
30509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30510 _ACEOF
30511
30512 fi
30513 done
30514
30515   else
30516
30517   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30518 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30519   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30520     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30521   echo $ECHO_N "(cached) $ECHO_C" >&6
30522 else
30523
30524
30525
30526       ac_ext=cc
30527 ac_cpp='$CXXCPP $CPPFLAGS'
30528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30531
30532       cat >conftest.$ac_ext <<_ACEOF
30533 /* confdefs.h.  */
30534 _ACEOF
30535 cat confdefs.h >>conftest.$ac_ext
30536 cat >>conftest.$ac_ext <<_ACEOF
30537 /* end confdefs.h.  */
30538 #include <math.h>
30539 int
30540 main ()
30541 {
30542  _copysignl(0, 0);
30543   ;
30544   return 0;
30545 }
30546 _ACEOF
30547 rm -f conftest.$ac_objext
30548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30549   (eval $ac_compile) 2>conftest.er1
30550   ac_status=$?
30551   grep -v '^ *+' conftest.er1 >conftest.err
30552   rm -f conftest.er1
30553   cat conftest.err >&5
30554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30555   (exit $ac_status); } &&
30556          { ac_try='test -z "$ac_cxx_werror_flag"
30557                          || test ! -s conftest.err'
30558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30559   (eval $ac_try) 2>&5
30560   ac_status=$?
30561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30562   (exit $ac_status); }; } &&
30563          { ac_try='test -s conftest.$ac_objext'
30564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30565   (eval $ac_try) 2>&5
30566   ac_status=$?
30567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30568   (exit $ac_status); }; }; then
30569   glibcxx_cv_func__copysignl_use=yes
30570 else
30571   echo "$as_me: failed program was:" >&5
30572 sed 's/^/| /' conftest.$ac_ext >&5
30573
30574 glibcxx_cv_func__copysignl_use=no
30575 fi
30576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30577       ac_ext=c
30578 ac_cpp='$CPP $CPPFLAGS'
30579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30582
30583
30584 fi
30585
30586   fi
30587   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30588 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30589
30590     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30591
30592 for ac_func in _copysignl
30593 do
30594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30595 echo "$as_me:$LINENO: checking for $ac_func" >&5
30596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30597 if eval "test \"\${$as_ac_var+set}\" = set"; then
30598   echo $ECHO_N "(cached) $ECHO_C" >&6
30599 else
30600   if test x$gcc_no_link = xyes; then
30601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30603    { (exit 1); exit 1; }; }
30604 fi
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h.  */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h.  */
30611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30613 #define $ac_func innocuous_$ac_func
30614
30615 /* System header to define __stub macros and hopefully few prototypes,
30616     which can conflict with char $ac_func (); below.
30617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30618     <limits.h> exists even on freestanding compilers.  */
30619
30620 #ifdef __STDC__
30621 # include <limits.h>
30622 #else
30623 # include <assert.h>
30624 #endif
30625
30626 #undef $ac_func
30627
30628 /* Override any gcc2 internal prototype to avoid an error.  */
30629 #ifdef __cplusplus
30630 extern "C"
30631 {
30632 #endif
30633 /* We use char because int might match the return type of a gcc2
30634    builtin and then its argument prototype would still apply.  */
30635 char $ac_func ();
30636 /* The GNU C library defines this for functions which it implements
30637     to always fail with ENOSYS.  Some functions are actually named
30638     something starting with __ and the normal name is an alias.  */
30639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30640 choke me
30641 #else
30642 char (*f) () = $ac_func;
30643 #endif
30644 #ifdef __cplusplus
30645 }
30646 #endif
30647
30648 int
30649 main ()
30650 {
30651 return f != $ac_func;
30652   ;
30653   return 0;
30654 }
30655 _ACEOF
30656 rm -f conftest.$ac_objext conftest$ac_exeext
30657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30658   (eval $ac_link) 2>conftest.er1
30659   ac_status=$?
30660   grep -v '^ *+' conftest.er1 >conftest.err
30661   rm -f conftest.er1
30662   cat conftest.err >&5
30663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664   (exit $ac_status); } &&
30665          { ac_try='test -z "$ac_c_werror_flag"
30666                          || test ! -s conftest.err'
30667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668   (eval $ac_try) 2>&5
30669   ac_status=$?
30670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671   (exit $ac_status); }; } &&
30672          { ac_try='test -s conftest$ac_exeext'
30673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30674   (eval $ac_try) 2>&5
30675   ac_status=$?
30676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677   (exit $ac_status); }; }; then
30678   eval "$as_ac_var=yes"
30679 else
30680   echo "$as_me: failed program was:" >&5
30681 sed 's/^/| /' conftest.$ac_ext >&5
30682
30683 eval "$as_ac_var=no"
30684 fi
30685 rm -f conftest.err conftest.$ac_objext \
30686       conftest$ac_exeext conftest.$ac_ext
30687 fi
30688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30690 if test `eval echo '${'$as_ac_var'}'` = yes; then
30691   cat >>confdefs.h <<_ACEOF
30692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30693 _ACEOF
30694
30695 fi
30696 done
30697
30698     fi
30699   fi
30700
30701
30702
30703
30704
30705
30706   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30707 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30708   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30709     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30710   echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30712
30713
30714
30715       ac_ext=cc
30716 ac_cpp='$CXXCPP $CPPFLAGS'
30717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30720
30721       cat >conftest.$ac_ext <<_ACEOF
30722 /* confdefs.h.  */
30723 _ACEOF
30724 cat confdefs.h >>conftest.$ac_ext
30725 cat >>conftest.$ac_ext <<_ACEOF
30726 /* end confdefs.h.  */
30727 #include <math.h>
30728 int
30729 main ()
30730 {
30731  atan2l(0, 0);
30732   ;
30733   return 0;
30734 }
30735 _ACEOF
30736 rm -f conftest.$ac_objext
30737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30738   (eval $ac_compile) 2>conftest.er1
30739   ac_status=$?
30740   grep -v '^ *+' conftest.er1 >conftest.err
30741   rm -f conftest.er1
30742   cat conftest.err >&5
30743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744   (exit $ac_status); } &&
30745          { ac_try='test -z "$ac_cxx_werror_flag"
30746                          || test ! -s conftest.err'
30747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30748   (eval $ac_try) 2>&5
30749   ac_status=$?
30750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751   (exit $ac_status); }; } &&
30752          { ac_try='test -s conftest.$ac_objext'
30753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754   (eval $ac_try) 2>&5
30755   ac_status=$?
30756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757   (exit $ac_status); }; }; then
30758   glibcxx_cv_func_atan2l_use=yes
30759 else
30760   echo "$as_me: failed program was:" >&5
30761 sed 's/^/| /' conftest.$ac_ext >&5
30762
30763 glibcxx_cv_func_atan2l_use=no
30764 fi
30765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30766       ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30771
30772
30773 fi
30774
30775   fi
30776   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30777 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30778
30779   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30780
30781 for ac_func in atan2l
30782 do
30783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30784 echo "$as_me:$LINENO: checking for $ac_func" >&5
30785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30786 if eval "test \"\${$as_ac_var+set}\" = set"; then
30787   echo $ECHO_N "(cached) $ECHO_C" >&6
30788 else
30789   if test x$gcc_no_link = xyes; then
30790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30792    { (exit 1); exit 1; }; }
30793 fi
30794 cat >conftest.$ac_ext <<_ACEOF
30795 /* confdefs.h.  */
30796 _ACEOF
30797 cat confdefs.h >>conftest.$ac_ext
30798 cat >>conftest.$ac_ext <<_ACEOF
30799 /* end confdefs.h.  */
30800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30802 #define $ac_func innocuous_$ac_func
30803
30804 /* System header to define __stub macros and hopefully few prototypes,
30805     which can conflict with char $ac_func (); below.
30806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30807     <limits.h> exists even on freestanding compilers.  */
30808
30809 #ifdef __STDC__
30810 # include <limits.h>
30811 #else
30812 # include <assert.h>
30813 #endif
30814
30815 #undef $ac_func
30816
30817 /* Override any gcc2 internal prototype to avoid an error.  */
30818 #ifdef __cplusplus
30819 extern "C"
30820 {
30821 #endif
30822 /* We use char because int might match the return type of a gcc2
30823    builtin and then its argument prototype would still apply.  */
30824 char $ac_func ();
30825 /* The GNU C library defines this for functions which it implements
30826     to always fail with ENOSYS.  Some functions are actually named
30827     something starting with __ and the normal name is an alias.  */
30828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30829 choke me
30830 #else
30831 char (*f) () = $ac_func;
30832 #endif
30833 #ifdef __cplusplus
30834 }
30835 #endif
30836
30837 int
30838 main ()
30839 {
30840 return f != $ac_func;
30841   ;
30842   return 0;
30843 }
30844 _ACEOF
30845 rm -f conftest.$ac_objext conftest$ac_exeext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30847   (eval $ac_link) 2>conftest.er1
30848   ac_status=$?
30849   grep -v '^ *+' conftest.er1 >conftest.err
30850   rm -f conftest.er1
30851   cat conftest.err >&5
30852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853   (exit $ac_status); } &&
30854          { ac_try='test -z "$ac_c_werror_flag"
30855                          || test ! -s conftest.err'
30856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857   (eval $ac_try) 2>&5
30858   ac_status=$?
30859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860   (exit $ac_status); }; } &&
30861          { ac_try='test -s conftest$ac_exeext'
30862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863   (eval $ac_try) 2>&5
30864   ac_status=$?
30865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866   (exit $ac_status); }; }; then
30867   eval "$as_ac_var=yes"
30868 else
30869   echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30871
30872 eval "$as_ac_var=no"
30873 fi
30874 rm -f conftest.err conftest.$ac_objext \
30875       conftest$ac_exeext conftest.$ac_ext
30876 fi
30877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30879 if test `eval echo '${'$as_ac_var'}'` = yes; then
30880   cat >>confdefs.h <<_ACEOF
30881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30882 _ACEOF
30883
30884 fi
30885 done
30886
30887   else
30888
30889   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30890 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30891   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30892     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30893   echo $ECHO_N "(cached) $ECHO_C" >&6
30894 else
30895
30896
30897
30898       ac_ext=cc
30899 ac_cpp='$CXXCPP $CPPFLAGS'
30900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30903
30904       cat >conftest.$ac_ext <<_ACEOF
30905 /* confdefs.h.  */
30906 _ACEOF
30907 cat confdefs.h >>conftest.$ac_ext
30908 cat >>conftest.$ac_ext <<_ACEOF
30909 /* end confdefs.h.  */
30910 #include <math.h>
30911 int
30912 main ()
30913 {
30914  _atan2l(0, 0);
30915   ;
30916   return 0;
30917 }
30918 _ACEOF
30919 rm -f conftest.$ac_objext
30920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30921   (eval $ac_compile) 2>conftest.er1
30922   ac_status=$?
30923   grep -v '^ *+' conftest.er1 >conftest.err
30924   rm -f conftest.er1
30925   cat conftest.err >&5
30926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927   (exit $ac_status); } &&
30928          { ac_try='test -z "$ac_cxx_werror_flag"
30929                          || test ! -s conftest.err'
30930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931   (eval $ac_try) 2>&5
30932   ac_status=$?
30933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934   (exit $ac_status); }; } &&
30935          { ac_try='test -s conftest.$ac_objext'
30936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30937   (eval $ac_try) 2>&5
30938   ac_status=$?
30939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30940   (exit $ac_status); }; }; then
30941   glibcxx_cv_func__atan2l_use=yes
30942 else
30943   echo "$as_me: failed program was:" >&5
30944 sed 's/^/| /' conftest.$ac_ext >&5
30945
30946 glibcxx_cv_func__atan2l_use=no
30947 fi
30948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30949       ac_ext=c
30950 ac_cpp='$CPP $CPPFLAGS'
30951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30954
30955
30956 fi
30957
30958   fi
30959   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30960 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30961
30962     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30963
30964 for ac_func in _atan2l
30965 do
30966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30967 echo "$as_me:$LINENO: checking for $ac_func" >&5
30968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30969 if eval "test \"\${$as_ac_var+set}\" = set"; then
30970   echo $ECHO_N "(cached) $ECHO_C" >&6
30971 else
30972   if test x$gcc_no_link = xyes; then
30973   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30975    { (exit 1); exit 1; }; }
30976 fi
30977 cat >conftest.$ac_ext <<_ACEOF
30978 /* confdefs.h.  */
30979 _ACEOF
30980 cat confdefs.h >>conftest.$ac_ext
30981 cat >>conftest.$ac_ext <<_ACEOF
30982 /* end confdefs.h.  */
30983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30984    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30985 #define $ac_func innocuous_$ac_func
30986
30987 /* System header to define __stub macros and hopefully few prototypes,
30988     which can conflict with char $ac_func (); below.
30989     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30990     <limits.h> exists even on freestanding compilers.  */
30991
30992 #ifdef __STDC__
30993 # include <limits.h>
30994 #else
30995 # include <assert.h>
30996 #endif
30997
30998 #undef $ac_func
30999
31000 /* Override any gcc2 internal prototype to avoid an error.  */
31001 #ifdef __cplusplus
31002 extern "C"
31003 {
31004 #endif
31005 /* We use char because int might match the return type of a gcc2
31006    builtin and then its argument prototype would still apply.  */
31007 char $ac_func ();
31008 /* The GNU C library defines this for functions which it implements
31009     to always fail with ENOSYS.  Some functions are actually named
31010     something starting with __ and the normal name is an alias.  */
31011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31012 choke me
31013 #else
31014 char (*f) () = $ac_func;
31015 #endif
31016 #ifdef __cplusplus
31017 }
31018 #endif
31019
31020 int
31021 main ()
31022 {
31023 return f != $ac_func;
31024   ;
31025   return 0;
31026 }
31027 _ACEOF
31028 rm -f conftest.$ac_objext conftest$ac_exeext
31029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31030   (eval $ac_link) 2>conftest.er1
31031   ac_status=$?
31032   grep -v '^ *+' conftest.er1 >conftest.err
31033   rm -f conftest.er1
31034   cat conftest.err >&5
31035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036   (exit $ac_status); } &&
31037          { ac_try='test -z "$ac_c_werror_flag"
31038                          || test ! -s conftest.err'
31039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040   (eval $ac_try) 2>&5
31041   ac_status=$?
31042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043   (exit $ac_status); }; } &&
31044          { ac_try='test -s conftest$ac_exeext'
31045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31046   (eval $ac_try) 2>&5
31047   ac_status=$?
31048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049   (exit $ac_status); }; }; then
31050   eval "$as_ac_var=yes"
31051 else
31052   echo "$as_me: failed program was:" >&5
31053 sed 's/^/| /' conftest.$ac_ext >&5
31054
31055 eval "$as_ac_var=no"
31056 fi
31057 rm -f conftest.err conftest.$ac_objext \
31058       conftest$ac_exeext conftest.$ac_ext
31059 fi
31060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31062 if test `eval echo '${'$as_ac_var'}'` = yes; then
31063   cat >>confdefs.h <<_ACEOF
31064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31065 _ACEOF
31066
31067 fi
31068 done
31069
31070     fi
31071   fi
31072
31073
31074
31075
31076
31077
31078   echo "$as_me:$LINENO: checking for expl declaration" >&5
31079 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31080   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31081     if test "${glibcxx_cv_func_expl_use+set}" = set; then
31082   echo $ECHO_N "(cached) $ECHO_C" >&6
31083 else
31084
31085
31086
31087       ac_ext=cc
31088 ac_cpp='$CXXCPP $CPPFLAGS'
31089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31092
31093       cat >conftest.$ac_ext <<_ACEOF
31094 /* confdefs.h.  */
31095 _ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h.  */
31099 #include <math.h>
31100                       #ifdef HAVE_IEEEFP_H
31101                       #include <ieeefp.h>
31102                       #endif
31103
31104 int
31105 main ()
31106 {
31107  expl(0);
31108   ;
31109   return 0;
31110 }
31111 _ACEOF
31112 rm -f conftest.$ac_objext
31113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31114   (eval $ac_compile) 2>conftest.er1
31115   ac_status=$?
31116   grep -v '^ *+' conftest.er1 >conftest.err
31117   rm -f conftest.er1
31118   cat conftest.err >&5
31119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120   (exit $ac_status); } &&
31121          { ac_try='test -z "$ac_cxx_werror_flag"
31122                          || test ! -s conftest.err'
31123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31124   (eval $ac_try) 2>&5
31125   ac_status=$?
31126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127   (exit $ac_status); }; } &&
31128          { ac_try='test -s conftest.$ac_objext'
31129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31130   (eval $ac_try) 2>&5
31131   ac_status=$?
31132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133   (exit $ac_status); }; }; then
31134   glibcxx_cv_func_expl_use=yes
31135 else
31136   echo "$as_me: failed program was:" >&5
31137 sed 's/^/| /' conftest.$ac_ext >&5
31138
31139 glibcxx_cv_func_expl_use=no
31140 fi
31141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31142       ac_ext=c
31143 ac_cpp='$CPP $CPPFLAGS'
31144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31147
31148
31149 fi
31150
31151   fi
31152   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31153 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31154
31155   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31156
31157 for ac_func in expl
31158 do
31159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31160 echo "$as_me:$LINENO: checking for $ac_func" >&5
31161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31162 if eval "test \"\${$as_ac_var+set}\" = set"; then
31163   echo $ECHO_N "(cached) $ECHO_C" >&6
31164 else
31165   if test x$gcc_no_link = xyes; then
31166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31168    { (exit 1); exit 1; }; }
31169 fi
31170 cat >conftest.$ac_ext <<_ACEOF
31171 /* confdefs.h.  */
31172 _ACEOF
31173 cat confdefs.h >>conftest.$ac_ext
31174 cat >>conftest.$ac_ext <<_ACEOF
31175 /* end confdefs.h.  */
31176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31178 #define $ac_func innocuous_$ac_func
31179
31180 /* System header to define __stub macros and hopefully few prototypes,
31181     which can conflict with char $ac_func (); below.
31182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31183     <limits.h> exists even on freestanding compilers.  */
31184
31185 #ifdef __STDC__
31186 # include <limits.h>
31187 #else
31188 # include <assert.h>
31189 #endif
31190
31191 #undef $ac_func
31192
31193 /* Override any gcc2 internal prototype to avoid an error.  */
31194 #ifdef __cplusplus
31195 extern "C"
31196 {
31197 #endif
31198 /* We use char because int might match the return type of a gcc2
31199    builtin and then its argument prototype would still apply.  */
31200 char $ac_func ();
31201 /* The GNU C library defines this for functions which it implements
31202     to always fail with ENOSYS.  Some functions are actually named
31203     something starting with __ and the normal name is an alias.  */
31204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31205 choke me
31206 #else
31207 char (*f) () = $ac_func;
31208 #endif
31209 #ifdef __cplusplus
31210 }
31211 #endif
31212
31213 int
31214 main ()
31215 {
31216 return f != $ac_func;
31217   ;
31218   return 0;
31219 }
31220 _ACEOF
31221 rm -f conftest.$ac_objext conftest$ac_exeext
31222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31223   (eval $ac_link) 2>conftest.er1
31224   ac_status=$?
31225   grep -v '^ *+' conftest.er1 >conftest.err
31226   rm -f conftest.er1
31227   cat conftest.err >&5
31228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229   (exit $ac_status); } &&
31230          { ac_try='test -z "$ac_c_werror_flag"
31231                          || test ! -s conftest.err'
31232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233   (eval $ac_try) 2>&5
31234   ac_status=$?
31235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236   (exit $ac_status); }; } &&
31237          { ac_try='test -s conftest$ac_exeext'
31238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239   (eval $ac_try) 2>&5
31240   ac_status=$?
31241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242   (exit $ac_status); }; }; then
31243   eval "$as_ac_var=yes"
31244 else
31245   echo "$as_me: failed program was:" >&5
31246 sed 's/^/| /' conftest.$ac_ext >&5
31247
31248 eval "$as_ac_var=no"
31249 fi
31250 rm -f conftest.err conftest.$ac_objext \
31251       conftest$ac_exeext conftest.$ac_ext
31252 fi
31253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31255 if test `eval echo '${'$as_ac_var'}'` = yes; then
31256   cat >>confdefs.h <<_ACEOF
31257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31258 _ACEOF
31259
31260 fi
31261 done
31262
31263   else
31264
31265   echo "$as_me:$LINENO: checking for _expl declaration" >&5
31266 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31267   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31268     if test "${glibcxx_cv_func__expl_use+set}" = set; then
31269   echo $ECHO_N "(cached) $ECHO_C" >&6
31270 else
31271
31272
31273
31274       ac_ext=cc
31275 ac_cpp='$CXXCPP $CPPFLAGS'
31276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31279
31280       cat >conftest.$ac_ext <<_ACEOF
31281 /* confdefs.h.  */
31282 _ACEOF
31283 cat confdefs.h >>conftest.$ac_ext
31284 cat >>conftest.$ac_ext <<_ACEOF
31285 /* end confdefs.h.  */
31286 #include <math.h>
31287                       #ifdef HAVE_IEEEFP_H
31288                       #include <ieeefp.h>
31289                       #endif
31290
31291 int
31292 main ()
31293 {
31294  _expl(0);
31295   ;
31296   return 0;
31297 }
31298 _ACEOF
31299 rm -f conftest.$ac_objext
31300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31301   (eval $ac_compile) 2>conftest.er1
31302   ac_status=$?
31303   grep -v '^ *+' conftest.er1 >conftest.err
31304   rm -f conftest.er1
31305   cat conftest.err >&5
31306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31307   (exit $ac_status); } &&
31308          { ac_try='test -z "$ac_cxx_werror_flag"
31309                          || test ! -s conftest.err'
31310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311   (eval $ac_try) 2>&5
31312   ac_status=$?
31313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314   (exit $ac_status); }; } &&
31315          { ac_try='test -s conftest.$ac_objext'
31316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317   (eval $ac_try) 2>&5
31318   ac_status=$?
31319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320   (exit $ac_status); }; }; then
31321   glibcxx_cv_func__expl_use=yes
31322 else
31323   echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31325
31326 glibcxx_cv_func__expl_use=no
31327 fi
31328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31329       ac_ext=c
31330 ac_cpp='$CPP $CPPFLAGS'
31331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31334
31335
31336 fi
31337
31338   fi
31339   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31340 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31341
31342     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31343
31344 for ac_func in _expl
31345 do
31346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31347 echo "$as_me:$LINENO: checking for $ac_func" >&5
31348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31349 if eval "test \"\${$as_ac_var+set}\" = set"; then
31350   echo $ECHO_N "(cached) $ECHO_C" >&6
31351 else
31352   if test x$gcc_no_link = xyes; then
31353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31355    { (exit 1); exit 1; }; }
31356 fi
31357 cat >conftest.$ac_ext <<_ACEOF
31358 /* confdefs.h.  */
31359 _ACEOF
31360 cat confdefs.h >>conftest.$ac_ext
31361 cat >>conftest.$ac_ext <<_ACEOF
31362 /* end confdefs.h.  */
31363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31365 #define $ac_func innocuous_$ac_func
31366
31367 /* System header to define __stub macros and hopefully few prototypes,
31368     which can conflict with char $ac_func (); below.
31369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31370     <limits.h> exists even on freestanding compilers.  */
31371
31372 #ifdef __STDC__
31373 # include <limits.h>
31374 #else
31375 # include <assert.h>
31376 #endif
31377
31378 #undef $ac_func
31379
31380 /* Override any gcc2 internal prototype to avoid an error.  */
31381 #ifdef __cplusplus
31382 extern "C"
31383 {
31384 #endif
31385 /* We use char because int might match the return type of a gcc2
31386    builtin and then its argument prototype would still apply.  */
31387 char $ac_func ();
31388 /* The GNU C library defines this for functions which it implements
31389     to always fail with ENOSYS.  Some functions are actually named
31390     something starting with __ and the normal name is an alias.  */
31391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31392 choke me
31393 #else
31394 char (*f) () = $ac_func;
31395 #endif
31396 #ifdef __cplusplus
31397 }
31398 #endif
31399
31400 int
31401 main ()
31402 {
31403 return f != $ac_func;
31404   ;
31405   return 0;
31406 }
31407 _ACEOF
31408 rm -f conftest.$ac_objext conftest$ac_exeext
31409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31410   (eval $ac_link) 2>conftest.er1
31411   ac_status=$?
31412   grep -v '^ *+' conftest.er1 >conftest.err
31413   rm -f conftest.er1
31414   cat conftest.err >&5
31415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416   (exit $ac_status); } &&
31417          { ac_try='test -z "$ac_c_werror_flag"
31418                          || test ! -s conftest.err'
31419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420   (eval $ac_try) 2>&5
31421   ac_status=$?
31422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423   (exit $ac_status); }; } &&
31424          { ac_try='test -s conftest$ac_exeext'
31425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426   (eval $ac_try) 2>&5
31427   ac_status=$?
31428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429   (exit $ac_status); }; }; then
31430   eval "$as_ac_var=yes"
31431 else
31432   echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31434
31435 eval "$as_ac_var=no"
31436 fi
31437 rm -f conftest.err conftest.$ac_objext \
31438       conftest$ac_exeext conftest.$ac_ext
31439 fi
31440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31442 if test `eval echo '${'$as_ac_var'}'` = yes; then
31443   cat >>confdefs.h <<_ACEOF
31444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31445 _ACEOF
31446
31447 fi
31448 done
31449
31450     fi
31451   fi
31452
31453
31454
31455
31456
31457
31458   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31459 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31460   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31461     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31462   echo $ECHO_N "(cached) $ECHO_C" >&6
31463 else
31464
31465
31466
31467       ac_ext=cc
31468 ac_cpp='$CXXCPP $CPPFLAGS'
31469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31472
31473       cat >conftest.$ac_ext <<_ACEOF
31474 /* confdefs.h.  */
31475 _ACEOF
31476 cat confdefs.h >>conftest.$ac_ext
31477 cat >>conftest.$ac_ext <<_ACEOF
31478 /* end confdefs.h.  */
31479 #include <math.h>
31480                       #ifdef HAVE_IEEEFP_H
31481                       #include <ieeefp.h>
31482                       #endif
31483
31484 int
31485 main ()
31486 {
31487  fabsl(0);
31488   ;
31489   return 0;
31490 }
31491 _ACEOF
31492 rm -f conftest.$ac_objext
31493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31494   (eval $ac_compile) 2>conftest.er1
31495   ac_status=$?
31496   grep -v '^ *+' conftest.er1 >conftest.err
31497   rm -f conftest.er1
31498   cat conftest.err >&5
31499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31500   (exit $ac_status); } &&
31501          { ac_try='test -z "$ac_cxx_werror_flag"
31502                          || test ! -s conftest.err'
31503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504   (eval $ac_try) 2>&5
31505   ac_status=$?
31506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507   (exit $ac_status); }; } &&
31508          { ac_try='test -s conftest.$ac_objext'
31509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510   (eval $ac_try) 2>&5
31511   ac_status=$?
31512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513   (exit $ac_status); }; }; then
31514   glibcxx_cv_func_fabsl_use=yes
31515 else
31516   echo "$as_me: failed program was:" >&5
31517 sed 's/^/| /' conftest.$ac_ext >&5
31518
31519 glibcxx_cv_func_fabsl_use=no
31520 fi
31521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31522       ac_ext=c
31523 ac_cpp='$CPP $CPPFLAGS'
31524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31527
31528
31529 fi
31530
31531   fi
31532   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31533 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31534
31535   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31536
31537 for ac_func in fabsl
31538 do
31539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31540 echo "$as_me:$LINENO: checking for $ac_func" >&5
31541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31542 if eval "test \"\${$as_ac_var+set}\" = set"; then
31543   echo $ECHO_N "(cached) $ECHO_C" >&6
31544 else
31545   if test x$gcc_no_link = xyes; then
31546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31548    { (exit 1); exit 1; }; }
31549 fi
31550 cat >conftest.$ac_ext <<_ACEOF
31551 /* confdefs.h.  */
31552 _ACEOF
31553 cat confdefs.h >>conftest.$ac_ext
31554 cat >>conftest.$ac_ext <<_ACEOF
31555 /* end confdefs.h.  */
31556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31558 #define $ac_func innocuous_$ac_func
31559
31560 /* System header to define __stub macros and hopefully few prototypes,
31561     which can conflict with char $ac_func (); below.
31562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31563     <limits.h> exists even on freestanding compilers.  */
31564
31565 #ifdef __STDC__
31566 # include <limits.h>
31567 #else
31568 # include <assert.h>
31569 #endif
31570
31571 #undef $ac_func
31572
31573 /* Override any gcc2 internal prototype to avoid an error.  */
31574 #ifdef __cplusplus
31575 extern "C"
31576 {
31577 #endif
31578 /* We use char because int might match the return type of a gcc2
31579    builtin and then its argument prototype would still apply.  */
31580 char $ac_func ();
31581 /* The GNU C library defines this for functions which it implements
31582     to always fail with ENOSYS.  Some functions are actually named
31583     something starting with __ and the normal name is an alias.  */
31584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31585 choke me
31586 #else
31587 char (*f) () = $ac_func;
31588 #endif
31589 #ifdef __cplusplus
31590 }
31591 #endif
31592
31593 int
31594 main ()
31595 {
31596 return f != $ac_func;
31597   ;
31598   return 0;
31599 }
31600 _ACEOF
31601 rm -f conftest.$ac_objext conftest$ac_exeext
31602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31603   (eval $ac_link) 2>conftest.er1
31604   ac_status=$?
31605   grep -v '^ *+' conftest.er1 >conftest.err
31606   rm -f conftest.er1
31607   cat conftest.err >&5
31608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609   (exit $ac_status); } &&
31610          { ac_try='test -z "$ac_c_werror_flag"
31611                          || test ! -s conftest.err'
31612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613   (eval $ac_try) 2>&5
31614   ac_status=$?
31615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616   (exit $ac_status); }; } &&
31617          { ac_try='test -s conftest$ac_exeext'
31618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619   (eval $ac_try) 2>&5
31620   ac_status=$?
31621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622   (exit $ac_status); }; }; then
31623   eval "$as_ac_var=yes"
31624 else
31625   echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31627
31628 eval "$as_ac_var=no"
31629 fi
31630 rm -f conftest.err conftest.$ac_objext \
31631       conftest$ac_exeext conftest.$ac_ext
31632 fi
31633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31635 if test `eval echo '${'$as_ac_var'}'` = yes; then
31636   cat >>confdefs.h <<_ACEOF
31637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31638 _ACEOF
31639
31640 fi
31641 done
31642
31643   else
31644
31645   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31646 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31647   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31648     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31649   echo $ECHO_N "(cached) $ECHO_C" >&6
31650 else
31651
31652
31653
31654       ac_ext=cc
31655 ac_cpp='$CXXCPP $CPPFLAGS'
31656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31659
31660       cat >conftest.$ac_ext <<_ACEOF
31661 /* confdefs.h.  */
31662 _ACEOF
31663 cat confdefs.h >>conftest.$ac_ext
31664 cat >>conftest.$ac_ext <<_ACEOF
31665 /* end confdefs.h.  */
31666 #include <math.h>
31667                       #ifdef HAVE_IEEEFP_H
31668                       #include <ieeefp.h>
31669                       #endif
31670
31671 int
31672 main ()
31673 {
31674  _fabsl(0);
31675   ;
31676   return 0;
31677 }
31678 _ACEOF
31679 rm -f conftest.$ac_objext
31680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31681   (eval $ac_compile) 2>conftest.er1
31682   ac_status=$?
31683   grep -v '^ *+' conftest.er1 >conftest.err
31684   rm -f conftest.er1
31685   cat conftest.err >&5
31686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31687   (exit $ac_status); } &&
31688          { ac_try='test -z "$ac_cxx_werror_flag"
31689                          || test ! -s conftest.err'
31690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31691   (eval $ac_try) 2>&5
31692   ac_status=$?
31693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694   (exit $ac_status); }; } &&
31695          { ac_try='test -s conftest.$ac_objext'
31696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697   (eval $ac_try) 2>&5
31698   ac_status=$?
31699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700   (exit $ac_status); }; }; then
31701   glibcxx_cv_func__fabsl_use=yes
31702 else
31703   echo "$as_me: failed program was:" >&5
31704 sed 's/^/| /' conftest.$ac_ext >&5
31705
31706 glibcxx_cv_func__fabsl_use=no
31707 fi
31708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31709       ac_ext=c
31710 ac_cpp='$CPP $CPPFLAGS'
31711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31714
31715
31716 fi
31717
31718   fi
31719   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31720 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31721
31722     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31723
31724 for ac_func in _fabsl
31725 do
31726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31727 echo "$as_me:$LINENO: checking for $ac_func" >&5
31728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31729 if eval "test \"\${$as_ac_var+set}\" = set"; then
31730   echo $ECHO_N "(cached) $ECHO_C" >&6
31731 else
31732   if test x$gcc_no_link = xyes; then
31733   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31735    { (exit 1); exit 1; }; }
31736 fi
31737 cat >conftest.$ac_ext <<_ACEOF
31738 /* confdefs.h.  */
31739 _ACEOF
31740 cat confdefs.h >>conftest.$ac_ext
31741 cat >>conftest.$ac_ext <<_ACEOF
31742 /* end confdefs.h.  */
31743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31744    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31745 #define $ac_func innocuous_$ac_func
31746
31747 /* System header to define __stub macros and hopefully few prototypes,
31748     which can conflict with char $ac_func (); below.
31749     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31750     <limits.h> exists even on freestanding compilers.  */
31751
31752 #ifdef __STDC__
31753 # include <limits.h>
31754 #else
31755 # include <assert.h>
31756 #endif
31757
31758 #undef $ac_func
31759
31760 /* Override any gcc2 internal prototype to avoid an error.  */
31761 #ifdef __cplusplus
31762 extern "C"
31763 {
31764 #endif
31765 /* We use char because int might match the return type of a gcc2
31766    builtin and then its argument prototype would still apply.  */
31767 char $ac_func ();
31768 /* The GNU C library defines this for functions which it implements
31769     to always fail with ENOSYS.  Some functions are actually named
31770     something starting with __ and the normal name is an alias.  */
31771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31772 choke me
31773 #else
31774 char (*f) () = $ac_func;
31775 #endif
31776 #ifdef __cplusplus
31777 }
31778 #endif
31779
31780 int
31781 main ()
31782 {
31783 return f != $ac_func;
31784   ;
31785   return 0;
31786 }
31787 _ACEOF
31788 rm -f conftest.$ac_objext conftest$ac_exeext
31789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31790   (eval $ac_link) 2>conftest.er1
31791   ac_status=$?
31792   grep -v '^ *+' conftest.er1 >conftest.err
31793   rm -f conftest.er1
31794   cat conftest.err >&5
31795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796   (exit $ac_status); } &&
31797          { ac_try='test -z "$ac_c_werror_flag"
31798                          || test ! -s conftest.err'
31799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800   (eval $ac_try) 2>&5
31801   ac_status=$?
31802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803   (exit $ac_status); }; } &&
31804          { ac_try='test -s conftest$ac_exeext'
31805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806   (eval $ac_try) 2>&5
31807   ac_status=$?
31808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809   (exit $ac_status); }; }; then
31810   eval "$as_ac_var=yes"
31811 else
31812   echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.$ac_ext >&5
31814
31815 eval "$as_ac_var=no"
31816 fi
31817 rm -f conftest.err conftest.$ac_objext \
31818       conftest$ac_exeext conftest.$ac_ext
31819 fi
31820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31822 if test `eval echo '${'$as_ac_var'}'` = yes; then
31823   cat >>confdefs.h <<_ACEOF
31824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31825 _ACEOF
31826
31827 fi
31828 done
31829
31830     fi
31831   fi
31832
31833
31834
31835
31836
31837
31838   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31839 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31840   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31841     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31842   echo $ECHO_N "(cached) $ECHO_C" >&6
31843 else
31844
31845
31846
31847       ac_ext=cc
31848 ac_cpp='$CXXCPP $CPPFLAGS'
31849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31852
31853       cat >conftest.$ac_ext <<_ACEOF
31854 /* confdefs.h.  */
31855 _ACEOF
31856 cat confdefs.h >>conftest.$ac_ext
31857 cat >>conftest.$ac_ext <<_ACEOF
31858 /* end confdefs.h.  */
31859 #include <math.h>
31860 int
31861 main ()
31862 {
31863  fmodl(0, 0);
31864   ;
31865   return 0;
31866 }
31867 _ACEOF
31868 rm -f conftest.$ac_objext
31869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31870   (eval $ac_compile) 2>conftest.er1
31871   ac_status=$?
31872   grep -v '^ *+' conftest.er1 >conftest.err
31873   rm -f conftest.er1
31874   cat conftest.err >&5
31875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876   (exit $ac_status); } &&
31877          { ac_try='test -z "$ac_cxx_werror_flag"
31878                          || test ! -s conftest.err'
31879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31880   (eval $ac_try) 2>&5
31881   ac_status=$?
31882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883   (exit $ac_status); }; } &&
31884          { ac_try='test -s conftest.$ac_objext'
31885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31886   (eval $ac_try) 2>&5
31887   ac_status=$?
31888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889   (exit $ac_status); }; }; then
31890   glibcxx_cv_func_fmodl_use=yes
31891 else
31892   echo "$as_me: failed program was:" >&5
31893 sed 's/^/| /' conftest.$ac_ext >&5
31894
31895 glibcxx_cv_func_fmodl_use=no
31896 fi
31897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31898       ac_ext=c
31899 ac_cpp='$CPP $CPPFLAGS'
31900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31903
31904
31905 fi
31906
31907   fi
31908   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31909 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31910
31911   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31912
31913 for ac_func in fmodl
31914 do
31915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31916 echo "$as_me:$LINENO: checking for $ac_func" >&5
31917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31918 if eval "test \"\${$as_ac_var+set}\" = set"; then
31919   echo $ECHO_N "(cached) $ECHO_C" >&6
31920 else
31921   if test x$gcc_no_link = xyes; then
31922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31924    { (exit 1); exit 1; }; }
31925 fi
31926 cat >conftest.$ac_ext <<_ACEOF
31927 /* confdefs.h.  */
31928 _ACEOF
31929 cat confdefs.h >>conftest.$ac_ext
31930 cat >>conftest.$ac_ext <<_ACEOF
31931 /* end confdefs.h.  */
31932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31934 #define $ac_func innocuous_$ac_func
31935
31936 /* System header to define __stub macros and hopefully few prototypes,
31937     which can conflict with char $ac_func (); below.
31938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31939     <limits.h> exists even on freestanding compilers.  */
31940
31941 #ifdef __STDC__
31942 # include <limits.h>
31943 #else
31944 # include <assert.h>
31945 #endif
31946
31947 #undef $ac_func
31948
31949 /* Override any gcc2 internal prototype to avoid an error.  */
31950 #ifdef __cplusplus
31951 extern "C"
31952 {
31953 #endif
31954 /* We use char because int might match the return type of a gcc2
31955    builtin and then its argument prototype would still apply.  */
31956 char $ac_func ();
31957 /* The GNU C library defines this for functions which it implements
31958     to always fail with ENOSYS.  Some functions are actually named
31959     something starting with __ and the normal name is an alias.  */
31960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31961 choke me
31962 #else
31963 char (*f) () = $ac_func;
31964 #endif
31965 #ifdef __cplusplus
31966 }
31967 #endif
31968
31969 int
31970 main ()
31971 {
31972 return f != $ac_func;
31973   ;
31974   return 0;
31975 }
31976 _ACEOF
31977 rm -f conftest.$ac_objext conftest$ac_exeext
31978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31979   (eval $ac_link) 2>conftest.er1
31980   ac_status=$?
31981   grep -v '^ *+' conftest.er1 >conftest.err
31982   rm -f conftest.er1
31983   cat conftest.err >&5
31984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985   (exit $ac_status); } &&
31986          { ac_try='test -z "$ac_c_werror_flag"
31987                          || test ! -s conftest.err'
31988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31989   (eval $ac_try) 2>&5
31990   ac_status=$?
31991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992   (exit $ac_status); }; } &&
31993          { ac_try='test -s conftest$ac_exeext'
31994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31995   (eval $ac_try) 2>&5
31996   ac_status=$?
31997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998   (exit $ac_status); }; }; then
31999   eval "$as_ac_var=yes"
32000 else
32001   echo "$as_me: failed program was:" >&5
32002 sed 's/^/| /' conftest.$ac_ext >&5
32003
32004 eval "$as_ac_var=no"
32005 fi
32006 rm -f conftest.err conftest.$ac_objext \
32007       conftest$ac_exeext conftest.$ac_ext
32008 fi
32009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32011 if test `eval echo '${'$as_ac_var'}'` = yes; then
32012   cat >>confdefs.h <<_ACEOF
32013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32014 _ACEOF
32015
32016 fi
32017 done
32018
32019   else
32020
32021   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32022 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32023   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32024     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32025   echo $ECHO_N "(cached) $ECHO_C" >&6
32026 else
32027
32028
32029
32030       ac_ext=cc
32031 ac_cpp='$CXXCPP $CPPFLAGS'
32032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32035
32036       cat >conftest.$ac_ext <<_ACEOF
32037 /* confdefs.h.  */
32038 _ACEOF
32039 cat confdefs.h >>conftest.$ac_ext
32040 cat >>conftest.$ac_ext <<_ACEOF
32041 /* end confdefs.h.  */
32042 #include <math.h>
32043 int
32044 main ()
32045 {
32046  _fmodl(0, 0);
32047   ;
32048   return 0;
32049 }
32050 _ACEOF
32051 rm -f conftest.$ac_objext
32052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32053   (eval $ac_compile) 2>conftest.er1
32054   ac_status=$?
32055   grep -v '^ *+' conftest.er1 >conftest.err
32056   rm -f conftest.er1
32057   cat conftest.err >&5
32058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059   (exit $ac_status); } &&
32060          { ac_try='test -z "$ac_cxx_werror_flag"
32061                          || test ! -s conftest.err'
32062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32063   (eval $ac_try) 2>&5
32064   ac_status=$?
32065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066   (exit $ac_status); }; } &&
32067          { ac_try='test -s conftest.$ac_objext'
32068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32069   (eval $ac_try) 2>&5
32070   ac_status=$?
32071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072   (exit $ac_status); }; }; then
32073   glibcxx_cv_func__fmodl_use=yes
32074 else
32075   echo "$as_me: failed program was:" >&5
32076 sed 's/^/| /' conftest.$ac_ext >&5
32077
32078 glibcxx_cv_func__fmodl_use=no
32079 fi
32080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32081       ac_ext=c
32082 ac_cpp='$CPP $CPPFLAGS'
32083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32086
32087
32088 fi
32089
32090   fi
32091   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32092 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32093
32094     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32095
32096 for ac_func in _fmodl
32097 do
32098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32099 echo "$as_me:$LINENO: checking for $ac_func" >&5
32100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32101 if eval "test \"\${$as_ac_var+set}\" = set"; then
32102   echo $ECHO_N "(cached) $ECHO_C" >&6
32103 else
32104   if test x$gcc_no_link = xyes; then
32105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32107    { (exit 1); exit 1; }; }
32108 fi
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h.  */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h.  */
32115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32117 #define $ac_func innocuous_$ac_func
32118
32119 /* System header to define __stub macros and hopefully few prototypes,
32120     which can conflict with char $ac_func (); below.
32121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32122     <limits.h> exists even on freestanding compilers.  */
32123
32124 #ifdef __STDC__
32125 # include <limits.h>
32126 #else
32127 # include <assert.h>
32128 #endif
32129
32130 #undef $ac_func
32131
32132 /* Override any gcc2 internal prototype to avoid an error.  */
32133 #ifdef __cplusplus
32134 extern "C"
32135 {
32136 #endif
32137 /* We use char because int might match the return type of a gcc2
32138    builtin and then its argument prototype would still apply.  */
32139 char $ac_func ();
32140 /* The GNU C library defines this for functions which it implements
32141     to always fail with ENOSYS.  Some functions are actually named
32142     something starting with __ and the normal name is an alias.  */
32143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32144 choke me
32145 #else
32146 char (*f) () = $ac_func;
32147 #endif
32148 #ifdef __cplusplus
32149 }
32150 #endif
32151
32152 int
32153 main ()
32154 {
32155 return f != $ac_func;
32156   ;
32157   return 0;
32158 }
32159 _ACEOF
32160 rm -f conftest.$ac_objext conftest$ac_exeext
32161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32162   (eval $ac_link) 2>conftest.er1
32163   ac_status=$?
32164   grep -v '^ *+' conftest.er1 >conftest.err
32165   rm -f conftest.er1
32166   cat conftest.err >&5
32167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168   (exit $ac_status); } &&
32169          { ac_try='test -z "$ac_c_werror_flag"
32170                          || test ! -s conftest.err'
32171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32172   (eval $ac_try) 2>&5
32173   ac_status=$?
32174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175   (exit $ac_status); }; } &&
32176          { ac_try='test -s conftest$ac_exeext'
32177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32178   (eval $ac_try) 2>&5
32179   ac_status=$?
32180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32181   (exit $ac_status); }; }; then
32182   eval "$as_ac_var=yes"
32183 else
32184   echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.$ac_ext >&5
32186
32187 eval "$as_ac_var=no"
32188 fi
32189 rm -f conftest.err conftest.$ac_objext \
32190       conftest$ac_exeext conftest.$ac_ext
32191 fi
32192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32194 if test `eval echo '${'$as_ac_var'}'` = yes; then
32195   cat >>confdefs.h <<_ACEOF
32196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32197 _ACEOF
32198
32199 fi
32200 done
32201
32202     fi
32203   fi
32204
32205
32206
32207
32208
32209
32210   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32211 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32212   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32213     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32214   echo $ECHO_N "(cached) $ECHO_C" >&6
32215 else
32216
32217
32218
32219       ac_ext=cc
32220 ac_cpp='$CXXCPP $CPPFLAGS'
32221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32224
32225       cat >conftest.$ac_ext <<_ACEOF
32226 /* confdefs.h.  */
32227 _ACEOF
32228 cat confdefs.h >>conftest.$ac_ext
32229 cat >>conftest.$ac_ext <<_ACEOF
32230 /* end confdefs.h.  */
32231 #include <math.h>
32232 int
32233 main ()
32234 {
32235  frexpl(0, 0);
32236   ;
32237   return 0;
32238 }
32239 _ACEOF
32240 rm -f conftest.$ac_objext
32241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32242   (eval $ac_compile) 2>conftest.er1
32243   ac_status=$?
32244   grep -v '^ *+' conftest.er1 >conftest.err
32245   rm -f conftest.er1
32246   cat conftest.err >&5
32247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248   (exit $ac_status); } &&
32249          { ac_try='test -z "$ac_cxx_werror_flag"
32250                          || test ! -s conftest.err'
32251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32252   (eval $ac_try) 2>&5
32253   ac_status=$?
32254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32255   (exit $ac_status); }; } &&
32256          { ac_try='test -s conftest.$ac_objext'
32257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32258   (eval $ac_try) 2>&5
32259   ac_status=$?
32260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261   (exit $ac_status); }; }; then
32262   glibcxx_cv_func_frexpl_use=yes
32263 else
32264   echo "$as_me: failed program was:" >&5
32265 sed 's/^/| /' conftest.$ac_ext >&5
32266
32267 glibcxx_cv_func_frexpl_use=no
32268 fi
32269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32270       ac_ext=c
32271 ac_cpp='$CPP $CPPFLAGS'
32272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32275
32276
32277 fi
32278
32279   fi
32280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32281 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32282
32283   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32284
32285 for ac_func in frexpl
32286 do
32287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32288 echo "$as_me:$LINENO: checking for $ac_func" >&5
32289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32290 if eval "test \"\${$as_ac_var+set}\" = set"; then
32291   echo $ECHO_N "(cached) $ECHO_C" >&6
32292 else
32293   if test x$gcc_no_link = xyes; then
32294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32296    { (exit 1); exit 1; }; }
32297 fi
32298 cat >conftest.$ac_ext <<_ACEOF
32299 /* confdefs.h.  */
32300 _ACEOF
32301 cat confdefs.h >>conftest.$ac_ext
32302 cat >>conftest.$ac_ext <<_ACEOF
32303 /* end confdefs.h.  */
32304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32306 #define $ac_func innocuous_$ac_func
32307
32308 /* System header to define __stub macros and hopefully few prototypes,
32309     which can conflict with char $ac_func (); below.
32310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32311     <limits.h> exists even on freestanding compilers.  */
32312
32313 #ifdef __STDC__
32314 # include <limits.h>
32315 #else
32316 # include <assert.h>
32317 #endif
32318
32319 #undef $ac_func
32320
32321 /* Override any gcc2 internal prototype to avoid an error.  */
32322 #ifdef __cplusplus
32323 extern "C"
32324 {
32325 #endif
32326 /* We use char because int might match the return type of a gcc2
32327    builtin and then its argument prototype would still apply.  */
32328 char $ac_func ();
32329 /* The GNU C library defines this for functions which it implements
32330     to always fail with ENOSYS.  Some functions are actually named
32331     something starting with __ and the normal name is an alias.  */
32332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32333 choke me
32334 #else
32335 char (*f) () = $ac_func;
32336 #endif
32337 #ifdef __cplusplus
32338 }
32339 #endif
32340
32341 int
32342 main ()
32343 {
32344 return f != $ac_func;
32345   ;
32346   return 0;
32347 }
32348 _ACEOF
32349 rm -f conftest.$ac_objext conftest$ac_exeext
32350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32351   (eval $ac_link) 2>conftest.er1
32352   ac_status=$?
32353   grep -v '^ *+' conftest.er1 >conftest.err
32354   rm -f conftest.er1
32355   cat conftest.err >&5
32356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357   (exit $ac_status); } &&
32358          { ac_try='test -z "$ac_c_werror_flag"
32359                          || test ! -s conftest.err'
32360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32361   (eval $ac_try) 2>&5
32362   ac_status=$?
32363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364   (exit $ac_status); }; } &&
32365          { ac_try='test -s conftest$ac_exeext'
32366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32367   (eval $ac_try) 2>&5
32368   ac_status=$?
32369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370   (exit $ac_status); }; }; then
32371   eval "$as_ac_var=yes"
32372 else
32373   echo "$as_me: failed program was:" >&5
32374 sed 's/^/| /' conftest.$ac_ext >&5
32375
32376 eval "$as_ac_var=no"
32377 fi
32378 rm -f conftest.err conftest.$ac_objext \
32379       conftest$ac_exeext conftest.$ac_ext
32380 fi
32381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32383 if test `eval echo '${'$as_ac_var'}'` = yes; then
32384   cat >>confdefs.h <<_ACEOF
32385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32386 _ACEOF
32387
32388 fi
32389 done
32390
32391   else
32392
32393   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32394 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32395   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32396     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32397   echo $ECHO_N "(cached) $ECHO_C" >&6
32398 else
32399
32400
32401
32402       ac_ext=cc
32403 ac_cpp='$CXXCPP $CPPFLAGS'
32404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32407
32408       cat >conftest.$ac_ext <<_ACEOF
32409 /* confdefs.h.  */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h.  */
32414 #include <math.h>
32415 int
32416 main ()
32417 {
32418  _frexpl(0, 0);
32419   ;
32420   return 0;
32421 }
32422 _ACEOF
32423 rm -f conftest.$ac_objext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32425   (eval $ac_compile) 2>conftest.er1
32426   ac_status=$?
32427   grep -v '^ *+' conftest.er1 >conftest.err
32428   rm -f conftest.er1
32429   cat conftest.err >&5
32430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431   (exit $ac_status); } &&
32432          { ac_try='test -z "$ac_cxx_werror_flag"
32433                          || test ! -s conftest.err'
32434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435   (eval $ac_try) 2>&5
32436   ac_status=$?
32437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438   (exit $ac_status); }; } &&
32439          { ac_try='test -s conftest.$ac_objext'
32440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441   (eval $ac_try) 2>&5
32442   ac_status=$?
32443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444   (exit $ac_status); }; }; then
32445   glibcxx_cv_func__frexpl_use=yes
32446 else
32447   echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32449
32450 glibcxx_cv_func__frexpl_use=no
32451 fi
32452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32453       ac_ext=c
32454 ac_cpp='$CPP $CPPFLAGS'
32455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32458
32459
32460 fi
32461
32462   fi
32463   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32464 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32465
32466     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32467
32468 for ac_func in _frexpl
32469 do
32470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32471 echo "$as_me:$LINENO: checking for $ac_func" >&5
32472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32473 if eval "test \"\${$as_ac_var+set}\" = set"; then
32474   echo $ECHO_N "(cached) $ECHO_C" >&6
32475 else
32476   if test x$gcc_no_link = xyes; then
32477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32479    { (exit 1); exit 1; }; }
32480 fi
32481 cat >conftest.$ac_ext <<_ACEOF
32482 /* confdefs.h.  */
32483 _ACEOF
32484 cat confdefs.h >>conftest.$ac_ext
32485 cat >>conftest.$ac_ext <<_ACEOF
32486 /* end confdefs.h.  */
32487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32489 #define $ac_func innocuous_$ac_func
32490
32491 /* System header to define __stub macros and hopefully few prototypes,
32492     which can conflict with char $ac_func (); below.
32493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32494     <limits.h> exists even on freestanding compilers.  */
32495
32496 #ifdef __STDC__
32497 # include <limits.h>
32498 #else
32499 # include <assert.h>
32500 #endif
32501
32502 #undef $ac_func
32503
32504 /* Override any gcc2 internal prototype to avoid an error.  */
32505 #ifdef __cplusplus
32506 extern "C"
32507 {
32508 #endif
32509 /* We use char because int might match the return type of a gcc2
32510    builtin and then its argument prototype would still apply.  */
32511 char $ac_func ();
32512 /* The GNU C library defines this for functions which it implements
32513     to always fail with ENOSYS.  Some functions are actually named
32514     something starting with __ and the normal name is an alias.  */
32515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32516 choke me
32517 #else
32518 char (*f) () = $ac_func;
32519 #endif
32520 #ifdef __cplusplus
32521 }
32522 #endif
32523
32524 int
32525 main ()
32526 {
32527 return f != $ac_func;
32528   ;
32529   return 0;
32530 }
32531 _ACEOF
32532 rm -f conftest.$ac_objext conftest$ac_exeext
32533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32534   (eval $ac_link) 2>conftest.er1
32535   ac_status=$?
32536   grep -v '^ *+' conftest.er1 >conftest.err
32537   rm -f conftest.er1
32538   cat conftest.err >&5
32539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540   (exit $ac_status); } &&
32541          { ac_try='test -z "$ac_c_werror_flag"
32542                          || test ! -s conftest.err'
32543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32544   (eval $ac_try) 2>&5
32545   ac_status=$?
32546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547   (exit $ac_status); }; } &&
32548          { ac_try='test -s conftest$ac_exeext'
32549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32550   (eval $ac_try) 2>&5
32551   ac_status=$?
32552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553   (exit $ac_status); }; }; then
32554   eval "$as_ac_var=yes"
32555 else
32556   echo "$as_me: failed program was:" >&5
32557 sed 's/^/| /' conftest.$ac_ext >&5
32558
32559 eval "$as_ac_var=no"
32560 fi
32561 rm -f conftest.err conftest.$ac_objext \
32562       conftest$ac_exeext conftest.$ac_ext
32563 fi
32564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32566 if test `eval echo '${'$as_ac_var'}'` = yes; then
32567   cat >>confdefs.h <<_ACEOF
32568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32569 _ACEOF
32570
32571 fi
32572 done
32573
32574     fi
32575   fi
32576
32577
32578
32579
32580
32581
32582   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32583 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32584   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32585     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32586   echo $ECHO_N "(cached) $ECHO_C" >&6
32587 else
32588
32589
32590
32591       ac_ext=cc
32592 ac_cpp='$CXXCPP $CPPFLAGS'
32593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32596
32597       cat >conftest.$ac_ext <<_ACEOF
32598 /* confdefs.h.  */
32599 _ACEOF
32600 cat confdefs.h >>conftest.$ac_ext
32601 cat >>conftest.$ac_ext <<_ACEOF
32602 /* end confdefs.h.  */
32603 #include <math.h>
32604 int
32605 main ()
32606 {
32607  hypotl(0, 0);
32608   ;
32609   return 0;
32610 }
32611 _ACEOF
32612 rm -f conftest.$ac_objext
32613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32614   (eval $ac_compile) 2>conftest.er1
32615   ac_status=$?
32616   grep -v '^ *+' conftest.er1 >conftest.err
32617   rm -f conftest.er1
32618   cat conftest.err >&5
32619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620   (exit $ac_status); } &&
32621          { ac_try='test -z "$ac_cxx_werror_flag"
32622                          || test ! -s conftest.err'
32623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32624   (eval $ac_try) 2>&5
32625   ac_status=$?
32626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32627   (exit $ac_status); }; } &&
32628          { ac_try='test -s conftest.$ac_objext'
32629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630   (eval $ac_try) 2>&5
32631   ac_status=$?
32632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633   (exit $ac_status); }; }; then
32634   glibcxx_cv_func_hypotl_use=yes
32635 else
32636   echo "$as_me: failed program was:" >&5
32637 sed 's/^/| /' conftest.$ac_ext >&5
32638
32639 glibcxx_cv_func_hypotl_use=no
32640 fi
32641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32642       ac_ext=c
32643 ac_cpp='$CPP $CPPFLAGS'
32644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32647
32648
32649 fi
32650
32651   fi
32652   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32653 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32654
32655   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32656
32657 for ac_func in hypotl
32658 do
32659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32660 echo "$as_me:$LINENO: checking for $ac_func" >&5
32661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32662 if eval "test \"\${$as_ac_var+set}\" = set"; then
32663   echo $ECHO_N "(cached) $ECHO_C" >&6
32664 else
32665   if test x$gcc_no_link = xyes; then
32666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32668    { (exit 1); exit 1; }; }
32669 fi
32670 cat >conftest.$ac_ext <<_ACEOF
32671 /* confdefs.h.  */
32672 _ACEOF
32673 cat confdefs.h >>conftest.$ac_ext
32674 cat >>conftest.$ac_ext <<_ACEOF
32675 /* end confdefs.h.  */
32676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32678 #define $ac_func innocuous_$ac_func
32679
32680 /* System header to define __stub macros and hopefully few prototypes,
32681     which can conflict with char $ac_func (); below.
32682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32683     <limits.h> exists even on freestanding compilers.  */
32684
32685 #ifdef __STDC__
32686 # include <limits.h>
32687 #else
32688 # include <assert.h>
32689 #endif
32690
32691 #undef $ac_func
32692
32693 /* Override any gcc2 internal prototype to avoid an error.  */
32694 #ifdef __cplusplus
32695 extern "C"
32696 {
32697 #endif
32698 /* We use char because int might match the return type of a gcc2
32699    builtin and then its argument prototype would still apply.  */
32700 char $ac_func ();
32701 /* The GNU C library defines this for functions which it implements
32702     to always fail with ENOSYS.  Some functions are actually named
32703     something starting with __ and the normal name is an alias.  */
32704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32705 choke me
32706 #else
32707 char (*f) () = $ac_func;
32708 #endif
32709 #ifdef __cplusplus
32710 }
32711 #endif
32712
32713 int
32714 main ()
32715 {
32716 return f != $ac_func;
32717   ;
32718   return 0;
32719 }
32720 _ACEOF
32721 rm -f conftest.$ac_objext conftest$ac_exeext
32722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32723   (eval $ac_link) 2>conftest.er1
32724   ac_status=$?
32725   grep -v '^ *+' conftest.er1 >conftest.err
32726   rm -f conftest.er1
32727   cat conftest.err >&5
32728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729   (exit $ac_status); } &&
32730          { ac_try='test -z "$ac_c_werror_flag"
32731                          || test ! -s conftest.err'
32732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733   (eval $ac_try) 2>&5
32734   ac_status=$?
32735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736   (exit $ac_status); }; } &&
32737          { ac_try='test -s conftest$ac_exeext'
32738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739   (eval $ac_try) 2>&5
32740   ac_status=$?
32741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742   (exit $ac_status); }; }; then
32743   eval "$as_ac_var=yes"
32744 else
32745   echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.$ac_ext >&5
32747
32748 eval "$as_ac_var=no"
32749 fi
32750 rm -f conftest.err conftest.$ac_objext \
32751       conftest$ac_exeext conftest.$ac_ext
32752 fi
32753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32755 if test `eval echo '${'$as_ac_var'}'` = yes; then
32756   cat >>confdefs.h <<_ACEOF
32757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32758 _ACEOF
32759
32760 fi
32761 done
32762
32763   else
32764
32765   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32766 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32767   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32768     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32769   echo $ECHO_N "(cached) $ECHO_C" >&6
32770 else
32771
32772
32773
32774       ac_ext=cc
32775 ac_cpp='$CXXCPP $CPPFLAGS'
32776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32779
32780       cat >conftest.$ac_ext <<_ACEOF
32781 /* confdefs.h.  */
32782 _ACEOF
32783 cat confdefs.h >>conftest.$ac_ext
32784 cat >>conftest.$ac_ext <<_ACEOF
32785 /* end confdefs.h.  */
32786 #include <math.h>
32787 int
32788 main ()
32789 {
32790  _hypotl(0, 0);
32791   ;
32792   return 0;
32793 }
32794 _ACEOF
32795 rm -f conftest.$ac_objext
32796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32797   (eval $ac_compile) 2>conftest.er1
32798   ac_status=$?
32799   grep -v '^ *+' conftest.er1 >conftest.err
32800   rm -f conftest.er1
32801   cat conftest.err >&5
32802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803   (exit $ac_status); } &&
32804          { ac_try='test -z "$ac_cxx_werror_flag"
32805                          || test ! -s conftest.err'
32806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32807   (eval $ac_try) 2>&5
32808   ac_status=$?
32809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810   (exit $ac_status); }; } &&
32811          { ac_try='test -s conftest.$ac_objext'
32812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32813   (eval $ac_try) 2>&5
32814   ac_status=$?
32815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816   (exit $ac_status); }; }; then
32817   glibcxx_cv_func__hypotl_use=yes
32818 else
32819   echo "$as_me: failed program was:" >&5
32820 sed 's/^/| /' conftest.$ac_ext >&5
32821
32822 glibcxx_cv_func__hypotl_use=no
32823 fi
32824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32825       ac_ext=c
32826 ac_cpp='$CPP $CPPFLAGS'
32827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32830
32831
32832 fi
32833
32834   fi
32835   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32836 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32837
32838     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32839
32840 for ac_func in _hypotl
32841 do
32842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32843 echo "$as_me:$LINENO: checking for $ac_func" >&5
32844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32845 if eval "test \"\${$as_ac_var+set}\" = set"; then
32846   echo $ECHO_N "(cached) $ECHO_C" >&6
32847 else
32848   if test x$gcc_no_link = xyes; then
32849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32851    { (exit 1); exit 1; }; }
32852 fi
32853 cat >conftest.$ac_ext <<_ACEOF
32854 /* confdefs.h.  */
32855 _ACEOF
32856 cat confdefs.h >>conftest.$ac_ext
32857 cat >>conftest.$ac_ext <<_ACEOF
32858 /* end confdefs.h.  */
32859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32861 #define $ac_func innocuous_$ac_func
32862
32863 /* System header to define __stub macros and hopefully few prototypes,
32864     which can conflict with char $ac_func (); below.
32865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32866     <limits.h> exists even on freestanding compilers.  */
32867
32868 #ifdef __STDC__
32869 # include <limits.h>
32870 #else
32871 # include <assert.h>
32872 #endif
32873
32874 #undef $ac_func
32875
32876 /* Override any gcc2 internal prototype to avoid an error.  */
32877 #ifdef __cplusplus
32878 extern "C"
32879 {
32880 #endif
32881 /* We use char because int might match the return type of a gcc2
32882    builtin and then its argument prototype would still apply.  */
32883 char $ac_func ();
32884 /* The GNU C library defines this for functions which it implements
32885     to always fail with ENOSYS.  Some functions are actually named
32886     something starting with __ and the normal name is an alias.  */
32887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32888 choke me
32889 #else
32890 char (*f) () = $ac_func;
32891 #endif
32892 #ifdef __cplusplus
32893 }
32894 #endif
32895
32896 int
32897 main ()
32898 {
32899 return f != $ac_func;
32900   ;
32901   return 0;
32902 }
32903 _ACEOF
32904 rm -f conftest.$ac_objext conftest$ac_exeext
32905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32906   (eval $ac_link) 2>conftest.er1
32907   ac_status=$?
32908   grep -v '^ *+' conftest.er1 >conftest.err
32909   rm -f conftest.er1
32910   cat conftest.err >&5
32911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912   (exit $ac_status); } &&
32913          { ac_try='test -z "$ac_c_werror_flag"
32914                          || test ! -s conftest.err'
32915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916   (eval $ac_try) 2>&5
32917   ac_status=$?
32918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919   (exit $ac_status); }; } &&
32920          { ac_try='test -s conftest$ac_exeext'
32921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32922   (eval $ac_try) 2>&5
32923   ac_status=$?
32924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925   (exit $ac_status); }; }; then
32926   eval "$as_ac_var=yes"
32927 else
32928   echo "$as_me: failed program was:" >&5
32929 sed 's/^/| /' conftest.$ac_ext >&5
32930
32931 eval "$as_ac_var=no"
32932 fi
32933 rm -f conftest.err conftest.$ac_objext \
32934       conftest$ac_exeext conftest.$ac_ext
32935 fi
32936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32938 if test `eval echo '${'$as_ac_var'}'` = yes; then
32939   cat >>confdefs.h <<_ACEOF
32940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32941 _ACEOF
32942
32943 fi
32944 done
32945
32946     fi
32947   fi
32948
32949
32950
32951
32952
32953
32954   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32955 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32956   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32957     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32958   echo $ECHO_N "(cached) $ECHO_C" >&6
32959 else
32960
32961
32962
32963       ac_ext=cc
32964 ac_cpp='$CXXCPP $CPPFLAGS'
32965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32968
32969       cat >conftest.$ac_ext <<_ACEOF
32970 /* confdefs.h.  */
32971 _ACEOF
32972 cat confdefs.h >>conftest.$ac_ext
32973 cat >>conftest.$ac_ext <<_ACEOF
32974 /* end confdefs.h.  */
32975 #include <math.h>
32976 int
32977 main ()
32978 {
32979  ldexpl(0, 0);
32980   ;
32981   return 0;
32982 }
32983 _ACEOF
32984 rm -f conftest.$ac_objext
32985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32986   (eval $ac_compile) 2>conftest.er1
32987   ac_status=$?
32988   grep -v '^ *+' conftest.er1 >conftest.err
32989   rm -f conftest.er1
32990   cat conftest.err >&5
32991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32992   (exit $ac_status); } &&
32993          { ac_try='test -z "$ac_cxx_werror_flag"
32994                          || test ! -s conftest.err'
32995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996   (eval $ac_try) 2>&5
32997   ac_status=$?
32998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999   (exit $ac_status); }; } &&
33000          { ac_try='test -s conftest.$ac_objext'
33001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002   (eval $ac_try) 2>&5
33003   ac_status=$?
33004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005   (exit $ac_status); }; }; then
33006   glibcxx_cv_func_ldexpl_use=yes
33007 else
33008   echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33010
33011 glibcxx_cv_func_ldexpl_use=no
33012 fi
33013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33014       ac_ext=c
33015 ac_cpp='$CPP $CPPFLAGS'
33016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33019
33020
33021 fi
33022
33023   fi
33024   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33025 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33026
33027   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33028
33029 for ac_func in ldexpl
33030 do
33031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33032 echo "$as_me:$LINENO: checking for $ac_func" >&5
33033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33034 if eval "test \"\${$as_ac_var+set}\" = set"; then
33035   echo $ECHO_N "(cached) $ECHO_C" >&6
33036 else
33037   if test x$gcc_no_link = xyes; then
33038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33040    { (exit 1); exit 1; }; }
33041 fi
33042 cat >conftest.$ac_ext <<_ACEOF
33043 /* confdefs.h.  */
33044 _ACEOF
33045 cat confdefs.h >>conftest.$ac_ext
33046 cat >>conftest.$ac_ext <<_ACEOF
33047 /* end confdefs.h.  */
33048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33050 #define $ac_func innocuous_$ac_func
33051
33052 /* System header to define __stub macros and hopefully few prototypes,
33053     which can conflict with char $ac_func (); below.
33054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33055     <limits.h> exists even on freestanding compilers.  */
33056
33057 #ifdef __STDC__
33058 # include <limits.h>
33059 #else
33060 # include <assert.h>
33061 #endif
33062
33063 #undef $ac_func
33064
33065 /* Override any gcc2 internal prototype to avoid an error.  */
33066 #ifdef __cplusplus
33067 extern "C"
33068 {
33069 #endif
33070 /* We use char because int might match the return type of a gcc2
33071    builtin and then its argument prototype would still apply.  */
33072 char $ac_func ();
33073 /* The GNU C library defines this for functions which it implements
33074     to always fail with ENOSYS.  Some functions are actually named
33075     something starting with __ and the normal name is an alias.  */
33076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33077 choke me
33078 #else
33079 char (*f) () = $ac_func;
33080 #endif
33081 #ifdef __cplusplus
33082 }
33083 #endif
33084
33085 int
33086 main ()
33087 {
33088 return f != $ac_func;
33089   ;
33090   return 0;
33091 }
33092 _ACEOF
33093 rm -f conftest.$ac_objext conftest$ac_exeext
33094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33095   (eval $ac_link) 2>conftest.er1
33096   ac_status=$?
33097   grep -v '^ *+' conftest.er1 >conftest.err
33098   rm -f conftest.er1
33099   cat conftest.err >&5
33100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101   (exit $ac_status); } &&
33102          { ac_try='test -z "$ac_c_werror_flag"
33103                          || test ! -s conftest.err'
33104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105   (eval $ac_try) 2>&5
33106   ac_status=$?
33107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108   (exit $ac_status); }; } &&
33109          { ac_try='test -s conftest$ac_exeext'
33110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33111   (eval $ac_try) 2>&5
33112   ac_status=$?
33113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114   (exit $ac_status); }; }; then
33115   eval "$as_ac_var=yes"
33116 else
33117   echo "$as_me: failed program was:" >&5
33118 sed 's/^/| /' conftest.$ac_ext >&5
33119
33120 eval "$as_ac_var=no"
33121 fi
33122 rm -f conftest.err conftest.$ac_objext \
33123       conftest$ac_exeext conftest.$ac_ext
33124 fi
33125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33127 if test `eval echo '${'$as_ac_var'}'` = yes; then
33128   cat >>confdefs.h <<_ACEOF
33129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33130 _ACEOF
33131
33132 fi
33133 done
33134
33135   else
33136
33137   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33138 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33139   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33140     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33141   echo $ECHO_N "(cached) $ECHO_C" >&6
33142 else
33143
33144
33145
33146       ac_ext=cc
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33151
33152       cat >conftest.$ac_ext <<_ACEOF
33153 /* confdefs.h.  */
33154 _ACEOF
33155 cat confdefs.h >>conftest.$ac_ext
33156 cat >>conftest.$ac_ext <<_ACEOF
33157 /* end confdefs.h.  */
33158 #include <math.h>
33159 int
33160 main ()
33161 {
33162  _ldexpl(0, 0);
33163   ;
33164   return 0;
33165 }
33166 _ACEOF
33167 rm -f conftest.$ac_objext
33168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33169   (eval $ac_compile) 2>conftest.er1
33170   ac_status=$?
33171   grep -v '^ *+' conftest.er1 >conftest.err
33172   rm -f conftest.er1
33173   cat conftest.err >&5
33174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33175   (exit $ac_status); } &&
33176          { ac_try='test -z "$ac_cxx_werror_flag"
33177                          || test ! -s conftest.err'
33178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179   (eval $ac_try) 2>&5
33180   ac_status=$?
33181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182   (exit $ac_status); }; } &&
33183          { ac_try='test -s conftest.$ac_objext'
33184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33185   (eval $ac_try) 2>&5
33186   ac_status=$?
33187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188   (exit $ac_status); }; }; then
33189   glibcxx_cv_func__ldexpl_use=yes
33190 else
33191   echo "$as_me: failed program was:" >&5
33192 sed 's/^/| /' conftest.$ac_ext >&5
33193
33194 glibcxx_cv_func__ldexpl_use=no
33195 fi
33196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33197       ac_ext=c
33198 ac_cpp='$CPP $CPPFLAGS'
33199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33202
33203
33204 fi
33205
33206   fi
33207   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33208 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33209
33210     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33211
33212 for ac_func in _ldexpl
33213 do
33214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33215 echo "$as_me:$LINENO: checking for $ac_func" >&5
33216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33217 if eval "test \"\${$as_ac_var+set}\" = set"; then
33218   echo $ECHO_N "(cached) $ECHO_C" >&6
33219 else
33220   if test x$gcc_no_link = xyes; then
33221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33223    { (exit 1); exit 1; }; }
33224 fi
33225 cat >conftest.$ac_ext <<_ACEOF
33226 /* confdefs.h.  */
33227 _ACEOF
33228 cat confdefs.h >>conftest.$ac_ext
33229 cat >>conftest.$ac_ext <<_ACEOF
33230 /* end confdefs.h.  */
33231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33233 #define $ac_func innocuous_$ac_func
33234
33235 /* System header to define __stub macros and hopefully few prototypes,
33236     which can conflict with char $ac_func (); below.
33237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33238     <limits.h> exists even on freestanding compilers.  */
33239
33240 #ifdef __STDC__
33241 # include <limits.h>
33242 #else
33243 # include <assert.h>
33244 #endif
33245
33246 #undef $ac_func
33247
33248 /* Override any gcc2 internal prototype to avoid an error.  */
33249 #ifdef __cplusplus
33250 extern "C"
33251 {
33252 #endif
33253 /* We use char because int might match the return type of a gcc2
33254    builtin and then its argument prototype would still apply.  */
33255 char $ac_func ();
33256 /* The GNU C library defines this for functions which it implements
33257     to always fail with ENOSYS.  Some functions are actually named
33258     something starting with __ and the normal name is an alias.  */
33259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33260 choke me
33261 #else
33262 char (*f) () = $ac_func;
33263 #endif
33264 #ifdef __cplusplus
33265 }
33266 #endif
33267
33268 int
33269 main ()
33270 {
33271 return f != $ac_func;
33272   ;
33273   return 0;
33274 }
33275 _ACEOF
33276 rm -f conftest.$ac_objext conftest$ac_exeext
33277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33278   (eval $ac_link) 2>conftest.er1
33279   ac_status=$?
33280   grep -v '^ *+' conftest.er1 >conftest.err
33281   rm -f conftest.er1
33282   cat conftest.err >&5
33283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284   (exit $ac_status); } &&
33285          { ac_try='test -z "$ac_c_werror_flag"
33286                          || test ! -s conftest.err'
33287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33288   (eval $ac_try) 2>&5
33289   ac_status=$?
33290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291   (exit $ac_status); }; } &&
33292          { ac_try='test -s conftest$ac_exeext'
33293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33294   (eval $ac_try) 2>&5
33295   ac_status=$?
33296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297   (exit $ac_status); }; }; then
33298   eval "$as_ac_var=yes"
33299 else
33300   echo "$as_me: failed program was:" >&5
33301 sed 's/^/| /' conftest.$ac_ext >&5
33302
33303 eval "$as_ac_var=no"
33304 fi
33305 rm -f conftest.err conftest.$ac_objext \
33306       conftest$ac_exeext conftest.$ac_ext
33307 fi
33308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33310 if test `eval echo '${'$as_ac_var'}'` = yes; then
33311   cat >>confdefs.h <<_ACEOF
33312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33313 _ACEOF
33314
33315 fi
33316 done
33317
33318     fi
33319   fi
33320
33321
33322
33323
33324
33325
33326   echo "$as_me:$LINENO: checking for logl declaration" >&5
33327 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33328   if test x${glibcxx_cv_func_logl_use+set} != xset; then
33329     if test "${glibcxx_cv_func_logl_use+set}" = set; then
33330   echo $ECHO_N "(cached) $ECHO_C" >&6
33331 else
33332
33333
33334
33335       ac_ext=cc
33336 ac_cpp='$CXXCPP $CPPFLAGS'
33337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33340
33341       cat >conftest.$ac_ext <<_ACEOF
33342 /* confdefs.h.  */
33343 _ACEOF
33344 cat confdefs.h >>conftest.$ac_ext
33345 cat >>conftest.$ac_ext <<_ACEOF
33346 /* end confdefs.h.  */
33347 #include <math.h>
33348                       #ifdef HAVE_IEEEFP_H
33349                       #include <ieeefp.h>
33350                       #endif
33351
33352 int
33353 main ()
33354 {
33355  logl(0);
33356   ;
33357   return 0;
33358 }
33359 _ACEOF
33360 rm -f conftest.$ac_objext
33361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33362   (eval $ac_compile) 2>conftest.er1
33363   ac_status=$?
33364   grep -v '^ *+' conftest.er1 >conftest.err
33365   rm -f conftest.er1
33366   cat conftest.err >&5
33367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33368   (exit $ac_status); } &&
33369          { ac_try='test -z "$ac_cxx_werror_flag"
33370                          || test ! -s conftest.err'
33371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372   (eval $ac_try) 2>&5
33373   ac_status=$?
33374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375   (exit $ac_status); }; } &&
33376          { ac_try='test -s conftest.$ac_objext'
33377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33378   (eval $ac_try) 2>&5
33379   ac_status=$?
33380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381   (exit $ac_status); }; }; then
33382   glibcxx_cv_func_logl_use=yes
33383 else
33384   echo "$as_me: failed program was:" >&5
33385 sed 's/^/| /' conftest.$ac_ext >&5
33386
33387 glibcxx_cv_func_logl_use=no
33388 fi
33389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33390       ac_ext=c
33391 ac_cpp='$CPP $CPPFLAGS'
33392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33395
33396
33397 fi
33398
33399   fi
33400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33401 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33402
33403   if test x$glibcxx_cv_func_logl_use = x"yes"; then
33404
33405 for ac_func in logl
33406 do
33407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33408 echo "$as_me:$LINENO: checking for $ac_func" >&5
33409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33410 if eval "test \"\${$as_ac_var+set}\" = set"; then
33411   echo $ECHO_N "(cached) $ECHO_C" >&6
33412 else
33413   if test x$gcc_no_link = xyes; then
33414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33416    { (exit 1); exit 1; }; }
33417 fi
33418 cat >conftest.$ac_ext <<_ACEOF
33419 /* confdefs.h.  */
33420 _ACEOF
33421 cat confdefs.h >>conftest.$ac_ext
33422 cat >>conftest.$ac_ext <<_ACEOF
33423 /* end confdefs.h.  */
33424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33426 #define $ac_func innocuous_$ac_func
33427
33428 /* System header to define __stub macros and hopefully few prototypes,
33429     which can conflict with char $ac_func (); below.
33430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33431     <limits.h> exists even on freestanding compilers.  */
33432
33433 #ifdef __STDC__
33434 # include <limits.h>
33435 #else
33436 # include <assert.h>
33437 #endif
33438
33439 #undef $ac_func
33440
33441 /* Override any gcc2 internal prototype to avoid an error.  */
33442 #ifdef __cplusplus
33443 extern "C"
33444 {
33445 #endif
33446 /* We use char because int might match the return type of a gcc2
33447    builtin and then its argument prototype would still apply.  */
33448 char $ac_func ();
33449 /* The GNU C library defines this for functions which it implements
33450     to always fail with ENOSYS.  Some functions are actually named
33451     something starting with __ and the normal name is an alias.  */
33452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33453 choke me
33454 #else
33455 char (*f) () = $ac_func;
33456 #endif
33457 #ifdef __cplusplus
33458 }
33459 #endif
33460
33461 int
33462 main ()
33463 {
33464 return f != $ac_func;
33465   ;
33466   return 0;
33467 }
33468 _ACEOF
33469 rm -f conftest.$ac_objext conftest$ac_exeext
33470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33471   (eval $ac_link) 2>conftest.er1
33472   ac_status=$?
33473   grep -v '^ *+' conftest.er1 >conftest.err
33474   rm -f conftest.er1
33475   cat conftest.err >&5
33476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477   (exit $ac_status); } &&
33478          { ac_try='test -z "$ac_c_werror_flag"
33479                          || test ! -s conftest.err'
33480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481   (eval $ac_try) 2>&5
33482   ac_status=$?
33483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484   (exit $ac_status); }; } &&
33485          { ac_try='test -s conftest$ac_exeext'
33486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33487   (eval $ac_try) 2>&5
33488   ac_status=$?
33489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490   (exit $ac_status); }; }; then
33491   eval "$as_ac_var=yes"
33492 else
33493   echo "$as_me: failed program was:" >&5
33494 sed 's/^/| /' conftest.$ac_ext >&5
33495
33496 eval "$as_ac_var=no"
33497 fi
33498 rm -f conftest.err conftest.$ac_objext \
33499       conftest$ac_exeext conftest.$ac_ext
33500 fi
33501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33503 if test `eval echo '${'$as_ac_var'}'` = yes; then
33504   cat >>confdefs.h <<_ACEOF
33505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33506 _ACEOF
33507
33508 fi
33509 done
33510
33511   else
33512
33513   echo "$as_me:$LINENO: checking for _logl declaration" >&5
33514 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33515   if test x${glibcxx_cv_func__logl_use+set} != xset; then
33516     if test "${glibcxx_cv_func__logl_use+set}" = set; then
33517   echo $ECHO_N "(cached) $ECHO_C" >&6
33518 else
33519
33520
33521
33522       ac_ext=cc
33523 ac_cpp='$CXXCPP $CPPFLAGS'
33524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33527
33528       cat >conftest.$ac_ext <<_ACEOF
33529 /* confdefs.h.  */
33530 _ACEOF
33531 cat confdefs.h >>conftest.$ac_ext
33532 cat >>conftest.$ac_ext <<_ACEOF
33533 /* end confdefs.h.  */
33534 #include <math.h>
33535                       #ifdef HAVE_IEEEFP_H
33536                       #include <ieeefp.h>
33537                       #endif
33538
33539 int
33540 main ()
33541 {
33542  _logl(0);
33543   ;
33544   return 0;
33545 }
33546 _ACEOF
33547 rm -f conftest.$ac_objext
33548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33549   (eval $ac_compile) 2>conftest.er1
33550   ac_status=$?
33551   grep -v '^ *+' conftest.er1 >conftest.err
33552   rm -f conftest.er1
33553   cat conftest.err >&5
33554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555   (exit $ac_status); } &&
33556          { ac_try='test -z "$ac_cxx_werror_flag"
33557                          || test ! -s conftest.err'
33558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33559   (eval $ac_try) 2>&5
33560   ac_status=$?
33561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33562   (exit $ac_status); }; } &&
33563          { ac_try='test -s conftest.$ac_objext'
33564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33565   (eval $ac_try) 2>&5
33566   ac_status=$?
33567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568   (exit $ac_status); }; }; then
33569   glibcxx_cv_func__logl_use=yes
33570 else
33571   echo "$as_me: failed program was:" >&5
33572 sed 's/^/| /' conftest.$ac_ext >&5
33573
33574 glibcxx_cv_func__logl_use=no
33575 fi
33576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33577       ac_ext=c
33578 ac_cpp='$CPP $CPPFLAGS'
33579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33582
33583
33584 fi
33585
33586   fi
33587   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33588 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33589
33590     if test x$glibcxx_cv_func__logl_use = x"yes"; then
33591
33592 for ac_func in _logl
33593 do
33594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33595 echo "$as_me:$LINENO: checking for $ac_func" >&5
33596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33597 if eval "test \"\${$as_ac_var+set}\" = set"; then
33598   echo $ECHO_N "(cached) $ECHO_C" >&6
33599 else
33600   if test x$gcc_no_link = xyes; then
33601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33603    { (exit 1); exit 1; }; }
33604 fi
33605 cat >conftest.$ac_ext <<_ACEOF
33606 /* confdefs.h.  */
33607 _ACEOF
33608 cat confdefs.h >>conftest.$ac_ext
33609 cat >>conftest.$ac_ext <<_ACEOF
33610 /* end confdefs.h.  */
33611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33613 #define $ac_func innocuous_$ac_func
33614
33615 /* System header to define __stub macros and hopefully few prototypes,
33616     which can conflict with char $ac_func (); below.
33617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33618     <limits.h> exists even on freestanding compilers.  */
33619
33620 #ifdef __STDC__
33621 # include <limits.h>
33622 #else
33623 # include <assert.h>
33624 #endif
33625
33626 #undef $ac_func
33627
33628 /* Override any gcc2 internal prototype to avoid an error.  */
33629 #ifdef __cplusplus
33630 extern "C"
33631 {
33632 #endif
33633 /* We use char because int might match the return type of a gcc2
33634    builtin and then its argument prototype would still apply.  */
33635 char $ac_func ();
33636 /* The GNU C library defines this for functions which it implements
33637     to always fail with ENOSYS.  Some functions are actually named
33638     something starting with __ and the normal name is an alias.  */
33639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33640 choke me
33641 #else
33642 char (*f) () = $ac_func;
33643 #endif
33644 #ifdef __cplusplus
33645 }
33646 #endif
33647
33648 int
33649 main ()
33650 {
33651 return f != $ac_func;
33652   ;
33653   return 0;
33654 }
33655 _ACEOF
33656 rm -f conftest.$ac_objext conftest$ac_exeext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33658   (eval $ac_link) 2>conftest.er1
33659   ac_status=$?
33660   grep -v '^ *+' conftest.er1 >conftest.err
33661   rm -f conftest.er1
33662   cat conftest.err >&5
33663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664   (exit $ac_status); } &&
33665          { ac_try='test -z "$ac_c_werror_flag"
33666                          || test ! -s conftest.err'
33667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668   (eval $ac_try) 2>&5
33669   ac_status=$?
33670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671   (exit $ac_status); }; } &&
33672          { ac_try='test -s conftest$ac_exeext'
33673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674   (eval $ac_try) 2>&5
33675   ac_status=$?
33676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677   (exit $ac_status); }; }; then
33678   eval "$as_ac_var=yes"
33679 else
33680   echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33682
33683 eval "$as_ac_var=no"
33684 fi
33685 rm -f conftest.err conftest.$ac_objext \
33686       conftest$ac_exeext conftest.$ac_ext
33687 fi
33688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33690 if test `eval echo '${'$as_ac_var'}'` = yes; then
33691   cat >>confdefs.h <<_ACEOF
33692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33693 _ACEOF
33694
33695 fi
33696 done
33697
33698     fi
33699   fi
33700
33701
33702
33703
33704
33705
33706   echo "$as_me:$LINENO: checking for log10l declaration" >&5
33707 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33708   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33709     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33710   echo $ECHO_N "(cached) $ECHO_C" >&6
33711 else
33712
33713
33714
33715       ac_ext=cc
33716 ac_cpp='$CXXCPP $CPPFLAGS'
33717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33720
33721       cat >conftest.$ac_ext <<_ACEOF
33722 /* confdefs.h.  */
33723 _ACEOF
33724 cat confdefs.h >>conftest.$ac_ext
33725 cat >>conftest.$ac_ext <<_ACEOF
33726 /* end confdefs.h.  */
33727 #include <math.h>
33728                       #ifdef HAVE_IEEEFP_H
33729                       #include <ieeefp.h>
33730                       #endif
33731
33732 int
33733 main ()
33734 {
33735  log10l(0);
33736   ;
33737   return 0;
33738 }
33739 _ACEOF
33740 rm -f conftest.$ac_objext
33741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33742   (eval $ac_compile) 2>conftest.er1
33743   ac_status=$?
33744   grep -v '^ *+' conftest.er1 >conftest.err
33745   rm -f conftest.er1
33746   cat conftest.err >&5
33747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748   (exit $ac_status); } &&
33749          { ac_try='test -z "$ac_cxx_werror_flag"
33750                          || test ! -s conftest.err'
33751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33752   (eval $ac_try) 2>&5
33753   ac_status=$?
33754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755   (exit $ac_status); }; } &&
33756          { ac_try='test -s conftest.$ac_objext'
33757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33758   (eval $ac_try) 2>&5
33759   ac_status=$?
33760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761   (exit $ac_status); }; }; then
33762   glibcxx_cv_func_log10l_use=yes
33763 else
33764   echo "$as_me: failed program was:" >&5
33765 sed 's/^/| /' conftest.$ac_ext >&5
33766
33767 glibcxx_cv_func_log10l_use=no
33768 fi
33769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33770       ac_ext=c
33771 ac_cpp='$CPP $CPPFLAGS'
33772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33775
33776
33777 fi
33778
33779   fi
33780   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33781 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33782
33783   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33784
33785 for ac_func in log10l
33786 do
33787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33788 echo "$as_me:$LINENO: checking for $ac_func" >&5
33789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33790 if eval "test \"\${$as_ac_var+set}\" = set"; then
33791   echo $ECHO_N "(cached) $ECHO_C" >&6
33792 else
33793   if test x$gcc_no_link = xyes; then
33794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33796    { (exit 1); exit 1; }; }
33797 fi
33798 cat >conftest.$ac_ext <<_ACEOF
33799 /* confdefs.h.  */
33800 _ACEOF
33801 cat confdefs.h >>conftest.$ac_ext
33802 cat >>conftest.$ac_ext <<_ACEOF
33803 /* end confdefs.h.  */
33804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33806 #define $ac_func innocuous_$ac_func
33807
33808 /* System header to define __stub macros and hopefully few prototypes,
33809     which can conflict with char $ac_func (); below.
33810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33811     <limits.h> exists even on freestanding compilers.  */
33812
33813 #ifdef __STDC__
33814 # include <limits.h>
33815 #else
33816 # include <assert.h>
33817 #endif
33818
33819 #undef $ac_func
33820
33821 /* Override any gcc2 internal prototype to avoid an error.  */
33822 #ifdef __cplusplus
33823 extern "C"
33824 {
33825 #endif
33826 /* We use char because int might match the return type of a gcc2
33827    builtin and then its argument prototype would still apply.  */
33828 char $ac_func ();
33829 /* The GNU C library defines this for functions which it implements
33830     to always fail with ENOSYS.  Some functions are actually named
33831     something starting with __ and the normal name is an alias.  */
33832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33833 choke me
33834 #else
33835 char (*f) () = $ac_func;
33836 #endif
33837 #ifdef __cplusplus
33838 }
33839 #endif
33840
33841 int
33842 main ()
33843 {
33844 return f != $ac_func;
33845   ;
33846   return 0;
33847 }
33848 _ACEOF
33849 rm -f conftest.$ac_objext conftest$ac_exeext
33850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33851   (eval $ac_link) 2>conftest.er1
33852   ac_status=$?
33853   grep -v '^ *+' conftest.er1 >conftest.err
33854   rm -f conftest.er1
33855   cat conftest.err >&5
33856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857   (exit $ac_status); } &&
33858          { ac_try='test -z "$ac_c_werror_flag"
33859                          || test ! -s conftest.err'
33860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33861   (eval $ac_try) 2>&5
33862   ac_status=$?
33863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864   (exit $ac_status); }; } &&
33865          { ac_try='test -s conftest$ac_exeext'
33866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867   (eval $ac_try) 2>&5
33868   ac_status=$?
33869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870   (exit $ac_status); }; }; then
33871   eval "$as_ac_var=yes"
33872 else
33873   echo "$as_me: failed program was:" >&5
33874 sed 's/^/| /' conftest.$ac_ext >&5
33875
33876 eval "$as_ac_var=no"
33877 fi
33878 rm -f conftest.err conftest.$ac_objext \
33879       conftest$ac_exeext conftest.$ac_ext
33880 fi
33881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33883 if test `eval echo '${'$as_ac_var'}'` = yes; then
33884   cat >>confdefs.h <<_ACEOF
33885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33886 _ACEOF
33887
33888 fi
33889 done
33890
33891   else
33892
33893   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33894 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33895   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33896     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33897   echo $ECHO_N "(cached) $ECHO_C" >&6
33898 else
33899
33900
33901
33902       ac_ext=cc
33903 ac_cpp='$CXXCPP $CPPFLAGS'
33904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33907
33908       cat >conftest.$ac_ext <<_ACEOF
33909 /* confdefs.h.  */
33910 _ACEOF
33911 cat confdefs.h >>conftest.$ac_ext
33912 cat >>conftest.$ac_ext <<_ACEOF
33913 /* end confdefs.h.  */
33914 #include <math.h>
33915                       #ifdef HAVE_IEEEFP_H
33916                       #include <ieeefp.h>
33917                       #endif
33918
33919 int
33920 main ()
33921 {
33922  _log10l(0);
33923   ;
33924   return 0;
33925 }
33926 _ACEOF
33927 rm -f conftest.$ac_objext
33928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33929   (eval $ac_compile) 2>conftest.er1
33930   ac_status=$?
33931   grep -v '^ *+' conftest.er1 >conftest.err
33932   rm -f conftest.er1
33933   cat conftest.err >&5
33934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935   (exit $ac_status); } &&
33936          { ac_try='test -z "$ac_cxx_werror_flag"
33937                          || test ! -s conftest.err'
33938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33939   (eval $ac_try) 2>&5
33940   ac_status=$?
33941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942   (exit $ac_status); }; } &&
33943          { ac_try='test -s conftest.$ac_objext'
33944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33945   (eval $ac_try) 2>&5
33946   ac_status=$?
33947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33948   (exit $ac_status); }; }; then
33949   glibcxx_cv_func__log10l_use=yes
33950 else
33951   echo "$as_me: failed program was:" >&5
33952 sed 's/^/| /' conftest.$ac_ext >&5
33953
33954 glibcxx_cv_func__log10l_use=no
33955 fi
33956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33957       ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33962
33963
33964 fi
33965
33966   fi
33967   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33968 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33969
33970     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33971
33972 for ac_func in _log10l
33973 do
33974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33975 echo "$as_me:$LINENO: checking for $ac_func" >&5
33976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33977 if eval "test \"\${$as_ac_var+set}\" = set"; then
33978   echo $ECHO_N "(cached) $ECHO_C" >&6
33979 else
33980   if test x$gcc_no_link = xyes; then
33981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33983    { (exit 1); exit 1; }; }
33984 fi
33985 cat >conftest.$ac_ext <<_ACEOF
33986 /* confdefs.h.  */
33987 _ACEOF
33988 cat confdefs.h >>conftest.$ac_ext
33989 cat >>conftest.$ac_ext <<_ACEOF
33990 /* end confdefs.h.  */
33991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33993 #define $ac_func innocuous_$ac_func
33994
33995 /* System header to define __stub macros and hopefully few prototypes,
33996     which can conflict with char $ac_func (); below.
33997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33998     <limits.h> exists even on freestanding compilers.  */
33999
34000 #ifdef __STDC__
34001 # include <limits.h>
34002 #else
34003 # include <assert.h>
34004 #endif
34005
34006 #undef $ac_func
34007
34008 /* Override any gcc2 internal prototype to avoid an error.  */
34009 #ifdef __cplusplus
34010 extern "C"
34011 {
34012 #endif
34013 /* We use char because int might match the return type of a gcc2
34014    builtin and then its argument prototype would still apply.  */
34015 char $ac_func ();
34016 /* The GNU C library defines this for functions which it implements
34017     to always fail with ENOSYS.  Some functions are actually named
34018     something starting with __ and the normal name is an alias.  */
34019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34020 choke me
34021 #else
34022 char (*f) () = $ac_func;
34023 #endif
34024 #ifdef __cplusplus
34025 }
34026 #endif
34027
34028 int
34029 main ()
34030 {
34031 return f != $ac_func;
34032   ;
34033   return 0;
34034 }
34035 _ACEOF
34036 rm -f conftest.$ac_objext conftest$ac_exeext
34037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34038   (eval $ac_link) 2>conftest.er1
34039   ac_status=$?
34040   grep -v '^ *+' conftest.er1 >conftest.err
34041   rm -f conftest.er1
34042   cat conftest.err >&5
34043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044   (exit $ac_status); } &&
34045          { ac_try='test -z "$ac_c_werror_flag"
34046                          || test ! -s conftest.err'
34047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048   (eval $ac_try) 2>&5
34049   ac_status=$?
34050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051   (exit $ac_status); }; } &&
34052          { ac_try='test -s conftest$ac_exeext'
34053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054   (eval $ac_try) 2>&5
34055   ac_status=$?
34056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057   (exit $ac_status); }; }; then
34058   eval "$as_ac_var=yes"
34059 else
34060   echo "$as_me: failed program was:" >&5
34061 sed 's/^/| /' conftest.$ac_ext >&5
34062
34063 eval "$as_ac_var=no"
34064 fi
34065 rm -f conftest.err conftest.$ac_objext \
34066       conftest$ac_exeext conftest.$ac_ext
34067 fi
34068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34070 if test `eval echo '${'$as_ac_var'}'` = yes; then
34071   cat >>confdefs.h <<_ACEOF
34072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34073 _ACEOF
34074
34075 fi
34076 done
34077
34078     fi
34079   fi
34080
34081
34082
34083
34084
34085
34086   echo "$as_me:$LINENO: checking for modfl declaration" >&5
34087 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34088   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34089     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34090   echo $ECHO_N "(cached) $ECHO_C" >&6
34091 else
34092
34093
34094
34095       ac_ext=cc
34096 ac_cpp='$CXXCPP $CPPFLAGS'
34097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34100
34101       cat >conftest.$ac_ext <<_ACEOF
34102 /* confdefs.h.  */
34103 _ACEOF
34104 cat confdefs.h >>conftest.$ac_ext
34105 cat >>conftest.$ac_ext <<_ACEOF
34106 /* end confdefs.h.  */
34107 #include <math.h>
34108 int
34109 main ()
34110 {
34111  modfl(0, 0);
34112   ;
34113   return 0;
34114 }
34115 _ACEOF
34116 rm -f conftest.$ac_objext
34117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34118   (eval $ac_compile) 2>conftest.er1
34119   ac_status=$?
34120   grep -v '^ *+' conftest.er1 >conftest.err
34121   rm -f conftest.er1
34122   cat conftest.err >&5
34123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34124   (exit $ac_status); } &&
34125          { ac_try='test -z "$ac_cxx_werror_flag"
34126                          || test ! -s conftest.err'
34127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34128   (eval $ac_try) 2>&5
34129   ac_status=$?
34130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34131   (exit $ac_status); }; } &&
34132          { ac_try='test -s conftest.$ac_objext'
34133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34134   (eval $ac_try) 2>&5
34135   ac_status=$?
34136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137   (exit $ac_status); }; }; then
34138   glibcxx_cv_func_modfl_use=yes
34139 else
34140   echo "$as_me: failed program was:" >&5
34141 sed 's/^/| /' conftest.$ac_ext >&5
34142
34143 glibcxx_cv_func_modfl_use=no
34144 fi
34145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34146       ac_ext=c
34147 ac_cpp='$CPP $CPPFLAGS'
34148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34151
34152
34153 fi
34154
34155   fi
34156   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34157 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34158
34159   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34160
34161 for ac_func in modfl
34162 do
34163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34164 echo "$as_me:$LINENO: checking for $ac_func" >&5
34165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34166 if eval "test \"\${$as_ac_var+set}\" = set"; then
34167   echo $ECHO_N "(cached) $ECHO_C" >&6
34168 else
34169   if test x$gcc_no_link = xyes; then
34170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34172    { (exit 1); exit 1; }; }
34173 fi
34174 cat >conftest.$ac_ext <<_ACEOF
34175 /* confdefs.h.  */
34176 _ACEOF
34177 cat confdefs.h >>conftest.$ac_ext
34178 cat >>conftest.$ac_ext <<_ACEOF
34179 /* end confdefs.h.  */
34180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34182 #define $ac_func innocuous_$ac_func
34183
34184 /* System header to define __stub macros and hopefully few prototypes,
34185     which can conflict with char $ac_func (); below.
34186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34187     <limits.h> exists even on freestanding compilers.  */
34188
34189 #ifdef __STDC__
34190 # include <limits.h>
34191 #else
34192 # include <assert.h>
34193 #endif
34194
34195 #undef $ac_func
34196
34197 /* Override any gcc2 internal prototype to avoid an error.  */
34198 #ifdef __cplusplus
34199 extern "C"
34200 {
34201 #endif
34202 /* We use char because int might match the return type of a gcc2
34203    builtin and then its argument prototype would still apply.  */
34204 char $ac_func ();
34205 /* The GNU C library defines this for functions which it implements
34206     to always fail with ENOSYS.  Some functions are actually named
34207     something starting with __ and the normal name is an alias.  */
34208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34209 choke me
34210 #else
34211 char (*f) () = $ac_func;
34212 #endif
34213 #ifdef __cplusplus
34214 }
34215 #endif
34216
34217 int
34218 main ()
34219 {
34220 return f != $ac_func;
34221   ;
34222   return 0;
34223 }
34224 _ACEOF
34225 rm -f conftest.$ac_objext conftest$ac_exeext
34226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34227   (eval $ac_link) 2>conftest.er1
34228   ac_status=$?
34229   grep -v '^ *+' conftest.er1 >conftest.err
34230   rm -f conftest.er1
34231   cat conftest.err >&5
34232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233   (exit $ac_status); } &&
34234          { ac_try='test -z "$ac_c_werror_flag"
34235                          || test ! -s conftest.err'
34236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34237   (eval $ac_try) 2>&5
34238   ac_status=$?
34239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240   (exit $ac_status); }; } &&
34241          { ac_try='test -s conftest$ac_exeext'
34242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34243   (eval $ac_try) 2>&5
34244   ac_status=$?
34245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246   (exit $ac_status); }; }; then
34247   eval "$as_ac_var=yes"
34248 else
34249   echo "$as_me: failed program was:" >&5
34250 sed 's/^/| /' conftest.$ac_ext >&5
34251
34252 eval "$as_ac_var=no"
34253 fi
34254 rm -f conftest.err conftest.$ac_objext \
34255       conftest$ac_exeext conftest.$ac_ext
34256 fi
34257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34259 if test `eval echo '${'$as_ac_var'}'` = yes; then
34260   cat >>confdefs.h <<_ACEOF
34261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34262 _ACEOF
34263
34264 fi
34265 done
34266
34267   else
34268
34269   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34270 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34271   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34272     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34273   echo $ECHO_N "(cached) $ECHO_C" >&6
34274 else
34275
34276
34277
34278       ac_ext=cc
34279 ac_cpp='$CXXCPP $CPPFLAGS'
34280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34283
34284       cat >conftest.$ac_ext <<_ACEOF
34285 /* confdefs.h.  */
34286 _ACEOF
34287 cat confdefs.h >>conftest.$ac_ext
34288 cat >>conftest.$ac_ext <<_ACEOF
34289 /* end confdefs.h.  */
34290 #include <math.h>
34291 int
34292 main ()
34293 {
34294  _modfl(0, 0);
34295   ;
34296   return 0;
34297 }
34298 _ACEOF
34299 rm -f conftest.$ac_objext
34300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34301   (eval $ac_compile) 2>conftest.er1
34302   ac_status=$?
34303   grep -v '^ *+' conftest.er1 >conftest.err
34304   rm -f conftest.er1
34305   cat conftest.err >&5
34306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34307   (exit $ac_status); } &&
34308          { ac_try='test -z "$ac_cxx_werror_flag"
34309                          || test ! -s conftest.err'
34310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34311   (eval $ac_try) 2>&5
34312   ac_status=$?
34313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34314   (exit $ac_status); }; } &&
34315          { ac_try='test -s conftest.$ac_objext'
34316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34317   (eval $ac_try) 2>&5
34318   ac_status=$?
34319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320   (exit $ac_status); }; }; then
34321   glibcxx_cv_func__modfl_use=yes
34322 else
34323   echo "$as_me: failed program was:" >&5
34324 sed 's/^/| /' conftest.$ac_ext >&5
34325
34326 glibcxx_cv_func__modfl_use=no
34327 fi
34328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34329       ac_ext=c
34330 ac_cpp='$CPP $CPPFLAGS'
34331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34334
34335
34336 fi
34337
34338   fi
34339   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34340 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34341
34342     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34343
34344 for ac_func in _modfl
34345 do
34346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34347 echo "$as_me:$LINENO: checking for $ac_func" >&5
34348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34349 if eval "test \"\${$as_ac_var+set}\" = set"; then
34350   echo $ECHO_N "(cached) $ECHO_C" >&6
34351 else
34352   if test x$gcc_no_link = xyes; then
34353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34355    { (exit 1); exit 1; }; }
34356 fi
34357 cat >conftest.$ac_ext <<_ACEOF
34358 /* confdefs.h.  */
34359 _ACEOF
34360 cat confdefs.h >>conftest.$ac_ext
34361 cat >>conftest.$ac_ext <<_ACEOF
34362 /* end confdefs.h.  */
34363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34365 #define $ac_func innocuous_$ac_func
34366
34367 /* System header to define __stub macros and hopefully few prototypes,
34368     which can conflict with char $ac_func (); below.
34369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34370     <limits.h> exists even on freestanding compilers.  */
34371
34372 #ifdef __STDC__
34373 # include <limits.h>
34374 #else
34375 # include <assert.h>
34376 #endif
34377
34378 #undef $ac_func
34379
34380 /* Override any gcc2 internal prototype to avoid an error.  */
34381 #ifdef __cplusplus
34382 extern "C"
34383 {
34384 #endif
34385 /* We use char because int might match the return type of a gcc2
34386    builtin and then its argument prototype would still apply.  */
34387 char $ac_func ();
34388 /* The GNU C library defines this for functions which it implements
34389     to always fail with ENOSYS.  Some functions are actually named
34390     something starting with __ and the normal name is an alias.  */
34391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34392 choke me
34393 #else
34394 char (*f) () = $ac_func;
34395 #endif
34396 #ifdef __cplusplus
34397 }
34398 #endif
34399
34400 int
34401 main ()
34402 {
34403 return f != $ac_func;
34404   ;
34405   return 0;
34406 }
34407 _ACEOF
34408 rm -f conftest.$ac_objext conftest$ac_exeext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34410   (eval $ac_link) 2>conftest.er1
34411   ac_status=$?
34412   grep -v '^ *+' conftest.er1 >conftest.err
34413   rm -f conftest.er1
34414   cat conftest.err >&5
34415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416   (exit $ac_status); } &&
34417          { ac_try='test -z "$ac_c_werror_flag"
34418                          || test ! -s conftest.err'
34419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34420   (eval $ac_try) 2>&5
34421   ac_status=$?
34422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423   (exit $ac_status); }; } &&
34424          { ac_try='test -s conftest$ac_exeext'
34425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426   (eval $ac_try) 2>&5
34427   ac_status=$?
34428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429   (exit $ac_status); }; }; then
34430   eval "$as_ac_var=yes"
34431 else
34432   echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34434
34435 eval "$as_ac_var=no"
34436 fi
34437 rm -f conftest.err conftest.$ac_objext \
34438       conftest$ac_exeext conftest.$ac_ext
34439 fi
34440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34442 if test `eval echo '${'$as_ac_var'}'` = yes; then
34443   cat >>confdefs.h <<_ACEOF
34444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34445 _ACEOF
34446
34447 fi
34448 done
34449
34450     fi
34451   fi
34452
34453
34454
34455
34456
34457
34458   echo "$as_me:$LINENO: checking for powl declaration" >&5
34459 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34460   if test x${glibcxx_cv_func_powl_use+set} != xset; then
34461     if test "${glibcxx_cv_func_powl_use+set}" = set; then
34462   echo $ECHO_N "(cached) $ECHO_C" >&6
34463 else
34464
34465
34466
34467       ac_ext=cc
34468 ac_cpp='$CXXCPP $CPPFLAGS'
34469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34472
34473       cat >conftest.$ac_ext <<_ACEOF
34474 /* confdefs.h.  */
34475 _ACEOF
34476 cat confdefs.h >>conftest.$ac_ext
34477 cat >>conftest.$ac_ext <<_ACEOF
34478 /* end confdefs.h.  */
34479 #include <math.h>
34480 int
34481 main ()
34482 {
34483  powl(0, 0);
34484   ;
34485   return 0;
34486 }
34487 _ACEOF
34488 rm -f conftest.$ac_objext
34489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34490   (eval $ac_compile) 2>conftest.er1
34491   ac_status=$?
34492   grep -v '^ *+' conftest.er1 >conftest.err
34493   rm -f conftest.er1
34494   cat conftest.err >&5
34495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496   (exit $ac_status); } &&
34497          { ac_try='test -z "$ac_cxx_werror_flag"
34498                          || test ! -s conftest.err'
34499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34500   (eval $ac_try) 2>&5
34501   ac_status=$?
34502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34503   (exit $ac_status); }; } &&
34504          { ac_try='test -s conftest.$ac_objext'
34505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34506   (eval $ac_try) 2>&5
34507   ac_status=$?
34508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509   (exit $ac_status); }; }; then
34510   glibcxx_cv_func_powl_use=yes
34511 else
34512   echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.$ac_ext >&5
34514
34515 glibcxx_cv_func_powl_use=no
34516 fi
34517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34518       ac_ext=c
34519 ac_cpp='$CPP $CPPFLAGS'
34520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34523
34524
34525 fi
34526
34527   fi
34528   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34529 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34530
34531   if test x$glibcxx_cv_func_powl_use = x"yes"; then
34532
34533 for ac_func in powl
34534 do
34535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34536 echo "$as_me:$LINENO: checking for $ac_func" >&5
34537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34538 if eval "test \"\${$as_ac_var+set}\" = set"; then
34539   echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541   if test x$gcc_no_link = xyes; then
34542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34544    { (exit 1); exit 1; }; }
34545 fi
34546 cat >conftest.$ac_ext <<_ACEOF
34547 /* confdefs.h.  */
34548 _ACEOF
34549 cat confdefs.h >>conftest.$ac_ext
34550 cat >>conftest.$ac_ext <<_ACEOF
34551 /* end confdefs.h.  */
34552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34554 #define $ac_func innocuous_$ac_func
34555
34556 /* System header to define __stub macros and hopefully few prototypes,
34557     which can conflict with char $ac_func (); below.
34558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34559     <limits.h> exists even on freestanding compilers.  */
34560
34561 #ifdef __STDC__
34562 # include <limits.h>
34563 #else
34564 # include <assert.h>
34565 #endif
34566
34567 #undef $ac_func
34568
34569 /* Override any gcc2 internal prototype to avoid an error.  */
34570 #ifdef __cplusplus
34571 extern "C"
34572 {
34573 #endif
34574 /* We use char because int might match the return type of a gcc2
34575    builtin and then its argument prototype would still apply.  */
34576 char $ac_func ();
34577 /* The GNU C library defines this for functions which it implements
34578     to always fail with ENOSYS.  Some functions are actually named
34579     something starting with __ and the normal name is an alias.  */
34580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34581 choke me
34582 #else
34583 char (*f) () = $ac_func;
34584 #endif
34585 #ifdef __cplusplus
34586 }
34587 #endif
34588
34589 int
34590 main ()
34591 {
34592 return f != $ac_func;
34593   ;
34594   return 0;
34595 }
34596 _ACEOF
34597 rm -f conftest.$ac_objext conftest$ac_exeext
34598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34599   (eval $ac_link) 2>conftest.er1
34600   ac_status=$?
34601   grep -v '^ *+' conftest.er1 >conftest.err
34602   rm -f conftest.er1
34603   cat conftest.err >&5
34604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605   (exit $ac_status); } &&
34606          { ac_try='test -z "$ac_c_werror_flag"
34607                          || test ! -s conftest.err'
34608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34609   (eval $ac_try) 2>&5
34610   ac_status=$?
34611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612   (exit $ac_status); }; } &&
34613          { ac_try='test -s conftest$ac_exeext'
34614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615   (eval $ac_try) 2>&5
34616   ac_status=$?
34617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618   (exit $ac_status); }; }; then
34619   eval "$as_ac_var=yes"
34620 else
34621   echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34623
34624 eval "$as_ac_var=no"
34625 fi
34626 rm -f conftest.err conftest.$ac_objext \
34627       conftest$ac_exeext conftest.$ac_ext
34628 fi
34629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34631 if test `eval echo '${'$as_ac_var'}'` = yes; then
34632   cat >>confdefs.h <<_ACEOF
34633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34634 _ACEOF
34635
34636 fi
34637 done
34638
34639   else
34640
34641   echo "$as_me:$LINENO: checking for _powl declaration" >&5
34642 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34643   if test x${glibcxx_cv_func__powl_use+set} != xset; then
34644     if test "${glibcxx_cv_func__powl_use+set}" = set; then
34645   echo $ECHO_N "(cached) $ECHO_C" >&6
34646 else
34647
34648
34649
34650       ac_ext=cc
34651 ac_cpp='$CXXCPP $CPPFLAGS'
34652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34655
34656       cat >conftest.$ac_ext <<_ACEOF
34657 /* confdefs.h.  */
34658 _ACEOF
34659 cat confdefs.h >>conftest.$ac_ext
34660 cat >>conftest.$ac_ext <<_ACEOF
34661 /* end confdefs.h.  */
34662 #include <math.h>
34663 int
34664 main ()
34665 {
34666  _powl(0, 0);
34667   ;
34668   return 0;
34669 }
34670 _ACEOF
34671 rm -f conftest.$ac_objext
34672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34673   (eval $ac_compile) 2>conftest.er1
34674   ac_status=$?
34675   grep -v '^ *+' conftest.er1 >conftest.err
34676   rm -f conftest.er1
34677   cat conftest.err >&5
34678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679   (exit $ac_status); } &&
34680          { ac_try='test -z "$ac_cxx_werror_flag"
34681                          || test ! -s conftest.err'
34682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34683   (eval $ac_try) 2>&5
34684   ac_status=$?
34685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686   (exit $ac_status); }; } &&
34687          { ac_try='test -s conftest.$ac_objext'
34688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34689   (eval $ac_try) 2>&5
34690   ac_status=$?
34691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692   (exit $ac_status); }; }; then
34693   glibcxx_cv_func__powl_use=yes
34694 else
34695   echo "$as_me: failed program was:" >&5
34696 sed 's/^/| /' conftest.$ac_ext >&5
34697
34698 glibcxx_cv_func__powl_use=no
34699 fi
34700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34701       ac_ext=c
34702 ac_cpp='$CPP $CPPFLAGS'
34703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34706
34707
34708 fi
34709
34710   fi
34711   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34712 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34713
34714     if test x$glibcxx_cv_func__powl_use = x"yes"; then
34715
34716 for ac_func in _powl
34717 do
34718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34719 echo "$as_me:$LINENO: checking for $ac_func" >&5
34720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34721 if eval "test \"\${$as_ac_var+set}\" = set"; then
34722   echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724   if test x$gcc_no_link = xyes; then
34725   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34727    { (exit 1); exit 1; }; }
34728 fi
34729 cat >conftest.$ac_ext <<_ACEOF
34730 /* confdefs.h.  */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h.  */
34735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34736    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34737 #define $ac_func innocuous_$ac_func
34738
34739 /* System header to define __stub macros and hopefully few prototypes,
34740     which can conflict with char $ac_func (); below.
34741     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34742     <limits.h> exists even on freestanding compilers.  */
34743
34744 #ifdef __STDC__
34745 # include <limits.h>
34746 #else
34747 # include <assert.h>
34748 #endif
34749
34750 #undef $ac_func
34751
34752 /* Override any gcc2 internal prototype to avoid an error.  */
34753 #ifdef __cplusplus
34754 extern "C"
34755 {
34756 #endif
34757 /* We use char because int might match the return type of a gcc2
34758    builtin and then its argument prototype would still apply.  */
34759 char $ac_func ();
34760 /* The GNU C library defines this for functions which it implements
34761     to always fail with ENOSYS.  Some functions are actually named
34762     something starting with __ and the normal name is an alias.  */
34763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34764 choke me
34765 #else
34766 char (*f) () = $ac_func;
34767 #endif
34768 #ifdef __cplusplus
34769 }
34770 #endif
34771
34772 int
34773 main ()
34774 {
34775 return f != $ac_func;
34776   ;
34777   return 0;
34778 }
34779 _ACEOF
34780 rm -f conftest.$ac_objext conftest$ac_exeext
34781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34782   (eval $ac_link) 2>conftest.er1
34783   ac_status=$?
34784   grep -v '^ *+' conftest.er1 >conftest.err
34785   rm -f conftest.er1
34786   cat conftest.err >&5
34787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788   (exit $ac_status); } &&
34789          { ac_try='test -z "$ac_c_werror_flag"
34790                          || test ! -s conftest.err'
34791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792   (eval $ac_try) 2>&5
34793   ac_status=$?
34794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795   (exit $ac_status); }; } &&
34796          { ac_try='test -s conftest$ac_exeext'
34797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798   (eval $ac_try) 2>&5
34799   ac_status=$?
34800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801   (exit $ac_status); }; }; then
34802   eval "$as_ac_var=yes"
34803 else
34804   echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34806
34807 eval "$as_ac_var=no"
34808 fi
34809 rm -f conftest.err conftest.$ac_objext \
34810       conftest$ac_exeext conftest.$ac_ext
34811 fi
34812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34814 if test `eval echo '${'$as_ac_var'}'` = yes; then
34815   cat >>confdefs.h <<_ACEOF
34816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34817 _ACEOF
34818
34819 fi
34820 done
34821
34822     fi
34823   fi
34824
34825
34826
34827
34828
34829
34830   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34831 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34832   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34833     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34834   echo $ECHO_N "(cached) $ECHO_C" >&6
34835 else
34836
34837
34838
34839       ac_ext=cc
34840 ac_cpp='$CXXCPP $CPPFLAGS'
34841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34844
34845       cat >conftest.$ac_ext <<_ACEOF
34846 /* confdefs.h.  */
34847 _ACEOF
34848 cat confdefs.h >>conftest.$ac_ext
34849 cat >>conftest.$ac_ext <<_ACEOF
34850 /* end confdefs.h.  */
34851 #include <math.h>
34852                       #ifdef HAVE_IEEEFP_H
34853                       #include <ieeefp.h>
34854                       #endif
34855
34856 int
34857 main ()
34858 {
34859  sqrtl(0);
34860   ;
34861   return 0;
34862 }
34863 _ACEOF
34864 rm -f conftest.$ac_objext
34865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34866   (eval $ac_compile) 2>conftest.er1
34867   ac_status=$?
34868   grep -v '^ *+' conftest.er1 >conftest.err
34869   rm -f conftest.er1
34870   cat conftest.err >&5
34871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872   (exit $ac_status); } &&
34873          { ac_try='test -z "$ac_cxx_werror_flag"
34874                          || test ! -s conftest.err'
34875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876   (eval $ac_try) 2>&5
34877   ac_status=$?
34878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879   (exit $ac_status); }; } &&
34880          { ac_try='test -s conftest.$ac_objext'
34881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882   (eval $ac_try) 2>&5
34883   ac_status=$?
34884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885   (exit $ac_status); }; }; then
34886   glibcxx_cv_func_sqrtl_use=yes
34887 else
34888   echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34890
34891 glibcxx_cv_func_sqrtl_use=no
34892 fi
34893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34894       ac_ext=c
34895 ac_cpp='$CPP $CPPFLAGS'
34896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34899
34900
34901 fi
34902
34903   fi
34904   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34905 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34906
34907   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34908
34909 for ac_func in sqrtl
34910 do
34911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34912 echo "$as_me:$LINENO: checking for $ac_func" >&5
34913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34914 if eval "test \"\${$as_ac_var+set}\" = set"; then
34915   echo $ECHO_N "(cached) $ECHO_C" >&6
34916 else
34917   if test x$gcc_no_link = xyes; then
34918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34920    { (exit 1); exit 1; }; }
34921 fi
34922 cat >conftest.$ac_ext <<_ACEOF
34923 /* confdefs.h.  */
34924 _ACEOF
34925 cat confdefs.h >>conftest.$ac_ext
34926 cat >>conftest.$ac_ext <<_ACEOF
34927 /* end confdefs.h.  */
34928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34930 #define $ac_func innocuous_$ac_func
34931
34932 /* System header to define __stub macros and hopefully few prototypes,
34933     which can conflict with char $ac_func (); below.
34934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34935     <limits.h> exists even on freestanding compilers.  */
34936
34937 #ifdef __STDC__
34938 # include <limits.h>
34939 #else
34940 # include <assert.h>
34941 #endif
34942
34943 #undef $ac_func
34944
34945 /* Override any gcc2 internal prototype to avoid an error.  */
34946 #ifdef __cplusplus
34947 extern "C"
34948 {
34949 #endif
34950 /* We use char because int might match the return type of a gcc2
34951    builtin and then its argument prototype would still apply.  */
34952 char $ac_func ();
34953 /* The GNU C library defines this for functions which it implements
34954     to always fail with ENOSYS.  Some functions are actually named
34955     something starting with __ and the normal name is an alias.  */
34956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34957 choke me
34958 #else
34959 char (*f) () = $ac_func;
34960 #endif
34961 #ifdef __cplusplus
34962 }
34963 #endif
34964
34965 int
34966 main ()
34967 {
34968 return f != $ac_func;
34969   ;
34970   return 0;
34971 }
34972 _ACEOF
34973 rm -f conftest.$ac_objext conftest$ac_exeext
34974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34975   (eval $ac_link) 2>conftest.er1
34976   ac_status=$?
34977   grep -v '^ *+' conftest.er1 >conftest.err
34978   rm -f conftest.er1
34979   cat conftest.err >&5
34980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981   (exit $ac_status); } &&
34982          { ac_try='test -z "$ac_c_werror_flag"
34983                          || test ! -s conftest.err'
34984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985   (eval $ac_try) 2>&5
34986   ac_status=$?
34987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988   (exit $ac_status); }; } &&
34989          { ac_try='test -s conftest$ac_exeext'
34990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34991   (eval $ac_try) 2>&5
34992   ac_status=$?
34993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994   (exit $ac_status); }; }; then
34995   eval "$as_ac_var=yes"
34996 else
34997   echo "$as_me: failed program was:" >&5
34998 sed 's/^/| /' conftest.$ac_ext >&5
34999
35000 eval "$as_ac_var=no"
35001 fi
35002 rm -f conftest.err conftest.$ac_objext \
35003       conftest$ac_exeext conftest.$ac_ext
35004 fi
35005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35007 if test `eval echo '${'$as_ac_var'}'` = yes; then
35008   cat >>confdefs.h <<_ACEOF
35009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35010 _ACEOF
35011
35012 fi
35013 done
35014
35015   else
35016
35017   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35018 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35019   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35020     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35021   echo $ECHO_N "(cached) $ECHO_C" >&6
35022 else
35023
35024
35025
35026       ac_ext=cc
35027 ac_cpp='$CXXCPP $CPPFLAGS'
35028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35031
35032       cat >conftest.$ac_ext <<_ACEOF
35033 /* confdefs.h.  */
35034 _ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h.  */
35038 #include <math.h>
35039                       #ifdef HAVE_IEEEFP_H
35040                       #include <ieeefp.h>
35041                       #endif
35042
35043 int
35044 main ()
35045 {
35046  _sqrtl(0);
35047   ;
35048   return 0;
35049 }
35050 _ACEOF
35051 rm -f conftest.$ac_objext
35052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35053   (eval $ac_compile) 2>conftest.er1
35054   ac_status=$?
35055   grep -v '^ *+' conftest.er1 >conftest.err
35056   rm -f conftest.er1
35057   cat conftest.err >&5
35058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059   (exit $ac_status); } &&
35060          { ac_try='test -z "$ac_cxx_werror_flag"
35061                          || test ! -s conftest.err'
35062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063   (eval $ac_try) 2>&5
35064   ac_status=$?
35065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066   (exit $ac_status); }; } &&
35067          { ac_try='test -s conftest.$ac_objext'
35068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069   (eval $ac_try) 2>&5
35070   ac_status=$?
35071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072   (exit $ac_status); }; }; then
35073   glibcxx_cv_func__sqrtl_use=yes
35074 else
35075   echo "$as_me: failed program was:" >&5
35076 sed 's/^/| /' conftest.$ac_ext >&5
35077
35078 glibcxx_cv_func__sqrtl_use=no
35079 fi
35080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35081       ac_ext=c
35082 ac_cpp='$CPP $CPPFLAGS'
35083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35086
35087
35088 fi
35089
35090   fi
35091   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35092 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35093
35094     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35095
35096 for ac_func in _sqrtl
35097 do
35098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35099 echo "$as_me:$LINENO: checking for $ac_func" >&5
35100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35101 if eval "test \"\${$as_ac_var+set}\" = set"; then
35102   echo $ECHO_N "(cached) $ECHO_C" >&6
35103 else
35104   if test x$gcc_no_link = xyes; then
35105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35107    { (exit 1); exit 1; }; }
35108 fi
35109 cat >conftest.$ac_ext <<_ACEOF
35110 /* confdefs.h.  */
35111 _ACEOF
35112 cat confdefs.h >>conftest.$ac_ext
35113 cat >>conftest.$ac_ext <<_ACEOF
35114 /* end confdefs.h.  */
35115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35117 #define $ac_func innocuous_$ac_func
35118
35119 /* System header to define __stub macros and hopefully few prototypes,
35120     which can conflict with char $ac_func (); below.
35121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35122     <limits.h> exists even on freestanding compilers.  */
35123
35124 #ifdef __STDC__
35125 # include <limits.h>
35126 #else
35127 # include <assert.h>
35128 #endif
35129
35130 #undef $ac_func
35131
35132 /* Override any gcc2 internal prototype to avoid an error.  */
35133 #ifdef __cplusplus
35134 extern "C"
35135 {
35136 #endif
35137 /* We use char because int might match the return type of a gcc2
35138    builtin and then its argument prototype would still apply.  */
35139 char $ac_func ();
35140 /* The GNU C library defines this for functions which it implements
35141     to always fail with ENOSYS.  Some functions are actually named
35142     something starting with __ and the normal name is an alias.  */
35143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35144 choke me
35145 #else
35146 char (*f) () = $ac_func;
35147 #endif
35148 #ifdef __cplusplus
35149 }
35150 #endif
35151
35152 int
35153 main ()
35154 {
35155 return f != $ac_func;
35156   ;
35157   return 0;
35158 }
35159 _ACEOF
35160 rm -f conftest.$ac_objext conftest$ac_exeext
35161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35162   (eval $ac_link) 2>conftest.er1
35163   ac_status=$?
35164   grep -v '^ *+' conftest.er1 >conftest.err
35165   rm -f conftest.er1
35166   cat conftest.err >&5
35167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168   (exit $ac_status); } &&
35169          { ac_try='test -z "$ac_c_werror_flag"
35170                          || test ! -s conftest.err'
35171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35172   (eval $ac_try) 2>&5
35173   ac_status=$?
35174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175   (exit $ac_status); }; } &&
35176          { ac_try='test -s conftest$ac_exeext'
35177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178   (eval $ac_try) 2>&5
35179   ac_status=$?
35180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181   (exit $ac_status); }; }; then
35182   eval "$as_ac_var=yes"
35183 else
35184   echo "$as_me: failed program was:" >&5
35185 sed 's/^/| /' conftest.$ac_ext >&5
35186
35187 eval "$as_ac_var=no"
35188 fi
35189 rm -f conftest.err conftest.$ac_objext \
35190       conftest$ac_exeext conftest.$ac_ext
35191 fi
35192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35194 if test `eval echo '${'$as_ac_var'}'` = yes; then
35195   cat >>confdefs.h <<_ACEOF
35196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35197 _ACEOF
35198
35199 fi
35200 done
35201
35202     fi
35203   fi
35204
35205
35206
35207
35208
35209
35210   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35211 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35212   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35213     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35214   echo $ECHO_N "(cached) $ECHO_C" >&6
35215 else
35216
35217
35218
35219       ac_ext=cc
35220 ac_cpp='$CXXCPP $CPPFLAGS'
35221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35224
35225       cat >conftest.$ac_ext <<_ACEOF
35226 /* confdefs.h.  */
35227 _ACEOF
35228 cat confdefs.h >>conftest.$ac_ext
35229 cat >>conftest.$ac_ext <<_ACEOF
35230 /* end confdefs.h.  */
35231 #include <math.h>
35232 int
35233 main ()
35234 {
35235  sincosl(0, 0, 0);
35236   ;
35237   return 0;
35238 }
35239 _ACEOF
35240 rm -f conftest.$ac_objext
35241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35242   (eval $ac_compile) 2>conftest.er1
35243   ac_status=$?
35244   grep -v '^ *+' conftest.er1 >conftest.err
35245   rm -f conftest.er1
35246   cat conftest.err >&5
35247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248   (exit $ac_status); } &&
35249          { ac_try='test -z "$ac_cxx_werror_flag"
35250                          || test ! -s conftest.err'
35251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35252   (eval $ac_try) 2>&5
35253   ac_status=$?
35254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35255   (exit $ac_status); }; } &&
35256          { ac_try='test -s conftest.$ac_objext'
35257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35258   (eval $ac_try) 2>&5
35259   ac_status=$?
35260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35261   (exit $ac_status); }; }; then
35262   glibcxx_cv_func_sincosl_use=yes
35263 else
35264   echo "$as_me: failed program was:" >&5
35265 sed 's/^/| /' conftest.$ac_ext >&5
35266
35267 glibcxx_cv_func_sincosl_use=no
35268 fi
35269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35270       ac_ext=c
35271 ac_cpp='$CPP $CPPFLAGS'
35272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35275
35276
35277 fi
35278
35279   fi
35280   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35281 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35282
35283   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35284
35285 for ac_func in sincosl
35286 do
35287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35288 echo "$as_me:$LINENO: checking for $ac_func" >&5
35289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35290 if eval "test \"\${$as_ac_var+set}\" = set"; then
35291   echo $ECHO_N "(cached) $ECHO_C" >&6
35292 else
35293   if test x$gcc_no_link = xyes; then
35294   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35296    { (exit 1); exit 1; }; }
35297 fi
35298 cat >conftest.$ac_ext <<_ACEOF
35299 /* confdefs.h.  */
35300 _ACEOF
35301 cat confdefs.h >>conftest.$ac_ext
35302 cat >>conftest.$ac_ext <<_ACEOF
35303 /* end confdefs.h.  */
35304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35305    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35306 #define $ac_func innocuous_$ac_func
35307
35308 /* System header to define __stub macros and hopefully few prototypes,
35309     which can conflict with char $ac_func (); below.
35310     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35311     <limits.h> exists even on freestanding compilers.  */
35312
35313 #ifdef __STDC__
35314 # include <limits.h>
35315 #else
35316 # include <assert.h>
35317 #endif
35318
35319 #undef $ac_func
35320
35321 /* Override any gcc2 internal prototype to avoid an error.  */
35322 #ifdef __cplusplus
35323 extern "C"
35324 {
35325 #endif
35326 /* We use char because int might match the return type of a gcc2
35327    builtin and then its argument prototype would still apply.  */
35328 char $ac_func ();
35329 /* The GNU C library defines this for functions which it implements
35330     to always fail with ENOSYS.  Some functions are actually named
35331     something starting with __ and the normal name is an alias.  */
35332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35333 choke me
35334 #else
35335 char (*f) () = $ac_func;
35336 #endif
35337 #ifdef __cplusplus
35338 }
35339 #endif
35340
35341 int
35342 main ()
35343 {
35344 return f != $ac_func;
35345   ;
35346   return 0;
35347 }
35348 _ACEOF
35349 rm -f conftest.$ac_objext conftest$ac_exeext
35350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35351   (eval $ac_link) 2>conftest.er1
35352   ac_status=$?
35353   grep -v '^ *+' conftest.er1 >conftest.err
35354   rm -f conftest.er1
35355   cat conftest.err >&5
35356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357   (exit $ac_status); } &&
35358          { ac_try='test -z "$ac_c_werror_flag"
35359                          || test ! -s conftest.err'
35360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35361   (eval $ac_try) 2>&5
35362   ac_status=$?
35363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364   (exit $ac_status); }; } &&
35365          { ac_try='test -s conftest$ac_exeext'
35366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35367   (eval $ac_try) 2>&5
35368   ac_status=$?
35369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370   (exit $ac_status); }; }; then
35371   eval "$as_ac_var=yes"
35372 else
35373   echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35375
35376 eval "$as_ac_var=no"
35377 fi
35378 rm -f conftest.err conftest.$ac_objext \
35379       conftest$ac_exeext conftest.$ac_ext
35380 fi
35381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35383 if test `eval echo '${'$as_ac_var'}'` = yes; then
35384   cat >>confdefs.h <<_ACEOF
35385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35386 _ACEOF
35387
35388 fi
35389 done
35390
35391   else
35392
35393   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35394 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35395   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35396     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35397   echo $ECHO_N "(cached) $ECHO_C" >&6
35398 else
35399
35400
35401
35402       ac_ext=cc
35403 ac_cpp='$CXXCPP $CPPFLAGS'
35404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35407
35408       cat >conftest.$ac_ext <<_ACEOF
35409 /* confdefs.h.  */
35410 _ACEOF
35411 cat confdefs.h >>conftest.$ac_ext
35412 cat >>conftest.$ac_ext <<_ACEOF
35413 /* end confdefs.h.  */
35414 #include <math.h>
35415 int
35416 main ()
35417 {
35418  _sincosl(0, 0, 0);
35419   ;
35420   return 0;
35421 }
35422 _ACEOF
35423 rm -f conftest.$ac_objext
35424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35425   (eval $ac_compile) 2>conftest.er1
35426   ac_status=$?
35427   grep -v '^ *+' conftest.er1 >conftest.err
35428   rm -f conftest.er1
35429   cat conftest.err >&5
35430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431   (exit $ac_status); } &&
35432          { ac_try='test -z "$ac_cxx_werror_flag"
35433                          || test ! -s conftest.err'
35434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35435   (eval $ac_try) 2>&5
35436   ac_status=$?
35437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438   (exit $ac_status); }; } &&
35439          { ac_try='test -s conftest.$ac_objext'
35440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441   (eval $ac_try) 2>&5
35442   ac_status=$?
35443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444   (exit $ac_status); }; }; then
35445   glibcxx_cv_func__sincosl_use=yes
35446 else
35447   echo "$as_me: failed program was:" >&5
35448 sed 's/^/| /' conftest.$ac_ext >&5
35449
35450 glibcxx_cv_func__sincosl_use=no
35451 fi
35452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35453       ac_ext=c
35454 ac_cpp='$CPP $CPPFLAGS'
35455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35458
35459
35460 fi
35461
35462   fi
35463   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35464 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35465
35466     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35467
35468 for ac_func in _sincosl
35469 do
35470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35471 echo "$as_me:$LINENO: checking for $ac_func" >&5
35472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35473 if eval "test \"\${$as_ac_var+set}\" = set"; then
35474   echo $ECHO_N "(cached) $ECHO_C" >&6
35475 else
35476   if test x$gcc_no_link = xyes; then
35477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35479    { (exit 1); exit 1; }; }
35480 fi
35481 cat >conftest.$ac_ext <<_ACEOF
35482 /* confdefs.h.  */
35483 _ACEOF
35484 cat confdefs.h >>conftest.$ac_ext
35485 cat >>conftest.$ac_ext <<_ACEOF
35486 /* end confdefs.h.  */
35487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35489 #define $ac_func innocuous_$ac_func
35490
35491 /* System header to define __stub macros and hopefully few prototypes,
35492     which can conflict with char $ac_func (); below.
35493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35494     <limits.h> exists even on freestanding compilers.  */
35495
35496 #ifdef __STDC__
35497 # include <limits.h>
35498 #else
35499 # include <assert.h>
35500 #endif
35501
35502 #undef $ac_func
35503
35504 /* Override any gcc2 internal prototype to avoid an error.  */
35505 #ifdef __cplusplus
35506 extern "C"
35507 {
35508 #endif
35509 /* We use char because int might match the return type of a gcc2
35510    builtin and then its argument prototype would still apply.  */
35511 char $ac_func ();
35512 /* The GNU C library defines this for functions which it implements
35513     to always fail with ENOSYS.  Some functions are actually named
35514     something starting with __ and the normal name is an alias.  */
35515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35516 choke me
35517 #else
35518 char (*f) () = $ac_func;
35519 #endif
35520 #ifdef __cplusplus
35521 }
35522 #endif
35523
35524 int
35525 main ()
35526 {
35527 return f != $ac_func;
35528   ;
35529   return 0;
35530 }
35531 _ACEOF
35532 rm -f conftest.$ac_objext conftest$ac_exeext
35533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35534   (eval $ac_link) 2>conftest.er1
35535   ac_status=$?
35536   grep -v '^ *+' conftest.er1 >conftest.err
35537   rm -f conftest.er1
35538   cat conftest.err >&5
35539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540   (exit $ac_status); } &&
35541          { ac_try='test -z "$ac_c_werror_flag"
35542                          || test ! -s conftest.err'
35543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35544   (eval $ac_try) 2>&5
35545   ac_status=$?
35546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547   (exit $ac_status); }; } &&
35548          { ac_try='test -s conftest$ac_exeext'
35549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35550   (eval $ac_try) 2>&5
35551   ac_status=$?
35552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553   (exit $ac_status); }; }; then
35554   eval "$as_ac_var=yes"
35555 else
35556   echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.$ac_ext >&5
35558
35559 eval "$as_ac_var=no"
35560 fi
35561 rm -f conftest.err conftest.$ac_objext \
35562       conftest$ac_exeext conftest.$ac_ext
35563 fi
35564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35566 if test `eval echo '${'$as_ac_var'}'` = yes; then
35567   cat >>confdefs.h <<_ACEOF
35568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35569 _ACEOF
35570
35571 fi
35572 done
35573
35574     fi
35575   fi
35576
35577
35578
35579
35580
35581
35582   echo "$as_me:$LINENO: checking for finitel declaration" >&5
35583 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35584   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35585     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35586   echo $ECHO_N "(cached) $ECHO_C" >&6
35587 else
35588
35589
35590
35591       ac_ext=cc
35592 ac_cpp='$CXXCPP $CPPFLAGS'
35593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35596
35597       cat >conftest.$ac_ext <<_ACEOF
35598 /* confdefs.h.  */
35599 _ACEOF
35600 cat confdefs.h >>conftest.$ac_ext
35601 cat >>conftest.$ac_ext <<_ACEOF
35602 /* end confdefs.h.  */
35603 #include <math.h>
35604                       #ifdef HAVE_IEEEFP_H
35605                       #include <ieeefp.h>
35606                       #endif
35607
35608 int
35609 main ()
35610 {
35611  finitel(0);
35612   ;
35613   return 0;
35614 }
35615 _ACEOF
35616 rm -f conftest.$ac_objext
35617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35618   (eval $ac_compile) 2>conftest.er1
35619   ac_status=$?
35620   grep -v '^ *+' conftest.er1 >conftest.err
35621   rm -f conftest.er1
35622   cat conftest.err >&5
35623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35624   (exit $ac_status); } &&
35625          { ac_try='test -z "$ac_cxx_werror_flag"
35626                          || test ! -s conftest.err'
35627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35628   (eval $ac_try) 2>&5
35629   ac_status=$?
35630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631   (exit $ac_status); }; } &&
35632          { ac_try='test -s conftest.$ac_objext'
35633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35634   (eval $ac_try) 2>&5
35635   ac_status=$?
35636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35637   (exit $ac_status); }; }; then
35638   glibcxx_cv_func_finitel_use=yes
35639 else
35640   echo "$as_me: failed program was:" >&5
35641 sed 's/^/| /' conftest.$ac_ext >&5
35642
35643 glibcxx_cv_func_finitel_use=no
35644 fi
35645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35646       ac_ext=c
35647 ac_cpp='$CPP $CPPFLAGS'
35648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35651
35652
35653 fi
35654
35655   fi
35656   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35657 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35658
35659   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35660
35661 for ac_func in finitel
35662 do
35663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35664 echo "$as_me:$LINENO: checking for $ac_func" >&5
35665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35666 if eval "test \"\${$as_ac_var+set}\" = set"; then
35667   echo $ECHO_N "(cached) $ECHO_C" >&6
35668 else
35669   if test x$gcc_no_link = xyes; then
35670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35672    { (exit 1); exit 1; }; }
35673 fi
35674 cat >conftest.$ac_ext <<_ACEOF
35675 /* confdefs.h.  */
35676 _ACEOF
35677 cat confdefs.h >>conftest.$ac_ext
35678 cat >>conftest.$ac_ext <<_ACEOF
35679 /* end confdefs.h.  */
35680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35681    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35682 #define $ac_func innocuous_$ac_func
35683
35684 /* System header to define __stub macros and hopefully few prototypes,
35685     which can conflict with char $ac_func (); below.
35686     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35687     <limits.h> exists even on freestanding compilers.  */
35688
35689 #ifdef __STDC__
35690 # include <limits.h>
35691 #else
35692 # include <assert.h>
35693 #endif
35694
35695 #undef $ac_func
35696
35697 /* Override any gcc2 internal prototype to avoid an error.  */
35698 #ifdef __cplusplus
35699 extern "C"
35700 {
35701 #endif
35702 /* We use char because int might match the return type of a gcc2
35703    builtin and then its argument prototype would still apply.  */
35704 char $ac_func ();
35705 /* The GNU C library defines this for functions which it implements
35706     to always fail with ENOSYS.  Some functions are actually named
35707     something starting with __ and the normal name is an alias.  */
35708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35709 choke me
35710 #else
35711 char (*f) () = $ac_func;
35712 #endif
35713 #ifdef __cplusplus
35714 }
35715 #endif
35716
35717 int
35718 main ()
35719 {
35720 return f != $ac_func;
35721   ;
35722   return 0;
35723 }
35724 _ACEOF
35725 rm -f conftest.$ac_objext conftest$ac_exeext
35726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35727   (eval $ac_link) 2>conftest.er1
35728   ac_status=$?
35729   grep -v '^ *+' conftest.er1 >conftest.err
35730   rm -f conftest.er1
35731   cat conftest.err >&5
35732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733   (exit $ac_status); } &&
35734          { ac_try='test -z "$ac_c_werror_flag"
35735                          || test ! -s conftest.err'
35736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737   (eval $ac_try) 2>&5
35738   ac_status=$?
35739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740   (exit $ac_status); }; } &&
35741          { ac_try='test -s conftest$ac_exeext'
35742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743   (eval $ac_try) 2>&5
35744   ac_status=$?
35745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746   (exit $ac_status); }; }; then
35747   eval "$as_ac_var=yes"
35748 else
35749   echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.$ac_ext >&5
35751
35752 eval "$as_ac_var=no"
35753 fi
35754 rm -f conftest.err conftest.$ac_objext \
35755       conftest$ac_exeext conftest.$ac_ext
35756 fi
35757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35759 if test `eval echo '${'$as_ac_var'}'` = yes; then
35760   cat >>confdefs.h <<_ACEOF
35761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35762 _ACEOF
35763
35764 fi
35765 done
35766
35767   else
35768
35769   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35770 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35771   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35772     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35773   echo $ECHO_N "(cached) $ECHO_C" >&6
35774 else
35775
35776
35777
35778       ac_ext=cc
35779 ac_cpp='$CXXCPP $CPPFLAGS'
35780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35783
35784       cat >conftest.$ac_ext <<_ACEOF
35785 /* confdefs.h.  */
35786 _ACEOF
35787 cat confdefs.h >>conftest.$ac_ext
35788 cat >>conftest.$ac_ext <<_ACEOF
35789 /* end confdefs.h.  */
35790 #include <math.h>
35791                       #ifdef HAVE_IEEEFP_H
35792                       #include <ieeefp.h>
35793                       #endif
35794
35795 int
35796 main ()
35797 {
35798  _finitel(0);
35799   ;
35800   return 0;
35801 }
35802 _ACEOF
35803 rm -f conftest.$ac_objext
35804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35805   (eval $ac_compile) 2>conftest.er1
35806   ac_status=$?
35807   grep -v '^ *+' conftest.er1 >conftest.err
35808   rm -f conftest.er1
35809   cat conftest.err >&5
35810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811   (exit $ac_status); } &&
35812          { ac_try='test -z "$ac_cxx_werror_flag"
35813                          || test ! -s conftest.err'
35814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35815   (eval $ac_try) 2>&5
35816   ac_status=$?
35817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35818   (exit $ac_status); }; } &&
35819          { ac_try='test -s conftest.$ac_objext'
35820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35821   (eval $ac_try) 2>&5
35822   ac_status=$?
35823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824   (exit $ac_status); }; }; then
35825   glibcxx_cv_func__finitel_use=yes
35826 else
35827   echo "$as_me: failed program was:" >&5
35828 sed 's/^/| /' conftest.$ac_ext >&5
35829
35830 glibcxx_cv_func__finitel_use=no
35831 fi
35832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35833       ac_ext=c
35834 ac_cpp='$CPP $CPPFLAGS'
35835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35838
35839
35840 fi
35841
35842   fi
35843   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35844 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35845
35846     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35847
35848 for ac_func in _finitel
35849 do
35850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35851 echo "$as_me:$LINENO: checking for $ac_func" >&5
35852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35853 if eval "test \"\${$as_ac_var+set}\" = set"; then
35854   echo $ECHO_N "(cached) $ECHO_C" >&6
35855 else
35856   if test x$gcc_no_link = xyes; then
35857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35859    { (exit 1); exit 1; }; }
35860 fi
35861 cat >conftest.$ac_ext <<_ACEOF
35862 /* confdefs.h.  */
35863 _ACEOF
35864 cat confdefs.h >>conftest.$ac_ext
35865 cat >>conftest.$ac_ext <<_ACEOF
35866 /* end confdefs.h.  */
35867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35869 #define $ac_func innocuous_$ac_func
35870
35871 /* System header to define __stub macros and hopefully few prototypes,
35872     which can conflict with char $ac_func (); below.
35873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35874     <limits.h> exists even on freestanding compilers.  */
35875
35876 #ifdef __STDC__
35877 # include <limits.h>
35878 #else
35879 # include <assert.h>
35880 #endif
35881
35882 #undef $ac_func
35883
35884 /* Override any gcc2 internal prototype to avoid an error.  */
35885 #ifdef __cplusplus
35886 extern "C"
35887 {
35888 #endif
35889 /* We use char because int might match the return type of a gcc2
35890    builtin and then its argument prototype would still apply.  */
35891 char $ac_func ();
35892 /* The GNU C library defines this for functions which it implements
35893     to always fail with ENOSYS.  Some functions are actually named
35894     something starting with __ and the normal name is an alias.  */
35895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35896 choke me
35897 #else
35898 char (*f) () = $ac_func;
35899 #endif
35900 #ifdef __cplusplus
35901 }
35902 #endif
35903
35904 int
35905 main ()
35906 {
35907 return f != $ac_func;
35908   ;
35909   return 0;
35910 }
35911 _ACEOF
35912 rm -f conftest.$ac_objext conftest$ac_exeext
35913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35914   (eval $ac_link) 2>conftest.er1
35915   ac_status=$?
35916   grep -v '^ *+' conftest.er1 >conftest.err
35917   rm -f conftest.er1
35918   cat conftest.err >&5
35919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920   (exit $ac_status); } &&
35921          { ac_try='test -z "$ac_c_werror_flag"
35922                          || test ! -s conftest.err'
35923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35924   (eval $ac_try) 2>&5
35925   ac_status=$?
35926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927   (exit $ac_status); }; } &&
35928          { ac_try='test -s conftest$ac_exeext'
35929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930   (eval $ac_try) 2>&5
35931   ac_status=$?
35932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933   (exit $ac_status); }; }; then
35934   eval "$as_ac_var=yes"
35935 else
35936   echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35938
35939 eval "$as_ac_var=no"
35940 fi
35941 rm -f conftest.err conftest.$ac_objext \
35942       conftest$ac_exeext conftest.$ac_ext
35943 fi
35944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35946 if test `eval echo '${'$as_ac_var'}'` = yes; then
35947   cat >>confdefs.h <<_ACEOF
35948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35949 _ACEOF
35950
35951 fi
35952 done
35953
35954     fi
35955   fi
35956
35957
35958
35959
35960
35961   LIBS="$ac_save_LIBS"
35962   CXXFLAGS="$ac_save_CXXFLAGS"
35963
35964
35965
35966   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35967 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35968   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35969     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35970   echo $ECHO_N "(cached) $ECHO_C" >&6
35971 else
35972
35973
35974
35975       ac_ext=cc
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35980
35981       cat >conftest.$ac_ext <<_ACEOF
35982 /* confdefs.h.  */
35983 _ACEOF
35984 cat confdefs.h >>conftest.$ac_ext
35985 cat >>conftest.$ac_ext <<_ACEOF
35986 /* end confdefs.h.  */
35987 #include <math.h>
35988 int
35989 main ()
35990 {
35991  __builtin_abs(0);
35992   ;
35993   return 0;
35994 }
35995 _ACEOF
35996 rm -f conftest.$ac_objext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35998   (eval $ac_compile) 2>conftest.er1
35999   ac_status=$?
36000   grep -v '^ *+' conftest.er1 >conftest.err
36001   rm -f conftest.er1
36002   cat conftest.err >&5
36003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004   (exit $ac_status); } &&
36005          { ac_try='test -z "$ac_cxx_werror_flag"
36006                          || test ! -s conftest.err'
36007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008   (eval $ac_try) 2>&5
36009   ac_status=$?
36010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011   (exit $ac_status); }; } &&
36012          { ac_try='test -s conftest.$ac_objext'
36013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014   (eval $ac_try) 2>&5
36015   ac_status=$?
36016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017   (exit $ac_status); }; }; then
36018   glibcxx_cv_func___builtin_abs_use=yes
36019 else
36020   echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.$ac_ext >&5
36022
36023 glibcxx_cv_func___builtin_abs_use=no
36024 fi
36025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36026       ac_ext=c
36027 ac_cpp='$CPP $CPPFLAGS'
36028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36031
36032
36033 fi
36034
36035   fi
36036   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36037 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36038   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36039     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36040 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36041     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36042       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36043   echo $ECHO_N "(cached) $ECHO_C" >&6
36044 else
36045
36046         if test x$gcc_no_link = xyes; then
36047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36049    { (exit 1); exit 1; }; }
36050 fi
36051 cat >conftest.$ac_ext <<_ACEOF
36052 /* confdefs.h.  */
36053 _ACEOF
36054 cat confdefs.h >>conftest.$ac_ext
36055 cat >>conftest.$ac_ext <<_ACEOF
36056 /* end confdefs.h.  */
36057 #include <math.h>
36058 int
36059 main ()
36060 {
36061  __builtin_abs(0);
36062   ;
36063   return 0;
36064 }
36065 _ACEOF
36066 rm -f conftest.$ac_objext conftest$ac_exeext
36067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36068   (eval $ac_link) 2>conftest.er1
36069   ac_status=$?
36070   grep -v '^ *+' conftest.er1 >conftest.err
36071   rm -f conftest.er1
36072   cat conftest.err >&5
36073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36074   (exit $ac_status); } &&
36075          { ac_try='test -z "$ac_c_werror_flag"
36076                          || test ! -s conftest.err'
36077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36078   (eval $ac_try) 2>&5
36079   ac_status=$?
36080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36081   (exit $ac_status); }; } &&
36082          { ac_try='test -s conftest$ac_exeext'
36083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36084   (eval $ac_try) 2>&5
36085   ac_status=$?
36086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087   (exit $ac_status); }; }; then
36088   glibcxx_cv_func___builtin_abs_link=yes
36089 else
36090   echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.$ac_ext >&5
36092
36093 glibcxx_cv_func___builtin_abs_link=no
36094 fi
36095 rm -f conftest.err conftest.$ac_objext \
36096       conftest$ac_exeext conftest.$ac_ext
36097
36098 fi
36099
36100     fi
36101     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36102 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36103
36104     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36105
36106 cat >>confdefs.h <<\_ACEOF
36107 #define HAVE___BUILTIN_ABS 1
36108 _ACEOF
36109
36110     fi
36111
36112   fi
36113
36114
36115   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36116 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36117   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36118     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36119   echo $ECHO_N "(cached) $ECHO_C" >&6
36120 else
36121
36122
36123
36124       ac_ext=cc
36125 ac_cpp='$CXXCPP $CPPFLAGS'
36126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36129
36130       cat >conftest.$ac_ext <<_ACEOF
36131 /* confdefs.h.  */
36132 _ACEOF
36133 cat confdefs.h >>conftest.$ac_ext
36134 cat >>conftest.$ac_ext <<_ACEOF
36135 /* end confdefs.h.  */
36136 #include <math.h>
36137 int
36138 main ()
36139 {
36140  __builtin_fabsf(0);
36141   ;
36142   return 0;
36143 }
36144 _ACEOF
36145 rm -f conftest.$ac_objext
36146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36147   (eval $ac_compile) 2>conftest.er1
36148   ac_status=$?
36149   grep -v '^ *+' conftest.er1 >conftest.err
36150   rm -f conftest.er1
36151   cat conftest.err >&5
36152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153   (exit $ac_status); } &&
36154          { ac_try='test -z "$ac_cxx_werror_flag"
36155                          || test ! -s conftest.err'
36156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36157   (eval $ac_try) 2>&5
36158   ac_status=$?
36159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160   (exit $ac_status); }; } &&
36161          { ac_try='test -s conftest.$ac_objext'
36162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163   (eval $ac_try) 2>&5
36164   ac_status=$?
36165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166   (exit $ac_status); }; }; then
36167   glibcxx_cv_func___builtin_fabsf_use=yes
36168 else
36169   echo "$as_me: failed program was:" >&5
36170 sed 's/^/| /' conftest.$ac_ext >&5
36171
36172 glibcxx_cv_func___builtin_fabsf_use=no
36173 fi
36174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36175       ac_ext=c
36176 ac_cpp='$CPP $CPPFLAGS'
36177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36180
36181
36182 fi
36183
36184   fi
36185   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36186 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36187   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36188     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36189 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36190     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36191       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36192   echo $ECHO_N "(cached) $ECHO_C" >&6
36193 else
36194
36195         if test x$gcc_no_link = xyes; then
36196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36198    { (exit 1); exit 1; }; }
36199 fi
36200 cat >conftest.$ac_ext <<_ACEOF
36201 /* confdefs.h.  */
36202 _ACEOF
36203 cat confdefs.h >>conftest.$ac_ext
36204 cat >>conftest.$ac_ext <<_ACEOF
36205 /* end confdefs.h.  */
36206 #include <math.h>
36207 int
36208 main ()
36209 {
36210  __builtin_fabsf(0);
36211   ;
36212   return 0;
36213 }
36214 _ACEOF
36215 rm -f conftest.$ac_objext conftest$ac_exeext
36216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36217   (eval $ac_link) 2>conftest.er1
36218   ac_status=$?
36219   grep -v '^ *+' conftest.er1 >conftest.err
36220   rm -f conftest.er1
36221   cat conftest.err >&5
36222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223   (exit $ac_status); } &&
36224          { ac_try='test -z "$ac_c_werror_flag"
36225                          || test ! -s conftest.err'
36226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36227   (eval $ac_try) 2>&5
36228   ac_status=$?
36229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230   (exit $ac_status); }; } &&
36231          { ac_try='test -s conftest$ac_exeext'
36232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36233   (eval $ac_try) 2>&5
36234   ac_status=$?
36235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236   (exit $ac_status); }; }; then
36237   glibcxx_cv_func___builtin_fabsf_link=yes
36238 else
36239   echo "$as_me: failed program was:" >&5
36240 sed 's/^/| /' conftest.$ac_ext >&5
36241
36242 glibcxx_cv_func___builtin_fabsf_link=no
36243 fi
36244 rm -f conftest.err conftest.$ac_objext \
36245       conftest$ac_exeext conftest.$ac_ext
36246
36247 fi
36248
36249     fi
36250     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36251 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36252
36253     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36254
36255 cat >>confdefs.h <<\_ACEOF
36256 #define HAVE___BUILTIN_FABSF 1
36257 _ACEOF
36258
36259     fi
36260
36261   fi
36262
36263
36264   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36265 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36266   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36267     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36268   echo $ECHO_N "(cached) $ECHO_C" >&6
36269 else
36270
36271
36272
36273       ac_ext=cc
36274 ac_cpp='$CXXCPP $CPPFLAGS'
36275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36278
36279       cat >conftest.$ac_ext <<_ACEOF
36280 /* confdefs.h.  */
36281 _ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h.  */
36285 #include <math.h>
36286 int
36287 main ()
36288 {
36289  __builtin_fabs(0);
36290   ;
36291   return 0;
36292 }
36293 _ACEOF
36294 rm -f conftest.$ac_objext
36295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36296   (eval $ac_compile) 2>conftest.er1
36297   ac_status=$?
36298   grep -v '^ *+' conftest.er1 >conftest.err
36299   rm -f conftest.er1
36300   cat conftest.err >&5
36301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302   (exit $ac_status); } &&
36303          { ac_try='test -z "$ac_cxx_werror_flag"
36304                          || test ! -s conftest.err'
36305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36306   (eval $ac_try) 2>&5
36307   ac_status=$?
36308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309   (exit $ac_status); }; } &&
36310          { ac_try='test -s conftest.$ac_objext'
36311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36312   (eval $ac_try) 2>&5
36313   ac_status=$?
36314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315   (exit $ac_status); }; }; then
36316   glibcxx_cv_func___builtin_fabs_use=yes
36317 else
36318   echo "$as_me: failed program was:" >&5
36319 sed 's/^/| /' conftest.$ac_ext >&5
36320
36321 glibcxx_cv_func___builtin_fabs_use=no
36322 fi
36323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36324       ac_ext=c
36325 ac_cpp='$CPP $CPPFLAGS'
36326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36329
36330
36331 fi
36332
36333   fi
36334   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36335 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36336   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36337     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36338 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36339     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36340       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36341   echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343
36344         if test x$gcc_no_link = xyes; then
36345   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36347    { (exit 1); exit 1; }; }
36348 fi
36349 cat >conftest.$ac_ext <<_ACEOF
36350 /* confdefs.h.  */
36351 _ACEOF
36352 cat confdefs.h >>conftest.$ac_ext
36353 cat >>conftest.$ac_ext <<_ACEOF
36354 /* end confdefs.h.  */
36355 #include <math.h>
36356 int
36357 main ()
36358 {
36359  __builtin_fabs(0);
36360   ;
36361   return 0;
36362 }
36363 _ACEOF
36364 rm -f conftest.$ac_objext conftest$ac_exeext
36365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36366   (eval $ac_link) 2>conftest.er1
36367   ac_status=$?
36368   grep -v '^ *+' conftest.er1 >conftest.err
36369   rm -f conftest.er1
36370   cat conftest.err >&5
36371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372   (exit $ac_status); } &&
36373          { ac_try='test -z "$ac_c_werror_flag"
36374                          || test ! -s conftest.err'
36375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36376   (eval $ac_try) 2>&5
36377   ac_status=$?
36378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379   (exit $ac_status); }; } &&
36380          { ac_try='test -s conftest$ac_exeext'
36381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382   (eval $ac_try) 2>&5
36383   ac_status=$?
36384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385   (exit $ac_status); }; }; then
36386   glibcxx_cv_func___builtin_fabs_link=yes
36387 else
36388   echo "$as_me: failed program was:" >&5
36389 sed 's/^/| /' conftest.$ac_ext >&5
36390
36391 glibcxx_cv_func___builtin_fabs_link=no
36392 fi
36393 rm -f conftest.err conftest.$ac_objext \
36394       conftest$ac_exeext conftest.$ac_ext
36395
36396 fi
36397
36398     fi
36399     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36400 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36401
36402     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36403
36404 cat >>confdefs.h <<\_ACEOF
36405 #define HAVE___BUILTIN_FABS 1
36406 _ACEOF
36407
36408     fi
36409
36410   fi
36411
36412
36413   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36414 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36415   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36416     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36417   echo $ECHO_N "(cached) $ECHO_C" >&6
36418 else
36419
36420
36421
36422       ac_ext=cc
36423 ac_cpp='$CXXCPP $CPPFLAGS'
36424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36427
36428       cat >conftest.$ac_ext <<_ACEOF
36429 /* confdefs.h.  */
36430 _ACEOF
36431 cat confdefs.h >>conftest.$ac_ext
36432 cat >>conftest.$ac_ext <<_ACEOF
36433 /* end confdefs.h.  */
36434 #include <math.h>
36435 int
36436 main ()
36437 {
36438  __builtin_fabsl(0);
36439   ;
36440   return 0;
36441 }
36442 _ACEOF
36443 rm -f conftest.$ac_objext
36444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36445   (eval $ac_compile) 2>conftest.er1
36446   ac_status=$?
36447   grep -v '^ *+' conftest.er1 >conftest.err
36448   rm -f conftest.er1
36449   cat conftest.err >&5
36450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451   (exit $ac_status); } &&
36452          { ac_try='test -z "$ac_cxx_werror_flag"
36453                          || test ! -s conftest.err'
36454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455   (eval $ac_try) 2>&5
36456   ac_status=$?
36457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458   (exit $ac_status); }; } &&
36459          { ac_try='test -s conftest.$ac_objext'
36460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36461   (eval $ac_try) 2>&5
36462   ac_status=$?
36463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464   (exit $ac_status); }; }; then
36465   glibcxx_cv_func___builtin_fabsl_use=yes
36466 else
36467   echo "$as_me: failed program was:" >&5
36468 sed 's/^/| /' conftest.$ac_ext >&5
36469
36470 glibcxx_cv_func___builtin_fabsl_use=no
36471 fi
36472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36473       ac_ext=c
36474 ac_cpp='$CPP $CPPFLAGS'
36475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36478
36479
36480 fi
36481
36482   fi
36483   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36484 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36485   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36486     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36487 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36488     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36489       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36490   echo $ECHO_N "(cached) $ECHO_C" >&6
36491 else
36492
36493         if test x$gcc_no_link = xyes; then
36494   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36496    { (exit 1); exit 1; }; }
36497 fi
36498 cat >conftest.$ac_ext <<_ACEOF
36499 /* confdefs.h.  */
36500 _ACEOF
36501 cat confdefs.h >>conftest.$ac_ext
36502 cat >>conftest.$ac_ext <<_ACEOF
36503 /* end confdefs.h.  */
36504 #include <math.h>
36505 int
36506 main ()
36507 {
36508  __builtin_fabsl(0);
36509   ;
36510   return 0;
36511 }
36512 _ACEOF
36513 rm -f conftest.$ac_objext conftest$ac_exeext
36514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36515   (eval $ac_link) 2>conftest.er1
36516   ac_status=$?
36517   grep -v '^ *+' conftest.er1 >conftest.err
36518   rm -f conftest.er1
36519   cat conftest.err >&5
36520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521   (exit $ac_status); } &&
36522          { ac_try='test -z "$ac_c_werror_flag"
36523                          || test ! -s conftest.err'
36524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36525   (eval $ac_try) 2>&5
36526   ac_status=$?
36527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36528   (exit $ac_status); }; } &&
36529          { ac_try='test -s conftest$ac_exeext'
36530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36531   (eval $ac_try) 2>&5
36532   ac_status=$?
36533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534   (exit $ac_status); }; }; then
36535   glibcxx_cv_func___builtin_fabsl_link=yes
36536 else
36537   echo "$as_me: failed program was:" >&5
36538 sed 's/^/| /' conftest.$ac_ext >&5
36539
36540 glibcxx_cv_func___builtin_fabsl_link=no
36541 fi
36542 rm -f conftest.err conftest.$ac_objext \
36543       conftest$ac_exeext conftest.$ac_ext
36544
36545 fi
36546
36547     fi
36548     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36549 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36550
36551     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36552
36553 cat >>confdefs.h <<\_ACEOF
36554 #define HAVE___BUILTIN_FABSL 1
36555 _ACEOF
36556
36557     fi
36558
36559   fi
36560
36561
36562   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36563 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36564   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36565     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36566   echo $ECHO_N "(cached) $ECHO_C" >&6
36567 else
36568
36569
36570
36571       ac_ext=cc
36572 ac_cpp='$CXXCPP $CPPFLAGS'
36573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36576
36577       cat >conftest.$ac_ext <<_ACEOF
36578 /* confdefs.h.  */
36579 _ACEOF
36580 cat confdefs.h >>conftest.$ac_ext
36581 cat >>conftest.$ac_ext <<_ACEOF
36582 /* end confdefs.h.  */
36583 #include <math.h>
36584 int
36585 main ()
36586 {
36587  __builtin_labs(0);
36588   ;
36589   return 0;
36590 }
36591 _ACEOF
36592 rm -f conftest.$ac_objext
36593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36594   (eval $ac_compile) 2>conftest.er1
36595   ac_status=$?
36596   grep -v '^ *+' conftest.er1 >conftest.err
36597   rm -f conftest.er1
36598   cat conftest.err >&5
36599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600   (exit $ac_status); } &&
36601          { ac_try='test -z "$ac_cxx_werror_flag"
36602                          || test ! -s conftest.err'
36603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36604   (eval $ac_try) 2>&5
36605   ac_status=$?
36606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607   (exit $ac_status); }; } &&
36608          { ac_try='test -s conftest.$ac_objext'
36609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36610   (eval $ac_try) 2>&5
36611   ac_status=$?
36612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36613   (exit $ac_status); }; }; then
36614   glibcxx_cv_func___builtin_labs_use=yes
36615 else
36616   echo "$as_me: failed program was:" >&5
36617 sed 's/^/| /' conftest.$ac_ext >&5
36618
36619 glibcxx_cv_func___builtin_labs_use=no
36620 fi
36621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36622       ac_ext=c
36623 ac_cpp='$CPP $CPPFLAGS'
36624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36627
36628
36629 fi
36630
36631   fi
36632   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36633 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36634   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36635     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36636 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36637     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36638       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36639   echo $ECHO_N "(cached) $ECHO_C" >&6
36640 else
36641
36642         if test x$gcc_no_link = xyes; then
36643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36645    { (exit 1); exit 1; }; }
36646 fi
36647 cat >conftest.$ac_ext <<_ACEOF
36648 /* confdefs.h.  */
36649 _ACEOF
36650 cat confdefs.h >>conftest.$ac_ext
36651 cat >>conftest.$ac_ext <<_ACEOF
36652 /* end confdefs.h.  */
36653 #include <math.h>
36654 int
36655 main ()
36656 {
36657  __builtin_labs(0);
36658   ;
36659   return 0;
36660 }
36661 _ACEOF
36662 rm -f conftest.$ac_objext conftest$ac_exeext
36663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36664   (eval $ac_link) 2>conftest.er1
36665   ac_status=$?
36666   grep -v '^ *+' conftest.er1 >conftest.err
36667   rm -f conftest.er1
36668   cat conftest.err >&5
36669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36670   (exit $ac_status); } &&
36671          { ac_try='test -z "$ac_c_werror_flag"
36672                          || test ! -s conftest.err'
36673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36674   (eval $ac_try) 2>&5
36675   ac_status=$?
36676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677   (exit $ac_status); }; } &&
36678          { ac_try='test -s conftest$ac_exeext'
36679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36680   (eval $ac_try) 2>&5
36681   ac_status=$?
36682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36683   (exit $ac_status); }; }; then
36684   glibcxx_cv_func___builtin_labs_link=yes
36685 else
36686   echo "$as_me: failed program was:" >&5
36687 sed 's/^/| /' conftest.$ac_ext >&5
36688
36689 glibcxx_cv_func___builtin_labs_link=no
36690 fi
36691 rm -f conftest.err conftest.$ac_objext \
36692       conftest$ac_exeext conftest.$ac_ext
36693
36694 fi
36695
36696     fi
36697     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36698 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36699
36700     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36701
36702 cat >>confdefs.h <<\_ACEOF
36703 #define HAVE___BUILTIN_LABS 1
36704 _ACEOF
36705
36706     fi
36707
36708   fi
36709
36710
36711
36712   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36713 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36714   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36715     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36716   echo $ECHO_N "(cached) $ECHO_C" >&6
36717 else
36718
36719
36720
36721       ac_ext=cc
36722 ac_cpp='$CXXCPP $CPPFLAGS'
36723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36726
36727       cat >conftest.$ac_ext <<_ACEOF
36728 /* confdefs.h.  */
36729 _ACEOF
36730 cat confdefs.h >>conftest.$ac_ext
36731 cat >>conftest.$ac_ext <<_ACEOF
36732 /* end confdefs.h.  */
36733 #include <math.h>
36734 int
36735 main ()
36736 {
36737  __builtin_sqrtf(0);
36738   ;
36739   return 0;
36740 }
36741 _ACEOF
36742 rm -f conftest.$ac_objext
36743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36744   (eval $ac_compile) 2>conftest.er1
36745   ac_status=$?
36746   grep -v '^ *+' conftest.er1 >conftest.err
36747   rm -f conftest.er1
36748   cat conftest.err >&5
36749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750   (exit $ac_status); } &&
36751          { ac_try='test -z "$ac_cxx_werror_flag"
36752                          || test ! -s conftest.err'
36753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36754   (eval $ac_try) 2>&5
36755   ac_status=$?
36756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757   (exit $ac_status); }; } &&
36758          { ac_try='test -s conftest.$ac_objext'
36759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36760   (eval $ac_try) 2>&5
36761   ac_status=$?
36762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36763   (exit $ac_status); }; }; then
36764   glibcxx_cv_func___builtin_sqrtf_use=yes
36765 else
36766   echo "$as_me: failed program was:" >&5
36767 sed 's/^/| /' conftest.$ac_ext >&5
36768
36769 glibcxx_cv_func___builtin_sqrtf_use=no
36770 fi
36771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36772       ac_ext=c
36773 ac_cpp='$CPP $CPPFLAGS'
36774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36777
36778
36779 fi
36780
36781   fi
36782   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36783 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36784   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36785     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36786 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36787     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36788       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36789   echo $ECHO_N "(cached) $ECHO_C" >&6
36790 else
36791
36792         if test x$gcc_no_link = xyes; then
36793   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36795    { (exit 1); exit 1; }; }
36796 fi
36797 cat >conftest.$ac_ext <<_ACEOF
36798 /* confdefs.h.  */
36799 _ACEOF
36800 cat confdefs.h >>conftest.$ac_ext
36801 cat >>conftest.$ac_ext <<_ACEOF
36802 /* end confdefs.h.  */
36803 #include <math.h>
36804 int
36805 main ()
36806 {
36807  __builtin_sqrtf(0);
36808   ;
36809   return 0;
36810 }
36811 _ACEOF
36812 rm -f conftest.$ac_objext conftest$ac_exeext
36813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36814   (eval $ac_link) 2>conftest.er1
36815   ac_status=$?
36816   grep -v '^ *+' conftest.er1 >conftest.err
36817   rm -f conftest.er1
36818   cat conftest.err >&5
36819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36820   (exit $ac_status); } &&
36821          { ac_try='test -z "$ac_c_werror_flag"
36822                          || test ! -s conftest.err'
36823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824   (eval $ac_try) 2>&5
36825   ac_status=$?
36826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827   (exit $ac_status); }; } &&
36828          { ac_try='test -s conftest$ac_exeext'
36829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36830   (eval $ac_try) 2>&5
36831   ac_status=$?
36832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833   (exit $ac_status); }; }; then
36834   glibcxx_cv_func___builtin_sqrtf_link=yes
36835 else
36836   echo "$as_me: failed program was:" >&5
36837 sed 's/^/| /' conftest.$ac_ext >&5
36838
36839 glibcxx_cv_func___builtin_sqrtf_link=no
36840 fi
36841 rm -f conftest.err conftest.$ac_objext \
36842       conftest$ac_exeext conftest.$ac_ext
36843
36844 fi
36845
36846     fi
36847     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36849
36850     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36851
36852 cat >>confdefs.h <<\_ACEOF
36853 #define HAVE___BUILTIN_SQRTF 1
36854 _ACEOF
36855
36856     fi
36857
36858   fi
36859
36860
36861   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36862 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36863   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36864     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36865   echo $ECHO_N "(cached) $ECHO_C" >&6
36866 else
36867
36868
36869
36870       ac_ext=cc
36871 ac_cpp='$CXXCPP $CPPFLAGS'
36872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36875
36876       cat >conftest.$ac_ext <<_ACEOF
36877 /* confdefs.h.  */
36878 _ACEOF
36879 cat confdefs.h >>conftest.$ac_ext
36880 cat >>conftest.$ac_ext <<_ACEOF
36881 /* end confdefs.h.  */
36882 #include <math.h>
36883 int
36884 main ()
36885 {
36886  __builtin_sqrt(0);
36887   ;
36888   return 0;
36889 }
36890 _ACEOF
36891 rm -f conftest.$ac_objext
36892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36893   (eval $ac_compile) 2>conftest.er1
36894   ac_status=$?
36895   grep -v '^ *+' conftest.er1 >conftest.err
36896   rm -f conftest.er1
36897   cat conftest.err >&5
36898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36899   (exit $ac_status); } &&
36900          { ac_try='test -z "$ac_cxx_werror_flag"
36901                          || test ! -s conftest.err'
36902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36903   (eval $ac_try) 2>&5
36904   ac_status=$?
36905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906   (exit $ac_status); }; } &&
36907          { ac_try='test -s conftest.$ac_objext'
36908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36909   (eval $ac_try) 2>&5
36910   ac_status=$?
36911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912   (exit $ac_status); }; }; then
36913   glibcxx_cv_func___builtin_sqrt_use=yes
36914 else
36915   echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.$ac_ext >&5
36917
36918 glibcxx_cv_func___builtin_sqrt_use=no
36919 fi
36920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36921       ac_ext=c
36922 ac_cpp='$CPP $CPPFLAGS'
36923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36926
36927
36928 fi
36929
36930   fi
36931   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36932 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36933   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36934     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36935 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36936     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36937       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36938   echo $ECHO_N "(cached) $ECHO_C" >&6
36939 else
36940
36941         if test x$gcc_no_link = xyes; then
36942   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36944    { (exit 1); exit 1; }; }
36945 fi
36946 cat >conftest.$ac_ext <<_ACEOF
36947 /* confdefs.h.  */
36948 _ACEOF
36949 cat confdefs.h >>conftest.$ac_ext
36950 cat >>conftest.$ac_ext <<_ACEOF
36951 /* end confdefs.h.  */
36952 #include <math.h>
36953 int
36954 main ()
36955 {
36956  __builtin_sqrt(0);
36957   ;
36958   return 0;
36959 }
36960 _ACEOF
36961 rm -f conftest.$ac_objext conftest$ac_exeext
36962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36963   (eval $ac_link) 2>conftest.er1
36964   ac_status=$?
36965   grep -v '^ *+' conftest.er1 >conftest.err
36966   rm -f conftest.er1
36967   cat conftest.err >&5
36968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969   (exit $ac_status); } &&
36970          { ac_try='test -z "$ac_c_werror_flag"
36971                          || test ! -s conftest.err'
36972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36973   (eval $ac_try) 2>&5
36974   ac_status=$?
36975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36976   (exit $ac_status); }; } &&
36977          { ac_try='test -s conftest$ac_exeext'
36978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36979   (eval $ac_try) 2>&5
36980   ac_status=$?
36981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36982   (exit $ac_status); }; }; then
36983   glibcxx_cv_func___builtin_sqrt_link=yes
36984 else
36985   echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36987
36988 glibcxx_cv_func___builtin_sqrt_link=no
36989 fi
36990 rm -f conftest.err conftest.$ac_objext \
36991       conftest$ac_exeext conftest.$ac_ext
36992
36993 fi
36994
36995     fi
36996     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36997 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36998
36999     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37000
37001 cat >>confdefs.h <<\_ACEOF
37002 #define HAVE___BUILTIN_SQRT 1
37003 _ACEOF
37004
37005     fi
37006
37007   fi
37008
37009
37010   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37011 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37012   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37013     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37014   echo $ECHO_N "(cached) $ECHO_C" >&6
37015 else
37016
37017
37018
37019       ac_ext=cc
37020 ac_cpp='$CXXCPP $CPPFLAGS'
37021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37024
37025       cat >conftest.$ac_ext <<_ACEOF
37026 /* confdefs.h.  */
37027 _ACEOF
37028 cat confdefs.h >>conftest.$ac_ext
37029 cat >>conftest.$ac_ext <<_ACEOF
37030 /* end confdefs.h.  */
37031 #include <math.h>
37032 int
37033 main ()
37034 {
37035  __builtin_sqrtl(0);
37036   ;
37037   return 0;
37038 }
37039 _ACEOF
37040 rm -f conftest.$ac_objext
37041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37042   (eval $ac_compile) 2>conftest.er1
37043   ac_status=$?
37044   grep -v '^ *+' conftest.er1 >conftest.err
37045   rm -f conftest.er1
37046   cat conftest.err >&5
37047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048   (exit $ac_status); } &&
37049          { ac_try='test -z "$ac_cxx_werror_flag"
37050                          || test ! -s conftest.err'
37051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052   (eval $ac_try) 2>&5
37053   ac_status=$?
37054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055   (exit $ac_status); }; } &&
37056          { ac_try='test -s conftest.$ac_objext'
37057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37058   (eval $ac_try) 2>&5
37059   ac_status=$?
37060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061   (exit $ac_status); }; }; then
37062   glibcxx_cv_func___builtin_sqrtl_use=yes
37063 else
37064   echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.$ac_ext >&5
37066
37067 glibcxx_cv_func___builtin_sqrtl_use=no
37068 fi
37069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37070       ac_ext=c
37071 ac_cpp='$CPP $CPPFLAGS'
37072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37075
37076
37077 fi
37078
37079   fi
37080   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37081 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37082   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37083     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37084 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37085     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37086       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37087   echo $ECHO_N "(cached) $ECHO_C" >&6
37088 else
37089
37090         if test x$gcc_no_link = xyes; then
37091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37093    { (exit 1); exit 1; }; }
37094 fi
37095 cat >conftest.$ac_ext <<_ACEOF
37096 /* confdefs.h.  */
37097 _ACEOF
37098 cat confdefs.h >>conftest.$ac_ext
37099 cat >>conftest.$ac_ext <<_ACEOF
37100 /* end confdefs.h.  */
37101 #include <math.h>
37102 int
37103 main ()
37104 {
37105  __builtin_sqrtl(0);
37106   ;
37107   return 0;
37108 }
37109 _ACEOF
37110 rm -f conftest.$ac_objext conftest$ac_exeext
37111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37112   (eval $ac_link) 2>conftest.er1
37113   ac_status=$?
37114   grep -v '^ *+' conftest.er1 >conftest.err
37115   rm -f conftest.er1
37116   cat conftest.err >&5
37117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37118   (exit $ac_status); } &&
37119          { ac_try='test -z "$ac_c_werror_flag"
37120                          || test ! -s conftest.err'
37121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37122   (eval $ac_try) 2>&5
37123   ac_status=$?
37124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37125   (exit $ac_status); }; } &&
37126          { ac_try='test -s conftest$ac_exeext'
37127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37128   (eval $ac_try) 2>&5
37129   ac_status=$?
37130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37131   (exit $ac_status); }; }; then
37132   glibcxx_cv_func___builtin_sqrtl_link=yes
37133 else
37134   echo "$as_me: failed program was:" >&5
37135 sed 's/^/| /' conftest.$ac_ext >&5
37136
37137 glibcxx_cv_func___builtin_sqrtl_link=no
37138 fi
37139 rm -f conftest.err conftest.$ac_objext \
37140       conftest$ac_exeext conftest.$ac_ext
37141
37142 fi
37143
37144     fi
37145     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37146 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37147
37148     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37149
37150 cat >>confdefs.h <<\_ACEOF
37151 #define HAVE___BUILTIN_SQRTL 1
37152 _ACEOF
37153
37154     fi
37155
37156   fi
37157
37158
37159
37160   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37161 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37162   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37163     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37164   echo $ECHO_N "(cached) $ECHO_C" >&6
37165 else
37166
37167
37168
37169       ac_ext=cc
37170 ac_cpp='$CXXCPP $CPPFLAGS'
37171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37174
37175       cat >conftest.$ac_ext <<_ACEOF
37176 /* confdefs.h.  */
37177 _ACEOF
37178 cat confdefs.h >>conftest.$ac_ext
37179 cat >>conftest.$ac_ext <<_ACEOF
37180 /* end confdefs.h.  */
37181 #include <math.h>
37182 int
37183 main ()
37184 {
37185  __builtin_sinf(0);
37186   ;
37187   return 0;
37188 }
37189 _ACEOF
37190 rm -f conftest.$ac_objext
37191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37192   (eval $ac_compile) 2>conftest.er1
37193   ac_status=$?
37194   grep -v '^ *+' conftest.er1 >conftest.err
37195   rm -f conftest.er1
37196   cat conftest.err >&5
37197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198   (exit $ac_status); } &&
37199          { ac_try='test -z "$ac_cxx_werror_flag"
37200                          || test ! -s conftest.err'
37201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37202   (eval $ac_try) 2>&5
37203   ac_status=$?
37204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205   (exit $ac_status); }; } &&
37206          { ac_try='test -s conftest.$ac_objext'
37207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208   (eval $ac_try) 2>&5
37209   ac_status=$?
37210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211   (exit $ac_status); }; }; then
37212   glibcxx_cv_func___builtin_sinf_use=yes
37213 else
37214   echo "$as_me: failed program was:" >&5
37215 sed 's/^/| /' conftest.$ac_ext >&5
37216
37217 glibcxx_cv_func___builtin_sinf_use=no
37218 fi
37219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37220       ac_ext=c
37221 ac_cpp='$CPP $CPPFLAGS'
37222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37225
37226
37227 fi
37228
37229   fi
37230   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37231 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37232   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37233     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37234 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37235     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37236       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37237   echo $ECHO_N "(cached) $ECHO_C" >&6
37238 else
37239
37240         if test x$gcc_no_link = xyes; then
37241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37243    { (exit 1); exit 1; }; }
37244 fi
37245 cat >conftest.$ac_ext <<_ACEOF
37246 /* confdefs.h.  */
37247 _ACEOF
37248 cat confdefs.h >>conftest.$ac_ext
37249 cat >>conftest.$ac_ext <<_ACEOF
37250 /* end confdefs.h.  */
37251 #include <math.h>
37252 int
37253 main ()
37254 {
37255  __builtin_sinf(0);
37256   ;
37257   return 0;
37258 }
37259 _ACEOF
37260 rm -f conftest.$ac_objext conftest$ac_exeext
37261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37262   (eval $ac_link) 2>conftest.er1
37263   ac_status=$?
37264   grep -v '^ *+' conftest.er1 >conftest.err
37265   rm -f conftest.er1
37266   cat conftest.err >&5
37267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37268   (exit $ac_status); } &&
37269          { ac_try='test -z "$ac_c_werror_flag"
37270                          || test ! -s conftest.err'
37271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37272   (eval $ac_try) 2>&5
37273   ac_status=$?
37274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275   (exit $ac_status); }; } &&
37276          { ac_try='test -s conftest$ac_exeext'
37277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37278   (eval $ac_try) 2>&5
37279   ac_status=$?
37280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281   (exit $ac_status); }; }; then
37282   glibcxx_cv_func___builtin_sinf_link=yes
37283 else
37284   echo "$as_me: failed program was:" >&5
37285 sed 's/^/| /' conftest.$ac_ext >&5
37286
37287 glibcxx_cv_func___builtin_sinf_link=no
37288 fi
37289 rm -f conftest.err conftest.$ac_objext \
37290       conftest$ac_exeext conftest.$ac_ext
37291
37292 fi
37293
37294     fi
37295     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37296 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37297
37298     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37299
37300 cat >>confdefs.h <<\_ACEOF
37301 #define HAVE___BUILTIN_SINF 1
37302 _ACEOF
37303
37304     fi
37305
37306   fi
37307
37308
37309   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37310 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37311   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37312     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37313   echo $ECHO_N "(cached) $ECHO_C" >&6
37314 else
37315
37316
37317
37318       ac_ext=cc
37319 ac_cpp='$CXXCPP $CPPFLAGS'
37320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37323
37324       cat >conftest.$ac_ext <<_ACEOF
37325 /* confdefs.h.  */
37326 _ACEOF
37327 cat confdefs.h >>conftest.$ac_ext
37328 cat >>conftest.$ac_ext <<_ACEOF
37329 /* end confdefs.h.  */
37330 #include <math.h>
37331 int
37332 main ()
37333 {
37334  __builtin_sin(0);
37335   ;
37336   return 0;
37337 }
37338 _ACEOF
37339 rm -f conftest.$ac_objext
37340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37341   (eval $ac_compile) 2>conftest.er1
37342   ac_status=$?
37343   grep -v '^ *+' conftest.er1 >conftest.err
37344   rm -f conftest.er1
37345   cat conftest.err >&5
37346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347   (exit $ac_status); } &&
37348          { ac_try='test -z "$ac_cxx_werror_flag"
37349                          || test ! -s conftest.err'
37350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37351   (eval $ac_try) 2>&5
37352   ac_status=$?
37353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354   (exit $ac_status); }; } &&
37355          { ac_try='test -s conftest.$ac_objext'
37356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357   (eval $ac_try) 2>&5
37358   ac_status=$?
37359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360   (exit $ac_status); }; }; then
37361   glibcxx_cv_func___builtin_sin_use=yes
37362 else
37363   echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37365
37366 glibcxx_cv_func___builtin_sin_use=no
37367 fi
37368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37369       ac_ext=c
37370 ac_cpp='$CPP $CPPFLAGS'
37371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37374
37375
37376 fi
37377
37378   fi
37379   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37380 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37381   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37382     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37383 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37384     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37385       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37386   echo $ECHO_N "(cached) $ECHO_C" >&6
37387 else
37388
37389         if test x$gcc_no_link = xyes; then
37390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37392    { (exit 1); exit 1; }; }
37393 fi
37394 cat >conftest.$ac_ext <<_ACEOF
37395 /* confdefs.h.  */
37396 _ACEOF
37397 cat confdefs.h >>conftest.$ac_ext
37398 cat >>conftest.$ac_ext <<_ACEOF
37399 /* end confdefs.h.  */
37400 #include <math.h>
37401 int
37402 main ()
37403 {
37404  __builtin_sin(0);
37405   ;
37406   return 0;
37407 }
37408 _ACEOF
37409 rm -f conftest.$ac_objext conftest$ac_exeext
37410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37411   (eval $ac_link) 2>conftest.er1
37412   ac_status=$?
37413   grep -v '^ *+' conftest.er1 >conftest.err
37414   rm -f conftest.er1
37415   cat conftest.err >&5
37416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417   (exit $ac_status); } &&
37418          { ac_try='test -z "$ac_c_werror_flag"
37419                          || test ! -s conftest.err'
37420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37421   (eval $ac_try) 2>&5
37422   ac_status=$?
37423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424   (exit $ac_status); }; } &&
37425          { ac_try='test -s conftest$ac_exeext'
37426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37427   (eval $ac_try) 2>&5
37428   ac_status=$?
37429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430   (exit $ac_status); }; }; then
37431   glibcxx_cv_func___builtin_sin_link=yes
37432 else
37433   echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.$ac_ext >&5
37435
37436 glibcxx_cv_func___builtin_sin_link=no
37437 fi
37438 rm -f conftest.err conftest.$ac_objext \
37439       conftest$ac_exeext conftest.$ac_ext
37440
37441 fi
37442
37443     fi
37444     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37445 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37446
37447     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37448
37449 cat >>confdefs.h <<\_ACEOF
37450 #define HAVE___BUILTIN_SIN 1
37451 _ACEOF
37452
37453     fi
37454
37455   fi
37456
37457
37458   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37459 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37460   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37461     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37462   echo $ECHO_N "(cached) $ECHO_C" >&6
37463 else
37464
37465
37466
37467       ac_ext=cc
37468 ac_cpp='$CXXCPP $CPPFLAGS'
37469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37472
37473       cat >conftest.$ac_ext <<_ACEOF
37474 /* confdefs.h.  */
37475 _ACEOF
37476 cat confdefs.h >>conftest.$ac_ext
37477 cat >>conftest.$ac_ext <<_ACEOF
37478 /* end confdefs.h.  */
37479 #include <math.h>
37480 int
37481 main ()
37482 {
37483  __builtin_sinl(0);
37484   ;
37485   return 0;
37486 }
37487 _ACEOF
37488 rm -f conftest.$ac_objext
37489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37490   (eval $ac_compile) 2>conftest.er1
37491   ac_status=$?
37492   grep -v '^ *+' conftest.er1 >conftest.err
37493   rm -f conftest.er1
37494   cat conftest.err >&5
37495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496   (exit $ac_status); } &&
37497          { ac_try='test -z "$ac_cxx_werror_flag"
37498                          || test ! -s conftest.err'
37499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37500   (eval $ac_try) 2>&5
37501   ac_status=$?
37502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503   (exit $ac_status); }; } &&
37504          { ac_try='test -s conftest.$ac_objext'
37505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37506   (eval $ac_try) 2>&5
37507   ac_status=$?
37508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37509   (exit $ac_status); }; }; then
37510   glibcxx_cv_func___builtin_sinl_use=yes
37511 else
37512   echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37514
37515 glibcxx_cv_func___builtin_sinl_use=no
37516 fi
37517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37518       ac_ext=c
37519 ac_cpp='$CPP $CPPFLAGS'
37520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37523
37524
37525 fi
37526
37527   fi
37528   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37529 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37530   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37531     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37532 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37533     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37534       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37535   echo $ECHO_N "(cached) $ECHO_C" >&6
37536 else
37537
37538         if test x$gcc_no_link = xyes; then
37539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37541    { (exit 1); exit 1; }; }
37542 fi
37543 cat >conftest.$ac_ext <<_ACEOF
37544 /* confdefs.h.  */
37545 _ACEOF
37546 cat confdefs.h >>conftest.$ac_ext
37547 cat >>conftest.$ac_ext <<_ACEOF
37548 /* end confdefs.h.  */
37549 #include <math.h>
37550 int
37551 main ()
37552 {
37553  __builtin_sinl(0);
37554   ;
37555   return 0;
37556 }
37557 _ACEOF
37558 rm -f conftest.$ac_objext conftest$ac_exeext
37559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37560   (eval $ac_link) 2>conftest.er1
37561   ac_status=$?
37562   grep -v '^ *+' conftest.er1 >conftest.err
37563   rm -f conftest.er1
37564   cat conftest.err >&5
37565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37566   (exit $ac_status); } &&
37567          { ac_try='test -z "$ac_c_werror_flag"
37568                          || test ! -s conftest.err'
37569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37570   (eval $ac_try) 2>&5
37571   ac_status=$?
37572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37573   (exit $ac_status); }; } &&
37574          { ac_try='test -s conftest$ac_exeext'
37575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37576   (eval $ac_try) 2>&5
37577   ac_status=$?
37578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579   (exit $ac_status); }; }; then
37580   glibcxx_cv_func___builtin_sinl_link=yes
37581 else
37582   echo "$as_me: failed program was:" >&5
37583 sed 's/^/| /' conftest.$ac_ext >&5
37584
37585 glibcxx_cv_func___builtin_sinl_link=no
37586 fi
37587 rm -f conftest.err conftest.$ac_objext \
37588       conftest$ac_exeext conftest.$ac_ext
37589
37590 fi
37591
37592     fi
37593     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37594 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37595
37596     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37597
37598 cat >>confdefs.h <<\_ACEOF
37599 #define HAVE___BUILTIN_SINL 1
37600 _ACEOF
37601
37602     fi
37603
37604   fi
37605
37606
37607
37608   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37609 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37610   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37611     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37612   echo $ECHO_N "(cached) $ECHO_C" >&6
37613 else
37614
37615
37616
37617       ac_ext=cc
37618 ac_cpp='$CXXCPP $CPPFLAGS'
37619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37622
37623       cat >conftest.$ac_ext <<_ACEOF
37624 /* confdefs.h.  */
37625 _ACEOF
37626 cat confdefs.h >>conftest.$ac_ext
37627 cat >>conftest.$ac_ext <<_ACEOF
37628 /* end confdefs.h.  */
37629 #include <math.h>
37630 int
37631 main ()
37632 {
37633  __builtin_cosf(0);
37634   ;
37635   return 0;
37636 }
37637 _ACEOF
37638 rm -f conftest.$ac_objext
37639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37640   (eval $ac_compile) 2>conftest.er1
37641   ac_status=$?
37642   grep -v '^ *+' conftest.er1 >conftest.err
37643   rm -f conftest.er1
37644   cat conftest.err >&5
37645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37646   (exit $ac_status); } &&
37647          { ac_try='test -z "$ac_cxx_werror_flag"
37648                          || test ! -s conftest.err'
37649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650   (eval $ac_try) 2>&5
37651   ac_status=$?
37652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653   (exit $ac_status); }; } &&
37654          { ac_try='test -s conftest.$ac_objext'
37655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37656   (eval $ac_try) 2>&5
37657   ac_status=$?
37658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37659   (exit $ac_status); }; }; then
37660   glibcxx_cv_func___builtin_cosf_use=yes
37661 else
37662   echo "$as_me: failed program was:" >&5
37663 sed 's/^/| /' conftest.$ac_ext >&5
37664
37665 glibcxx_cv_func___builtin_cosf_use=no
37666 fi
37667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37668       ac_ext=c
37669 ac_cpp='$CPP $CPPFLAGS'
37670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37673
37674
37675 fi
37676
37677   fi
37678   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37679 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37680   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37681     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37682 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37683     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37684       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37685   echo $ECHO_N "(cached) $ECHO_C" >&6
37686 else
37687
37688         if test x$gcc_no_link = xyes; then
37689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37691    { (exit 1); exit 1; }; }
37692 fi
37693 cat >conftest.$ac_ext <<_ACEOF
37694 /* confdefs.h.  */
37695 _ACEOF
37696 cat confdefs.h >>conftest.$ac_ext
37697 cat >>conftest.$ac_ext <<_ACEOF
37698 /* end confdefs.h.  */
37699 #include <math.h>
37700 int
37701 main ()
37702 {
37703  __builtin_cosf(0);
37704   ;
37705   return 0;
37706 }
37707 _ACEOF
37708 rm -f conftest.$ac_objext conftest$ac_exeext
37709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37710   (eval $ac_link) 2>conftest.er1
37711   ac_status=$?
37712   grep -v '^ *+' conftest.er1 >conftest.err
37713   rm -f conftest.er1
37714   cat conftest.err >&5
37715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716   (exit $ac_status); } &&
37717          { ac_try='test -z "$ac_c_werror_flag"
37718                          || test ! -s conftest.err'
37719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37720   (eval $ac_try) 2>&5
37721   ac_status=$?
37722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37723   (exit $ac_status); }; } &&
37724          { ac_try='test -s conftest$ac_exeext'
37725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37726   (eval $ac_try) 2>&5
37727   ac_status=$?
37728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729   (exit $ac_status); }; }; then
37730   glibcxx_cv_func___builtin_cosf_link=yes
37731 else
37732   echo "$as_me: failed program was:" >&5
37733 sed 's/^/| /' conftest.$ac_ext >&5
37734
37735 glibcxx_cv_func___builtin_cosf_link=no
37736 fi
37737 rm -f conftest.err conftest.$ac_objext \
37738       conftest$ac_exeext conftest.$ac_ext
37739
37740 fi
37741
37742     fi
37743     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37744 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37745
37746     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37747
37748 cat >>confdefs.h <<\_ACEOF
37749 #define HAVE___BUILTIN_COSF 1
37750 _ACEOF
37751
37752     fi
37753
37754   fi
37755
37756
37757   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37758 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37759   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37760     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37761   echo $ECHO_N "(cached) $ECHO_C" >&6
37762 else
37763
37764
37765
37766       ac_ext=cc
37767 ac_cpp='$CXXCPP $CPPFLAGS'
37768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37771
37772       cat >conftest.$ac_ext <<_ACEOF
37773 /* confdefs.h.  */
37774 _ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h.  */
37778 #include <math.h>
37779 int
37780 main ()
37781 {
37782  __builtin_cos(0);
37783   ;
37784   return 0;
37785 }
37786 _ACEOF
37787 rm -f conftest.$ac_objext
37788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37789   (eval $ac_compile) 2>conftest.er1
37790   ac_status=$?
37791   grep -v '^ *+' conftest.er1 >conftest.err
37792   rm -f conftest.er1
37793   cat conftest.err >&5
37794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795   (exit $ac_status); } &&
37796          { ac_try='test -z "$ac_cxx_werror_flag"
37797                          || test ! -s conftest.err'
37798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37799   (eval $ac_try) 2>&5
37800   ac_status=$?
37801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802   (exit $ac_status); }; } &&
37803          { ac_try='test -s conftest.$ac_objext'
37804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37805   (eval $ac_try) 2>&5
37806   ac_status=$?
37807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37808   (exit $ac_status); }; }; then
37809   glibcxx_cv_func___builtin_cos_use=yes
37810 else
37811   echo "$as_me: failed program was:" >&5
37812 sed 's/^/| /' conftest.$ac_ext >&5
37813
37814 glibcxx_cv_func___builtin_cos_use=no
37815 fi
37816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37817       ac_ext=c
37818 ac_cpp='$CPP $CPPFLAGS'
37819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37822
37823
37824 fi
37825
37826   fi
37827   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37828 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37829   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37830     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37831 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37832     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37833       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37834   echo $ECHO_N "(cached) $ECHO_C" >&6
37835 else
37836
37837         if test x$gcc_no_link = xyes; then
37838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37840    { (exit 1); exit 1; }; }
37841 fi
37842 cat >conftest.$ac_ext <<_ACEOF
37843 /* confdefs.h.  */
37844 _ACEOF
37845 cat confdefs.h >>conftest.$ac_ext
37846 cat >>conftest.$ac_ext <<_ACEOF
37847 /* end confdefs.h.  */
37848 #include <math.h>
37849 int
37850 main ()
37851 {
37852  __builtin_cos(0);
37853   ;
37854   return 0;
37855 }
37856 _ACEOF
37857 rm -f conftest.$ac_objext conftest$ac_exeext
37858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37859   (eval $ac_link) 2>conftest.er1
37860   ac_status=$?
37861   grep -v '^ *+' conftest.er1 >conftest.err
37862   rm -f conftest.er1
37863   cat conftest.err >&5
37864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865   (exit $ac_status); } &&
37866          { ac_try='test -z "$ac_c_werror_flag"
37867                          || test ! -s conftest.err'
37868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37869   (eval $ac_try) 2>&5
37870   ac_status=$?
37871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872   (exit $ac_status); }; } &&
37873          { ac_try='test -s conftest$ac_exeext'
37874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37875   (eval $ac_try) 2>&5
37876   ac_status=$?
37877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878   (exit $ac_status); }; }; then
37879   glibcxx_cv_func___builtin_cos_link=yes
37880 else
37881   echo "$as_me: failed program was:" >&5
37882 sed 's/^/| /' conftest.$ac_ext >&5
37883
37884 glibcxx_cv_func___builtin_cos_link=no
37885 fi
37886 rm -f conftest.err conftest.$ac_objext \
37887       conftest$ac_exeext conftest.$ac_ext
37888
37889 fi
37890
37891     fi
37892     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37893 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37894
37895     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37896
37897 cat >>confdefs.h <<\_ACEOF
37898 #define HAVE___BUILTIN_COS 1
37899 _ACEOF
37900
37901     fi
37902
37903   fi
37904
37905
37906   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37907 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37908   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37909     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37910   echo $ECHO_N "(cached) $ECHO_C" >&6
37911 else
37912
37913
37914
37915       ac_ext=cc
37916 ac_cpp='$CXXCPP $CPPFLAGS'
37917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37920
37921       cat >conftest.$ac_ext <<_ACEOF
37922 /* confdefs.h.  */
37923 _ACEOF
37924 cat confdefs.h >>conftest.$ac_ext
37925 cat >>conftest.$ac_ext <<_ACEOF
37926 /* end confdefs.h.  */
37927 #include <math.h>
37928 int
37929 main ()
37930 {
37931  __builtin_cosl(0);
37932   ;
37933   return 0;
37934 }
37935 _ACEOF
37936 rm -f conftest.$ac_objext
37937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37938   (eval $ac_compile) 2>conftest.er1
37939   ac_status=$?
37940   grep -v '^ *+' conftest.er1 >conftest.err
37941   rm -f conftest.er1
37942   cat conftest.err >&5
37943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944   (exit $ac_status); } &&
37945          { ac_try='test -z "$ac_cxx_werror_flag"
37946                          || test ! -s conftest.err'
37947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948   (eval $ac_try) 2>&5
37949   ac_status=$?
37950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951   (exit $ac_status); }; } &&
37952          { ac_try='test -s conftest.$ac_objext'
37953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37954   (eval $ac_try) 2>&5
37955   ac_status=$?
37956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37957   (exit $ac_status); }; }; then
37958   glibcxx_cv_func___builtin_cosl_use=yes
37959 else
37960   echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37962
37963 glibcxx_cv_func___builtin_cosl_use=no
37964 fi
37965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37966       ac_ext=c
37967 ac_cpp='$CPP $CPPFLAGS'
37968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37971
37972
37973 fi
37974
37975   fi
37976   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37977 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37978   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37979     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37980 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37981     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37982       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37983   echo $ECHO_N "(cached) $ECHO_C" >&6
37984 else
37985
37986         if test x$gcc_no_link = xyes; then
37987   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37989    { (exit 1); exit 1; }; }
37990 fi
37991 cat >conftest.$ac_ext <<_ACEOF
37992 /* confdefs.h.  */
37993 _ACEOF
37994 cat confdefs.h >>conftest.$ac_ext
37995 cat >>conftest.$ac_ext <<_ACEOF
37996 /* end confdefs.h.  */
37997 #include <math.h>
37998 int
37999 main ()
38000 {
38001  __builtin_cosl(0);
38002   ;
38003   return 0;
38004 }
38005 _ACEOF
38006 rm -f conftest.$ac_objext conftest$ac_exeext
38007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38008   (eval $ac_link) 2>conftest.er1
38009   ac_status=$?
38010   grep -v '^ *+' conftest.er1 >conftest.err
38011   rm -f conftest.er1
38012   cat conftest.err >&5
38013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38014   (exit $ac_status); } &&
38015          { ac_try='test -z "$ac_c_werror_flag"
38016                          || test ! -s conftest.err'
38017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018   (eval $ac_try) 2>&5
38019   ac_status=$?
38020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021   (exit $ac_status); }; } &&
38022          { ac_try='test -s conftest$ac_exeext'
38023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38024   (eval $ac_try) 2>&5
38025   ac_status=$?
38026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38027   (exit $ac_status); }; }; then
38028   glibcxx_cv_func___builtin_cosl_link=yes
38029 else
38030   echo "$as_me: failed program was:" >&5
38031 sed 's/^/| /' conftest.$ac_ext >&5
38032
38033 glibcxx_cv_func___builtin_cosl_link=no
38034 fi
38035 rm -f conftest.err conftest.$ac_objext \
38036       conftest$ac_exeext conftest.$ac_ext
38037
38038 fi
38039
38040     fi
38041     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38042 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38043
38044     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38045
38046 cat >>confdefs.h <<\_ACEOF
38047 #define HAVE___BUILTIN_COSL 1
38048 _ACEOF
38049
38050     fi
38051
38052   fi
38053
38054
38055
38056
38057 echo "$as_me:$LINENO: checking for main in -lm" >&5
38058 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38059 if test "${ac_cv_lib_m_main+set}" = set; then
38060   echo $ECHO_N "(cached) $ECHO_C" >&6
38061 else
38062   ac_check_lib_save_LIBS=$LIBS
38063 LIBS="-lm  $LIBS"
38064 if test x$gcc_no_link = xyes; then
38065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38067    { (exit 1); exit 1; }; }
38068 fi
38069 cat >conftest.$ac_ext <<_ACEOF
38070 /* confdefs.h.  */
38071 _ACEOF
38072 cat confdefs.h >>conftest.$ac_ext
38073 cat >>conftest.$ac_ext <<_ACEOF
38074 /* end confdefs.h.  */
38075
38076
38077 int
38078 main ()
38079 {
38080 main ();
38081   ;
38082   return 0;
38083 }
38084 _ACEOF
38085 rm -f conftest.$ac_objext conftest$ac_exeext
38086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38087   (eval $ac_link) 2>conftest.er1
38088   ac_status=$?
38089   grep -v '^ *+' conftest.er1 >conftest.err
38090   rm -f conftest.er1
38091   cat conftest.err >&5
38092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093   (exit $ac_status); } &&
38094          { ac_try='test -z "$ac_c_werror_flag"
38095                          || test ! -s conftest.err'
38096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38097   (eval $ac_try) 2>&5
38098   ac_status=$?
38099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38100   (exit $ac_status); }; } &&
38101          { ac_try='test -s conftest$ac_exeext'
38102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38103   (eval $ac_try) 2>&5
38104   ac_status=$?
38105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106   (exit $ac_status); }; }; then
38107   ac_cv_lib_m_main=yes
38108 else
38109   echo "$as_me: failed program was:" >&5
38110 sed 's/^/| /' conftest.$ac_ext >&5
38111
38112 ac_cv_lib_m_main=no
38113 fi
38114 rm -f conftest.err conftest.$ac_objext \
38115       conftest$ac_exeext conftest.$ac_ext
38116 LIBS=$ac_check_lib_save_LIBS
38117 fi
38118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38119 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38120 if test $ac_cv_lib_m_main = yes; then
38121   cat >>confdefs.h <<_ACEOF
38122 #define HAVE_LIBM 1
38123 _ACEOF
38124
38125   LIBS="-lm $LIBS"
38126
38127 fi
38128
38129
38130 for ac_func in copysignf
38131 do
38132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38133 echo "$as_me:$LINENO: checking for $ac_func" >&5
38134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38135 if eval "test \"\${$as_ac_var+set}\" = set"; then
38136   echo $ECHO_N "(cached) $ECHO_C" >&6
38137 else
38138   if test x$gcc_no_link = xyes; then
38139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38141    { (exit 1); exit 1; }; }
38142 fi
38143 cat >conftest.$ac_ext <<_ACEOF
38144 /* confdefs.h.  */
38145 _ACEOF
38146 cat confdefs.h >>conftest.$ac_ext
38147 cat >>conftest.$ac_ext <<_ACEOF
38148 /* end confdefs.h.  */
38149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38151 #define $ac_func innocuous_$ac_func
38152
38153 /* System header to define __stub macros and hopefully few prototypes,
38154     which can conflict with char $ac_func (); below.
38155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38156     <limits.h> exists even on freestanding compilers.  */
38157
38158 #ifdef __STDC__
38159 # include <limits.h>
38160 #else
38161 # include <assert.h>
38162 #endif
38163
38164 #undef $ac_func
38165
38166 /* Override any gcc2 internal prototype to avoid an error.  */
38167 #ifdef __cplusplus
38168 extern "C"
38169 {
38170 #endif
38171 /* We use char because int might match the return type of a gcc2
38172    builtin and then its argument prototype would still apply.  */
38173 char $ac_func ();
38174 /* The GNU C library defines this for functions which it implements
38175     to always fail with ENOSYS.  Some functions are actually named
38176     something starting with __ and the normal name is an alias.  */
38177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38178 choke me
38179 #else
38180 char (*f) () = $ac_func;
38181 #endif
38182 #ifdef __cplusplus
38183 }
38184 #endif
38185
38186 int
38187 main ()
38188 {
38189 return f != $ac_func;
38190   ;
38191   return 0;
38192 }
38193 _ACEOF
38194 rm -f conftest.$ac_objext conftest$ac_exeext
38195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38196   (eval $ac_link) 2>conftest.er1
38197   ac_status=$?
38198   grep -v '^ *+' conftest.er1 >conftest.err
38199   rm -f conftest.er1
38200   cat conftest.err >&5
38201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202   (exit $ac_status); } &&
38203          { ac_try='test -z "$ac_c_werror_flag"
38204                          || test ! -s conftest.err'
38205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206   (eval $ac_try) 2>&5
38207   ac_status=$?
38208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209   (exit $ac_status); }; } &&
38210          { ac_try='test -s conftest$ac_exeext'
38211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212   (eval $ac_try) 2>&5
38213   ac_status=$?
38214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215   (exit $ac_status); }; }; then
38216   eval "$as_ac_var=yes"
38217 else
38218   echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38220
38221 eval "$as_ac_var=no"
38222 fi
38223 rm -f conftest.err conftest.$ac_objext \
38224       conftest$ac_exeext conftest.$ac_ext
38225 fi
38226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38228 if test `eval echo '${'$as_ac_var'}'` = yes; then
38229   cat >>confdefs.h <<_ACEOF
38230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38231 _ACEOF
38232
38233 else
38234   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38235 fi
38236 done
38237
38238
38239
38240 for ac_func in __signbit
38241 do
38242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38243 echo "$as_me:$LINENO: checking for $ac_func" >&5
38244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38245 if eval "test \"\${$as_ac_var+set}\" = set"; then
38246   echo $ECHO_N "(cached) $ECHO_C" >&6
38247 else
38248   if test x$gcc_no_link = xyes; then
38249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38251    { (exit 1); exit 1; }; }
38252 fi
38253 cat >conftest.$ac_ext <<_ACEOF
38254 /* confdefs.h.  */
38255 _ACEOF
38256 cat confdefs.h >>conftest.$ac_ext
38257 cat >>conftest.$ac_ext <<_ACEOF
38258 /* end confdefs.h.  */
38259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38261 #define $ac_func innocuous_$ac_func
38262
38263 /* System header to define __stub macros and hopefully few prototypes,
38264     which can conflict with char $ac_func (); below.
38265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38266     <limits.h> exists even on freestanding compilers.  */
38267
38268 #ifdef __STDC__
38269 # include <limits.h>
38270 #else
38271 # include <assert.h>
38272 #endif
38273
38274 #undef $ac_func
38275
38276 /* Override any gcc2 internal prototype to avoid an error.  */
38277 #ifdef __cplusplus
38278 extern "C"
38279 {
38280 #endif
38281 /* We use char because int might match the return type of a gcc2
38282    builtin and then its argument prototype would still apply.  */
38283 char $ac_func ();
38284 /* The GNU C library defines this for functions which it implements
38285     to always fail with ENOSYS.  Some functions are actually named
38286     something starting with __ and the normal name is an alias.  */
38287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38288 choke me
38289 #else
38290 char (*f) () = $ac_func;
38291 #endif
38292 #ifdef __cplusplus
38293 }
38294 #endif
38295
38296 int
38297 main ()
38298 {
38299 return f != $ac_func;
38300   ;
38301   return 0;
38302 }
38303 _ACEOF
38304 rm -f conftest.$ac_objext conftest$ac_exeext
38305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38306   (eval $ac_link) 2>conftest.er1
38307   ac_status=$?
38308   grep -v '^ *+' conftest.er1 >conftest.err
38309   rm -f conftest.er1
38310   cat conftest.err >&5
38311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38312   (exit $ac_status); } &&
38313          { ac_try='test -z "$ac_c_werror_flag"
38314                          || test ! -s conftest.err'
38315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38316   (eval $ac_try) 2>&5
38317   ac_status=$?
38318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319   (exit $ac_status); }; } &&
38320          { ac_try='test -s conftest$ac_exeext'
38321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38322   (eval $ac_try) 2>&5
38323   ac_status=$?
38324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38325   (exit $ac_status); }; }; then
38326   eval "$as_ac_var=yes"
38327 else
38328   echo "$as_me: failed program was:" >&5
38329 sed 's/^/| /' conftest.$ac_ext >&5
38330
38331 eval "$as_ac_var=no"
38332 fi
38333 rm -f conftest.err conftest.$ac_objext \
38334       conftest$ac_exeext conftest.$ac_ext
38335 fi
38336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38338 if test `eval echo '${'$as_ac_var'}'` = yes; then
38339   cat >>confdefs.h <<_ACEOF
38340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38341 _ACEOF
38342
38343 else
38344   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38345 fi
38346 done
38347
38348
38349
38350 for ac_func in __signbitf
38351 do
38352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38353 echo "$as_me:$LINENO: checking for $ac_func" >&5
38354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38355 if eval "test \"\${$as_ac_var+set}\" = set"; then
38356   echo $ECHO_N "(cached) $ECHO_C" >&6
38357 else
38358   if test x$gcc_no_link = xyes; then
38359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38361    { (exit 1); exit 1; }; }
38362 fi
38363 cat >conftest.$ac_ext <<_ACEOF
38364 /* confdefs.h.  */
38365 _ACEOF
38366 cat confdefs.h >>conftest.$ac_ext
38367 cat >>conftest.$ac_ext <<_ACEOF
38368 /* end confdefs.h.  */
38369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38370    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38371 #define $ac_func innocuous_$ac_func
38372
38373 /* System header to define __stub macros and hopefully few prototypes,
38374     which can conflict with char $ac_func (); below.
38375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38376     <limits.h> exists even on freestanding compilers.  */
38377
38378 #ifdef __STDC__
38379 # include <limits.h>
38380 #else
38381 # include <assert.h>
38382 #endif
38383
38384 #undef $ac_func
38385
38386 /* Override any gcc2 internal prototype to avoid an error.  */
38387 #ifdef __cplusplus
38388 extern "C"
38389 {
38390 #endif
38391 /* We use char because int might match the return type of a gcc2
38392    builtin and then its argument prototype would still apply.  */
38393 char $ac_func ();
38394 /* The GNU C library defines this for functions which it implements
38395     to always fail with ENOSYS.  Some functions are actually named
38396     something starting with __ and the normal name is an alias.  */
38397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38398 choke me
38399 #else
38400 char (*f) () = $ac_func;
38401 #endif
38402 #ifdef __cplusplus
38403 }
38404 #endif
38405
38406 int
38407 main ()
38408 {
38409 return f != $ac_func;
38410   ;
38411   return 0;
38412 }
38413 _ACEOF
38414 rm -f conftest.$ac_objext conftest$ac_exeext
38415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38416   (eval $ac_link) 2>conftest.er1
38417   ac_status=$?
38418   grep -v '^ *+' conftest.er1 >conftest.err
38419   rm -f conftest.er1
38420   cat conftest.err >&5
38421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422   (exit $ac_status); } &&
38423          { ac_try='test -z "$ac_c_werror_flag"
38424                          || test ! -s conftest.err'
38425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38426   (eval $ac_try) 2>&5
38427   ac_status=$?
38428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429   (exit $ac_status); }; } &&
38430          { ac_try='test -s conftest$ac_exeext'
38431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432   (eval $ac_try) 2>&5
38433   ac_status=$?
38434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435   (exit $ac_status); }; }; then
38436   eval "$as_ac_var=yes"
38437 else
38438   echo "$as_me: failed program was:" >&5
38439 sed 's/^/| /' conftest.$ac_ext >&5
38440
38441 eval "$as_ac_var=no"
38442 fi
38443 rm -f conftest.err conftest.$ac_objext \
38444       conftest$ac_exeext conftest.$ac_ext
38445 fi
38446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38448 if test `eval echo '${'$as_ac_var'}'` = yes; then
38449   cat >>confdefs.h <<_ACEOF
38450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38451 _ACEOF
38452
38453 else
38454   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38455 fi
38456 done
38457
38458
38459           if test x$ac_cv_func_copysignl = x"yes"; then
38460
38461 for ac_func in __signbitl
38462 do
38463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38464 echo "$as_me:$LINENO: checking for $ac_func" >&5
38465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38466 if eval "test \"\${$as_ac_var+set}\" = set"; then
38467   echo $ECHO_N "(cached) $ECHO_C" >&6
38468 else
38469   if test x$gcc_no_link = xyes; then
38470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38472    { (exit 1); exit 1; }; }
38473 fi
38474 cat >conftest.$ac_ext <<_ACEOF
38475 /* confdefs.h.  */
38476 _ACEOF
38477 cat confdefs.h >>conftest.$ac_ext
38478 cat >>conftest.$ac_ext <<_ACEOF
38479 /* end confdefs.h.  */
38480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38481    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38482 #define $ac_func innocuous_$ac_func
38483
38484 /* System header to define __stub macros and hopefully few prototypes,
38485     which can conflict with char $ac_func (); below.
38486     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38487     <limits.h> exists even on freestanding compilers.  */
38488
38489 #ifdef __STDC__
38490 # include <limits.h>
38491 #else
38492 # include <assert.h>
38493 #endif
38494
38495 #undef $ac_func
38496
38497 /* Override any gcc2 internal prototype to avoid an error.  */
38498 #ifdef __cplusplus
38499 extern "C"
38500 {
38501 #endif
38502 /* We use char because int might match the return type of a gcc2
38503    builtin and then its argument prototype would still apply.  */
38504 char $ac_func ();
38505 /* The GNU C library defines this for functions which it implements
38506     to always fail with ENOSYS.  Some functions are actually named
38507     something starting with __ and the normal name is an alias.  */
38508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38509 choke me
38510 #else
38511 char (*f) () = $ac_func;
38512 #endif
38513 #ifdef __cplusplus
38514 }
38515 #endif
38516
38517 int
38518 main ()
38519 {
38520 return f != $ac_func;
38521   ;
38522   return 0;
38523 }
38524 _ACEOF
38525 rm -f conftest.$ac_objext conftest$ac_exeext
38526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38527   (eval $ac_link) 2>conftest.er1
38528   ac_status=$?
38529   grep -v '^ *+' conftest.er1 >conftest.err
38530   rm -f conftest.er1
38531   cat conftest.err >&5
38532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38533   (exit $ac_status); } &&
38534          { ac_try='test -z "$ac_c_werror_flag"
38535                          || test ! -s conftest.err'
38536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38537   (eval $ac_try) 2>&5
38538   ac_status=$?
38539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540   (exit $ac_status); }; } &&
38541          { ac_try='test -s conftest$ac_exeext'
38542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38543   (eval $ac_try) 2>&5
38544   ac_status=$?
38545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38546   (exit $ac_status); }; }; then
38547   eval "$as_ac_var=yes"
38548 else
38549   echo "$as_me: failed program was:" >&5
38550 sed 's/^/| /' conftest.$ac_ext >&5
38551
38552 eval "$as_ac_var=no"
38553 fi
38554 rm -f conftest.err conftest.$ac_objext \
38555       conftest$ac_exeext conftest.$ac_ext
38556 fi
38557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38559 if test `eval echo '${'$as_ac_var'}'` = yes; then
38560   cat >>confdefs.h <<_ACEOF
38561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38562 _ACEOF
38563
38564 else
38565   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38566 fi
38567 done
38568
38569   fi
38570
38571   # Used in libmath/Makefile.am.
38572   if test -n "$LIBMATHOBJS"; then
38573     need_libmath=yes
38574   fi
38575
38576
38577
38578   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38579   ac_save_CXXFLAGS="$CXXFLAGS"
38580   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38581
38582
38583   echo "$as_me:$LINENO: checking for strtold declaration" >&5
38584 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38585   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38586     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38587   echo $ECHO_N "(cached) $ECHO_C" >&6
38588 else
38589
38590
38591
38592       ac_ext=cc
38593 ac_cpp='$CXXCPP $CPPFLAGS'
38594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38597
38598       cat >conftest.$ac_ext <<_ACEOF
38599 /* confdefs.h.  */
38600 _ACEOF
38601 cat confdefs.h >>conftest.$ac_ext
38602 cat >>conftest.$ac_ext <<_ACEOF
38603 /* end confdefs.h.  */
38604 #include <stdlib.h>
38605 int
38606 main ()
38607 {
38608  strtold(0, 0);
38609   ;
38610   return 0;
38611 }
38612 _ACEOF
38613 rm -f conftest.$ac_objext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38615   (eval $ac_compile) 2>conftest.er1
38616   ac_status=$?
38617   grep -v '^ *+' conftest.er1 >conftest.err
38618   rm -f conftest.er1
38619   cat conftest.err >&5
38620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621   (exit $ac_status); } &&
38622          { ac_try='test -z "$ac_cxx_werror_flag"
38623                          || test ! -s conftest.err'
38624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38625   (eval $ac_try) 2>&5
38626   ac_status=$?
38627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628   (exit $ac_status); }; } &&
38629          { ac_try='test -s conftest.$ac_objext'
38630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38631   (eval $ac_try) 2>&5
38632   ac_status=$?
38633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38634   (exit $ac_status); }; }; then
38635   glibcxx_cv_func_strtold_use=yes
38636 else
38637   echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38639
38640 glibcxx_cv_func_strtold_use=no
38641 fi
38642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38643       ac_ext=c
38644 ac_cpp='$CPP $CPPFLAGS'
38645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38648
38649
38650 fi
38651
38652   fi
38653   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38654 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38655   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38656
38657 for ac_func in strtold
38658 do
38659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38660 echo "$as_me:$LINENO: checking for $ac_func" >&5
38661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38662 if eval "test \"\${$as_ac_var+set}\" = set"; then
38663   echo $ECHO_N "(cached) $ECHO_C" >&6
38664 else
38665   if test x$gcc_no_link = xyes; then
38666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38668    { (exit 1); exit 1; }; }
38669 fi
38670 cat >conftest.$ac_ext <<_ACEOF
38671 /* confdefs.h.  */
38672 _ACEOF
38673 cat confdefs.h >>conftest.$ac_ext
38674 cat >>conftest.$ac_ext <<_ACEOF
38675 /* end confdefs.h.  */
38676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38678 #define $ac_func innocuous_$ac_func
38679
38680 /* System header to define __stub macros and hopefully few prototypes,
38681     which can conflict with char $ac_func (); below.
38682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38683     <limits.h> exists even on freestanding compilers.  */
38684
38685 #ifdef __STDC__
38686 # include <limits.h>
38687 #else
38688 # include <assert.h>
38689 #endif
38690
38691 #undef $ac_func
38692
38693 /* Override any gcc2 internal prototype to avoid an error.  */
38694 #ifdef __cplusplus
38695 extern "C"
38696 {
38697 #endif
38698 /* We use char because int might match the return type of a gcc2
38699    builtin and then its argument prototype would still apply.  */
38700 char $ac_func ();
38701 /* The GNU C library defines this for functions which it implements
38702     to always fail with ENOSYS.  Some functions are actually named
38703     something starting with __ and the normal name is an alias.  */
38704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38705 choke me
38706 #else
38707 char (*f) () = $ac_func;
38708 #endif
38709 #ifdef __cplusplus
38710 }
38711 #endif
38712
38713 int
38714 main ()
38715 {
38716 return f != $ac_func;
38717   ;
38718   return 0;
38719 }
38720 _ACEOF
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38723   (eval $ac_link) 2>conftest.er1
38724   ac_status=$?
38725   grep -v '^ *+' conftest.er1 >conftest.err
38726   rm -f conftest.er1
38727   cat conftest.err >&5
38728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729   (exit $ac_status); } &&
38730          { ac_try='test -z "$ac_c_werror_flag"
38731                          || test ! -s conftest.err'
38732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38733   (eval $ac_try) 2>&5
38734   ac_status=$?
38735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38736   (exit $ac_status); }; } &&
38737          { ac_try='test -s conftest$ac_exeext'
38738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38739   (eval $ac_try) 2>&5
38740   ac_status=$?
38741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742   (exit $ac_status); }; }; then
38743   eval "$as_ac_var=yes"
38744 else
38745   echo "$as_me: failed program was:" >&5
38746 sed 's/^/| /' conftest.$ac_ext >&5
38747
38748 eval "$as_ac_var=no"
38749 fi
38750 rm -f conftest.err conftest.$ac_objext \
38751       conftest$ac_exeext conftest.$ac_ext
38752 fi
38753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38755 if test `eval echo '${'$as_ac_var'}'` = yes; then
38756   cat >>confdefs.h <<_ACEOF
38757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38758 _ACEOF
38759
38760 fi
38761 done
38762
38763   fi
38764
38765
38766
38767
38768
38769   echo "$as_me:$LINENO: checking for strtof declaration" >&5
38770 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38771   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38772     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38773   echo $ECHO_N "(cached) $ECHO_C" >&6
38774 else
38775
38776
38777
38778       ac_ext=cc
38779 ac_cpp='$CXXCPP $CPPFLAGS'
38780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38783
38784       cat >conftest.$ac_ext <<_ACEOF
38785 /* confdefs.h.  */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h.  */
38790 #include <stdlib.h>
38791 int
38792 main ()
38793 {
38794  strtof(0, 0);
38795   ;
38796   return 0;
38797 }
38798 _ACEOF
38799 rm -f conftest.$ac_objext
38800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38801   (eval $ac_compile) 2>conftest.er1
38802   ac_status=$?
38803   grep -v '^ *+' conftest.er1 >conftest.err
38804   rm -f conftest.er1
38805   cat conftest.err >&5
38806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807   (exit $ac_status); } &&
38808          { ac_try='test -z "$ac_cxx_werror_flag"
38809                          || test ! -s conftest.err'
38810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38811   (eval $ac_try) 2>&5
38812   ac_status=$?
38813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814   (exit $ac_status); }; } &&
38815          { ac_try='test -s conftest.$ac_objext'
38816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38817   (eval $ac_try) 2>&5
38818   ac_status=$?
38819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820   (exit $ac_status); }; }; then
38821   glibcxx_cv_func_strtof_use=yes
38822 else
38823   echo "$as_me: failed program was:" >&5
38824 sed 's/^/| /' conftest.$ac_ext >&5
38825
38826 glibcxx_cv_func_strtof_use=no
38827 fi
38828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38829       ac_ext=c
38830 ac_cpp='$CPP $CPPFLAGS'
38831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38834
38835
38836 fi
38837
38838   fi
38839   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38840 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38841   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38842
38843 for ac_func in strtof
38844 do
38845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38846 echo "$as_me:$LINENO: checking for $ac_func" >&5
38847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38848 if eval "test \"\${$as_ac_var+set}\" = set"; then
38849   echo $ECHO_N "(cached) $ECHO_C" >&6
38850 else
38851   if test x$gcc_no_link = xyes; then
38852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38854    { (exit 1); exit 1; }; }
38855 fi
38856 cat >conftest.$ac_ext <<_ACEOF
38857 /* confdefs.h.  */
38858 _ACEOF
38859 cat confdefs.h >>conftest.$ac_ext
38860 cat >>conftest.$ac_ext <<_ACEOF
38861 /* end confdefs.h.  */
38862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38864 #define $ac_func innocuous_$ac_func
38865
38866 /* System header to define __stub macros and hopefully few prototypes,
38867     which can conflict with char $ac_func (); below.
38868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38869     <limits.h> exists even on freestanding compilers.  */
38870
38871 #ifdef __STDC__
38872 # include <limits.h>
38873 #else
38874 # include <assert.h>
38875 #endif
38876
38877 #undef $ac_func
38878
38879 /* Override any gcc2 internal prototype to avoid an error.  */
38880 #ifdef __cplusplus
38881 extern "C"
38882 {
38883 #endif
38884 /* We use char because int might match the return type of a gcc2
38885    builtin and then its argument prototype would still apply.  */
38886 char $ac_func ();
38887 /* The GNU C library defines this for functions which it implements
38888     to always fail with ENOSYS.  Some functions are actually named
38889     something starting with __ and the normal name is an alias.  */
38890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38891 choke me
38892 #else
38893 char (*f) () = $ac_func;
38894 #endif
38895 #ifdef __cplusplus
38896 }
38897 #endif
38898
38899 int
38900 main ()
38901 {
38902 return f != $ac_func;
38903   ;
38904   return 0;
38905 }
38906 _ACEOF
38907 rm -f conftest.$ac_objext conftest$ac_exeext
38908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38909   (eval $ac_link) 2>conftest.er1
38910   ac_status=$?
38911   grep -v '^ *+' conftest.er1 >conftest.err
38912   rm -f conftest.er1
38913   cat conftest.err >&5
38914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38915   (exit $ac_status); } &&
38916          { ac_try='test -z "$ac_c_werror_flag"
38917                          || test ! -s conftest.err'
38918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38919   (eval $ac_try) 2>&5
38920   ac_status=$?
38921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38922   (exit $ac_status); }; } &&
38923          { ac_try='test -s conftest$ac_exeext'
38924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38925   (eval $ac_try) 2>&5
38926   ac_status=$?
38927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38928   (exit $ac_status); }; }; then
38929   eval "$as_ac_var=yes"
38930 else
38931   echo "$as_me: failed program was:" >&5
38932 sed 's/^/| /' conftest.$ac_ext >&5
38933
38934 eval "$as_ac_var=no"
38935 fi
38936 rm -f conftest.err conftest.$ac_objext \
38937       conftest$ac_exeext conftest.$ac_ext
38938 fi
38939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38941 if test `eval echo '${'$as_ac_var'}'` = yes; then
38942   cat >>confdefs.h <<_ACEOF
38943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38944 _ACEOF
38945
38946 fi
38947 done
38948
38949   fi
38950
38951
38952
38953
38954
38955   CXXFLAGS="$ac_save_CXXFLAGS"
38956
38957
38958   # For showmanyc_helper().
38959
38960
38961 for ac_header in sys/ioctl.h sys/filio.h
38962 do
38963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38965   echo "$as_me:$LINENO: checking for $ac_header" >&5
38966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38968   echo $ECHO_N "(cached) $ECHO_C" >&6
38969 fi
38970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38972 else
38973   # Is the header compilable?
38974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38976 cat >conftest.$ac_ext <<_ACEOF
38977 /* confdefs.h.  */
38978 _ACEOF
38979 cat confdefs.h >>conftest.$ac_ext
38980 cat >>conftest.$ac_ext <<_ACEOF
38981 /* end confdefs.h.  */
38982 $ac_includes_default
38983 #include <$ac_header>
38984 _ACEOF
38985 rm -f conftest.$ac_objext
38986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38987   (eval $ac_compile) 2>conftest.er1
38988   ac_status=$?
38989   grep -v '^ *+' conftest.er1 >conftest.err
38990   rm -f conftest.er1
38991   cat conftest.err >&5
38992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993   (exit $ac_status); } &&
38994          { ac_try='test -z "$ac_c_werror_flag"
38995                          || test ! -s conftest.err'
38996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38997   (eval $ac_try) 2>&5
38998   ac_status=$?
38999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39000   (exit $ac_status); }; } &&
39001          { ac_try='test -s conftest.$ac_objext'
39002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39003   (eval $ac_try) 2>&5
39004   ac_status=$?
39005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39006   (exit $ac_status); }; }; then
39007   ac_header_compiler=yes
39008 else
39009   echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.$ac_ext >&5
39011
39012 ac_header_compiler=no
39013 fi
39014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39016 echo "${ECHO_T}$ac_header_compiler" >&6
39017
39018 # Is the header present?
39019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39021 cat >conftest.$ac_ext <<_ACEOF
39022 /* confdefs.h.  */
39023 _ACEOF
39024 cat confdefs.h >>conftest.$ac_ext
39025 cat >>conftest.$ac_ext <<_ACEOF
39026 /* end confdefs.h.  */
39027 #include <$ac_header>
39028 _ACEOF
39029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39030   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39031   ac_status=$?
39032   grep -v '^ *+' conftest.er1 >conftest.err
39033   rm -f conftest.er1
39034   cat conftest.err >&5
39035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036   (exit $ac_status); } >/dev/null; then
39037   if test -s conftest.err; then
39038     ac_cpp_err=$ac_c_preproc_warn_flag
39039     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39040   else
39041     ac_cpp_err=
39042   fi
39043 else
39044   ac_cpp_err=yes
39045 fi
39046 if test -z "$ac_cpp_err"; then
39047   ac_header_preproc=yes
39048 else
39049   echo "$as_me: failed program was:" >&5
39050 sed 's/^/| /' conftest.$ac_ext >&5
39051
39052   ac_header_preproc=no
39053 fi
39054 rm -f conftest.err conftest.$ac_ext
39055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39056 echo "${ECHO_T}$ac_header_preproc" >&6
39057
39058 # So?  What about this header?
39059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39060   yes:no: )
39061     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39063     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39065     ac_header_preproc=yes
39066     ;;
39067   no:yes:* )
39068     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39070     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39071 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39072     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39074     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39075 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39076     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39078     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39080     (
39081       cat <<\_ASBOX
39082 ## ----------------------------------------- ##
39083 ## Report this to the package-unused lists.  ##
39084 ## ----------------------------------------- ##
39085 _ASBOX
39086     ) |
39087       sed "s/^/$as_me: WARNING:     /" >&2
39088     ;;
39089 esac
39090 echo "$as_me:$LINENO: checking for $ac_header" >&5
39091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39093   echo $ECHO_N "(cached) $ECHO_C" >&6
39094 else
39095   eval "$as_ac_Header=\$ac_header_preproc"
39096 fi
39097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39099
39100 fi
39101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39102   cat >>confdefs.h <<_ACEOF
39103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39104 _ACEOF
39105
39106 fi
39107
39108 done
39109
39110
39111   echo "$as_me:$LINENO: checking for poll" >&5
39112 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39113   if test "${glibcxx_cv_POLL+set}" = set; then
39114   echo $ECHO_N "(cached) $ECHO_C" >&6
39115 else
39116
39117     if test x$gcc_no_link = xyes; then
39118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39120    { (exit 1); exit 1; }; }
39121 fi
39122 cat >conftest.$ac_ext <<_ACEOF
39123 /* confdefs.h.  */
39124 _ACEOF
39125 cat confdefs.h >>conftest.$ac_ext
39126 cat >>conftest.$ac_ext <<_ACEOF
39127 /* end confdefs.h.  */
39128 #include <poll.h>
39129 int
39130 main ()
39131 {
39132 struct pollfd pfd[1];
39133        pfd[0].events = POLLIN;
39134        poll(pfd, 1, 0);
39135   ;
39136   return 0;
39137 }
39138 _ACEOF
39139 rm -f conftest.$ac_objext conftest$ac_exeext
39140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39141   (eval $ac_link) 2>conftest.er1
39142   ac_status=$?
39143   grep -v '^ *+' conftest.er1 >conftest.err
39144   rm -f conftest.er1
39145   cat conftest.err >&5
39146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147   (exit $ac_status); } &&
39148          { ac_try='test -z "$ac_c_werror_flag"
39149                          || test ! -s conftest.err'
39150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39151   (eval $ac_try) 2>&5
39152   ac_status=$?
39153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154   (exit $ac_status); }; } &&
39155          { ac_try='test -s conftest$ac_exeext'
39156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39157   (eval $ac_try) 2>&5
39158   ac_status=$?
39159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160   (exit $ac_status); }; }; then
39161   glibcxx_cv_POLL=yes
39162 else
39163   echo "$as_me: failed program was:" >&5
39164 sed 's/^/| /' conftest.$ac_ext >&5
39165
39166 glibcxx_cv_POLL=no
39167 fi
39168 rm -f conftest.err conftest.$ac_objext \
39169       conftest$ac_exeext conftest.$ac_ext
39170
39171 fi
39172
39173   if test $glibcxx_cv_POLL = yes; then
39174
39175 cat >>confdefs.h <<\_ACEOF
39176 #define HAVE_POLL 1
39177 _ACEOF
39178
39179   fi
39180   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39181 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39182
39183
39184   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39185 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39186   if test "${glibcxx_cv_S_ISREG+set}" = set; then
39187   echo $ECHO_N "(cached) $ECHO_C" >&6
39188 else
39189
39190     if test x$gcc_no_link = xyes; then
39191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39193    { (exit 1); exit 1; }; }
39194 fi
39195 cat >conftest.$ac_ext <<_ACEOF
39196 /* confdefs.h.  */
39197 _ACEOF
39198 cat confdefs.h >>conftest.$ac_ext
39199 cat >>conftest.$ac_ext <<_ACEOF
39200 /* end confdefs.h.  */
39201 #include <sys/stat.h>
39202 int
39203 main ()
39204 {
39205 struct stat buffer;
39206        fstat(0, &buffer);
39207        S_ISREG(buffer.st_mode);
39208   ;
39209   return 0;
39210 }
39211 _ACEOF
39212 rm -f conftest.$ac_objext conftest$ac_exeext
39213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39214   (eval $ac_link) 2>conftest.er1
39215   ac_status=$?
39216   grep -v '^ *+' conftest.er1 >conftest.err
39217   rm -f conftest.er1
39218   cat conftest.err >&5
39219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220   (exit $ac_status); } &&
39221          { ac_try='test -z "$ac_c_werror_flag"
39222                          || test ! -s conftest.err'
39223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39224   (eval $ac_try) 2>&5
39225   ac_status=$?
39226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227   (exit $ac_status); }; } &&
39228          { ac_try='test -s conftest$ac_exeext'
39229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39230   (eval $ac_try) 2>&5
39231   ac_status=$?
39232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233   (exit $ac_status); }; }; then
39234   glibcxx_cv_S_ISREG=yes
39235 else
39236   echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39238
39239 glibcxx_cv_S_ISREG=no
39240 fi
39241 rm -f conftest.err conftest.$ac_objext \
39242       conftest$ac_exeext conftest.$ac_ext
39243
39244 fi
39245
39246   if test "${glibcxx_cv_S_IFREG+set}" = set; then
39247   echo $ECHO_N "(cached) $ECHO_C" >&6
39248 else
39249
39250     if test x$gcc_no_link = xyes; then
39251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39253    { (exit 1); exit 1; }; }
39254 fi
39255 cat >conftest.$ac_ext <<_ACEOF
39256 /* confdefs.h.  */
39257 _ACEOF
39258 cat confdefs.h >>conftest.$ac_ext
39259 cat >>conftest.$ac_ext <<_ACEOF
39260 /* end confdefs.h.  */
39261 #include <sys/stat.h>
39262 int
39263 main ()
39264 {
39265 struct stat buffer;
39266        fstat(0, &buffer);
39267        S_IFREG & buffer.st_mode;
39268   ;
39269   return 0;
39270 }
39271 _ACEOF
39272 rm -f conftest.$ac_objext conftest$ac_exeext
39273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39274   (eval $ac_link) 2>conftest.er1
39275   ac_status=$?
39276   grep -v '^ *+' conftest.er1 >conftest.err
39277   rm -f conftest.er1
39278   cat conftest.err >&5
39279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280   (exit $ac_status); } &&
39281          { ac_try='test -z "$ac_c_werror_flag"
39282                          || test ! -s conftest.err'
39283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39284   (eval $ac_try) 2>&5
39285   ac_status=$?
39286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287   (exit $ac_status); }; } &&
39288          { ac_try='test -s conftest$ac_exeext'
39289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39290   (eval $ac_try) 2>&5
39291   ac_status=$?
39292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293   (exit $ac_status); }; }; then
39294   glibcxx_cv_S_IFREG=yes
39295 else
39296   echo "$as_me: failed program was:" >&5
39297 sed 's/^/| /' conftest.$ac_ext >&5
39298
39299 glibcxx_cv_S_IFREG=no
39300 fi
39301 rm -f conftest.err conftest.$ac_objext \
39302       conftest$ac_exeext conftest.$ac_ext
39303
39304 fi
39305
39306   res=no
39307   if test $glibcxx_cv_S_ISREG = yes; then
39308
39309 cat >>confdefs.h <<\_ACEOF
39310 #define HAVE_S_ISREG 1
39311 _ACEOF
39312
39313     res=S_ISREG
39314   elif test $glibcxx_cv_S_IFREG = yes; then
39315
39316 cat >>confdefs.h <<\_ACEOF
39317 #define HAVE_S_IFREG 1
39318 _ACEOF
39319
39320     res=S_IFREG
39321   fi
39322   echo "$as_me:$LINENO: result: $res" >&5
39323 echo "${ECHO_T}$res" >&6
39324
39325
39326   # For xsputn_2().
39327
39328 for ac_header in sys/uio.h
39329 do
39330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39332   echo "$as_me:$LINENO: checking for $ac_header" >&5
39333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39335   echo $ECHO_N "(cached) $ECHO_C" >&6
39336 fi
39337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39339 else
39340   # Is the header compilable?
39341 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39343 cat >conftest.$ac_ext <<_ACEOF
39344 /* confdefs.h.  */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h.  */
39349 $ac_includes_default
39350 #include <$ac_header>
39351 _ACEOF
39352 rm -f conftest.$ac_objext
39353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39354   (eval $ac_compile) 2>conftest.er1
39355   ac_status=$?
39356   grep -v '^ *+' conftest.er1 >conftest.err
39357   rm -f conftest.er1
39358   cat conftest.err >&5
39359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39360   (exit $ac_status); } &&
39361          { ac_try='test -z "$ac_c_werror_flag"
39362                          || test ! -s conftest.err'
39363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39364   (eval $ac_try) 2>&5
39365   ac_status=$?
39366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39367   (exit $ac_status); }; } &&
39368          { ac_try='test -s conftest.$ac_objext'
39369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39370   (eval $ac_try) 2>&5
39371   ac_status=$?
39372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373   (exit $ac_status); }; }; then
39374   ac_header_compiler=yes
39375 else
39376   echo "$as_me: failed program was:" >&5
39377 sed 's/^/| /' conftest.$ac_ext >&5
39378
39379 ac_header_compiler=no
39380 fi
39381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39383 echo "${ECHO_T}$ac_header_compiler" >&6
39384
39385 # Is the header present?
39386 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39387 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39388 cat >conftest.$ac_ext <<_ACEOF
39389 /* confdefs.h.  */
39390 _ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h.  */
39394 #include <$ac_header>
39395 _ACEOF
39396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39397   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39398   ac_status=$?
39399   grep -v '^ *+' conftest.er1 >conftest.err
39400   rm -f conftest.er1
39401   cat conftest.err >&5
39402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39403   (exit $ac_status); } >/dev/null; then
39404   if test -s conftest.err; then
39405     ac_cpp_err=$ac_c_preproc_warn_flag
39406     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39407   else
39408     ac_cpp_err=
39409   fi
39410 else
39411   ac_cpp_err=yes
39412 fi
39413 if test -z "$ac_cpp_err"; then
39414   ac_header_preproc=yes
39415 else
39416   echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.$ac_ext >&5
39418
39419   ac_header_preproc=no
39420 fi
39421 rm -f conftest.err conftest.$ac_ext
39422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39423 echo "${ECHO_T}$ac_header_preproc" >&6
39424
39425 # So?  What about this header?
39426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39427   yes:no: )
39428     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39429 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39430     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39431 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39432     ac_header_preproc=yes
39433     ;;
39434   no:yes:* )
39435     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39436 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39437     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39438 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39439     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39440 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39441     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39442 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39443     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39445     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39446 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39447     (
39448       cat <<\_ASBOX
39449 ## ----------------------------------------- ##
39450 ## Report this to the package-unused lists.  ##
39451 ## ----------------------------------------- ##
39452 _ASBOX
39453     ) |
39454       sed "s/^/$as_me: WARNING:     /" >&2
39455     ;;
39456 esac
39457 echo "$as_me:$LINENO: checking for $ac_header" >&5
39458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39460   echo $ECHO_N "(cached) $ECHO_C" >&6
39461 else
39462   eval "$as_ac_Header=\$ac_header_preproc"
39463 fi
39464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39466
39467 fi
39468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39469   cat >>confdefs.h <<_ACEOF
39470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39471 _ACEOF
39472
39473 fi
39474
39475 done
39476
39477
39478   echo "$as_me:$LINENO: checking for writev" >&5
39479 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39480   if test "${glibcxx_cv_WRITEV+set}" = set; then
39481   echo $ECHO_N "(cached) $ECHO_C" >&6
39482 else
39483
39484     if test x$gcc_no_link = xyes; then
39485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39487    { (exit 1); exit 1; }; }
39488 fi
39489 cat >conftest.$ac_ext <<_ACEOF
39490 /* confdefs.h.  */
39491 _ACEOF
39492 cat confdefs.h >>conftest.$ac_ext
39493 cat >>conftest.$ac_ext <<_ACEOF
39494 /* end confdefs.h.  */
39495 #include <sys/uio.h>
39496 int
39497 main ()
39498 {
39499 struct iovec iov[2];
39500        writev(0, iov, 0);
39501   ;
39502   return 0;
39503 }
39504 _ACEOF
39505 rm -f conftest.$ac_objext conftest$ac_exeext
39506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39507   (eval $ac_link) 2>conftest.er1
39508   ac_status=$?
39509   grep -v '^ *+' conftest.er1 >conftest.err
39510   rm -f conftest.er1
39511   cat conftest.err >&5
39512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513   (exit $ac_status); } &&
39514          { ac_try='test -z "$ac_c_werror_flag"
39515                          || test ! -s conftest.err'
39516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39517   (eval $ac_try) 2>&5
39518   ac_status=$?
39519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39520   (exit $ac_status); }; } &&
39521          { ac_try='test -s conftest$ac_exeext'
39522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39523   (eval $ac_try) 2>&5
39524   ac_status=$?
39525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39526   (exit $ac_status); }; }; then
39527   glibcxx_cv_WRITEV=yes
39528 else
39529   echo "$as_me: failed program was:" >&5
39530 sed 's/^/| /' conftest.$ac_ext >&5
39531
39532 glibcxx_cv_WRITEV=no
39533 fi
39534 rm -f conftest.err conftest.$ac_objext \
39535       conftest$ac_exeext conftest.$ac_ext
39536
39537 fi
39538
39539   if test $glibcxx_cv_WRITEV = yes; then
39540
39541 cat >>confdefs.h <<\_ACEOF
39542 #define HAVE_WRITEV 1
39543 _ACEOF
39544
39545   fi
39546   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39547 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39548
39549
39550   # For the __streamoff_base_type typedef.
39551
39552   echo "$as_me:$LINENO: checking for int64_t" >&5
39553 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39554   if test "${glibcxx_cv_INT64_T+set}" = set; then
39555   echo $ECHO_N "(cached) $ECHO_C" >&6
39556 else
39557
39558     cat >conftest.$ac_ext <<_ACEOF
39559 /* confdefs.h.  */
39560 _ACEOF
39561 cat confdefs.h >>conftest.$ac_ext
39562 cat >>conftest.$ac_ext <<_ACEOF
39563 /* end confdefs.h.  */
39564 #include <stdint.h>
39565 int
39566 main ()
39567 {
39568 int64_t var;
39569   ;
39570   return 0;
39571 }
39572 _ACEOF
39573 rm -f conftest.$ac_objext
39574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39575   (eval $ac_compile) 2>conftest.er1
39576   ac_status=$?
39577   grep -v '^ *+' conftest.er1 >conftest.err
39578   rm -f conftest.er1
39579   cat conftest.err >&5
39580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581   (exit $ac_status); } &&
39582          { ac_try='test -z "$ac_c_werror_flag"
39583                          || test ! -s conftest.err'
39584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39585   (eval $ac_try) 2>&5
39586   ac_status=$?
39587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588   (exit $ac_status); }; } &&
39589          { ac_try='test -s conftest.$ac_objext'
39590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39591   (eval $ac_try) 2>&5
39592   ac_status=$?
39593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594   (exit $ac_status); }; }; then
39595   glibcxx_cv_INT64_T=yes
39596 else
39597   echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.$ac_ext >&5
39599
39600 glibcxx_cv_INT64_T=no
39601 fi
39602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39603
39604 fi
39605
39606   if test $glibcxx_cv_INT64_T = yes; then
39607
39608 cat >>confdefs.h <<\_ACEOF
39609 #define HAVE_INT64_T 1
39610 _ACEOF
39611
39612   fi
39613   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39614 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39615
39616
39617   # For LFS support.
39618
39619
39620
39621   ac_ext=cc
39622 ac_cpp='$CXXCPP $CPPFLAGS'
39623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39626
39627   ac_save_CXXFLAGS="$CXXFLAGS"
39628   CXXFLAGS="$CXXFLAGS -fno-exceptions"
39629   echo "$as_me:$LINENO: checking for LFS support" >&5
39630 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39631   if test "${glibcxx_cv_LFS+set}" = set; then
39632   echo $ECHO_N "(cached) $ECHO_C" >&6
39633 else
39634
39635     if test x$gcc_no_link = xyes; then
39636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39638    { (exit 1); exit 1; }; }
39639 fi
39640 cat >conftest.$ac_ext <<_ACEOF
39641 /* confdefs.h.  */
39642 _ACEOF
39643 cat confdefs.h >>conftest.$ac_ext
39644 cat >>conftest.$ac_ext <<_ACEOF
39645 /* end confdefs.h.  */
39646 #include <unistd.h>
39647        #include <stdio.h>
39648        #include <sys/stat.h>
39649
39650 int
39651 main ()
39652 {
39653 FILE* fp;
39654        fopen64("t", "w");
39655        fseeko64(fp, 0, SEEK_CUR);
39656        ftello64(fp);
39657        lseek64(1, 0, SEEK_CUR);
39658        struct stat64 buf;
39659        fstat64(1, &buf);
39660   ;
39661   return 0;
39662 }
39663 _ACEOF
39664 rm -f conftest.$ac_objext conftest$ac_exeext
39665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39666   (eval $ac_link) 2>conftest.er1
39667   ac_status=$?
39668   grep -v '^ *+' conftest.er1 >conftest.err
39669   rm -f conftest.er1
39670   cat conftest.err >&5
39671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672   (exit $ac_status); } &&
39673          { ac_try='test -z "$ac_cxx_werror_flag"
39674                          || test ! -s conftest.err'
39675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39676   (eval $ac_try) 2>&5
39677   ac_status=$?
39678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39679   (exit $ac_status); }; } &&
39680          { ac_try='test -s conftest$ac_exeext'
39681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39682   (eval $ac_try) 2>&5
39683   ac_status=$?
39684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685   (exit $ac_status); }; }; then
39686   glibcxx_cv_LFS=yes
39687 else
39688   echo "$as_me: failed program was:" >&5
39689 sed 's/^/| /' conftest.$ac_ext >&5
39690
39691 glibcxx_cv_LFS=no
39692 fi
39693 rm -f conftest.err conftest.$ac_objext \
39694       conftest$ac_exeext conftest.$ac_ext
39695
39696 fi
39697
39698   if test $glibcxx_cv_LFS = yes; then
39699
39700 cat >>confdefs.h <<\_ACEOF
39701 #define _GLIBCXX_USE_LFS 1
39702 _ACEOF
39703
39704   fi
39705   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39706 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39707   CXXFLAGS="$ac_save_CXXFLAGS"
39708   ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39713
39714
39715
39716   # For C99 support to TR1.
39717
39718
39719
39720
39721   ac_ext=cc
39722 ac_cpp='$CXXCPP $CPPFLAGS'
39723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39726
39727
39728   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39729   # undefined and fake C99 facilities may be spuriously enabled.
39730   ac_save_CXXFLAGS="$CXXFLAGS"
39731   CXXFLAGS="$CXXFLAGS -std=c++98"
39732
39733   # Check for the existence of <complex.h> complex math functions used
39734   # by tr1/complex.
39735
39736 for ac_header in complex.h
39737 do
39738 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39740   echo "$as_me:$LINENO: checking for $ac_header" >&5
39741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39743   echo $ECHO_N "(cached) $ECHO_C" >&6
39744 fi
39745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39747 else
39748   # Is the header compilable?
39749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39751 cat >conftest.$ac_ext <<_ACEOF
39752 /* confdefs.h.  */
39753 _ACEOF
39754 cat confdefs.h >>conftest.$ac_ext
39755 cat >>conftest.$ac_ext <<_ACEOF
39756 /* end confdefs.h.  */
39757 $ac_includes_default
39758 #include <$ac_header>
39759 _ACEOF
39760 rm -f conftest.$ac_objext
39761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39762   (eval $ac_compile) 2>conftest.er1
39763   ac_status=$?
39764   grep -v '^ *+' conftest.er1 >conftest.err
39765   rm -f conftest.er1
39766   cat conftest.err >&5
39767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768   (exit $ac_status); } &&
39769          { ac_try='test -z "$ac_cxx_werror_flag"
39770                          || test ! -s conftest.err'
39771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39772   (eval $ac_try) 2>&5
39773   ac_status=$?
39774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775   (exit $ac_status); }; } &&
39776          { ac_try='test -s conftest.$ac_objext'
39777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39778   (eval $ac_try) 2>&5
39779   ac_status=$?
39780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781   (exit $ac_status); }; }; then
39782   ac_header_compiler=yes
39783 else
39784   echo "$as_me: failed program was:" >&5
39785 sed 's/^/| /' conftest.$ac_ext >&5
39786
39787 ac_header_compiler=no
39788 fi
39789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39791 echo "${ECHO_T}$ac_header_compiler" >&6
39792
39793 # Is the header present?
39794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39796 cat >conftest.$ac_ext <<_ACEOF
39797 /* confdefs.h.  */
39798 _ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h.  */
39802 #include <$ac_header>
39803 _ACEOF
39804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39805   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39806   ac_status=$?
39807   grep -v '^ *+' conftest.er1 >conftest.err
39808   rm -f conftest.er1
39809   cat conftest.err >&5
39810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811   (exit $ac_status); } >/dev/null; then
39812   if test -s conftest.err; then
39813     ac_cpp_err=$ac_cxx_preproc_warn_flag
39814     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39815   else
39816     ac_cpp_err=
39817   fi
39818 else
39819   ac_cpp_err=yes
39820 fi
39821 if test -z "$ac_cpp_err"; then
39822   ac_header_preproc=yes
39823 else
39824   echo "$as_me: failed program was:" >&5
39825 sed 's/^/| /' conftest.$ac_ext >&5
39826
39827   ac_header_preproc=no
39828 fi
39829 rm -f conftest.err conftest.$ac_ext
39830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39831 echo "${ECHO_T}$ac_header_preproc" >&6
39832
39833 # So?  What about this header?
39834 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39835   yes:no: )
39836     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39838     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39840     ac_header_preproc=yes
39841     ;;
39842   no:yes:* )
39843     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39845     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39846 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39847     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39849     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39850 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39851     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39853     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39855     (
39856       cat <<\_ASBOX
39857 ## ----------------------------------------- ##
39858 ## Report this to the package-unused lists.  ##
39859 ## ----------------------------------------- ##
39860 _ASBOX
39861     ) |
39862       sed "s/^/$as_me: WARNING:     /" >&2
39863     ;;
39864 esac
39865 echo "$as_me:$LINENO: checking for $ac_header" >&5
39866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39868   echo $ECHO_N "(cached) $ECHO_C" >&6
39869 else
39870   eval "$as_ac_Header=\$ac_header_preproc"
39871 fi
39872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39874
39875 fi
39876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39877   cat >>confdefs.h <<_ACEOF
39878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39879 _ACEOF
39880  ac_has_complex_h=yes
39881 else
39882   ac_has_complex_h=no
39883 fi
39884
39885 done
39886
39887   ac_c99_complex_tr1=no;
39888   if test x"$ac_has_complex_h" = x"yes"; then
39889     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39890 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39891     cat >conftest.$ac_ext <<_ACEOF
39892 /* confdefs.h.  */
39893 _ACEOF
39894 cat confdefs.h >>conftest.$ac_ext
39895 cat >>conftest.$ac_ext <<_ACEOF
39896 /* end confdefs.h.  */
39897 #include <complex.h>
39898 int
39899 main ()
39900 {
39901 typedef __complex__ float float_type; float_type tmpf;
39902                     cacosf(tmpf);
39903                     casinf(tmpf);
39904                     catanf(tmpf);
39905                     cacoshf(tmpf);
39906                     casinhf(tmpf);
39907                     catanhf(tmpf);
39908                     typedef __complex__ double double_type; double_type tmpd;
39909                     cacos(tmpd);
39910                     casin(tmpd);
39911                     catan(tmpd);
39912                     cacosh(tmpd);
39913                     casinh(tmpd);
39914                     catanh(tmpd);
39915                     typedef __complex__ long double ld_type; ld_type tmpld;
39916                     cacosl(tmpld);
39917                     casinl(tmpld);
39918                     catanl(tmpld);
39919                     cacoshl(tmpld);
39920                     casinhl(tmpld);
39921                     catanhl(tmpld);
39922
39923   ;
39924   return 0;
39925 }
39926 _ACEOF
39927 rm -f conftest.$ac_objext
39928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39929   (eval $ac_compile) 2>conftest.er1
39930   ac_status=$?
39931   grep -v '^ *+' conftest.er1 >conftest.err
39932   rm -f conftest.er1
39933   cat conftest.err >&5
39934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935   (exit $ac_status); } &&
39936          { ac_try='test -z "$ac_cxx_werror_flag"
39937                          || test ! -s conftest.err'
39938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39939   (eval $ac_try) 2>&5
39940   ac_status=$?
39941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942   (exit $ac_status); }; } &&
39943          { ac_try='test -s conftest.$ac_objext'
39944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39945   (eval $ac_try) 2>&5
39946   ac_status=$?
39947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948   (exit $ac_status); }; }; then
39949   ac_c99_complex_tr1=yes
39950 else
39951   echo "$as_me: failed program was:" >&5
39952 sed 's/^/| /' conftest.$ac_ext >&5
39953
39954 ac_c99_complex_tr1=no
39955 fi
39956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39957   fi
39958   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39959 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39960   if test x"$ac_c99_complex_tr1" = x"yes"; then
39961
39962 cat >>confdefs.h <<\_ACEOF
39963 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39964 _ACEOF
39965
39966   fi
39967
39968   # Check for the existence of <ctype.h> functions.
39969   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39970 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39971   if test "${ac_c99_ctype_tr1+set}" = set; then
39972   echo $ECHO_N "(cached) $ECHO_C" >&6
39973 else
39974
39975   cat >conftest.$ac_ext <<_ACEOF
39976 /* confdefs.h.  */
39977 _ACEOF
39978 cat confdefs.h >>conftest.$ac_ext
39979 cat >>conftest.$ac_ext <<_ACEOF
39980 /* end confdefs.h.  */
39981 #include <ctype.h>
39982 int
39983 main ()
39984 {
39985 int ch;
39986                   int ret;
39987                   ret = isblank(ch);
39988
39989   ;
39990   return 0;
39991 }
39992 _ACEOF
39993 rm -f conftest.$ac_objext
39994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39995   (eval $ac_compile) 2>conftest.er1
39996   ac_status=$?
39997   grep -v '^ *+' conftest.er1 >conftest.err
39998   rm -f conftest.er1
39999   cat conftest.err >&5
40000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40001   (exit $ac_status); } &&
40002          { ac_try='test -z "$ac_cxx_werror_flag"
40003                          || test ! -s conftest.err'
40004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40005   (eval $ac_try) 2>&5
40006   ac_status=$?
40007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40008   (exit $ac_status); }; } &&
40009          { ac_try='test -s conftest.$ac_objext'
40010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40011   (eval $ac_try) 2>&5
40012   ac_status=$?
40013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40014   (exit $ac_status); }; }; then
40015   ac_c99_ctype_tr1=yes
40016 else
40017   echo "$as_me: failed program was:" >&5
40018 sed 's/^/| /' conftest.$ac_ext >&5
40019
40020 ac_c99_ctype_tr1=no
40021 fi
40022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40023
40024 fi
40025
40026   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
40027 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
40028   if test x"$ac_c99_ctype_tr1" = x"yes"; then
40029
40030 cat >>confdefs.h <<\_ACEOF
40031 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40032 _ACEOF
40033
40034   fi
40035
40036   # Check for the existence of <fenv.h> functions.
40037
40038 for ac_header in fenv.h
40039 do
40040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40042   echo "$as_me:$LINENO: checking for $ac_header" >&5
40043 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40045   echo $ECHO_N "(cached) $ECHO_C" >&6
40046 fi
40047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40048 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40049 else
40050   # Is the header compilable?
40051 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40052 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40053 cat >conftest.$ac_ext <<_ACEOF
40054 /* confdefs.h.  */
40055 _ACEOF
40056 cat confdefs.h >>conftest.$ac_ext
40057 cat >>conftest.$ac_ext <<_ACEOF
40058 /* end confdefs.h.  */
40059 $ac_includes_default
40060 #include <$ac_header>
40061 _ACEOF
40062 rm -f conftest.$ac_objext
40063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40064   (eval $ac_compile) 2>conftest.er1
40065   ac_status=$?
40066   grep -v '^ *+' conftest.er1 >conftest.err
40067   rm -f conftest.er1
40068   cat conftest.err >&5
40069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40070   (exit $ac_status); } &&
40071          { ac_try='test -z "$ac_cxx_werror_flag"
40072                          || test ! -s conftest.err'
40073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40074   (eval $ac_try) 2>&5
40075   ac_status=$?
40076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077   (exit $ac_status); }; } &&
40078          { ac_try='test -s conftest.$ac_objext'
40079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40080   (eval $ac_try) 2>&5
40081   ac_status=$?
40082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083   (exit $ac_status); }; }; then
40084   ac_header_compiler=yes
40085 else
40086   echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.$ac_ext >&5
40088
40089 ac_header_compiler=no
40090 fi
40091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40093 echo "${ECHO_T}$ac_header_compiler" >&6
40094
40095 # Is the header present?
40096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40098 cat >conftest.$ac_ext <<_ACEOF
40099 /* confdefs.h.  */
40100 _ACEOF
40101 cat confdefs.h >>conftest.$ac_ext
40102 cat >>conftest.$ac_ext <<_ACEOF
40103 /* end confdefs.h.  */
40104 #include <$ac_header>
40105 _ACEOF
40106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40107   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40108   ac_status=$?
40109   grep -v '^ *+' conftest.er1 >conftest.err
40110   rm -f conftest.er1
40111   cat conftest.err >&5
40112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40113   (exit $ac_status); } >/dev/null; then
40114   if test -s conftest.err; then
40115     ac_cpp_err=$ac_cxx_preproc_warn_flag
40116     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40117   else
40118     ac_cpp_err=
40119   fi
40120 else
40121   ac_cpp_err=yes
40122 fi
40123 if test -z "$ac_cpp_err"; then
40124   ac_header_preproc=yes
40125 else
40126   echo "$as_me: failed program was:" >&5
40127 sed 's/^/| /' conftest.$ac_ext >&5
40128
40129   ac_header_preproc=no
40130 fi
40131 rm -f conftest.err conftest.$ac_ext
40132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40133 echo "${ECHO_T}$ac_header_preproc" >&6
40134
40135 # So?  What about this header?
40136 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40137   yes:no: )
40138     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40140     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40142     ac_header_preproc=yes
40143     ;;
40144   no:yes:* )
40145     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40147     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40148 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40149     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40151     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40152 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40153     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40155     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40157     (
40158       cat <<\_ASBOX
40159 ## ----------------------------------------- ##
40160 ## Report this to the package-unused lists.  ##
40161 ## ----------------------------------------- ##
40162 _ASBOX
40163     ) |
40164       sed "s/^/$as_me: WARNING:     /" >&2
40165     ;;
40166 esac
40167 echo "$as_me:$LINENO: checking for $ac_header" >&5
40168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40170   echo $ECHO_N "(cached) $ECHO_C" >&6
40171 else
40172   eval "$as_ac_Header=\$ac_header_preproc"
40173 fi
40174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40176
40177 fi
40178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40179   cat >>confdefs.h <<_ACEOF
40180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40181 _ACEOF
40182  ac_has_fenv_h=yes
40183 else
40184   ac_has_fenv_h=no
40185 fi
40186
40187 done
40188
40189   ac_c99_fenv_tr1=no;
40190   if test x"$ac_has_fenv_h" = x"yes"; then
40191     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40192 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40193     cat >conftest.$ac_ext <<_ACEOF
40194 /* confdefs.h.  */
40195 _ACEOF
40196 cat confdefs.h >>conftest.$ac_ext
40197 cat >>conftest.$ac_ext <<_ACEOF
40198 /* end confdefs.h.  */
40199 #include <fenv.h>
40200 int
40201 main ()
40202 {
40203 int except, mode;
40204                     fexcept_t* pflag;
40205                     fenv_t* penv;
40206                     int ret;
40207                     ret = feclearexcept(except);
40208                     ret = fegetexceptflag(pflag, except);
40209                     ret = feraiseexcept(except);
40210                     ret = fesetexceptflag(pflag, except);
40211                     ret = fetestexcept(except);
40212                     ret = fegetround();
40213                     ret = fesetround(mode);
40214                     ret = fegetenv(penv);
40215                     ret = feholdexcept(penv);
40216                     ret = fesetenv(penv);
40217                     ret = feupdateenv(penv);
40218
40219   ;
40220   return 0;
40221 }
40222 _ACEOF
40223 rm -f conftest.$ac_objext
40224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40225   (eval $ac_compile) 2>conftest.er1
40226   ac_status=$?
40227   grep -v '^ *+' conftest.er1 >conftest.err
40228   rm -f conftest.er1
40229   cat conftest.err >&5
40230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231   (exit $ac_status); } &&
40232          { ac_try='test -z "$ac_cxx_werror_flag"
40233                          || test ! -s conftest.err'
40234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40235   (eval $ac_try) 2>&5
40236   ac_status=$?
40237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40238   (exit $ac_status); }; } &&
40239          { ac_try='test -s conftest.$ac_objext'
40240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40241   (eval $ac_try) 2>&5
40242   ac_status=$?
40243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40244   (exit $ac_status); }; }; then
40245   ac_c99_fenv_tr1=yes
40246 else
40247   echo "$as_me: failed program was:" >&5
40248 sed 's/^/| /' conftest.$ac_ext >&5
40249
40250 ac_c99_fenv_tr1=no
40251 fi
40252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40253   fi
40254   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40255 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40256   if test x"$ac_c99_fenv_tr1" = x"yes"; then
40257
40258 cat >>confdefs.h <<\_ACEOF
40259 #define _GLIBCXX_USE_C99_FENV_TR1 1
40260 _ACEOF
40261
40262   fi
40263
40264   # Check for the existence of <stdint.h> types.
40265   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40266 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40267   if test "${ac_c99_stdint_tr1+set}" = set; then
40268   echo $ECHO_N "(cached) $ECHO_C" >&6
40269 else
40270
40271   cat >conftest.$ac_ext <<_ACEOF
40272 /* confdefs.h.  */
40273 _ACEOF
40274 cat confdefs.h >>conftest.$ac_ext
40275 cat >>conftest.$ac_ext <<_ACEOF
40276 /* end confdefs.h.  */
40277 #include <stdint.h>
40278 int
40279 main ()
40280 {
40281 typedef int8_t          my_int8_t;
40282                   typedef int16_t         my_int16_t;
40283                   typedef int32_t         my_int32_t;
40284                   typedef int64_t         my_int64_t;
40285                   typedef int_fast8_t     my_int_fast8_t;
40286                   typedef int_fast16_t    my_int_fast16_t;
40287                   typedef int_fast32_t    my_int_fast32_t;
40288                   typedef int_fast64_t    my_int_fast64_t;
40289                   typedef int_least8_t    my_int_least8_t;
40290                   typedef int_least16_t   my_int_least16_t;
40291                   typedef int_least32_t   my_int_least32_t;
40292                   typedef int_least64_t   my_int_least64_t;
40293                   typedef intmax_t        my_intmax_t;
40294                   typedef intptr_t        my_intptr_t;
40295                   typedef uint8_t         my_uint8_t;
40296                   typedef uint16_t        my_uint16_t;
40297                   typedef uint32_t        my_uint32_t;
40298                   typedef uint64_t        my_uint64_t;
40299                   typedef uint_fast8_t    my_uint_fast8_t;
40300                   typedef uint_fast16_t   my_uint_fast16_t;
40301                   typedef uint_fast32_t   my_uint_fast32_t;
40302                   typedef uint_fast64_t   my_uint_fast64_t;
40303                   typedef uint_least8_t   my_uint_least8_t;
40304                   typedef uint_least16_t  my_uint_least16_t;
40305                   typedef uint_least32_t  my_uint_least32_t;
40306                   typedef uint_least64_t  my_uint_least64_t;
40307                   typedef uintmax_t       my_uintmax_t;
40308                   typedef uintptr_t       my_uintptr_t;
40309
40310   ;
40311   return 0;
40312 }
40313 _ACEOF
40314 rm -f conftest.$ac_objext
40315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40316   (eval $ac_compile) 2>conftest.er1
40317   ac_status=$?
40318   grep -v '^ *+' conftest.er1 >conftest.err
40319   rm -f conftest.er1
40320   cat conftest.err >&5
40321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322   (exit $ac_status); } &&
40323          { ac_try='test -z "$ac_cxx_werror_flag"
40324                          || test ! -s conftest.err'
40325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40326   (eval $ac_try) 2>&5
40327   ac_status=$?
40328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329   (exit $ac_status); }; } &&
40330          { ac_try='test -s conftest.$ac_objext'
40331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40332   (eval $ac_try) 2>&5
40333   ac_status=$?
40334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335   (exit $ac_status); }; }; then
40336   ac_c99_stdint_tr1=yes
40337 else
40338   echo "$as_me: failed program was:" >&5
40339 sed 's/^/| /' conftest.$ac_ext >&5
40340
40341 ac_c99_stdint_tr1=no
40342 fi
40343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40344
40345 fi
40346
40347   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40348 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40349   if test x"$ac_c99_stdint_tr1" = x"yes"; then
40350
40351 cat >>confdefs.h <<\_ACEOF
40352 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40353 _ACEOF
40354
40355   fi
40356
40357   # Check for the existence of <math.h> functions.
40358   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40359 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40360   if test "${ac_c99_math_tr1+set}" = set; then
40361   echo $ECHO_N "(cached) $ECHO_C" >&6
40362 else
40363
40364   cat >conftest.$ac_ext <<_ACEOF
40365 /* confdefs.h.  */
40366 _ACEOF
40367 cat confdefs.h >>conftest.$ac_ext
40368 cat >>conftest.$ac_ext <<_ACEOF
40369 /* end confdefs.h.  */
40370 #include <math.h>
40371 int
40372 main ()
40373 {
40374 typedef double_t  my_double_t;
40375                   typedef float_t   my_float_t;
40376                   acosh(0.0);
40377                   acoshf(0.0f);
40378                   acoshl(0.0l);
40379                   asinh(0.0);
40380                   asinhf(0.0f);
40381                   asinhl(0.0l);
40382                   atanh(0.0);
40383                   atanhf(0.0f);
40384                   atanhl(0.0l);
40385                   cbrt(0.0);
40386                   cbrtf(0.0f);
40387                   cbrtl(0.0l);
40388                   copysign(0.0, 0.0);
40389                   copysignf(0.0f, 0.0f);
40390                   copysignl(0.0l, 0.0l);
40391                   erf(0.0);
40392                   erff(0.0f);
40393                   erfl(0.0l);
40394                   erfc(0.0);
40395                   erfcf(0.0f);
40396                   erfcl(0.0l);
40397                   exp2(0.0);
40398                   exp2f(0.0f);
40399                   exp2l(0.0l);
40400                   expm1(0.0);
40401                   expm1f(0.0f);
40402                   expm1l(0.0l);
40403                   fdim(0.0, 0.0);
40404                   fdimf(0.0f, 0.0f);
40405                   fdiml(0.0l, 0.0l);
40406                   fma(0.0, 0.0, 0.0);
40407                   fmaf(0.0f, 0.0f, 0.0f);
40408                   fmal(0.0l, 0.0l, 0.0l);
40409                   fmax(0.0, 0.0);
40410                   fmaxf(0.0f, 0.0f);
40411                   fmaxl(0.0l, 0.0l);
40412                   fmin(0.0, 0.0);
40413                   fminf(0.0f, 0.0f);
40414                   fminl(0.0l, 0.0l);
40415                   hypot(0.0, 0.0);
40416                   hypotf(0.0f, 0.0f);
40417                   hypotl(0.0l, 0.0l);
40418                   ilogb(0.0);
40419                   ilogbf(0.0f);
40420                   ilogbl(0.0l);
40421                   lgamma(0.0);
40422                   lgammaf(0.0f);
40423                   lgammal(0.0l);
40424                   llrint(0.0);
40425                   llrintf(0.0f);
40426                   llrintl(0.0l);
40427                   llround(0.0);
40428                   llroundf(0.0f);
40429                   llroundl(0.0l);
40430                   log1p(0.0);
40431                   log1pf(0.0f);
40432                   log1pl(0.0l);
40433                   log2(0.0);
40434                   log2f(0.0f);
40435                   log2l(0.0l);
40436                   logb(0.0);
40437                   logbf(0.0f);
40438                   logbl(0.0l);
40439                   lrint(0.0);
40440                   lrintf(0.0f);
40441                   lrintl(0.0l);
40442                   lround(0.0);
40443                   lroundf(0.0f);
40444                   lroundl(0.0l);
40445                   nan(0);
40446                   nanf(0);
40447                   nanl(0);
40448                   nearbyint(0.0);
40449                   nearbyintf(0.0f);
40450                   nearbyintl(0.0l);
40451                   nextafter(0.0, 0.0);
40452                   nextafterf(0.0f, 0.0f);
40453                   nextafterl(0.0l, 0.0l);
40454                   nexttoward(0.0, 0.0);
40455                   nexttowardf(0.0f, 0.0f);
40456                   nexttowardl(0.0l, 0.0l);
40457                   remainder(0.0, 0.0);
40458                   remainderf(0.0f, 0.0f);
40459                   remainderl(0.0l, 0.0l);
40460                   remquo(0.0, 0.0, 0);
40461                   remquo(0.0f, 0.0f, 0);
40462                   remquo(0.0l, 0.0l, 0);
40463                   rint(0.0);
40464                   rintf(0.0f);
40465                   rintl(0.0l);
40466                   round(0.0);
40467                   roundf(0.0f);
40468                   roundl(0.0l);
40469                   scalbln(0.0, 0l);
40470                   scalblnf(0.0f, 0l);
40471                   scalblnl(0.0l, 0l);
40472                   scalbn(0.0, 0);
40473                   scalbnf(0.0f, 0);
40474                   scalbnl(0.0l, 0);
40475                   tgamma(0.0);
40476                   tgammaf(0.0f);
40477                   tgammal(0.0l);
40478                   trunc(0.0);
40479                   truncf(0.0f);
40480                   truncl(0.0l);
40481
40482   ;
40483   return 0;
40484 }
40485 _ACEOF
40486 rm -f conftest.$ac_objext
40487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40488   (eval $ac_compile) 2>conftest.er1
40489   ac_status=$?
40490   grep -v '^ *+' conftest.er1 >conftest.err
40491   rm -f conftest.er1
40492   cat conftest.err >&5
40493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40494   (exit $ac_status); } &&
40495          { ac_try='test -z "$ac_cxx_werror_flag"
40496                          || test ! -s conftest.err'
40497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40498   (eval $ac_try) 2>&5
40499   ac_status=$?
40500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40501   (exit $ac_status); }; } &&
40502          { ac_try='test -s conftest.$ac_objext'
40503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40504   (eval $ac_try) 2>&5
40505   ac_status=$?
40506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507   (exit $ac_status); }; }; then
40508   ac_c99_math_tr1=yes
40509 else
40510   echo "$as_me: failed program was:" >&5
40511 sed 's/^/| /' conftest.$ac_ext >&5
40512
40513 ac_c99_math_tr1=no
40514 fi
40515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40516
40517 fi
40518
40519   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40520 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40521   if test x"$ac_c99_math_tr1" = x"yes"; then
40522
40523 cat >>confdefs.h <<\_ACEOF
40524 #define _GLIBCXX_USE_C99_MATH_TR1 1
40525 _ACEOF
40526
40527   fi
40528
40529   # Check for the existence of <inttypes.h> functions (NB: doesn't make
40530   # sense if the previous check fails, per C99, 7.8/1).
40531   ac_c99_inttypes_tr1=no;
40532   if test x"$ac_c99_stdint_tr1" = x"yes"; then
40533     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40534 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40535     cat >conftest.$ac_ext <<_ACEOF
40536 /* confdefs.h.  */
40537 _ACEOF
40538 cat confdefs.h >>conftest.$ac_ext
40539 cat >>conftest.$ac_ext <<_ACEOF
40540 /* end confdefs.h.  */
40541 #include <inttypes.h>
40542 int
40543 main ()
40544 {
40545 intmax_t i, numer, denom, base;
40546                     const char* s;
40547                     char** endptr;
40548                     intmax_t ret = imaxabs(i);
40549                     imaxdiv_t dret = imaxdiv(numer, denom);
40550                     ret = strtoimax(s, endptr, base);
40551                     uintmax_t uret = strtoumax(s, endptr, base);
40552
40553   ;
40554   return 0;
40555 }
40556 _ACEOF
40557 rm -f conftest.$ac_objext
40558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40559   (eval $ac_compile) 2>conftest.er1
40560   ac_status=$?
40561   grep -v '^ *+' conftest.er1 >conftest.err
40562   rm -f conftest.er1
40563   cat conftest.err >&5
40564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565   (exit $ac_status); } &&
40566          { ac_try='test -z "$ac_cxx_werror_flag"
40567                          || test ! -s conftest.err'
40568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40569   (eval $ac_try) 2>&5
40570   ac_status=$?
40571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572   (exit $ac_status); }; } &&
40573          { ac_try='test -s conftest.$ac_objext'
40574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40575   (eval $ac_try) 2>&5
40576   ac_status=$?
40577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578   (exit $ac_status); }; }; then
40579   ac_c99_inttypes_tr1=yes
40580 else
40581   echo "$as_me: failed program was:" >&5
40582 sed 's/^/| /' conftest.$ac_ext >&5
40583
40584 ac_c99_inttypes_tr1=no
40585 fi
40586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40587   fi
40588   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40589 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40590   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40591
40592 cat >>confdefs.h <<\_ACEOF
40593 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40594 _ACEOF
40595
40596   fi
40597
40598   # Check for the existence of the <stdbool.h> header.
40599
40600 for ac_header in stdbool.h
40601 do
40602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40604   echo "$as_me:$LINENO: checking for $ac_header" >&5
40605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40607   echo $ECHO_N "(cached) $ECHO_C" >&6
40608 fi
40609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40611 else
40612   # Is the header compilable?
40613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40615 cat >conftest.$ac_ext <<_ACEOF
40616 /* confdefs.h.  */
40617 _ACEOF
40618 cat confdefs.h >>conftest.$ac_ext
40619 cat >>conftest.$ac_ext <<_ACEOF
40620 /* end confdefs.h.  */
40621 $ac_includes_default
40622 #include <$ac_header>
40623 _ACEOF
40624 rm -f conftest.$ac_objext
40625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40626   (eval $ac_compile) 2>conftest.er1
40627   ac_status=$?
40628   grep -v '^ *+' conftest.er1 >conftest.err
40629   rm -f conftest.er1
40630   cat conftest.err >&5
40631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632   (exit $ac_status); } &&
40633          { ac_try='test -z "$ac_cxx_werror_flag"
40634                          || test ! -s conftest.err'
40635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40636   (eval $ac_try) 2>&5
40637   ac_status=$?
40638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639   (exit $ac_status); }; } &&
40640          { ac_try='test -s conftest.$ac_objext'
40641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40642   (eval $ac_try) 2>&5
40643   ac_status=$?
40644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40645   (exit $ac_status); }; }; then
40646   ac_header_compiler=yes
40647 else
40648   echo "$as_me: failed program was:" >&5
40649 sed 's/^/| /' conftest.$ac_ext >&5
40650
40651 ac_header_compiler=no
40652 fi
40653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40655 echo "${ECHO_T}$ac_header_compiler" >&6
40656
40657 # Is the header present?
40658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40660 cat >conftest.$ac_ext <<_ACEOF
40661 /* confdefs.h.  */
40662 _ACEOF
40663 cat confdefs.h >>conftest.$ac_ext
40664 cat >>conftest.$ac_ext <<_ACEOF
40665 /* end confdefs.h.  */
40666 #include <$ac_header>
40667 _ACEOF
40668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40669   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40670   ac_status=$?
40671   grep -v '^ *+' conftest.er1 >conftest.err
40672   rm -f conftest.er1
40673   cat conftest.err >&5
40674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675   (exit $ac_status); } >/dev/null; then
40676   if test -s conftest.err; then
40677     ac_cpp_err=$ac_cxx_preproc_warn_flag
40678     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40679   else
40680     ac_cpp_err=
40681   fi
40682 else
40683   ac_cpp_err=yes
40684 fi
40685 if test -z "$ac_cpp_err"; then
40686   ac_header_preproc=yes
40687 else
40688   echo "$as_me: failed program was:" >&5
40689 sed 's/^/| /' conftest.$ac_ext >&5
40690
40691   ac_header_preproc=no
40692 fi
40693 rm -f conftest.err conftest.$ac_ext
40694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40695 echo "${ECHO_T}$ac_header_preproc" >&6
40696
40697 # So?  What about this header?
40698 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40699   yes:no: )
40700     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40702     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40704     ac_header_preproc=yes
40705     ;;
40706   no:yes:* )
40707     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40709     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40710 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40711     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40713     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40714 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40715     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40717     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40719     (
40720       cat <<\_ASBOX
40721 ## ----------------------------------------- ##
40722 ## Report this to the package-unused lists.  ##
40723 ## ----------------------------------------- ##
40724 _ASBOX
40725     ) |
40726       sed "s/^/$as_me: WARNING:     /" >&2
40727     ;;
40728 esac
40729 echo "$as_me:$LINENO: checking for $ac_header" >&5
40730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40732   echo $ECHO_N "(cached) $ECHO_C" >&6
40733 else
40734   eval "$as_ac_Header=\$ac_header_preproc"
40735 fi
40736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40738
40739 fi
40740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40741   cat >>confdefs.h <<_ACEOF
40742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40743 _ACEOF
40744
40745 fi
40746
40747 done
40748
40749
40750   CXXFLAGS="$ac_save_CXXFLAGS"
40751   ac_ext=c
40752 ac_cpp='$CPP $CPPFLAGS'
40753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40756
40757
40758
40759   # For dev/random and dev/urandom for TR1.
40760
40761
40762   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40763 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40764   if test "${ac_random_tr1+set}" = set; then
40765   echo $ECHO_N "(cached) $ECHO_C" >&6
40766 else
40767
40768   if test "$cross_compiling" = yes; then
40769   ac_random_tr1=no
40770 else
40771   cat >conftest.$ac_ext <<_ACEOF
40772 /* confdefs.h.  */
40773 _ACEOF
40774 cat confdefs.h >>conftest.$ac_ext
40775 cat >>conftest.$ac_ext <<_ACEOF
40776 /* end confdefs.h.  */
40777 #include <stdio.h>
40778               int main()
40779               {
40780                 return !(fopen("/dev/random", "r")
40781                          && fopen("/dev/urandom", "r"));
40782               }
40783
40784 _ACEOF
40785 rm -f conftest$ac_exeext
40786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40787   (eval $ac_link) 2>&5
40788   ac_status=$?
40789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40790   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40792   (eval $ac_try) 2>&5
40793   ac_status=$?
40794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795   (exit $ac_status); }; }; then
40796   ac_random_tr1=yes
40797 else
40798   echo "$as_me: program exited with status $ac_status" >&5
40799 echo "$as_me: failed program was:" >&5
40800 sed 's/^/| /' conftest.$ac_ext >&5
40801
40802 ( exit $ac_status )
40803 ac_random_tr1=no
40804 fi
40805 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40806 fi
40807
40808 fi
40809
40810   echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40811 echo "${ECHO_T}$ac_random_tr1" >&6
40812   if test x"$ac_random_tr1" = x"yes"; then
40813
40814 cat >>confdefs.h <<\_ACEOF
40815 #define _GLIBCXX_USE_RANDOM_TR1 1
40816 _ACEOF
40817
40818   fi
40819
40820
40821
40822   # For TLS support.
40823
40824    # Check whether --enable-tls or --disable-tls was given.
40825 if test "${enable_tls+set}" = set; then
40826   enableval="$enable_tls"
40827
40828       case "$enableval" in
40829        yes|no) ;;
40830        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40831 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40832    { (exit 1); exit 1; }; } ;;
40833       esac
40834
40835 else
40836   enable_tls=yes
40837 fi;
40838
40839   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40840 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40841 if test "${gcc_cv_have_tls+set}" = set; then
40842   echo $ECHO_N "(cached) $ECHO_C" >&6
40843 else
40844
40845     if test "$cross_compiling" = yes; then
40846                 if test x$gcc_no_link = xyes; then
40847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40849    { (exit 1); exit 1; }; }
40850 fi
40851 cat >conftest.$ac_ext <<_ACEOF
40852 __thread int a; int b; int main() { return a = b; }
40853 _ACEOF
40854 rm -f conftest.$ac_objext conftest$ac_exeext
40855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40856   (eval $ac_link) 2>conftest.er1
40857   ac_status=$?
40858   grep -v '^ *+' conftest.er1 >conftest.err
40859   rm -f conftest.er1
40860   cat conftest.err >&5
40861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862   (exit $ac_status); } &&
40863          { ac_try='test -z "$ac_c_werror_flag"
40864                          || test ! -s conftest.err'
40865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40866   (eval $ac_try) 2>&5
40867   ac_status=$?
40868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869   (exit $ac_status); }; } &&
40870          { ac_try='test -s conftest$ac_exeext'
40871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40872   (eval $ac_try) 2>&5
40873   ac_status=$?
40874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875   (exit $ac_status); }; }; then
40876   gcc_cv_have_tls=yes
40877 else
40878   echo "$as_me: failed program was:" >&5
40879 sed 's/^/| /' conftest.$ac_ext >&5
40880
40881 gcc_cv_have_tls=no
40882 fi
40883 rm -f conftest.err conftest.$ac_objext \
40884       conftest$ac_exeext conftest.$ac_ext
40885
40886
40887 else
40888   cat >conftest.$ac_ext <<_ACEOF
40889 __thread int a; int b; int main() { return a = b; }
40890 _ACEOF
40891 rm -f conftest$ac_exeext
40892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40893   (eval $ac_link) 2>&5
40894   ac_status=$?
40895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898   (eval $ac_try) 2>&5
40899   ac_status=$?
40900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901   (exit $ac_status); }; }; then
40902                       chktls_save_LDFLAGS="$LDFLAGS"
40903       LDFLAGS="-static $LDFLAGS"
40904       if test x$gcc_no_link = xyes; then
40905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40907    { (exit 1); exit 1; }; }
40908 fi
40909 cat >conftest.$ac_ext <<_ACEOF
40910 int main() { return 0; }
40911 _ACEOF
40912 rm -f conftest.$ac_objext conftest$ac_exeext
40913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40914   (eval $ac_link) 2>conftest.er1
40915   ac_status=$?
40916   grep -v '^ *+' conftest.er1 >conftest.err
40917   rm -f conftest.er1
40918   cat conftest.err >&5
40919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920   (exit $ac_status); } &&
40921          { ac_try='test -z "$ac_c_werror_flag"
40922                          || test ! -s conftest.err'
40923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40924   (eval $ac_try) 2>&5
40925   ac_status=$?
40926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927   (exit $ac_status); }; } &&
40928          { ac_try='test -s conftest$ac_exeext'
40929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40930   (eval $ac_try) 2>&5
40931   ac_status=$?
40932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933   (exit $ac_status); }; }; then
40934   if test "$cross_compiling" = yes; then
40935   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40936 See \`config.log' for more details." >&5
40937 echo "$as_me: error: cannot run test program while cross compiling
40938 See \`config.log' for more details." >&2;}
40939    { (exit 1); exit 1; }; }
40940 else
40941   cat >conftest.$ac_ext <<_ACEOF
40942 __thread int a; int b; int main() { return a = b; }
40943 _ACEOF
40944 rm -f conftest$ac_exeext
40945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40946   (eval $ac_link) 2>&5
40947   ac_status=$?
40948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40949   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40951   (eval $ac_try) 2>&5
40952   ac_status=$?
40953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40954   (exit $ac_status); }; }; then
40955   gcc_cv_have_tls=yes
40956 else
40957   echo "$as_me: program exited with status $ac_status" >&5
40958 echo "$as_me: failed program was:" >&5
40959 sed 's/^/| /' conftest.$ac_ext >&5
40960
40961 ( exit $ac_status )
40962 gcc_cv_have_tls=no
40963 fi
40964 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40965 fi
40966 else
40967   echo "$as_me: failed program was:" >&5
40968 sed 's/^/| /' conftest.$ac_ext >&5
40969
40970 gcc_cv_have_tls=yes
40971 fi
40972 rm -f conftest.err conftest.$ac_objext \
40973       conftest$ac_exeext conftest.$ac_ext
40974       LDFLAGS="$chktls_save_LDFLAGS"
40975       if test $gcc_cv_have_tls = yes; then
40976                                                 chktls_save_CFLAGS="$CFLAGS"
40977         thread_CFLAGS=failed
40978         for flag in '' '-pthread' '-lpthread'; do
40979           CFLAGS="$flag $chktls_save_CFLAGS"
40980           if test x$gcc_no_link = xyes; then
40981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40983    { (exit 1); exit 1; }; }
40984 fi
40985 cat >conftest.$ac_ext <<_ACEOF
40986 /* confdefs.h.  */
40987 _ACEOF
40988 cat confdefs.h >>conftest.$ac_ext
40989 cat >>conftest.$ac_ext <<_ACEOF
40990 /* end confdefs.h.  */
40991 #include <pthread.h>
40992                 void *g(void *d) { return NULL; }
40993 int
40994 main ()
40995 {
40996 pthread_t t; pthread_create(&t,NULL,g,NULL);
40997   ;
40998   return 0;
40999 }
41000 _ACEOF
41001 rm -f conftest.$ac_objext conftest$ac_exeext
41002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41003   (eval $ac_link) 2>conftest.er1
41004   ac_status=$?
41005   grep -v '^ *+' conftest.er1 >conftest.err
41006   rm -f conftest.er1
41007   cat conftest.err >&5
41008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41009   (exit $ac_status); } &&
41010          { ac_try='test -z "$ac_c_werror_flag"
41011                          || test ! -s conftest.err'
41012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41013   (eval $ac_try) 2>&5
41014   ac_status=$?
41015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41016   (exit $ac_status); }; } &&
41017          { ac_try='test -s conftest$ac_exeext'
41018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41019   (eval $ac_try) 2>&5
41020   ac_status=$?
41021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41022   (exit $ac_status); }; }; then
41023   thread_CFLAGS="$flag"
41024 else
41025   echo "$as_me: failed program was:" >&5
41026 sed 's/^/| /' conftest.$ac_ext >&5
41027
41028 fi
41029 rm -f conftest.err conftest.$ac_objext \
41030       conftest$ac_exeext conftest.$ac_ext
41031           if test "X$thread_CFLAGS" != Xfailed; then
41032             break
41033           fi
41034         done
41035         CFLAGS="$chktls_save_CFLAGS"
41036         if test "X$thread_CFLAGS" != Xfailed; then
41037           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41038           if test "$cross_compiling" = yes; then
41039   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41040 See \`config.log' for more details." >&5
41041 echo "$as_me: error: cannot run test program while cross compiling
41042 See \`config.log' for more details." >&2;}
41043    { (exit 1); exit 1; }; }
41044 else
41045   cat >conftest.$ac_ext <<_ACEOF
41046 /* confdefs.h.  */
41047 _ACEOF
41048 cat confdefs.h >>conftest.$ac_ext
41049 cat >>conftest.$ac_ext <<_ACEOF
41050 /* end confdefs.h.  */
41051 #include <pthread.h>
41052                 __thread int a;
41053                 static int *a_in_other_thread;
41054                 static void *
41055                 thread_func (void *arg)
41056                 {
41057                   a_in_other_thread = &a;
41058                   return (void *)0;
41059                 }
41060 int
41061 main ()
41062 {
41063 pthread_t thread;
41064                 void *thread_retval;
41065                 int *a_in_main_thread;
41066                 if (pthread_create (&thread, (pthread_attr_t *)0,
41067                                     thread_func, (void *)0))
41068                   return 0;
41069                 a_in_main_thread = &a;
41070                 if (pthread_join (thread, &thread_retval))
41071                   return 0;
41072                 return (a_in_other_thread == a_in_main_thread);
41073   ;
41074   return 0;
41075 }
41076 _ACEOF
41077 rm -f conftest$ac_exeext
41078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41079   (eval $ac_link) 2>&5
41080   ac_status=$?
41081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41082   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41084   (eval $ac_try) 2>&5
41085   ac_status=$?
41086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087   (exit $ac_status); }; }; then
41088   gcc_cv_have_tls=yes
41089 else
41090   echo "$as_me: program exited with status $ac_status" >&5
41091 echo "$as_me: failed program was:" >&5
41092 sed 's/^/| /' conftest.$ac_ext >&5
41093
41094 ( exit $ac_status )
41095 gcc_cv_have_tls=no
41096 fi
41097 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41098 fi
41099           CFLAGS="$chktls_save_CFLAGS"
41100         fi
41101       fi
41102 else
41103   echo "$as_me: program exited with status $ac_status" >&5
41104 echo "$as_me: failed program was:" >&5
41105 sed 's/^/| /' conftest.$ac_ext >&5
41106
41107 ( exit $ac_status )
41108 gcc_cv_have_tls=no
41109 fi
41110 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41111 fi
41112 fi
41113 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41114 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41115   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41116
41117 cat >>confdefs.h <<\_ACEOF
41118 #define HAVE_TLS 1
41119 _ACEOF
41120
41121   fi
41122
41123   # For _Unwind_GetIPInfo.
41124
41125
41126
41127   ac_ext=cc
41128 ac_cpp='$CXXCPP $CPPFLAGS'
41129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41132
41133   ac_save_CXXFLAGS="$CXXFLAGS"
41134   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41135   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41136 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41137   if test "${gcc_cv_getipinfo+set}" = set; then
41138   echo $ECHO_N "(cached) $ECHO_C" >&6
41139 else
41140
41141   if test x$gcc_no_link = xyes; then
41142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41144    { (exit 1); exit 1; }; }
41145 fi
41146 cat >conftest.$ac_ext <<_ACEOF
41147 /* confdefs.h.  */
41148 _ACEOF
41149 cat confdefs.h >>conftest.$ac_ext
41150 cat >>conftest.$ac_ext <<_ACEOF
41151 /* end confdefs.h.  */
41152 extern "C" { extern void _Unwind_GetIPInfo(); }
41153 int
41154 main ()
41155 {
41156 _Unwind_GetIPInfo();
41157   ;
41158   return 0;
41159 }
41160 _ACEOF
41161 rm -f conftest.$ac_objext conftest$ac_exeext
41162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41163   (eval $ac_link) 2>conftest.er1
41164   ac_status=$?
41165   grep -v '^ *+' conftest.er1 >conftest.err
41166   rm -f conftest.er1
41167   cat conftest.err >&5
41168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169   (exit $ac_status); } &&
41170          { ac_try='test -z "$ac_cxx_werror_flag"
41171                          || test ! -s conftest.err'
41172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41173   (eval $ac_try) 2>&5
41174   ac_status=$?
41175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176   (exit $ac_status); }; } &&
41177          { ac_try='test -s conftest$ac_exeext'
41178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41179   (eval $ac_try) 2>&5
41180   ac_status=$?
41181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182   (exit $ac_status); }; }; then
41183   gcc_cv_getipinfo=yes
41184 else
41185   echo "$as_me: failed program was:" >&5
41186 sed 's/^/| /' conftest.$ac_ext >&5
41187
41188 gcc_cv_getipinfo=no
41189 fi
41190 rm -f conftest.err conftest.$ac_objext \
41191       conftest$ac_exeext conftest.$ac_ext
41192
41193 fi
41194
41195   if test $gcc_cv_getipinfo = yes; then
41196
41197 cat >>confdefs.h <<\_ACEOF
41198 #define HAVE_GETIPINFO 1
41199 _ACEOF
41200
41201   fi
41202   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41203 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41204   CXXFLAGS="$ac_save_CXXFLAGS"
41205   ac_ext=c
41206 ac_cpp='$CPP $CPPFLAGS'
41207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41210
41211
41212
41213
41214   if test "${ac_cv_header_locale_h+set}" = set; then
41215   echo "$as_me:$LINENO: checking for locale.h" >&5
41216 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41217 if test "${ac_cv_header_locale_h+set}" = set; then
41218   echo $ECHO_N "(cached) $ECHO_C" >&6
41219 fi
41220 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41221 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41222 else
41223   # Is the header compilable?
41224 echo "$as_me:$LINENO: checking locale.h usability" >&5
41225 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41226 cat >conftest.$ac_ext <<_ACEOF
41227 /* confdefs.h.  */
41228 _ACEOF
41229 cat confdefs.h >>conftest.$ac_ext
41230 cat >>conftest.$ac_ext <<_ACEOF
41231 /* end confdefs.h.  */
41232 $ac_includes_default
41233 #include <locale.h>
41234 _ACEOF
41235 rm -f conftest.$ac_objext
41236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41237   (eval $ac_compile) 2>conftest.er1
41238   ac_status=$?
41239   grep -v '^ *+' conftest.er1 >conftest.err
41240   rm -f conftest.er1
41241   cat conftest.err >&5
41242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243   (exit $ac_status); } &&
41244          { ac_try='test -z "$ac_c_werror_flag"
41245                          || test ! -s conftest.err'
41246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41247   (eval $ac_try) 2>&5
41248   ac_status=$?
41249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250   (exit $ac_status); }; } &&
41251          { ac_try='test -s conftest.$ac_objext'
41252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41253   (eval $ac_try) 2>&5
41254   ac_status=$?
41255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256   (exit $ac_status); }; }; then
41257   ac_header_compiler=yes
41258 else
41259   echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.$ac_ext >&5
41261
41262 ac_header_compiler=no
41263 fi
41264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41266 echo "${ECHO_T}$ac_header_compiler" >&6
41267
41268 # Is the header present?
41269 echo "$as_me:$LINENO: checking locale.h presence" >&5
41270 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41271 cat >conftest.$ac_ext <<_ACEOF
41272 /* confdefs.h.  */
41273 _ACEOF
41274 cat confdefs.h >>conftest.$ac_ext
41275 cat >>conftest.$ac_ext <<_ACEOF
41276 /* end confdefs.h.  */
41277 #include <locale.h>
41278 _ACEOF
41279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41280   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41281   ac_status=$?
41282   grep -v '^ *+' conftest.er1 >conftest.err
41283   rm -f conftest.er1
41284   cat conftest.err >&5
41285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286   (exit $ac_status); } >/dev/null; then
41287   if test -s conftest.err; then
41288     ac_cpp_err=$ac_c_preproc_warn_flag
41289     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41290   else
41291     ac_cpp_err=
41292   fi
41293 else
41294   ac_cpp_err=yes
41295 fi
41296 if test -z "$ac_cpp_err"; then
41297   ac_header_preproc=yes
41298 else
41299   echo "$as_me: failed program was:" >&5
41300 sed 's/^/| /' conftest.$ac_ext >&5
41301
41302   ac_header_preproc=no
41303 fi
41304 rm -f conftest.err conftest.$ac_ext
41305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41306 echo "${ECHO_T}$ac_header_preproc" >&6
41307
41308 # So?  What about this header?
41309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41310   yes:no: )
41311     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41312 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41313     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41314 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41315     ac_header_preproc=yes
41316     ;;
41317   no:yes:* )
41318     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41319 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41320     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
41321 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
41322     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41323 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41324     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
41325 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
41326     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41327 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41328     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41329 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41330     (
41331       cat <<\_ASBOX
41332 ## ----------------------------------------- ##
41333 ## Report this to the package-unused lists.  ##
41334 ## ----------------------------------------- ##
41335 _ASBOX
41336     ) |
41337       sed "s/^/$as_me: WARNING:     /" >&2
41338     ;;
41339 esac
41340 echo "$as_me:$LINENO: checking for locale.h" >&5
41341 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41342 if test "${ac_cv_header_locale_h+set}" = set; then
41343   echo $ECHO_N "(cached) $ECHO_C" >&6
41344 else
41345   ac_cv_header_locale_h=$ac_header_preproc
41346 fi
41347 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41348 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41349
41350 fi
41351 if test $ac_cv_header_locale_h = yes; then
41352
41353     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41354 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41355 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41356   echo $ECHO_N "(cached) $ECHO_C" >&6
41357 else
41358   if test x$gcc_no_link = xyes; then
41359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41361    { (exit 1); exit 1; }; }
41362 fi
41363 cat >conftest.$ac_ext <<_ACEOF
41364 /* confdefs.h.  */
41365 _ACEOF
41366 cat confdefs.h >>conftest.$ac_ext
41367 cat >>conftest.$ac_ext <<_ACEOF
41368 /* end confdefs.h.  */
41369 #include <locale.h>
41370 int
41371 main ()
41372 {
41373 return LC_MESSAGES
41374   ;
41375   return 0;
41376 }
41377 _ACEOF
41378 rm -f conftest.$ac_objext conftest$ac_exeext
41379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41380   (eval $ac_link) 2>conftest.er1
41381   ac_status=$?
41382   grep -v '^ *+' conftest.er1 >conftest.err
41383   rm -f conftest.er1
41384   cat conftest.err >&5
41385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386   (exit $ac_status); } &&
41387          { ac_try='test -z "$ac_c_werror_flag"
41388                          || test ! -s conftest.err'
41389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41390   (eval $ac_try) 2>&5
41391   ac_status=$?
41392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41393   (exit $ac_status); }; } &&
41394          { ac_try='test -s conftest$ac_exeext'
41395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41396   (eval $ac_try) 2>&5
41397   ac_status=$?
41398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399   (exit $ac_status); }; }; then
41400   ac_cv_val_LC_MESSAGES=yes
41401 else
41402   echo "$as_me: failed program was:" >&5
41403 sed 's/^/| /' conftest.$ac_ext >&5
41404
41405 ac_cv_val_LC_MESSAGES=no
41406 fi
41407 rm -f conftest.err conftest.$ac_objext \
41408       conftest$ac_exeext conftest.$ac_ext
41409 fi
41410 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41411 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41412     if test $ac_cv_val_LC_MESSAGES = yes; then
41413
41414 cat >>confdefs.h <<\_ACEOF
41415 #define HAVE_LC_MESSAGES 1
41416 _ACEOF
41417
41418     fi
41419
41420 fi
41421
41422
41423
41424
41425   cat >conftest.$ac_ext <<_ACEOF
41426 /* confdefs.h.  */
41427 _ACEOF
41428 cat confdefs.h >>conftest.$ac_ext
41429 cat >>conftest.$ac_ext <<_ACEOF
41430 /* end confdefs.h.  */
41431 #include <setjmp.h>
41432 int
41433 main ()
41434 {
41435 sigjmp_buf env;
41436      while (! sigsetjmp (env, 1))
41437        siglongjmp (env, 1);
41438
41439   ;
41440   return 0;
41441 }
41442 _ACEOF
41443 rm -f conftest.$ac_objext
41444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41445   (eval $ac_compile) 2>conftest.er1
41446   ac_status=$?
41447   grep -v '^ *+' conftest.er1 >conftest.err
41448   rm -f conftest.er1
41449   cat conftest.err >&5
41450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41451   (exit $ac_status); } &&
41452          { ac_try='test -z "$ac_c_werror_flag"
41453                          || test ! -s conftest.err'
41454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41455   (eval $ac_try) 2>&5
41456   ac_status=$?
41457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41458   (exit $ac_status); }; } &&
41459          { ac_try='test -s conftest.$ac_objext'
41460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41461   (eval $ac_try) 2>&5
41462   ac_status=$?
41463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464   (exit $ac_status); }; }; then
41465
41466 cat >>confdefs.h <<\_ACEOF
41467 #define HAVE_SIGSETJMP 1
41468 _ACEOF
41469
41470 else
41471   echo "$as_me: failed program was:" >&5
41472 sed 's/^/| /' conftest.$ac_ext >&5
41473
41474 fi
41475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41476
41477   if test x$gcc_no_link = xyes; then
41478   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41479     ac_cv_func_mmap_fixed_mapped=no
41480   fi
41481 fi
41482 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41483
41484
41485 for ac_header in stdlib.h unistd.h
41486 do
41487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41489   echo "$as_me:$LINENO: checking for $ac_header" >&5
41490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41492   echo $ECHO_N "(cached) $ECHO_C" >&6
41493 fi
41494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41496 else
41497   # Is the header compilable?
41498 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41500 cat >conftest.$ac_ext <<_ACEOF
41501 /* confdefs.h.  */
41502 _ACEOF
41503 cat confdefs.h >>conftest.$ac_ext
41504 cat >>conftest.$ac_ext <<_ACEOF
41505 /* end confdefs.h.  */
41506 $ac_includes_default
41507 #include <$ac_header>
41508 _ACEOF
41509 rm -f conftest.$ac_objext
41510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41511   (eval $ac_compile) 2>conftest.er1
41512   ac_status=$?
41513   grep -v '^ *+' conftest.er1 >conftest.err
41514   rm -f conftest.er1
41515   cat conftest.err >&5
41516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517   (exit $ac_status); } &&
41518          { ac_try='test -z "$ac_c_werror_flag"
41519                          || test ! -s conftest.err'
41520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41521   (eval $ac_try) 2>&5
41522   ac_status=$?
41523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524   (exit $ac_status); }; } &&
41525          { ac_try='test -s conftest.$ac_objext'
41526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41527   (eval $ac_try) 2>&5
41528   ac_status=$?
41529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530   (exit $ac_status); }; }; then
41531   ac_header_compiler=yes
41532 else
41533   echo "$as_me: failed program was:" >&5
41534 sed 's/^/| /' conftest.$ac_ext >&5
41535
41536 ac_header_compiler=no
41537 fi
41538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41539 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41540 echo "${ECHO_T}$ac_header_compiler" >&6
41541
41542 # Is the header present?
41543 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41544 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41545 cat >conftest.$ac_ext <<_ACEOF
41546 /* confdefs.h.  */
41547 _ACEOF
41548 cat confdefs.h >>conftest.$ac_ext
41549 cat >>conftest.$ac_ext <<_ACEOF
41550 /* end confdefs.h.  */
41551 #include <$ac_header>
41552 _ACEOF
41553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41554   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41555   ac_status=$?
41556   grep -v '^ *+' conftest.er1 >conftest.err
41557   rm -f conftest.er1
41558   cat conftest.err >&5
41559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560   (exit $ac_status); } >/dev/null; then
41561   if test -s conftest.err; then
41562     ac_cpp_err=$ac_c_preproc_warn_flag
41563     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41564   else
41565     ac_cpp_err=
41566   fi
41567 else
41568   ac_cpp_err=yes
41569 fi
41570 if test -z "$ac_cpp_err"; then
41571   ac_header_preproc=yes
41572 else
41573   echo "$as_me: failed program was:" >&5
41574 sed 's/^/| /' conftest.$ac_ext >&5
41575
41576   ac_header_preproc=no
41577 fi
41578 rm -f conftest.err conftest.$ac_ext
41579 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41580 echo "${ECHO_T}$ac_header_preproc" >&6
41581
41582 # So?  What about this header?
41583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41584   yes:no: )
41585     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41587     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41589     ac_header_preproc=yes
41590     ;;
41591   no:yes:* )
41592     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41594     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41595 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41596     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41598     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41599 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41600     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41602     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41604     (
41605       cat <<\_ASBOX
41606 ## ----------------------------------------- ##
41607 ## Report this to the package-unused lists.  ##
41608 ## ----------------------------------------- ##
41609 _ASBOX
41610     ) |
41611       sed "s/^/$as_me: WARNING:     /" >&2
41612     ;;
41613 esac
41614 echo "$as_me:$LINENO: checking for $ac_header" >&5
41615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41617   echo $ECHO_N "(cached) $ECHO_C" >&6
41618 else
41619   eval "$as_ac_Header=\$ac_header_preproc"
41620 fi
41621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41623
41624 fi
41625 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41626   cat >>confdefs.h <<_ACEOF
41627 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41628 _ACEOF
41629
41630 fi
41631
41632 done
41633
41634
41635 for ac_func in getpagesize
41636 do
41637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41638 echo "$as_me:$LINENO: checking for $ac_func" >&5
41639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41640 if eval "test \"\${$as_ac_var+set}\" = set"; then
41641   echo $ECHO_N "(cached) $ECHO_C" >&6
41642 else
41643   if test x$gcc_no_link = xyes; then
41644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41646    { (exit 1); exit 1; }; }
41647 fi
41648 cat >conftest.$ac_ext <<_ACEOF
41649 /* confdefs.h.  */
41650 _ACEOF
41651 cat confdefs.h >>conftest.$ac_ext
41652 cat >>conftest.$ac_ext <<_ACEOF
41653 /* end confdefs.h.  */
41654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41656 #define $ac_func innocuous_$ac_func
41657
41658 /* System header to define __stub macros and hopefully few prototypes,
41659     which can conflict with char $ac_func (); below.
41660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41661     <limits.h> exists even on freestanding compilers.  */
41662
41663 #ifdef __STDC__
41664 # include <limits.h>
41665 #else
41666 # include <assert.h>
41667 #endif
41668
41669 #undef $ac_func
41670
41671 /* Override any gcc2 internal prototype to avoid an error.  */
41672 #ifdef __cplusplus
41673 extern "C"
41674 {
41675 #endif
41676 /* We use char because int might match the return type of a gcc2
41677    builtin and then its argument prototype would still apply.  */
41678 char $ac_func ();
41679 /* The GNU C library defines this for functions which it implements
41680     to always fail with ENOSYS.  Some functions are actually named
41681     something starting with __ and the normal name is an alias.  */
41682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41683 choke me
41684 #else
41685 char (*f) () = $ac_func;
41686 #endif
41687 #ifdef __cplusplus
41688 }
41689 #endif
41690
41691 int
41692 main ()
41693 {
41694 return f != $ac_func;
41695   ;
41696   return 0;
41697 }
41698 _ACEOF
41699 rm -f conftest.$ac_objext conftest$ac_exeext
41700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41701   (eval $ac_link) 2>conftest.er1
41702   ac_status=$?
41703   grep -v '^ *+' conftest.er1 >conftest.err
41704   rm -f conftest.er1
41705   cat conftest.err >&5
41706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707   (exit $ac_status); } &&
41708          { ac_try='test -z "$ac_c_werror_flag"
41709                          || test ! -s conftest.err'
41710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41711   (eval $ac_try) 2>&5
41712   ac_status=$?
41713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714   (exit $ac_status); }; } &&
41715          { ac_try='test -s conftest$ac_exeext'
41716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41717   (eval $ac_try) 2>&5
41718   ac_status=$?
41719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41720   (exit $ac_status); }; }; then
41721   eval "$as_ac_var=yes"
41722 else
41723   echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41725
41726 eval "$as_ac_var=no"
41727 fi
41728 rm -f conftest.err conftest.$ac_objext \
41729       conftest$ac_exeext conftest.$ac_ext
41730 fi
41731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41733 if test `eval echo '${'$as_ac_var'}'` = yes; then
41734   cat >>confdefs.h <<_ACEOF
41735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41736 _ACEOF
41737
41738 fi
41739 done
41740
41741 echo "$as_me:$LINENO: checking for working mmap" >&5
41742 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41743 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41744   echo $ECHO_N "(cached) $ECHO_C" >&6
41745 else
41746   if test "$cross_compiling" = yes; then
41747   ac_cv_func_mmap_fixed_mapped=no
41748 else
41749   cat >conftest.$ac_ext <<_ACEOF
41750 /* confdefs.h.  */
41751 _ACEOF
41752 cat confdefs.h >>conftest.$ac_ext
41753 cat >>conftest.$ac_ext <<_ACEOF
41754 /* end confdefs.h.  */
41755 $ac_includes_default
41756 /* malloc might have been renamed as rpl_malloc. */
41757 #undef malloc
41758
41759 /* Thanks to Mike Haertel and Jim Avera for this test.
41760    Here is a matrix of mmap possibilities:
41761         mmap private not fixed
41762         mmap private fixed at somewhere currently unmapped
41763         mmap private fixed at somewhere already mapped
41764         mmap shared not fixed
41765         mmap shared fixed at somewhere currently unmapped
41766         mmap shared fixed at somewhere already mapped
41767    For private mappings, we should verify that changes cannot be read()
41768    back from the file, nor mmap's back from the file at a different
41769    address.  (There have been systems where private was not correctly
41770    implemented like the infamous i386 svr4.0, and systems where the
41771    VM page cache was not coherent with the file system buffer cache
41772    like early versions of FreeBSD and possibly contemporary NetBSD.)
41773    For shared mappings, we should conversely verify that changes get
41774    propagated back to all the places they're supposed to be.
41775
41776    Grep wants private fixed already mapped.
41777    The main things grep needs to know about mmap are:
41778    * does it exist and is it safe to write into the mmap'd area
41779    * how to use it (BSD variants)  */
41780
41781 #include <fcntl.h>
41782 #include <sys/mman.h>
41783
41784 #if !STDC_HEADERS && !HAVE_STDLIB_H
41785 char *malloc ();
41786 #endif
41787
41788 /* This mess was copied from the GNU getpagesize.h.  */
41789 #if !HAVE_GETPAGESIZE
41790 /* Assume that all systems that can run configure have sys/param.h.  */
41791 # if !HAVE_SYS_PARAM_H
41792 #  define HAVE_SYS_PARAM_H 1
41793 # endif
41794
41795 # ifdef _SC_PAGESIZE
41796 #  define getpagesize() sysconf(_SC_PAGESIZE)
41797 # else /* no _SC_PAGESIZE */
41798 #  if HAVE_SYS_PARAM_H
41799 #   include <sys/param.h>
41800 #   ifdef EXEC_PAGESIZE
41801 #    define getpagesize() EXEC_PAGESIZE
41802 #   else /* no EXEC_PAGESIZE */
41803 #    ifdef NBPG
41804 #     define getpagesize() NBPG * CLSIZE
41805 #     ifndef CLSIZE
41806 #      define CLSIZE 1
41807 #     endif /* no CLSIZE */
41808 #    else /* no NBPG */
41809 #     ifdef NBPC
41810 #      define getpagesize() NBPC
41811 #     else /* no NBPC */
41812 #      ifdef PAGESIZE
41813 #       define getpagesize() PAGESIZE
41814 #      endif /* PAGESIZE */
41815 #     endif /* no NBPC */
41816 #    endif /* no NBPG */
41817 #   endif /* no EXEC_PAGESIZE */
41818 #  else /* no HAVE_SYS_PARAM_H */
41819 #   define getpagesize() 8192   /* punt totally */
41820 #  endif /* no HAVE_SYS_PARAM_H */
41821 # endif /* no _SC_PAGESIZE */
41822
41823 #endif /* no HAVE_GETPAGESIZE */
41824
41825 int
41826 main ()
41827 {
41828   char *data, *data2, *data3;
41829   int i, pagesize;
41830   int fd;
41831
41832   pagesize = getpagesize ();
41833
41834   /* First, make a file with some known garbage in it. */
41835   data = (char *) malloc (pagesize);
41836   if (!data)
41837     exit (1);
41838   for (i = 0; i < pagesize; ++i)
41839     *(data + i) = rand ();
41840   umask (0);
41841   fd = creat ("conftest.mmap", 0600);
41842   if (fd < 0)
41843     exit (1);
41844   if (write (fd, data, pagesize) != pagesize)
41845     exit (1);
41846   close (fd);
41847
41848   /* Next, try to mmap the file at a fixed address which already has
41849      something else allocated at it.  If we can, also make sure that
41850      we see the same garbage.  */
41851   fd = open ("conftest.mmap", O_RDWR);
41852   if (fd < 0)
41853     exit (1);
41854   data2 = (char *) malloc (2 * pagesize);
41855   if (!data2)
41856     exit (1);
41857   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41858   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41859                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
41860     exit (1);
41861   for (i = 0; i < pagesize; ++i)
41862     if (*(data + i) != *(data2 + i))
41863       exit (1);
41864
41865   /* Finally, make sure that changes to the mapped area do not
41866      percolate back to the file as seen by read().  (This is a bug on
41867      some variants of i386 svr4.0.)  */
41868   for (i = 0; i < pagesize; ++i)
41869     *(data2 + i) = *(data2 + i) + 1;
41870   data3 = (char *) malloc (pagesize);
41871   if (!data3)
41872     exit (1);
41873   if (read (fd, data3, pagesize) != pagesize)
41874     exit (1);
41875   for (i = 0; i < pagesize; ++i)
41876     if (*(data + i) != *(data3 + i))
41877       exit (1);
41878   close (fd);
41879   exit (0);
41880 }
41881 _ACEOF
41882 rm -f conftest$ac_exeext
41883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41884   (eval $ac_link) 2>&5
41885   ac_status=$?
41886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41889   (eval $ac_try) 2>&5
41890   ac_status=$?
41891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41892   (exit $ac_status); }; }; then
41893   ac_cv_func_mmap_fixed_mapped=yes
41894 else
41895   echo "$as_me: program exited with status $ac_status" >&5
41896 echo "$as_me: failed program was:" >&5
41897 sed 's/^/| /' conftest.$ac_ext >&5
41898
41899 ( exit $ac_status )
41900 ac_cv_func_mmap_fixed_mapped=no
41901 fi
41902 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41903 fi
41904 fi
41905 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41906 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41907 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41908
41909 cat >>confdefs.h <<\_ACEOF
41910 #define HAVE_MMAP 1
41911 _ACEOF
41912
41913 fi
41914 rm -f conftest.mmap
41915
41916 fi
41917
41918   # For iconv support.
41919
41920       if test "X$prefix" = "XNONE"; then
41921     acl_final_prefix="$ac_default_prefix"
41922   else
41923     acl_final_prefix="$prefix"
41924   fi
41925   if test "X$exec_prefix" = "XNONE"; then
41926     acl_final_exec_prefix='${prefix}'
41927   else
41928     acl_final_exec_prefix="$exec_prefix"
41929   fi
41930   acl_save_prefix="$prefix"
41931   prefix="$acl_final_prefix"
41932   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41933   prefix="$acl_save_prefix"
41934
41935
41936 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41937 if test "${with_gnu_ld+set}" = set; then
41938   withval="$with_gnu_ld"
41939   test "$withval" = no || with_gnu_ld=yes
41940 else
41941   with_gnu_ld=no
41942 fi;
41943 # Prepare PATH_SEPARATOR.
41944 # The user is always right.
41945 if test "${PATH_SEPARATOR+set}" != set; then
41946   echo "#! /bin/sh" >conf$$.sh
41947   echo  "exit 0"   >>conf$$.sh
41948   chmod +x conf$$.sh
41949   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41950     PATH_SEPARATOR=';'
41951   else
41952     PATH_SEPARATOR=:
41953   fi
41954   rm -f conf$$.sh
41955 fi
41956 ac_prog=ld
41957 if test "$GCC" = yes; then
41958   # Check if gcc -print-prog-name=ld gives a path.
41959   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41960 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41961   case $host in
41962   *-*-mingw*)
41963     # gcc leaves a trailing carriage return which upsets mingw
41964     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41965   *)
41966     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41967   esac
41968   case $ac_prog in
41969     # Accept absolute paths.
41970     [\\/]* | [A-Za-z]:[\\/]*)
41971       re_direlt='/[^/][^/]*/\.\./'
41972       # Canonicalize the path of ld
41973       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41974       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41975         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41976       done
41977       test -z "$LD" && LD="$ac_prog"
41978       ;;
41979   "")
41980     # If it fails, then pretend we aren't using GCC.
41981     ac_prog=ld
41982     ;;
41983   *)
41984     # If it is relative, then search for the first ld in PATH.
41985     with_gnu_ld=unknown
41986     ;;
41987   esac
41988 elif test "$with_gnu_ld" = yes; then
41989   echo "$as_me:$LINENO: checking for GNU ld" >&5
41990 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41991 else
41992   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41993 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41994 fi
41995 if test "${acl_cv_path_LD+set}" = set; then
41996   echo $ECHO_N "(cached) $ECHO_C" >&6
41997 else
41998   if test -z "$LD"; then
41999   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42000   for ac_dir in $PATH; do
42001     test -z "$ac_dir" && ac_dir=.
42002     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42003       acl_cv_path_LD="$ac_dir/$ac_prog"
42004       # Check to see if the program is GNU ld.  I'd rather use --version,
42005       # but apparently some GNU ld's only accept -v.
42006       # Break only if it was the GNU/non-GNU ld that we prefer.
42007       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42008         test "$with_gnu_ld" != no && break
42009       else
42010         test "$with_gnu_ld" != yes && break
42011       fi
42012     fi
42013   done
42014   IFS="$ac_save_ifs"
42015 else
42016   acl_cv_path_LD="$LD" # Let the user override the test with a path.
42017 fi
42018 fi
42019
42020 LD="$acl_cv_path_LD"
42021 if test -n "$LD"; then
42022   echo "$as_me:$LINENO: result: $LD" >&5
42023 echo "${ECHO_T}$LD" >&6
42024 else
42025   echo "$as_me:$LINENO: result: no" >&5
42026 echo "${ECHO_T}no" >&6
42027 fi
42028 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42029 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42030    { (exit 1); exit 1; }; }
42031 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42032 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42033 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42034   echo $ECHO_N "(cached) $ECHO_C" >&6
42035 else
42036   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42037 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42038   acl_cv_prog_gnu_ld=yes
42039 else
42040   acl_cv_prog_gnu_ld=no
42041 fi
42042 fi
42043 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42044 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42045 with_gnu_ld=$acl_cv_prog_gnu_ld
42046
42047
42048
42049                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42050 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42051 if test "${acl_cv_rpath+set}" = set; then
42052   echo $ECHO_N "(cached) $ECHO_C" >&6
42053 else
42054
42055     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42056     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42057     . ./conftest.sh
42058     rm -f ./conftest.sh
42059     acl_cv_rpath=done
42060
42061 fi
42062 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42063 echo "${ECHO_T}$acl_cv_rpath" >&6
42064   wl="$acl_cv_wl"
42065   libext="$acl_cv_libext"
42066   shlibext="$acl_cv_shlibext"
42067   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42068   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42069   hardcode_direct="$acl_cv_hardcode_direct"
42070   hardcode_minus_L="$acl_cv_hardcode_minus_L"
42071     # Check whether --enable-rpath or --disable-rpath was given.
42072 if test "${enable_rpath+set}" = set; then
42073   enableval="$enable_rpath"
42074   :
42075 else
42076   enable_rpath=yes
42077 fi;
42078
42079
42080
42081
42082
42083
42084
42085     use_additional=yes
42086
42087   acl_save_prefix="$prefix"
42088   prefix="$acl_final_prefix"
42089   acl_save_exec_prefix="$exec_prefix"
42090   exec_prefix="$acl_final_exec_prefix"
42091
42092     eval additional_includedir=\"$includedir\"
42093     eval additional_libdir=\"$libdir\"
42094
42095   exec_prefix="$acl_save_exec_prefix"
42096   prefix="$acl_save_prefix"
42097
42098
42099 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42100 if test "${with_libiconv_prefix+set}" = set; then
42101   withval="$with_libiconv_prefix"
42102
42103     if test "X$withval" = "Xno"; then
42104       use_additional=no
42105     else
42106       if test "X$withval" = "X"; then
42107
42108   acl_save_prefix="$prefix"
42109   prefix="$acl_final_prefix"
42110   acl_save_exec_prefix="$exec_prefix"
42111   exec_prefix="$acl_final_exec_prefix"
42112
42113           eval additional_includedir=\"$includedir\"
42114           eval additional_libdir=\"$libdir\"
42115
42116   exec_prefix="$acl_save_exec_prefix"
42117   prefix="$acl_save_prefix"
42118
42119       else
42120         additional_includedir="$withval/include"
42121         additional_libdir="$withval/lib"
42122       fi
42123     fi
42124
42125 fi;
42126       LIBICONV=
42127   LTLIBICONV=
42128   INCICONV=
42129   rpathdirs=
42130   ltrpathdirs=
42131   names_already_handled=
42132   names_next_round='iconv '
42133   while test -n "$names_next_round"; do
42134     names_this_round="$names_next_round"
42135     names_next_round=
42136     for name in $names_this_round; do
42137       already_handled=
42138       for n in $names_already_handled; do
42139         if test "$n" = "$name"; then
42140           already_handled=yes
42141           break
42142         fi
42143       done
42144       if test -z "$already_handled"; then
42145         names_already_handled="$names_already_handled $name"
42146                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42147         eval value=\"\$HAVE_LIB$uppername\"
42148         if test -n "$value"; then
42149           if test "$value" = yes; then
42150             eval value=\"\$LIB$uppername\"
42151             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42152             eval value=\"\$LTLIB$uppername\"
42153             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42154           else
42155                                     :
42156           fi
42157         else
42158                               found_dir=
42159           found_la=
42160           found_so=
42161           found_a=
42162           if test $use_additional = yes; then
42163             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42164               found_dir="$additional_libdir"
42165               found_so="$additional_libdir/lib$name.$shlibext"
42166               if test -f "$additional_libdir/lib$name.la"; then
42167                 found_la="$additional_libdir/lib$name.la"
42168               fi
42169             else
42170               if test -f "$additional_libdir/lib$name.$libext"; then
42171                 found_dir="$additional_libdir"
42172                 found_a="$additional_libdir/lib$name.$libext"
42173                 if test -f "$additional_libdir/lib$name.la"; then
42174                   found_la="$additional_libdir/lib$name.la"
42175                 fi
42176               fi
42177             fi
42178           fi
42179           if test "X$found_dir" = "X"; then
42180             for x in $LDFLAGS $LTLIBICONV; do
42181
42182   acl_save_prefix="$prefix"
42183   prefix="$acl_final_prefix"
42184   acl_save_exec_prefix="$exec_prefix"
42185   exec_prefix="$acl_final_exec_prefix"
42186   eval x=\"$x\"
42187   exec_prefix="$acl_save_exec_prefix"
42188   prefix="$acl_save_prefix"
42189
42190               case "$x" in
42191                 -L*)
42192                   dir=`echo "X$x" | sed -e 's/^X-L//'`
42193                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42194                     found_dir="$dir"
42195                     found_so="$dir/lib$name.$shlibext"
42196                     if test -f "$dir/lib$name.la"; then
42197                       found_la="$dir/lib$name.la"
42198                     fi
42199                   else
42200                     if test -f "$dir/lib$name.$libext"; then
42201                       found_dir="$dir"
42202                       found_a="$dir/lib$name.$libext"
42203                       if test -f "$dir/lib$name.la"; then
42204                         found_la="$dir/lib$name.la"
42205                       fi
42206                     fi
42207                   fi
42208                   ;;
42209               esac
42210               if test "X$found_dir" != "X"; then
42211                 break
42212               fi
42213             done
42214           fi
42215           if test "X$found_dir" != "X"; then
42216                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42217             if test "X$found_so" != "X"; then
42218                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42219                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42220               else
42221                                                                                 haveit=
42222                 for x in $ltrpathdirs; do
42223                   if test "X$x" = "X$found_dir"; then
42224                     haveit=yes
42225                     break
42226                   fi
42227                 done
42228                 if test -z "$haveit"; then
42229                   ltrpathdirs="$ltrpathdirs $found_dir"
42230                 fi
42231                                 if test "$hardcode_direct" = yes; then
42232                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42233                 else
42234                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42235                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42236                                                             haveit=
42237                     for x in $rpathdirs; do
42238                       if test "X$x" = "X$found_dir"; then
42239                         haveit=yes
42240                         break
42241                       fi
42242                     done
42243                     if test -z "$haveit"; then
42244                       rpathdirs="$rpathdirs $found_dir"
42245                     fi
42246                   else
42247                                                                                 haveit=
42248                     for x in $LDFLAGS $LIBICONV; do
42249
42250   acl_save_prefix="$prefix"
42251   prefix="$acl_final_prefix"
42252   acl_save_exec_prefix="$exec_prefix"
42253   exec_prefix="$acl_final_exec_prefix"
42254   eval x=\"$x\"
42255   exec_prefix="$acl_save_exec_prefix"
42256   prefix="$acl_save_prefix"
42257
42258                       if test "X$x" = "X-L$found_dir"; then
42259                         haveit=yes
42260                         break
42261                       fi
42262                     done
42263                     if test -z "$haveit"; then
42264                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42265                     fi
42266                     if test "$hardcode_minus_L" != no; then
42267                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42268                     else
42269                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42270                     fi
42271                   fi
42272                 fi
42273               fi
42274             else
42275               if test "X$found_a" != "X"; then
42276                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42277               else
42278                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42279               fi
42280             fi
42281                         additional_includedir=
42282             case "$found_dir" in
42283               */lib | */lib/)
42284                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42285                 additional_includedir="$basedir/include"
42286                 ;;
42287             esac
42288             if test "X$additional_includedir" != "X"; then
42289                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
42290                 haveit=
42291                 if test "X$additional_includedir" = "X/usr/local/include"; then
42292                   if test -n "$GCC"; then
42293                     case $host_os in
42294                       linux*) haveit=yes;;
42295                     esac
42296                   fi
42297                 fi
42298                 if test -z "$haveit"; then
42299                   for x in $CPPFLAGS $INCICONV; do
42300
42301   acl_save_prefix="$prefix"
42302   prefix="$acl_final_prefix"
42303   acl_save_exec_prefix="$exec_prefix"
42304   exec_prefix="$acl_final_exec_prefix"
42305   eval x=\"$x\"
42306   exec_prefix="$acl_save_exec_prefix"
42307   prefix="$acl_save_prefix"
42308
42309                     if test "X$x" = "X-I$additional_includedir"; then
42310                       haveit=yes
42311                       break
42312                     fi
42313                   done
42314                   if test -z "$haveit"; then
42315                     if test -d "$additional_includedir"; then
42316                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42317                     fi
42318                   fi
42319                 fi
42320               fi
42321             fi
42322                         if test -n "$found_la"; then
42323                                                         save_libdir="$libdir"
42324               case "$found_la" in
42325                 */* | *\\*) . "$found_la" ;;
42326                 *) . "./$found_la" ;;
42327               esac
42328               libdir="$save_libdir"
42329                             for dep in $dependency_libs; do
42330                 case "$dep" in
42331                   -L*)
42332                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42333                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
42334                       haveit=
42335                       if test "X$additional_libdir" = "X/usr/local/lib"; then
42336                         if test -n "$GCC"; then
42337                           case $host_os in
42338                             linux*) haveit=yes;;
42339                           esac
42340                         fi
42341                       fi
42342                       if test -z "$haveit"; then
42343                         haveit=
42344                         for x in $LDFLAGS $LIBICONV; do
42345
42346   acl_save_prefix="$prefix"
42347   prefix="$acl_final_prefix"
42348   acl_save_exec_prefix="$exec_prefix"
42349   exec_prefix="$acl_final_exec_prefix"
42350   eval x=\"$x\"
42351   exec_prefix="$acl_save_exec_prefix"
42352   prefix="$acl_save_prefix"
42353
42354                           if test "X$x" = "X-L$additional_libdir"; then
42355                             haveit=yes
42356                             break
42357                           fi
42358                         done
42359                         if test -z "$haveit"; then
42360                           if test -d "$additional_libdir"; then
42361                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42362                           fi
42363                         fi
42364                         haveit=
42365                         for x in $LDFLAGS $LTLIBICONV; do
42366
42367   acl_save_prefix="$prefix"
42368   prefix="$acl_final_prefix"
42369   acl_save_exec_prefix="$exec_prefix"
42370   exec_prefix="$acl_final_exec_prefix"
42371   eval x=\"$x\"
42372   exec_prefix="$acl_save_exec_prefix"
42373   prefix="$acl_save_prefix"
42374
42375                           if test "X$x" = "X-L$additional_libdir"; then
42376                             haveit=yes
42377                             break
42378                           fi
42379                         done
42380                         if test -z "$haveit"; then
42381                           if test -d "$additional_libdir"; then
42382                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42383                           fi
42384                         fi
42385                       fi
42386                     fi
42387                     ;;
42388                   -R*)
42389                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
42390                     if test "$enable_rpath" != no; then
42391                                                                   haveit=
42392                       for x in $rpathdirs; do
42393                         if test "X$x" = "X$dir"; then
42394                           haveit=yes
42395                           break
42396                         fi
42397                       done
42398                       if test -z "$haveit"; then
42399                         rpathdirs="$rpathdirs $dir"
42400                       fi
42401                                                                   haveit=
42402                       for x in $ltrpathdirs; do
42403                         if test "X$x" = "X$dir"; then
42404                           haveit=yes
42405                           break
42406                         fi
42407                       done
42408                       if test -z "$haveit"; then
42409                         ltrpathdirs="$ltrpathdirs $dir"
42410                       fi
42411                     fi
42412                     ;;
42413                   -l*)
42414                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42415                     ;;
42416                   *.la)
42417                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42418                     ;;
42419                   *)
42420                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42421                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42422                     ;;
42423                 esac
42424               done
42425             fi
42426           else
42427                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42428             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42429           fi
42430         fi
42431       fi
42432     done
42433   done
42434   if test "X$rpathdirs" != "X"; then
42435     if test -n "$hardcode_libdir_separator"; then
42436                         alldirs=
42437       for found_dir in $rpathdirs; do
42438         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42439       done
42440             acl_save_libdir="$libdir"
42441       libdir="$alldirs"
42442       eval flag=\"$hardcode_libdir_flag_spec\"
42443       libdir="$acl_save_libdir"
42444       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42445     else
42446             for found_dir in $rpathdirs; do
42447         acl_save_libdir="$libdir"
42448         libdir="$found_dir"
42449         eval flag=\"$hardcode_libdir_flag_spec\"
42450         libdir="$acl_save_libdir"
42451         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42452       done
42453     fi
42454   fi
42455   if test "X$ltrpathdirs" != "X"; then
42456             for found_dir in $ltrpathdirs; do
42457       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42458     done
42459   fi
42460
42461
42462
42463
42464
42465
42466
42467           am_save_CPPFLAGS="$CPPFLAGS"
42468
42469   for element in $INCICONV; do
42470     haveit=
42471     for x in $CPPFLAGS; do
42472
42473   acl_save_prefix="$prefix"
42474   prefix="$acl_final_prefix"
42475   acl_save_exec_prefix="$exec_prefix"
42476   exec_prefix="$acl_final_exec_prefix"
42477   eval x=\"$x\"
42478   exec_prefix="$acl_save_exec_prefix"
42479   prefix="$acl_save_prefix"
42480
42481       if test "X$x" = "X$element"; then
42482         haveit=yes
42483         break
42484       fi
42485     done
42486     if test -z "$haveit"; then
42487       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42488     fi
42489   done
42490
42491
42492   echo "$as_me:$LINENO: checking for iconv" >&5
42493 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42494 if test "${am_cv_func_iconv+set}" = set; then
42495   echo $ECHO_N "(cached) $ECHO_C" >&6
42496 else
42497
42498     am_cv_func_iconv="no, consider installing GNU libiconv"
42499     am_cv_lib_iconv=no
42500     if test x$gcc_no_link = xyes; then
42501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42503    { (exit 1); exit 1; }; }
42504 fi
42505 cat >conftest.$ac_ext <<_ACEOF
42506 /* confdefs.h.  */
42507 _ACEOF
42508 cat confdefs.h >>conftest.$ac_ext
42509 cat >>conftest.$ac_ext <<_ACEOF
42510 /* end confdefs.h.  */
42511 #include <stdlib.h>
42512 #include <iconv.h>
42513 int
42514 main ()
42515 {
42516 iconv_t cd = iconv_open("","");
42517        iconv(cd,NULL,NULL,NULL,NULL);
42518        iconv_close(cd);
42519   ;
42520   return 0;
42521 }
42522 _ACEOF
42523 rm -f conftest.$ac_objext conftest$ac_exeext
42524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42525   (eval $ac_link) 2>conftest.er1
42526   ac_status=$?
42527   grep -v '^ *+' conftest.er1 >conftest.err
42528   rm -f conftest.er1
42529   cat conftest.err >&5
42530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531   (exit $ac_status); } &&
42532          { ac_try='test -z "$ac_c_werror_flag"
42533                          || test ! -s conftest.err'
42534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42535   (eval $ac_try) 2>&5
42536   ac_status=$?
42537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42538   (exit $ac_status); }; } &&
42539          { ac_try='test -s conftest$ac_exeext'
42540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42541   (eval $ac_try) 2>&5
42542   ac_status=$?
42543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544   (exit $ac_status); }; }; then
42545   am_cv_func_iconv=yes
42546 else
42547   echo "$as_me: failed program was:" >&5
42548 sed 's/^/| /' conftest.$ac_ext >&5
42549
42550 fi
42551 rm -f conftest.err conftest.$ac_objext \
42552       conftest$ac_exeext conftest.$ac_ext
42553     if test "$am_cv_func_iconv" != yes; then
42554       am_save_LIBS="$LIBS"
42555       LIBS="$LIBS $LIBICONV"
42556       if test x$gcc_no_link = xyes; then
42557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42559    { (exit 1); exit 1; }; }
42560 fi
42561 cat >conftest.$ac_ext <<_ACEOF
42562 /* confdefs.h.  */
42563 _ACEOF
42564 cat confdefs.h >>conftest.$ac_ext
42565 cat >>conftest.$ac_ext <<_ACEOF
42566 /* end confdefs.h.  */
42567 #include <stdlib.h>
42568 #include <iconv.h>
42569 int
42570 main ()
42571 {
42572 iconv_t cd = iconv_open("","");
42573          iconv(cd,NULL,NULL,NULL,NULL);
42574          iconv_close(cd);
42575   ;
42576   return 0;
42577 }
42578 _ACEOF
42579 rm -f conftest.$ac_objext conftest$ac_exeext
42580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42581   (eval $ac_link) 2>conftest.er1
42582   ac_status=$?
42583   grep -v '^ *+' conftest.er1 >conftest.err
42584   rm -f conftest.er1
42585   cat conftest.err >&5
42586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587   (exit $ac_status); } &&
42588          { ac_try='test -z "$ac_c_werror_flag"
42589                          || test ! -s conftest.err'
42590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42591   (eval $ac_try) 2>&5
42592   ac_status=$?
42593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42594   (exit $ac_status); }; } &&
42595          { ac_try='test -s conftest$ac_exeext'
42596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42597   (eval $ac_try) 2>&5
42598   ac_status=$?
42599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42600   (exit $ac_status); }; }; then
42601   am_cv_lib_iconv=yes
42602         am_cv_func_iconv=yes
42603 else
42604   echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.$ac_ext >&5
42606
42607 fi
42608 rm -f conftest.err conftest.$ac_objext \
42609       conftest$ac_exeext conftest.$ac_ext
42610       LIBS="$am_save_LIBS"
42611     fi
42612
42613 fi
42614 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42615 echo "${ECHO_T}$am_cv_func_iconv" >&6
42616   if test "$am_cv_func_iconv" = yes; then
42617
42618 cat >>confdefs.h <<\_ACEOF
42619 #define HAVE_ICONV 1
42620 _ACEOF
42621
42622   fi
42623   if test "$am_cv_lib_iconv" = yes; then
42624     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42625 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42626     echo "$as_me:$LINENO: result: $LIBICONV" >&5
42627 echo "${ECHO_T}$LIBICONV" >&6
42628   else
42629             CPPFLAGS="$am_save_CPPFLAGS"
42630     LIBICONV=
42631     LTLIBICONV=
42632   fi
42633
42634
42635
42636   if test "$am_cv_func_iconv" = yes; then
42637     echo "$as_me:$LINENO: checking for iconv declaration" >&5
42638 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42639     if test "${am_cv_proto_iconv+set}" = set; then
42640   echo $ECHO_N "(cached) $ECHO_C" >&6
42641 else
42642
42643       cat >conftest.$ac_ext <<_ACEOF
42644 /* confdefs.h.  */
42645 _ACEOF
42646 cat confdefs.h >>conftest.$ac_ext
42647 cat >>conftest.$ac_ext <<_ACEOF
42648 /* end confdefs.h.  */
42649
42650 #include <stdlib.h>
42651 #include <iconv.h>
42652 extern
42653 #ifdef __cplusplus
42654 "C"
42655 #endif
42656 #if defined(__STDC__) || defined(__cplusplus)
42657 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42658 #else
42659 size_t iconv();
42660 #endif
42661
42662 int
42663 main ()
42664 {
42665
42666   ;
42667   return 0;
42668 }
42669 _ACEOF
42670 rm -f conftest.$ac_objext
42671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42672   (eval $ac_compile) 2>conftest.er1
42673   ac_status=$?
42674   grep -v '^ *+' conftest.er1 >conftest.err
42675   rm -f conftest.er1
42676   cat conftest.err >&5
42677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678   (exit $ac_status); } &&
42679          { ac_try='test -z "$ac_c_werror_flag"
42680                          || test ! -s conftest.err'
42681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42682   (eval $ac_try) 2>&5
42683   ac_status=$?
42684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685   (exit $ac_status); }; } &&
42686          { ac_try='test -s conftest.$ac_objext'
42687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42688   (eval $ac_try) 2>&5
42689   ac_status=$?
42690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42691   (exit $ac_status); }; }; then
42692   am_cv_proto_iconv_arg1=""
42693 else
42694   echo "$as_me: failed program was:" >&5
42695 sed 's/^/| /' conftest.$ac_ext >&5
42696
42697 am_cv_proto_iconv_arg1="const"
42698 fi
42699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42700       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);"
42701 fi
42702
42703     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42704     echo "$as_me:$LINENO: result: ${ac_t:-
42705          }$am_cv_proto_iconv" >&5
42706 echo "${ECHO_T}${ac_t:-
42707          }$am_cv_proto_iconv" >&6
42708
42709 cat >>confdefs.h <<_ACEOF
42710 #define ICONV_CONST $am_cv_proto_iconv_arg1
42711 _ACEOF
42712
42713   fi
42714
42715
42716 else
42717
42718   # This lets us hard-code the functionality we know we'll have in the cross
42719   # target environment.  "Let" is a sugar-coated word placed on an especially
42720   # dull and tedious hack, actually.
42721   #
42722   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42723   # that involve linking, can't be used:
42724   #    "cannot open sim-crt0.o"
42725   #    "cannot open crt0.o"
42726   # etc.  All this is because there currently exists no unified, consistent
42727   # way for top level CC information to be passed down to target directories:
42728   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42729   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42730   # crosses can be removed.
42731
42732   # If Canadian cross, then don't pick up tools from the build directory.
42733   # Used only in GLIBCXX_EXPORT_INCLUDES.
42734   if test -n "$with_cross_host" &&
42735      test x"$build_alias" != x"$with_cross_host" &&
42736      test x"$build" != x"$target";
42737   then
42738     CANADIAN=yes
42739   else
42740     CANADIAN=no
42741   fi
42742
42743   # Construct crosses by hand, eliminating bits that need ld...
42744   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42745   # GLIBCXX_CHECK_MATH_SUPPORT
42746
42747   # First, test for "known" system libraries.  We may be using newlib even
42748   # on a hosted environment.
42749   if test "x${with_newlib}" = "xyes"; then
42750     os_include_dir="os/newlib"
42751     cat >>confdefs.h <<\_ACEOF
42752 #define HAVE_HYPOT 1
42753 _ACEOF
42754
42755
42756     # GLIBCXX_CHECK_STDLIB_SUPPORT
42757     cat >>confdefs.h <<\_ACEOF
42758 #define HAVE_STRTOF 1
42759 _ACEOF
42760
42761     # AC_FUNC_MMAP
42762     cat >>confdefs.h <<\_ACEOF
42763 #define HAVE_MMAP 1
42764 _ACEOF
42765
42766
42767     cat >>confdefs.h <<\_ACEOF
42768 #define HAVE_ACOSF 1
42769 _ACEOF
42770
42771     cat >>confdefs.h <<\_ACEOF
42772 #define HAVE_ASINF 1
42773 _ACEOF
42774
42775     cat >>confdefs.h <<\_ACEOF
42776 #define HAVE_ATAN2F 1
42777 _ACEOF
42778
42779     cat >>confdefs.h <<\_ACEOF
42780 #define HAVE_ATANF 1
42781 _ACEOF
42782
42783     cat >>confdefs.h <<\_ACEOF
42784 #define HAVE_CEILF 1
42785 _ACEOF
42786
42787     cat >>confdefs.h <<\_ACEOF
42788 #define HAVE_COPYSIGN 1
42789 _ACEOF
42790
42791     cat >>confdefs.h <<\_ACEOF
42792 #define HAVE_COPYSIGNF 1
42793 _ACEOF
42794
42795     cat >>confdefs.h <<\_ACEOF
42796 #define HAVE_COSF 1
42797 _ACEOF
42798
42799     cat >>confdefs.h <<\_ACEOF
42800 #define HAVE_COSHF 1
42801 _ACEOF
42802
42803     cat >>confdefs.h <<\_ACEOF
42804 #define HAVE_EXPF 1
42805 _ACEOF
42806
42807     cat >>confdefs.h <<\_ACEOF
42808 #define HAVE_FABSF 1
42809 _ACEOF
42810
42811     cat >>confdefs.h <<\_ACEOF
42812 #define HAVE_FLOORF 1
42813 _ACEOF
42814
42815     cat >>confdefs.h <<\_ACEOF
42816 #define HAVE_FMODF 1
42817 _ACEOF
42818
42819     cat >>confdefs.h <<\_ACEOF
42820 #define HAVE_FREXPF 1
42821 _ACEOF
42822
42823     cat >>confdefs.h <<\_ACEOF
42824 #define HAVE_LDEXPF 1
42825 _ACEOF
42826
42827     cat >>confdefs.h <<\_ACEOF
42828 #define HAVE_LOG10F 1
42829 _ACEOF
42830
42831     cat >>confdefs.h <<\_ACEOF
42832 #define HAVE_LOGF 1
42833 _ACEOF
42834
42835     cat >>confdefs.h <<\_ACEOF
42836 #define HAVE_MODFF 1
42837 _ACEOF
42838
42839     cat >>confdefs.h <<\_ACEOF
42840 #define HAVE_POWF 1
42841 _ACEOF
42842
42843     cat >>confdefs.h <<\_ACEOF
42844 #define HAVE_SINF 1
42845 _ACEOF
42846
42847     cat >>confdefs.h <<\_ACEOF
42848 #define HAVE_SINHF 1
42849 _ACEOF
42850
42851     cat >>confdefs.h <<\_ACEOF
42852 #define HAVE_SQRTF 1
42853 _ACEOF
42854
42855     cat >>confdefs.h <<\_ACEOF
42856 #define HAVE_TANF 1
42857 _ACEOF
42858
42859     cat >>confdefs.h <<\_ACEOF
42860 #define HAVE_TANHF 1
42861 _ACEOF
42862
42863
42864     cat >>confdefs.h <<\_ACEOF
42865 #define HAVE_S_ISREG 1
42866 _ACEOF
42867
42868     cat >>confdefs.h <<\_ACEOF
42869 #define HAVE_S_IFREG 1
42870 _ACEOF
42871
42872
42873     cat >>confdefs.h <<\_ACEOF
42874 #define HAVE_ICONV 1
42875 _ACEOF
42876
42877   else
42878
42879 # Base decisions on target environment.
42880 case "${host}" in
42881   arm*-*-symbianelf*)
42882     # This is a freestanding configuration; there is nothing to do here.
42883     ;;
42884
42885   mips*-sde-elf*)
42886     # These definitions are for the SDE C library rather than newlib.
42887
42888
42889
42890
42891
42892
42893
42894
42895
42896
42897
42898
42899
42900
42901
42902 for ac_header in float.h inttypes.h locale.h \
42903       stdint.h stdlib.h string.h unistd.h wchar.h \
42904       machine/endian.h sys/ioctl.h sys/resource.h \
42905       sys/stat.h sys/time.h sys/types.h sys/uio.h
42906 do
42907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42909   echo "$as_me:$LINENO: checking for $ac_header" >&5
42910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42912   echo $ECHO_N "(cached) $ECHO_C" >&6
42913 fi
42914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42916 else
42917   # Is the header compilable?
42918 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42919 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42920 cat >conftest.$ac_ext <<_ACEOF
42921 /* confdefs.h.  */
42922 _ACEOF
42923 cat confdefs.h >>conftest.$ac_ext
42924 cat >>conftest.$ac_ext <<_ACEOF
42925 /* end confdefs.h.  */
42926 $ac_includes_default
42927 #include <$ac_header>
42928 _ACEOF
42929 rm -f conftest.$ac_objext
42930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42931   (eval $ac_compile) 2>conftest.er1
42932   ac_status=$?
42933   grep -v '^ *+' conftest.er1 >conftest.err
42934   rm -f conftest.er1
42935   cat conftest.err >&5
42936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937   (exit $ac_status); } &&
42938          { ac_try='test -z "$ac_c_werror_flag"
42939                          || test ! -s conftest.err'
42940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42941   (eval $ac_try) 2>&5
42942   ac_status=$?
42943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944   (exit $ac_status); }; } &&
42945          { ac_try='test -s conftest.$ac_objext'
42946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42947   (eval $ac_try) 2>&5
42948   ac_status=$?
42949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42950   (exit $ac_status); }; }; then
42951   ac_header_compiler=yes
42952 else
42953   echo "$as_me: failed program was:" >&5
42954 sed 's/^/| /' conftest.$ac_ext >&5
42955
42956 ac_header_compiler=no
42957 fi
42958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42960 echo "${ECHO_T}$ac_header_compiler" >&6
42961
42962 # Is the header present?
42963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42965 cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h.  */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h.  */
42971 #include <$ac_header>
42972 _ACEOF
42973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42974   (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
42981   if test -s conftest.err; then
42982     ac_cpp_err=$ac_c_preproc_warn_flag
42983     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42984   else
42985     ac_cpp_err=
42986   fi
42987 else
42988   ac_cpp_err=yes
42989 fi
42990 if test -z "$ac_cpp_err"; then
42991   ac_header_preproc=yes
42992 else
42993   echo "$as_me: failed program was:" >&5
42994 sed 's/^/| /' conftest.$ac_ext >&5
42995
42996   ac_header_preproc=no
42997 fi
42998 rm -f conftest.err conftest.$ac_ext
42999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43000 echo "${ECHO_T}$ac_header_preproc" >&6
43001
43002 # So?  What about this header?
43003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43004   yes:no: )
43005     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43007     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43009     ac_header_preproc=yes
43010     ;;
43011   no:yes:* )
43012     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43014     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
43015 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
43016     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43018     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
43019 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
43020     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43022     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43024     (
43025       cat <<\_ASBOX
43026 ## ----------------------------------------- ##
43027 ## Report this to the package-unused lists.  ##
43028 ## ----------------------------------------- ##
43029 _ASBOX
43030     ) |
43031       sed "s/^/$as_me: WARNING:     /" >&2
43032     ;;
43033 esac
43034 echo "$as_me:$LINENO: checking for $ac_header" >&5
43035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43037   echo $ECHO_N "(cached) $ECHO_C" >&6
43038 else
43039   eval "$as_ac_Header=\$ac_header_preproc"
43040 fi
43041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43043
43044 fi
43045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43046   cat >>confdefs.h <<_ACEOF
43047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43048 _ACEOF
43049
43050 fi
43051
43052 done
43053
43054     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43055
43056
43057   # All these tests are for C++; save the language and the compiler flags.
43058   # The CXXFLAGS thing is suspicious, but based on similar bits previously
43059   # found in GLIBCXX_CONFIGURE.
43060
43061
43062   ac_ext=cc
43063 ac_cpp='$CXXCPP $CPPFLAGS'
43064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43067
43068   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43069   ac_save_CXXFLAGS="$CXXFLAGS"
43070
43071   # Check for maintainer-mode bits.
43072   if test x"$USE_MAINTAINER_MODE" = xno; then
43073     WERROR=''
43074   else
43075     WERROR='-Werror'
43076   fi
43077
43078   # Check for -ffunction-sections -fdata-sections
43079   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43080 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43081   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43082   cat >conftest.$ac_ext <<_ACEOF
43083 /* confdefs.h.  */
43084 _ACEOF
43085 cat confdefs.h >>conftest.$ac_ext
43086 cat >>conftest.$ac_ext <<_ACEOF
43087 /* end confdefs.h.  */
43088 int foo; void bar() { };
43089 int
43090 main ()
43091 {
43092
43093   ;
43094   return 0;
43095 }
43096 _ACEOF
43097 rm -f conftest.$ac_objext
43098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43099   (eval $ac_compile) 2>conftest.er1
43100   ac_status=$?
43101   grep -v '^ *+' conftest.er1 >conftest.err
43102   rm -f conftest.er1
43103   cat conftest.err >&5
43104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105   (exit $ac_status); } &&
43106          { ac_try='test -z "$ac_cxx_werror_flag"
43107                          || test ! -s conftest.err'
43108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43109   (eval $ac_try) 2>&5
43110   ac_status=$?
43111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112   (exit $ac_status); }; } &&
43113          { ac_try='test -s conftest.$ac_objext'
43114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43115   (eval $ac_try) 2>&5
43116   ac_status=$?
43117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118   (exit $ac_status); }; }; then
43119   ac_fdsections=yes
43120 else
43121   echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.$ac_ext >&5
43123
43124 ac_fdsections=no
43125 fi
43126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43127   if test "$ac_test_CXXFLAGS" = set; then
43128     CXXFLAGS="$ac_save_CXXFLAGS"
43129   else
43130     # this is the suspicious part
43131     CXXFLAGS=''
43132   fi
43133   if test x"$ac_fdsections" = x"yes"; then
43134     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43135   fi
43136   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43137 echo "${ECHO_T}$ac_fdsections" >&6
43138
43139   ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43144
43145
43146
43147
43148
43149   # If we're not using GNU ld, then there's no point in even trying these
43150   # tests.  Check for that first.  We should have already tested for gld
43151   # by now (in libtool), but require it now just to be safe...
43152   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43153   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43154
43155
43156
43157   # The name set by libtool depends on the version of libtool.  Shame on us
43158   # for depending on an impl detail, but c'est la vie.  Older versions used
43159   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43160   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43161   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43162   # set (hence we're using an older libtool), then set it.
43163   if test x${with_gnu_ld+set} != xset; then
43164     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43165       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43166       with_gnu_ld=no
43167     else
43168       with_gnu_ld=$ac_cv_prog_gnu_ld
43169     fi
43170   fi
43171
43172   # Start by getting the version number.  I think the libtool test already
43173   # does some of this, but throws away the result.
43174   if test x"$with_gnu_ld" = x"yes"; then
43175     echo "$as_me:$LINENO: checking for ld version" >&5
43176 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43177
43178     ldver=`$LD --version 2>/dev/null | head -1 | \
43179            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
43180
43181     glibcxx_gnu_ld_version=`echo $ldver | \
43182            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43183     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43184 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43185   fi
43186
43187   # Set --gc-sections.
43188   glibcxx_gcsections_min_ld=21602
43189   if test x"$with_gnu_ld" = x"yes" &&
43190         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43191
43192     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43193     # NB: This flag only works reliably after 2.16.1. Configure tests
43194     # for this are difficult, so hard wire a value that should work.
43195
43196     ac_test_CFLAGS="${CFLAGS+set}"
43197     ac_save_CFLAGS="$CFLAGS"
43198     CFLAGS='-Wl,--gc-sections'
43199
43200     # Check for -Wl,--gc-sections
43201     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43202 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43203     if test x$gcc_no_link = xyes; then
43204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43206    { (exit 1); exit 1; }; }
43207 fi
43208 cat >conftest.$ac_ext <<_ACEOF
43209 /* confdefs.h.  */
43210 _ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h.  */
43214  int one(void) { return 1; }
43215      int two(void) { return 2; }
43216
43217 int
43218 main ()
43219 {
43220  two();
43221   ;
43222   return 0;
43223 }
43224 _ACEOF
43225 rm -f conftest.$ac_objext conftest$ac_exeext
43226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43227   (eval $ac_link) 2>conftest.er1
43228   ac_status=$?
43229   grep -v '^ *+' conftest.er1 >conftest.err
43230   rm -f conftest.er1
43231   cat conftest.err >&5
43232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233   (exit $ac_status); } &&
43234          { ac_try='test -z "$ac_c_werror_flag"
43235                          || test ! -s conftest.err'
43236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43237   (eval $ac_try) 2>&5
43238   ac_status=$?
43239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240   (exit $ac_status); }; } &&
43241          { ac_try='test -s conftest$ac_exeext'
43242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43243   (eval $ac_try) 2>&5
43244   ac_status=$?
43245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43246   (exit $ac_status); }; }; then
43247   ac_gcsections=yes
43248 else
43249   echo "$as_me: failed program was:" >&5
43250 sed 's/^/| /' conftest.$ac_ext >&5
43251
43252 ac_gcsections=no
43253 fi
43254 rm -f conftest.err conftest.$ac_objext \
43255       conftest$ac_exeext conftest.$ac_ext
43256     if test "$ac_gcsections" = "yes"; then
43257       rm -f conftest.c
43258       touch conftest.c
43259       if $CC -c conftest.c; then
43260         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43261            grep "Warning: gc-sections option ignored" > /dev/null; then
43262           ac_gcsections=no
43263         fi
43264       fi
43265       rm -f conftest.c conftest.o conftest
43266     fi
43267     if test "$ac_gcsections" = "yes"; then
43268       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43269     fi
43270     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43271 echo "${ECHO_T}$ac_gcsections" >&6
43272
43273     if test "$ac_test_CFLAGS" = set; then
43274       CFLAGS="$ac_save_CFLAGS"
43275     else
43276       # this is the suspicious part
43277       CFLAGS=''
43278     fi
43279   fi
43280
43281   # Set -z,relro.
43282   # Note this is only for shared objects.
43283   ac_ld_relro=no
43284   if test x"$with_gnu_ld" = x"yes"; then
43285     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43286 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43287     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43288     if test -n "$cxx_z_relo"; then
43289       OPT_LDFLAGS="-Wl,-z,relro"
43290       ac_ld_relro=yes
43291     fi
43292     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43293 echo "${ECHO_T}$ac_ld_relro" >&6
43294   fi
43295
43296   # Set linker optimization flags.
43297   if test x"$with_gnu_ld" = x"yes"; then
43298     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43299   fi
43300
43301
43302
43303
43304
43305   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43306   ac_save_CXXFLAGS="$CXXFLAGS"
43307   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43308
43309     echo "$as_me:$LINENO: checking for sin in -lm" >&5
43310 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43311 if test "${ac_cv_lib_m_sin+set}" = set; then
43312   echo $ECHO_N "(cached) $ECHO_C" >&6
43313 else
43314   ac_check_lib_save_LIBS=$LIBS
43315 LIBS="-lm  $LIBS"
43316 if test x$gcc_no_link = xyes; then
43317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43319    { (exit 1); exit 1; }; }
43320 fi
43321 cat >conftest.$ac_ext <<_ACEOF
43322 /* confdefs.h.  */
43323 _ACEOF
43324 cat confdefs.h >>conftest.$ac_ext
43325 cat >>conftest.$ac_ext <<_ACEOF
43326 /* end confdefs.h.  */
43327
43328 /* Override any gcc2 internal prototype to avoid an error.  */
43329 #ifdef __cplusplus
43330 extern "C"
43331 #endif
43332 /* We use char because int might match the return type of a gcc2
43333    builtin and then its argument prototype would still apply.  */
43334 char sin ();
43335 int
43336 main ()
43337 {
43338 sin ();
43339   ;
43340   return 0;
43341 }
43342 _ACEOF
43343 rm -f conftest.$ac_objext conftest$ac_exeext
43344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43345   (eval $ac_link) 2>conftest.er1
43346   ac_status=$?
43347   grep -v '^ *+' conftest.er1 >conftest.err
43348   rm -f conftest.er1
43349   cat conftest.err >&5
43350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351   (exit $ac_status); } &&
43352          { ac_try='test -z "$ac_c_werror_flag"
43353                          || test ! -s conftest.err'
43354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43355   (eval $ac_try) 2>&5
43356   ac_status=$?
43357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43358   (exit $ac_status); }; } &&
43359          { ac_try='test -s conftest$ac_exeext'
43360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43361   (eval $ac_try) 2>&5
43362   ac_status=$?
43363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43364   (exit $ac_status); }; }; then
43365   ac_cv_lib_m_sin=yes
43366 else
43367   echo "$as_me: failed program was:" >&5
43368 sed 's/^/| /' conftest.$ac_ext >&5
43369
43370 ac_cv_lib_m_sin=no
43371 fi
43372 rm -f conftest.err conftest.$ac_objext \
43373       conftest$ac_exeext conftest.$ac_ext
43374 LIBS=$ac_check_lib_save_LIBS
43375 fi
43376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43377 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43378 if test $ac_cv_lib_m_sin = yes; then
43379   libm="-lm"
43380 fi
43381
43382   ac_save_LIBS="$LIBS"
43383   LIBS="$LIBS $libm"
43384
43385
43386
43387   echo "$as_me:$LINENO: checking for isinf declaration" >&5
43388 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43389   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43390     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43391   echo $ECHO_N "(cached) $ECHO_C" >&6
43392 else
43393
43394
43395
43396       ac_ext=cc
43397 ac_cpp='$CXXCPP $CPPFLAGS'
43398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43401
43402       cat >conftest.$ac_ext <<_ACEOF
43403 /* confdefs.h.  */
43404 _ACEOF
43405 cat confdefs.h >>conftest.$ac_ext
43406 cat >>conftest.$ac_ext <<_ACEOF
43407 /* end confdefs.h.  */
43408 #include <math.h>
43409                       #ifdef HAVE_IEEEFP_H
43410                       #include <ieeefp.h>
43411                       #endif
43412
43413 int
43414 main ()
43415 {
43416  isinf(0);
43417   ;
43418   return 0;
43419 }
43420 _ACEOF
43421 rm -f conftest.$ac_objext
43422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43423   (eval $ac_compile) 2>conftest.er1
43424   ac_status=$?
43425   grep -v '^ *+' conftest.er1 >conftest.err
43426   rm -f conftest.er1
43427   cat conftest.err >&5
43428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43429   (exit $ac_status); } &&
43430          { ac_try='test -z "$ac_cxx_werror_flag"
43431                          || test ! -s conftest.err'
43432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43433   (eval $ac_try) 2>&5
43434   ac_status=$?
43435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43436   (exit $ac_status); }; } &&
43437          { ac_try='test -s conftest.$ac_objext'
43438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43439   (eval $ac_try) 2>&5
43440   ac_status=$?
43441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43442   (exit $ac_status); }; }; then
43443   glibcxx_cv_func_isinf_use=yes
43444 else
43445   echo "$as_me: failed program was:" >&5
43446 sed 's/^/| /' conftest.$ac_ext >&5
43447
43448 glibcxx_cv_func_isinf_use=no
43449 fi
43450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43451       ac_ext=c
43452 ac_cpp='$CPP $CPPFLAGS'
43453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43456
43457
43458 fi
43459
43460   fi
43461   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43462 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43463
43464   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43465
43466 for ac_func in isinf
43467 do
43468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43469 echo "$as_me:$LINENO: checking for $ac_func" >&5
43470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43471 if eval "test \"\${$as_ac_var+set}\" = set"; then
43472   echo $ECHO_N "(cached) $ECHO_C" >&6
43473 else
43474   if test x$gcc_no_link = xyes; then
43475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43477    { (exit 1); exit 1; }; }
43478 fi
43479 cat >conftest.$ac_ext <<_ACEOF
43480 /* confdefs.h.  */
43481 _ACEOF
43482 cat confdefs.h >>conftest.$ac_ext
43483 cat >>conftest.$ac_ext <<_ACEOF
43484 /* end confdefs.h.  */
43485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43487 #define $ac_func innocuous_$ac_func
43488
43489 /* System header to define __stub macros and hopefully few prototypes,
43490     which can conflict with char $ac_func (); below.
43491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43492     <limits.h> exists even on freestanding compilers.  */
43493
43494 #ifdef __STDC__
43495 # include <limits.h>
43496 #else
43497 # include <assert.h>
43498 #endif
43499
43500 #undef $ac_func
43501
43502 /* Override any gcc2 internal prototype to avoid an error.  */
43503 #ifdef __cplusplus
43504 extern "C"
43505 {
43506 #endif
43507 /* We use char because int might match the return type of a gcc2
43508    builtin and then its argument prototype would still apply.  */
43509 char $ac_func ();
43510 /* The GNU C library defines this for functions which it implements
43511     to always fail with ENOSYS.  Some functions are actually named
43512     something starting with __ and the normal name is an alias.  */
43513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43514 choke me
43515 #else
43516 char (*f) () = $ac_func;
43517 #endif
43518 #ifdef __cplusplus
43519 }
43520 #endif
43521
43522 int
43523 main ()
43524 {
43525 return f != $ac_func;
43526   ;
43527   return 0;
43528 }
43529 _ACEOF
43530 rm -f conftest.$ac_objext conftest$ac_exeext
43531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43532   (eval $ac_link) 2>conftest.er1
43533   ac_status=$?
43534   grep -v '^ *+' conftest.er1 >conftest.err
43535   rm -f conftest.er1
43536   cat conftest.err >&5
43537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43538   (exit $ac_status); } &&
43539          { ac_try='test -z "$ac_c_werror_flag"
43540                          || test ! -s conftest.err'
43541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43542   (eval $ac_try) 2>&5
43543   ac_status=$?
43544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545   (exit $ac_status); }; } &&
43546          { ac_try='test -s conftest$ac_exeext'
43547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43548   (eval $ac_try) 2>&5
43549   ac_status=$?
43550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551   (exit $ac_status); }; }; then
43552   eval "$as_ac_var=yes"
43553 else
43554   echo "$as_me: failed program was:" >&5
43555 sed 's/^/| /' conftest.$ac_ext >&5
43556
43557 eval "$as_ac_var=no"
43558 fi
43559 rm -f conftest.err conftest.$ac_objext \
43560       conftest$ac_exeext conftest.$ac_ext
43561 fi
43562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43564 if test `eval echo '${'$as_ac_var'}'` = yes; then
43565   cat >>confdefs.h <<_ACEOF
43566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43567 _ACEOF
43568
43569 fi
43570 done
43571
43572   else
43573
43574   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43575 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43576   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43577     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43578   echo $ECHO_N "(cached) $ECHO_C" >&6
43579 else
43580
43581
43582
43583       ac_ext=cc
43584 ac_cpp='$CXXCPP $CPPFLAGS'
43585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43588
43589       cat >conftest.$ac_ext <<_ACEOF
43590 /* confdefs.h.  */
43591 _ACEOF
43592 cat confdefs.h >>conftest.$ac_ext
43593 cat >>conftest.$ac_ext <<_ACEOF
43594 /* end confdefs.h.  */
43595 #include <math.h>
43596                       #ifdef HAVE_IEEEFP_H
43597                       #include <ieeefp.h>
43598                       #endif
43599
43600 int
43601 main ()
43602 {
43603  _isinf(0);
43604   ;
43605   return 0;
43606 }
43607 _ACEOF
43608 rm -f conftest.$ac_objext
43609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43610   (eval $ac_compile) 2>conftest.er1
43611   ac_status=$?
43612   grep -v '^ *+' conftest.er1 >conftest.err
43613   rm -f conftest.er1
43614   cat conftest.err >&5
43615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43616   (exit $ac_status); } &&
43617          { ac_try='test -z "$ac_cxx_werror_flag"
43618                          || test ! -s conftest.err'
43619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43620   (eval $ac_try) 2>&5
43621   ac_status=$?
43622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43623   (exit $ac_status); }; } &&
43624          { ac_try='test -s conftest.$ac_objext'
43625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43626   (eval $ac_try) 2>&5
43627   ac_status=$?
43628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629   (exit $ac_status); }; }; then
43630   glibcxx_cv_func__isinf_use=yes
43631 else
43632   echo "$as_me: failed program was:" >&5
43633 sed 's/^/| /' conftest.$ac_ext >&5
43634
43635 glibcxx_cv_func__isinf_use=no
43636 fi
43637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43638       ac_ext=c
43639 ac_cpp='$CPP $CPPFLAGS'
43640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43643
43644
43645 fi
43646
43647   fi
43648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43649 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43650
43651     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43652
43653 for ac_func in _isinf
43654 do
43655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43656 echo "$as_me:$LINENO: checking for $ac_func" >&5
43657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43658 if eval "test \"\${$as_ac_var+set}\" = set"; then
43659   echo $ECHO_N "(cached) $ECHO_C" >&6
43660 else
43661   if test x$gcc_no_link = xyes; then
43662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43664    { (exit 1); exit 1; }; }
43665 fi
43666 cat >conftest.$ac_ext <<_ACEOF
43667 /* confdefs.h.  */
43668 _ACEOF
43669 cat confdefs.h >>conftest.$ac_ext
43670 cat >>conftest.$ac_ext <<_ACEOF
43671 /* end confdefs.h.  */
43672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43674 #define $ac_func innocuous_$ac_func
43675
43676 /* System header to define __stub macros and hopefully few prototypes,
43677     which can conflict with char $ac_func (); below.
43678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43679     <limits.h> exists even on freestanding compilers.  */
43680
43681 #ifdef __STDC__
43682 # include <limits.h>
43683 #else
43684 # include <assert.h>
43685 #endif
43686
43687 #undef $ac_func
43688
43689 /* Override any gcc2 internal prototype to avoid an error.  */
43690 #ifdef __cplusplus
43691 extern "C"
43692 {
43693 #endif
43694 /* We use char because int might match the return type of a gcc2
43695    builtin and then its argument prototype would still apply.  */
43696 char $ac_func ();
43697 /* The GNU C library defines this for functions which it implements
43698     to always fail with ENOSYS.  Some functions are actually named
43699     something starting with __ and the normal name is an alias.  */
43700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43701 choke me
43702 #else
43703 char (*f) () = $ac_func;
43704 #endif
43705 #ifdef __cplusplus
43706 }
43707 #endif
43708
43709 int
43710 main ()
43711 {
43712 return f != $ac_func;
43713   ;
43714   return 0;
43715 }
43716 _ACEOF
43717 rm -f conftest.$ac_objext conftest$ac_exeext
43718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43719   (eval $ac_link) 2>conftest.er1
43720   ac_status=$?
43721   grep -v '^ *+' conftest.er1 >conftest.err
43722   rm -f conftest.er1
43723   cat conftest.err >&5
43724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43725   (exit $ac_status); } &&
43726          { ac_try='test -z "$ac_c_werror_flag"
43727                          || test ! -s conftest.err'
43728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43729   (eval $ac_try) 2>&5
43730   ac_status=$?
43731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732   (exit $ac_status); }; } &&
43733          { ac_try='test -s conftest$ac_exeext'
43734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43735   (eval $ac_try) 2>&5
43736   ac_status=$?
43737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738   (exit $ac_status); }; }; then
43739   eval "$as_ac_var=yes"
43740 else
43741   echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.$ac_ext >&5
43743
43744 eval "$as_ac_var=no"
43745 fi
43746 rm -f conftest.err conftest.$ac_objext \
43747       conftest$ac_exeext conftest.$ac_ext
43748 fi
43749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43751 if test `eval echo '${'$as_ac_var'}'` = yes; then
43752   cat >>confdefs.h <<_ACEOF
43753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43754 _ACEOF
43755
43756 fi
43757 done
43758
43759     fi
43760   fi
43761
43762
43763
43764
43765
43766
43767   echo "$as_me:$LINENO: checking for isnan declaration" >&5
43768 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43769   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43770     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43771   echo $ECHO_N "(cached) $ECHO_C" >&6
43772 else
43773
43774
43775
43776       ac_ext=cc
43777 ac_cpp='$CXXCPP $CPPFLAGS'
43778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43781
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 #include <math.h>
43789                       #ifdef HAVE_IEEEFP_H
43790                       #include <ieeefp.h>
43791                       #endif
43792
43793 int
43794 main ()
43795 {
43796  isnan(0);
43797   ;
43798   return 0;
43799 }
43800 _ACEOF
43801 rm -f conftest.$ac_objext
43802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43803   (eval $ac_compile) 2>conftest.er1
43804   ac_status=$?
43805   grep -v '^ *+' conftest.er1 >conftest.err
43806   rm -f conftest.er1
43807   cat conftest.err >&5
43808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809   (exit $ac_status); } &&
43810          { ac_try='test -z "$ac_cxx_werror_flag"
43811                          || test ! -s conftest.err'
43812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43813   (eval $ac_try) 2>&5
43814   ac_status=$?
43815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43816   (exit $ac_status); }; } &&
43817          { ac_try='test -s conftest.$ac_objext'
43818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43819   (eval $ac_try) 2>&5
43820   ac_status=$?
43821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822   (exit $ac_status); }; }; then
43823   glibcxx_cv_func_isnan_use=yes
43824 else
43825   echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43827
43828 glibcxx_cv_func_isnan_use=no
43829 fi
43830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43831       ac_ext=c
43832 ac_cpp='$CPP $CPPFLAGS'
43833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43836
43837
43838 fi
43839
43840   fi
43841   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43842 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43843
43844   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43845
43846 for ac_func in isnan
43847 do
43848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43849 echo "$as_me:$LINENO: checking for $ac_func" >&5
43850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43851 if eval "test \"\${$as_ac_var+set}\" = set"; then
43852   echo $ECHO_N "(cached) $ECHO_C" >&6
43853 else
43854   if test x$gcc_no_link = xyes; then
43855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43857    { (exit 1); exit 1; }; }
43858 fi
43859 cat >conftest.$ac_ext <<_ACEOF
43860 /* confdefs.h.  */
43861 _ACEOF
43862 cat confdefs.h >>conftest.$ac_ext
43863 cat >>conftest.$ac_ext <<_ACEOF
43864 /* end confdefs.h.  */
43865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43867 #define $ac_func innocuous_$ac_func
43868
43869 /* System header to define __stub macros and hopefully few prototypes,
43870     which can conflict with char $ac_func (); below.
43871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43872     <limits.h> exists even on freestanding compilers.  */
43873
43874 #ifdef __STDC__
43875 # include <limits.h>
43876 #else
43877 # include <assert.h>
43878 #endif
43879
43880 #undef $ac_func
43881
43882 /* Override any gcc2 internal prototype to avoid an error.  */
43883 #ifdef __cplusplus
43884 extern "C"
43885 {
43886 #endif
43887 /* We use char because int might match the return type of a gcc2
43888    builtin and then its argument prototype would still apply.  */
43889 char $ac_func ();
43890 /* The GNU C library defines this for functions which it implements
43891     to always fail with ENOSYS.  Some functions are actually named
43892     something starting with __ and the normal name is an alias.  */
43893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43894 choke me
43895 #else
43896 char (*f) () = $ac_func;
43897 #endif
43898 #ifdef __cplusplus
43899 }
43900 #endif
43901
43902 int
43903 main ()
43904 {
43905 return f != $ac_func;
43906   ;
43907   return 0;
43908 }
43909 _ACEOF
43910 rm -f conftest.$ac_objext conftest$ac_exeext
43911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43912   (eval $ac_link) 2>conftest.er1
43913   ac_status=$?
43914   grep -v '^ *+' conftest.er1 >conftest.err
43915   rm -f conftest.er1
43916   cat conftest.err >&5
43917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918   (exit $ac_status); } &&
43919          { ac_try='test -z "$ac_c_werror_flag"
43920                          || test ! -s conftest.err'
43921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43922   (eval $ac_try) 2>&5
43923   ac_status=$?
43924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925   (exit $ac_status); }; } &&
43926          { ac_try='test -s conftest$ac_exeext'
43927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43928   (eval $ac_try) 2>&5
43929   ac_status=$?
43930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931   (exit $ac_status); }; }; then
43932   eval "$as_ac_var=yes"
43933 else
43934   echo "$as_me: failed program was:" >&5
43935 sed 's/^/| /' conftest.$ac_ext >&5
43936
43937 eval "$as_ac_var=no"
43938 fi
43939 rm -f conftest.err conftest.$ac_objext \
43940       conftest$ac_exeext conftest.$ac_ext
43941 fi
43942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43944 if test `eval echo '${'$as_ac_var'}'` = yes; then
43945   cat >>confdefs.h <<_ACEOF
43946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43947 _ACEOF
43948
43949 fi
43950 done
43951
43952   else
43953
43954   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43955 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43956   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43957     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43958   echo $ECHO_N "(cached) $ECHO_C" >&6
43959 else
43960
43961
43962
43963       ac_ext=cc
43964 ac_cpp='$CXXCPP $CPPFLAGS'
43965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43968
43969       cat >conftest.$ac_ext <<_ACEOF
43970 /* confdefs.h.  */
43971 _ACEOF
43972 cat confdefs.h >>conftest.$ac_ext
43973 cat >>conftest.$ac_ext <<_ACEOF
43974 /* end confdefs.h.  */
43975 #include <math.h>
43976                       #ifdef HAVE_IEEEFP_H
43977                       #include <ieeefp.h>
43978                       #endif
43979
43980 int
43981 main ()
43982 {
43983  _isnan(0);
43984   ;
43985   return 0;
43986 }
43987 _ACEOF
43988 rm -f conftest.$ac_objext
43989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43990   (eval $ac_compile) 2>conftest.er1
43991   ac_status=$?
43992   grep -v '^ *+' conftest.er1 >conftest.err
43993   rm -f conftest.er1
43994   cat conftest.err >&5
43995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996   (exit $ac_status); } &&
43997          { ac_try='test -z "$ac_cxx_werror_flag"
43998                          || test ! -s conftest.err'
43999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44000   (eval $ac_try) 2>&5
44001   ac_status=$?
44002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003   (exit $ac_status); }; } &&
44004          { ac_try='test -s conftest.$ac_objext'
44005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44006   (eval $ac_try) 2>&5
44007   ac_status=$?
44008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44009   (exit $ac_status); }; }; then
44010   glibcxx_cv_func__isnan_use=yes
44011 else
44012   echo "$as_me: failed program was:" >&5
44013 sed 's/^/| /' conftest.$ac_ext >&5
44014
44015 glibcxx_cv_func__isnan_use=no
44016 fi
44017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44018       ac_ext=c
44019 ac_cpp='$CPP $CPPFLAGS'
44020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44023
44024
44025 fi
44026
44027   fi
44028   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44029 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44030
44031     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44032
44033 for ac_func in _isnan
44034 do
44035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44036 echo "$as_me:$LINENO: checking for $ac_func" >&5
44037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44038 if eval "test \"\${$as_ac_var+set}\" = set"; then
44039   echo $ECHO_N "(cached) $ECHO_C" >&6
44040 else
44041   if test x$gcc_no_link = xyes; then
44042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44044    { (exit 1); exit 1; }; }
44045 fi
44046 cat >conftest.$ac_ext <<_ACEOF
44047 /* confdefs.h.  */
44048 _ACEOF
44049 cat confdefs.h >>conftest.$ac_ext
44050 cat >>conftest.$ac_ext <<_ACEOF
44051 /* end confdefs.h.  */
44052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44054 #define $ac_func innocuous_$ac_func
44055
44056 /* System header to define __stub macros and hopefully few prototypes,
44057     which can conflict with char $ac_func (); below.
44058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44059     <limits.h> exists even on freestanding compilers.  */
44060
44061 #ifdef __STDC__
44062 # include <limits.h>
44063 #else
44064 # include <assert.h>
44065 #endif
44066
44067 #undef $ac_func
44068
44069 /* Override any gcc2 internal prototype to avoid an error.  */
44070 #ifdef __cplusplus
44071 extern "C"
44072 {
44073 #endif
44074 /* We use char because int might match the return type of a gcc2
44075    builtin and then its argument prototype would still apply.  */
44076 char $ac_func ();
44077 /* The GNU C library defines this for functions which it implements
44078     to always fail with ENOSYS.  Some functions are actually named
44079     something starting with __ and the normal name is an alias.  */
44080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44081 choke me
44082 #else
44083 char (*f) () = $ac_func;
44084 #endif
44085 #ifdef __cplusplus
44086 }
44087 #endif
44088
44089 int
44090 main ()
44091 {
44092 return f != $ac_func;
44093   ;
44094   return 0;
44095 }
44096 _ACEOF
44097 rm -f conftest.$ac_objext conftest$ac_exeext
44098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44099   (eval $ac_link) 2>conftest.er1
44100   ac_status=$?
44101   grep -v '^ *+' conftest.er1 >conftest.err
44102   rm -f conftest.er1
44103   cat conftest.err >&5
44104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44105   (exit $ac_status); } &&
44106          { ac_try='test -z "$ac_c_werror_flag"
44107                          || test ! -s conftest.err'
44108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44109   (eval $ac_try) 2>&5
44110   ac_status=$?
44111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112   (exit $ac_status); }; } &&
44113          { ac_try='test -s conftest$ac_exeext'
44114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44115   (eval $ac_try) 2>&5
44116   ac_status=$?
44117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118   (exit $ac_status); }; }; then
44119   eval "$as_ac_var=yes"
44120 else
44121   echo "$as_me: failed program was:" >&5
44122 sed 's/^/| /' conftest.$ac_ext >&5
44123
44124 eval "$as_ac_var=no"
44125 fi
44126 rm -f conftest.err conftest.$ac_objext \
44127       conftest$ac_exeext conftest.$ac_ext
44128 fi
44129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44131 if test `eval echo '${'$as_ac_var'}'` = yes; then
44132   cat >>confdefs.h <<_ACEOF
44133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44134 _ACEOF
44135
44136 fi
44137 done
44138
44139     fi
44140   fi
44141
44142
44143
44144
44145
44146
44147   echo "$as_me:$LINENO: checking for finite declaration" >&5
44148 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44149   if test x${glibcxx_cv_func_finite_use+set} != xset; then
44150     if test "${glibcxx_cv_func_finite_use+set}" = set; then
44151   echo $ECHO_N "(cached) $ECHO_C" >&6
44152 else
44153
44154
44155
44156       ac_ext=cc
44157 ac_cpp='$CXXCPP $CPPFLAGS'
44158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44161
44162       cat >conftest.$ac_ext <<_ACEOF
44163 /* confdefs.h.  */
44164 _ACEOF
44165 cat confdefs.h >>conftest.$ac_ext
44166 cat >>conftest.$ac_ext <<_ACEOF
44167 /* end confdefs.h.  */
44168 #include <math.h>
44169                       #ifdef HAVE_IEEEFP_H
44170                       #include <ieeefp.h>
44171                       #endif
44172
44173 int
44174 main ()
44175 {
44176  finite(0);
44177   ;
44178   return 0;
44179 }
44180 _ACEOF
44181 rm -f conftest.$ac_objext
44182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44183   (eval $ac_compile) 2>conftest.er1
44184   ac_status=$?
44185   grep -v '^ *+' conftest.er1 >conftest.err
44186   rm -f conftest.er1
44187   cat conftest.err >&5
44188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44189   (exit $ac_status); } &&
44190          { ac_try='test -z "$ac_cxx_werror_flag"
44191                          || test ! -s conftest.err'
44192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44193   (eval $ac_try) 2>&5
44194   ac_status=$?
44195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44196   (exit $ac_status); }; } &&
44197          { ac_try='test -s conftest.$ac_objext'
44198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44199   (eval $ac_try) 2>&5
44200   ac_status=$?
44201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44202   (exit $ac_status); }; }; then
44203   glibcxx_cv_func_finite_use=yes
44204 else
44205   echo "$as_me: failed program was:" >&5
44206 sed 's/^/| /' conftest.$ac_ext >&5
44207
44208 glibcxx_cv_func_finite_use=no
44209 fi
44210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44211       ac_ext=c
44212 ac_cpp='$CPP $CPPFLAGS'
44213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44216
44217
44218 fi
44219
44220   fi
44221   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44222 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44223
44224   if test x$glibcxx_cv_func_finite_use = x"yes"; then
44225
44226 for ac_func in finite
44227 do
44228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44229 echo "$as_me:$LINENO: checking for $ac_func" >&5
44230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44231 if eval "test \"\${$as_ac_var+set}\" = set"; then
44232   echo $ECHO_N "(cached) $ECHO_C" >&6
44233 else
44234   if test x$gcc_no_link = xyes; then
44235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44237    { (exit 1); exit 1; }; }
44238 fi
44239 cat >conftest.$ac_ext <<_ACEOF
44240 /* confdefs.h.  */
44241 _ACEOF
44242 cat confdefs.h >>conftest.$ac_ext
44243 cat >>conftest.$ac_ext <<_ACEOF
44244 /* end confdefs.h.  */
44245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44246    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44247 #define $ac_func innocuous_$ac_func
44248
44249 /* System header to define __stub macros and hopefully few prototypes,
44250     which can conflict with char $ac_func (); below.
44251     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44252     <limits.h> exists even on freestanding compilers.  */
44253
44254 #ifdef __STDC__
44255 # include <limits.h>
44256 #else
44257 # include <assert.h>
44258 #endif
44259
44260 #undef $ac_func
44261
44262 /* Override any gcc2 internal prototype to avoid an error.  */
44263 #ifdef __cplusplus
44264 extern "C"
44265 {
44266 #endif
44267 /* We use char because int might match the return type of a gcc2
44268    builtin and then its argument prototype would still apply.  */
44269 char $ac_func ();
44270 /* The GNU C library defines this for functions which it implements
44271     to always fail with ENOSYS.  Some functions are actually named
44272     something starting with __ and the normal name is an alias.  */
44273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44274 choke me
44275 #else
44276 char (*f) () = $ac_func;
44277 #endif
44278 #ifdef __cplusplus
44279 }
44280 #endif
44281
44282 int
44283 main ()
44284 {
44285 return f != $ac_func;
44286   ;
44287   return 0;
44288 }
44289 _ACEOF
44290 rm -f conftest.$ac_objext conftest$ac_exeext
44291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44292   (eval $ac_link) 2>conftest.er1
44293   ac_status=$?
44294   grep -v '^ *+' conftest.er1 >conftest.err
44295   rm -f conftest.er1
44296   cat conftest.err >&5
44297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44298   (exit $ac_status); } &&
44299          { ac_try='test -z "$ac_c_werror_flag"
44300                          || test ! -s conftest.err'
44301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44302   (eval $ac_try) 2>&5
44303   ac_status=$?
44304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44305   (exit $ac_status); }; } &&
44306          { ac_try='test -s conftest$ac_exeext'
44307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44308   (eval $ac_try) 2>&5
44309   ac_status=$?
44310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44311   (exit $ac_status); }; }; then
44312   eval "$as_ac_var=yes"
44313 else
44314   echo "$as_me: failed program was:" >&5
44315 sed 's/^/| /' conftest.$ac_ext >&5
44316
44317 eval "$as_ac_var=no"
44318 fi
44319 rm -f conftest.err conftest.$ac_objext \
44320       conftest$ac_exeext conftest.$ac_ext
44321 fi
44322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44324 if test `eval echo '${'$as_ac_var'}'` = yes; then
44325   cat >>confdefs.h <<_ACEOF
44326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44327 _ACEOF
44328
44329 fi
44330 done
44331
44332   else
44333
44334   echo "$as_me:$LINENO: checking for _finite declaration" >&5
44335 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44336   if test x${glibcxx_cv_func__finite_use+set} != xset; then
44337     if test "${glibcxx_cv_func__finite_use+set}" = set; then
44338   echo $ECHO_N "(cached) $ECHO_C" >&6
44339 else
44340
44341
44342
44343       ac_ext=cc
44344 ac_cpp='$CXXCPP $CPPFLAGS'
44345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44348
44349       cat >conftest.$ac_ext <<_ACEOF
44350 /* confdefs.h.  */
44351 _ACEOF
44352 cat confdefs.h >>conftest.$ac_ext
44353 cat >>conftest.$ac_ext <<_ACEOF
44354 /* end confdefs.h.  */
44355 #include <math.h>
44356                       #ifdef HAVE_IEEEFP_H
44357                       #include <ieeefp.h>
44358                       #endif
44359
44360 int
44361 main ()
44362 {
44363  _finite(0);
44364   ;
44365   return 0;
44366 }
44367 _ACEOF
44368 rm -f conftest.$ac_objext
44369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44370   (eval $ac_compile) 2>conftest.er1
44371   ac_status=$?
44372   grep -v '^ *+' conftest.er1 >conftest.err
44373   rm -f conftest.er1
44374   cat conftest.err >&5
44375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376   (exit $ac_status); } &&
44377          { ac_try='test -z "$ac_cxx_werror_flag"
44378                          || test ! -s conftest.err'
44379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44380   (eval $ac_try) 2>&5
44381   ac_status=$?
44382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44383   (exit $ac_status); }; } &&
44384          { ac_try='test -s conftest.$ac_objext'
44385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44386   (eval $ac_try) 2>&5
44387   ac_status=$?
44388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44389   (exit $ac_status); }; }; then
44390   glibcxx_cv_func__finite_use=yes
44391 else
44392   echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44394
44395 glibcxx_cv_func__finite_use=no
44396 fi
44397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44398       ac_ext=c
44399 ac_cpp='$CPP $CPPFLAGS'
44400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44403
44404
44405 fi
44406
44407   fi
44408   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44409 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44410
44411     if test x$glibcxx_cv_func__finite_use = x"yes"; then
44412
44413 for ac_func in _finite
44414 do
44415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44416 echo "$as_me:$LINENO: checking for $ac_func" >&5
44417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44418 if eval "test \"\${$as_ac_var+set}\" = set"; then
44419   echo $ECHO_N "(cached) $ECHO_C" >&6
44420 else
44421   if test x$gcc_no_link = xyes; then
44422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44424    { (exit 1); exit 1; }; }
44425 fi
44426 cat >conftest.$ac_ext <<_ACEOF
44427 /* confdefs.h.  */
44428 _ACEOF
44429 cat confdefs.h >>conftest.$ac_ext
44430 cat >>conftest.$ac_ext <<_ACEOF
44431 /* end confdefs.h.  */
44432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44434 #define $ac_func innocuous_$ac_func
44435
44436 /* System header to define __stub macros and hopefully few prototypes,
44437     which can conflict with char $ac_func (); below.
44438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44439     <limits.h> exists even on freestanding compilers.  */
44440
44441 #ifdef __STDC__
44442 # include <limits.h>
44443 #else
44444 # include <assert.h>
44445 #endif
44446
44447 #undef $ac_func
44448
44449 /* Override any gcc2 internal prototype to avoid an error.  */
44450 #ifdef __cplusplus
44451 extern "C"
44452 {
44453 #endif
44454 /* We use char because int might match the return type of a gcc2
44455    builtin and then its argument prototype would still apply.  */
44456 char $ac_func ();
44457 /* The GNU C library defines this for functions which it implements
44458     to always fail with ENOSYS.  Some functions are actually named
44459     something starting with __ and the normal name is an alias.  */
44460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44461 choke me
44462 #else
44463 char (*f) () = $ac_func;
44464 #endif
44465 #ifdef __cplusplus
44466 }
44467 #endif
44468
44469 int
44470 main ()
44471 {
44472 return f != $ac_func;
44473   ;
44474   return 0;
44475 }
44476 _ACEOF
44477 rm -f conftest.$ac_objext conftest$ac_exeext
44478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44479   (eval $ac_link) 2>conftest.er1
44480   ac_status=$?
44481   grep -v '^ *+' conftest.er1 >conftest.err
44482   rm -f conftest.er1
44483   cat conftest.err >&5
44484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44485   (exit $ac_status); } &&
44486          { ac_try='test -z "$ac_c_werror_flag"
44487                          || test ! -s conftest.err'
44488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44489   (eval $ac_try) 2>&5
44490   ac_status=$?
44491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492   (exit $ac_status); }; } &&
44493          { ac_try='test -s conftest$ac_exeext'
44494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44495   (eval $ac_try) 2>&5
44496   ac_status=$?
44497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44498   (exit $ac_status); }; }; then
44499   eval "$as_ac_var=yes"
44500 else
44501   echo "$as_me: failed program was:" >&5
44502 sed 's/^/| /' conftest.$ac_ext >&5
44503
44504 eval "$as_ac_var=no"
44505 fi
44506 rm -f conftest.err conftest.$ac_objext \
44507       conftest$ac_exeext conftest.$ac_ext
44508 fi
44509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44511 if test `eval echo '${'$as_ac_var'}'` = yes; then
44512   cat >>confdefs.h <<_ACEOF
44513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44514 _ACEOF
44515
44516 fi
44517 done
44518
44519     fi
44520   fi
44521
44522
44523
44524
44525
44526
44527   echo "$as_me:$LINENO: checking for copysign declaration" >&5
44528 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44529   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44530     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44531   echo $ECHO_N "(cached) $ECHO_C" >&6
44532 else
44533
44534
44535
44536       ac_ext=cc
44537 ac_cpp='$CXXCPP $CPPFLAGS'
44538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44541
44542       cat >conftest.$ac_ext <<_ACEOF
44543 /* confdefs.h.  */
44544 _ACEOF
44545 cat confdefs.h >>conftest.$ac_ext
44546 cat >>conftest.$ac_ext <<_ACEOF
44547 /* end confdefs.h.  */
44548 #include <math.h>
44549 int
44550 main ()
44551 {
44552  copysign(0, 0);
44553   ;
44554   return 0;
44555 }
44556 _ACEOF
44557 rm -f conftest.$ac_objext
44558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44559   (eval $ac_compile) 2>conftest.er1
44560   ac_status=$?
44561   grep -v '^ *+' conftest.er1 >conftest.err
44562   rm -f conftest.er1
44563   cat conftest.err >&5
44564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44565   (exit $ac_status); } &&
44566          { ac_try='test -z "$ac_cxx_werror_flag"
44567                          || test ! -s conftest.err'
44568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44569   (eval $ac_try) 2>&5
44570   ac_status=$?
44571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44572   (exit $ac_status); }; } &&
44573          { ac_try='test -s conftest.$ac_objext'
44574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44575   (eval $ac_try) 2>&5
44576   ac_status=$?
44577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44578   (exit $ac_status); }; }; then
44579   glibcxx_cv_func_copysign_use=yes
44580 else
44581   echo "$as_me: failed program was:" >&5
44582 sed 's/^/| /' conftest.$ac_ext >&5
44583
44584 glibcxx_cv_func_copysign_use=no
44585 fi
44586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44587       ac_ext=c
44588 ac_cpp='$CPP $CPPFLAGS'
44589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44592
44593
44594 fi
44595
44596   fi
44597   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44598 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44599
44600   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44601
44602 for ac_func in copysign
44603 do
44604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44605 echo "$as_me:$LINENO: checking for $ac_func" >&5
44606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44607 if eval "test \"\${$as_ac_var+set}\" = set"; then
44608   echo $ECHO_N "(cached) $ECHO_C" >&6
44609 else
44610   if test x$gcc_no_link = xyes; then
44611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44613    { (exit 1); exit 1; }; }
44614 fi
44615 cat >conftest.$ac_ext <<_ACEOF
44616 /* confdefs.h.  */
44617 _ACEOF
44618 cat confdefs.h >>conftest.$ac_ext
44619 cat >>conftest.$ac_ext <<_ACEOF
44620 /* end confdefs.h.  */
44621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44623 #define $ac_func innocuous_$ac_func
44624
44625 /* System header to define __stub macros and hopefully few prototypes,
44626     which can conflict with char $ac_func (); below.
44627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44628     <limits.h> exists even on freestanding compilers.  */
44629
44630 #ifdef __STDC__
44631 # include <limits.h>
44632 #else
44633 # include <assert.h>
44634 #endif
44635
44636 #undef $ac_func
44637
44638 /* Override any gcc2 internal prototype to avoid an error.  */
44639 #ifdef __cplusplus
44640 extern "C"
44641 {
44642 #endif
44643 /* We use char because int might match the return type of a gcc2
44644    builtin and then its argument prototype would still apply.  */
44645 char $ac_func ();
44646 /* The GNU C library defines this for functions which it implements
44647     to always fail with ENOSYS.  Some functions are actually named
44648     something starting with __ and the normal name is an alias.  */
44649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44650 choke me
44651 #else
44652 char (*f) () = $ac_func;
44653 #endif
44654 #ifdef __cplusplus
44655 }
44656 #endif
44657
44658 int
44659 main ()
44660 {
44661 return f != $ac_func;
44662   ;
44663   return 0;
44664 }
44665 _ACEOF
44666 rm -f conftest.$ac_objext conftest$ac_exeext
44667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44668   (eval $ac_link) 2>conftest.er1
44669   ac_status=$?
44670   grep -v '^ *+' conftest.er1 >conftest.err
44671   rm -f conftest.er1
44672   cat conftest.err >&5
44673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44674   (exit $ac_status); } &&
44675          { ac_try='test -z "$ac_c_werror_flag"
44676                          || test ! -s conftest.err'
44677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44678   (eval $ac_try) 2>&5
44679   ac_status=$?
44680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44681   (exit $ac_status); }; } &&
44682          { ac_try='test -s conftest$ac_exeext'
44683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44684   (eval $ac_try) 2>&5
44685   ac_status=$?
44686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687   (exit $ac_status); }; }; then
44688   eval "$as_ac_var=yes"
44689 else
44690   echo "$as_me: failed program was:" >&5
44691 sed 's/^/| /' conftest.$ac_ext >&5
44692
44693 eval "$as_ac_var=no"
44694 fi
44695 rm -f conftest.err conftest.$ac_objext \
44696       conftest$ac_exeext conftest.$ac_ext
44697 fi
44698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44700 if test `eval echo '${'$as_ac_var'}'` = yes; then
44701   cat >>confdefs.h <<_ACEOF
44702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44703 _ACEOF
44704
44705 fi
44706 done
44707
44708   else
44709
44710   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44711 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44712   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44713     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44714   echo $ECHO_N "(cached) $ECHO_C" >&6
44715 else
44716
44717
44718
44719       ac_ext=cc
44720 ac_cpp='$CXXCPP $CPPFLAGS'
44721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44724
44725       cat >conftest.$ac_ext <<_ACEOF
44726 /* confdefs.h.  */
44727 _ACEOF
44728 cat confdefs.h >>conftest.$ac_ext
44729 cat >>conftest.$ac_ext <<_ACEOF
44730 /* end confdefs.h.  */
44731 #include <math.h>
44732 int
44733 main ()
44734 {
44735  _copysign(0, 0);
44736   ;
44737   return 0;
44738 }
44739 _ACEOF
44740 rm -f conftest.$ac_objext
44741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44742   (eval $ac_compile) 2>conftest.er1
44743   ac_status=$?
44744   grep -v '^ *+' conftest.er1 >conftest.err
44745   rm -f conftest.er1
44746   cat conftest.err >&5
44747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44748   (exit $ac_status); } &&
44749          { ac_try='test -z "$ac_cxx_werror_flag"
44750                          || test ! -s conftest.err'
44751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44752   (eval $ac_try) 2>&5
44753   ac_status=$?
44754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44755   (exit $ac_status); }; } &&
44756          { ac_try='test -s conftest.$ac_objext'
44757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44758   (eval $ac_try) 2>&5
44759   ac_status=$?
44760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44761   (exit $ac_status); }; }; then
44762   glibcxx_cv_func__copysign_use=yes
44763 else
44764   echo "$as_me: failed program was:" >&5
44765 sed 's/^/| /' conftest.$ac_ext >&5
44766
44767 glibcxx_cv_func__copysign_use=no
44768 fi
44769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44770       ac_ext=c
44771 ac_cpp='$CPP $CPPFLAGS'
44772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44775
44776
44777 fi
44778
44779   fi
44780   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44781 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44782
44783     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44784
44785 for ac_func in _copysign
44786 do
44787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44788 echo "$as_me:$LINENO: checking for $ac_func" >&5
44789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44790 if eval "test \"\${$as_ac_var+set}\" = set"; then
44791   echo $ECHO_N "(cached) $ECHO_C" >&6
44792 else
44793   if test x$gcc_no_link = xyes; then
44794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44796    { (exit 1); exit 1; }; }
44797 fi
44798 cat >conftest.$ac_ext <<_ACEOF
44799 /* confdefs.h.  */
44800 _ACEOF
44801 cat confdefs.h >>conftest.$ac_ext
44802 cat >>conftest.$ac_ext <<_ACEOF
44803 /* end confdefs.h.  */
44804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44806 #define $ac_func innocuous_$ac_func
44807
44808 /* System header to define __stub macros and hopefully few prototypes,
44809     which can conflict with char $ac_func (); below.
44810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44811     <limits.h> exists even on freestanding compilers.  */
44812
44813 #ifdef __STDC__
44814 # include <limits.h>
44815 #else
44816 # include <assert.h>
44817 #endif
44818
44819 #undef $ac_func
44820
44821 /* Override any gcc2 internal prototype to avoid an error.  */
44822 #ifdef __cplusplus
44823 extern "C"
44824 {
44825 #endif
44826 /* We use char because int might match the return type of a gcc2
44827    builtin and then its argument prototype would still apply.  */
44828 char $ac_func ();
44829 /* The GNU C library defines this for functions which it implements
44830     to always fail with ENOSYS.  Some functions are actually named
44831     something starting with __ and the normal name is an alias.  */
44832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44833 choke me
44834 #else
44835 char (*f) () = $ac_func;
44836 #endif
44837 #ifdef __cplusplus
44838 }
44839 #endif
44840
44841 int
44842 main ()
44843 {
44844 return f != $ac_func;
44845   ;
44846   return 0;
44847 }
44848 _ACEOF
44849 rm -f conftest.$ac_objext conftest$ac_exeext
44850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44851   (eval $ac_link) 2>conftest.er1
44852   ac_status=$?
44853   grep -v '^ *+' conftest.er1 >conftest.err
44854   rm -f conftest.er1
44855   cat conftest.err >&5
44856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857   (exit $ac_status); } &&
44858          { ac_try='test -z "$ac_c_werror_flag"
44859                          || test ! -s conftest.err'
44860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44861   (eval $ac_try) 2>&5
44862   ac_status=$?
44863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864   (exit $ac_status); }; } &&
44865          { ac_try='test -s conftest$ac_exeext'
44866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44867   (eval $ac_try) 2>&5
44868   ac_status=$?
44869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870   (exit $ac_status); }; }; then
44871   eval "$as_ac_var=yes"
44872 else
44873   echo "$as_me: failed program was:" >&5
44874 sed 's/^/| /' conftest.$ac_ext >&5
44875
44876 eval "$as_ac_var=no"
44877 fi
44878 rm -f conftest.err conftest.$ac_objext \
44879       conftest$ac_exeext conftest.$ac_ext
44880 fi
44881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44883 if test `eval echo '${'$as_ac_var'}'` = yes; then
44884   cat >>confdefs.h <<_ACEOF
44885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44886 _ACEOF
44887
44888 fi
44889 done
44890
44891     fi
44892   fi
44893
44894
44895
44896
44897
44898
44899   echo "$as_me:$LINENO: checking for sincos declaration" >&5
44900 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44901   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44902     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44903   echo $ECHO_N "(cached) $ECHO_C" >&6
44904 else
44905
44906
44907
44908       ac_ext=cc
44909 ac_cpp='$CXXCPP $CPPFLAGS'
44910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44913
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 #include <math.h>
44921 int
44922 main ()
44923 {
44924  sincos(0, 0, 0);
44925   ;
44926   return 0;
44927 }
44928 _ACEOF
44929 rm -f conftest.$ac_objext
44930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44931   (eval $ac_compile) 2>conftest.er1
44932   ac_status=$?
44933   grep -v '^ *+' conftest.er1 >conftest.err
44934   rm -f conftest.er1
44935   cat conftest.err >&5
44936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44937   (exit $ac_status); } &&
44938          { ac_try='test -z "$ac_cxx_werror_flag"
44939                          || test ! -s conftest.err'
44940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44941   (eval $ac_try) 2>&5
44942   ac_status=$?
44943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944   (exit $ac_status); }; } &&
44945          { ac_try='test -s conftest.$ac_objext'
44946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44947   (eval $ac_try) 2>&5
44948   ac_status=$?
44949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44950   (exit $ac_status); }; }; then
44951   glibcxx_cv_func_sincos_use=yes
44952 else
44953   echo "$as_me: failed program was:" >&5
44954 sed 's/^/| /' conftest.$ac_ext >&5
44955
44956 glibcxx_cv_func_sincos_use=no
44957 fi
44958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44959       ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44964
44965
44966 fi
44967
44968   fi
44969   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44970 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44971
44972   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44973
44974 for ac_func in sincos
44975 do
44976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44977 echo "$as_me:$LINENO: checking for $ac_func" >&5
44978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44979 if eval "test \"\${$as_ac_var+set}\" = set"; then
44980   echo $ECHO_N "(cached) $ECHO_C" >&6
44981 else
44982   if test x$gcc_no_link = xyes; then
44983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44985    { (exit 1); exit 1; }; }
44986 fi
44987 cat >conftest.$ac_ext <<_ACEOF
44988 /* confdefs.h.  */
44989 _ACEOF
44990 cat confdefs.h >>conftest.$ac_ext
44991 cat >>conftest.$ac_ext <<_ACEOF
44992 /* end confdefs.h.  */
44993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44995 #define $ac_func innocuous_$ac_func
44996
44997 /* System header to define __stub macros and hopefully few prototypes,
44998     which can conflict with char $ac_func (); below.
44999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45000     <limits.h> exists even on freestanding compilers.  */
45001
45002 #ifdef __STDC__
45003 # include <limits.h>
45004 #else
45005 # include <assert.h>
45006 #endif
45007
45008 #undef $ac_func
45009
45010 /* Override any gcc2 internal prototype to avoid an error.  */
45011 #ifdef __cplusplus
45012 extern "C"
45013 {
45014 #endif
45015 /* We use char because int might match the return type of a gcc2
45016    builtin and then its argument prototype would still apply.  */
45017 char $ac_func ();
45018 /* The GNU C library defines this for functions which it implements
45019     to always fail with ENOSYS.  Some functions are actually named
45020     something starting with __ and the normal name is an alias.  */
45021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45022 choke me
45023 #else
45024 char (*f) () = $ac_func;
45025 #endif
45026 #ifdef __cplusplus
45027 }
45028 #endif
45029
45030 int
45031 main ()
45032 {
45033 return f != $ac_func;
45034   ;
45035   return 0;
45036 }
45037 _ACEOF
45038 rm -f conftest.$ac_objext conftest$ac_exeext
45039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45040   (eval $ac_link) 2>conftest.er1
45041   ac_status=$?
45042   grep -v '^ *+' conftest.er1 >conftest.err
45043   rm -f conftest.er1
45044   cat conftest.err >&5
45045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046   (exit $ac_status); } &&
45047          { ac_try='test -z "$ac_c_werror_flag"
45048                          || test ! -s conftest.err'
45049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45050   (eval $ac_try) 2>&5
45051   ac_status=$?
45052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45053   (exit $ac_status); }; } &&
45054          { ac_try='test -s conftest$ac_exeext'
45055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45056   (eval $ac_try) 2>&5
45057   ac_status=$?
45058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059   (exit $ac_status); }; }; then
45060   eval "$as_ac_var=yes"
45061 else
45062   echo "$as_me: failed program was:" >&5
45063 sed 's/^/| /' conftest.$ac_ext >&5
45064
45065 eval "$as_ac_var=no"
45066 fi
45067 rm -f conftest.err conftest.$ac_objext \
45068       conftest$ac_exeext conftest.$ac_ext
45069 fi
45070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45072 if test `eval echo '${'$as_ac_var'}'` = yes; then
45073   cat >>confdefs.h <<_ACEOF
45074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45075 _ACEOF
45076
45077 fi
45078 done
45079
45080   else
45081
45082   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45083 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45084   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45085     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45086   echo $ECHO_N "(cached) $ECHO_C" >&6
45087 else
45088
45089
45090
45091       ac_ext=cc
45092 ac_cpp='$CXXCPP $CPPFLAGS'
45093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45096
45097       cat >conftest.$ac_ext <<_ACEOF
45098 /* confdefs.h.  */
45099 _ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h.  */
45103 #include <math.h>
45104 int
45105 main ()
45106 {
45107  _sincos(0, 0, 0);
45108   ;
45109   return 0;
45110 }
45111 _ACEOF
45112 rm -f conftest.$ac_objext
45113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45114   (eval $ac_compile) 2>conftest.er1
45115   ac_status=$?
45116   grep -v '^ *+' conftest.er1 >conftest.err
45117   rm -f conftest.er1
45118   cat conftest.err >&5
45119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45120   (exit $ac_status); } &&
45121          { ac_try='test -z "$ac_cxx_werror_flag"
45122                          || test ! -s conftest.err'
45123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124   (eval $ac_try) 2>&5
45125   ac_status=$?
45126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127   (exit $ac_status); }; } &&
45128          { ac_try='test -s conftest.$ac_objext'
45129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130   (eval $ac_try) 2>&5
45131   ac_status=$?
45132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133   (exit $ac_status); }; }; then
45134   glibcxx_cv_func__sincos_use=yes
45135 else
45136   echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.$ac_ext >&5
45138
45139 glibcxx_cv_func__sincos_use=no
45140 fi
45141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45142       ac_ext=c
45143 ac_cpp='$CPP $CPPFLAGS'
45144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45147
45148
45149 fi
45150
45151   fi
45152   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45153 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45154
45155     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45156
45157 for ac_func in _sincos
45158 do
45159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45160 echo "$as_me:$LINENO: checking for $ac_func" >&5
45161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45162 if eval "test \"\${$as_ac_var+set}\" = set"; then
45163   echo $ECHO_N "(cached) $ECHO_C" >&6
45164 else
45165   if test x$gcc_no_link = xyes; then
45166   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45168    { (exit 1); exit 1; }; }
45169 fi
45170 cat >conftest.$ac_ext <<_ACEOF
45171 /* confdefs.h.  */
45172 _ACEOF
45173 cat confdefs.h >>conftest.$ac_ext
45174 cat >>conftest.$ac_ext <<_ACEOF
45175 /* end confdefs.h.  */
45176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45177    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45178 #define $ac_func innocuous_$ac_func
45179
45180 /* System header to define __stub macros and hopefully few prototypes,
45181     which can conflict with char $ac_func (); below.
45182     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45183     <limits.h> exists even on freestanding compilers.  */
45184
45185 #ifdef __STDC__
45186 # include <limits.h>
45187 #else
45188 # include <assert.h>
45189 #endif
45190
45191 #undef $ac_func
45192
45193 /* Override any gcc2 internal prototype to avoid an error.  */
45194 #ifdef __cplusplus
45195 extern "C"
45196 {
45197 #endif
45198 /* We use char because int might match the return type of a gcc2
45199    builtin and then its argument prototype would still apply.  */
45200 char $ac_func ();
45201 /* The GNU C library defines this for functions which it implements
45202     to always fail with ENOSYS.  Some functions are actually named
45203     something starting with __ and the normal name is an alias.  */
45204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45205 choke me
45206 #else
45207 char (*f) () = $ac_func;
45208 #endif
45209 #ifdef __cplusplus
45210 }
45211 #endif
45212
45213 int
45214 main ()
45215 {
45216 return f != $ac_func;
45217   ;
45218   return 0;
45219 }
45220 _ACEOF
45221 rm -f conftest.$ac_objext conftest$ac_exeext
45222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45223   (eval $ac_link) 2>conftest.er1
45224   ac_status=$?
45225   grep -v '^ *+' conftest.er1 >conftest.err
45226   rm -f conftest.er1
45227   cat conftest.err >&5
45228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45229   (exit $ac_status); } &&
45230          { ac_try='test -z "$ac_c_werror_flag"
45231                          || test ! -s conftest.err'
45232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45233   (eval $ac_try) 2>&5
45234   ac_status=$?
45235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45236   (exit $ac_status); }; } &&
45237          { ac_try='test -s conftest$ac_exeext'
45238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45239   (eval $ac_try) 2>&5
45240   ac_status=$?
45241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242   (exit $ac_status); }; }; then
45243   eval "$as_ac_var=yes"
45244 else
45245   echo "$as_me: failed program was:" >&5
45246 sed 's/^/| /' conftest.$ac_ext >&5
45247
45248 eval "$as_ac_var=no"
45249 fi
45250 rm -f conftest.err conftest.$ac_objext \
45251       conftest$ac_exeext conftest.$ac_ext
45252 fi
45253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45255 if test `eval echo '${'$as_ac_var'}'` = yes; then
45256   cat >>confdefs.h <<_ACEOF
45257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45258 _ACEOF
45259
45260 fi
45261 done
45262
45263     fi
45264   fi
45265
45266
45267
45268
45269
45270
45271   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45272 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45273   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45274     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45275   echo $ECHO_N "(cached) $ECHO_C" >&6
45276 else
45277
45278
45279
45280       ac_ext=cc
45281 ac_cpp='$CXXCPP $CPPFLAGS'
45282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45285
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 #include <math.h>
45293                       #ifdef HAVE_IEEEFP_H
45294                       #include <ieeefp.h>
45295                       #endif
45296
45297 int
45298 main ()
45299 {
45300  fpclass(0);
45301   ;
45302   return 0;
45303 }
45304 _ACEOF
45305 rm -f conftest.$ac_objext
45306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45307   (eval $ac_compile) 2>conftest.er1
45308   ac_status=$?
45309   grep -v '^ *+' conftest.er1 >conftest.err
45310   rm -f conftest.er1
45311   cat conftest.err >&5
45312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45313   (exit $ac_status); } &&
45314          { ac_try='test -z "$ac_cxx_werror_flag"
45315                          || test ! -s conftest.err'
45316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45317   (eval $ac_try) 2>&5
45318   ac_status=$?
45319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45320   (exit $ac_status); }; } &&
45321          { ac_try='test -s conftest.$ac_objext'
45322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45323   (eval $ac_try) 2>&5
45324   ac_status=$?
45325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45326   (exit $ac_status); }; }; then
45327   glibcxx_cv_func_fpclass_use=yes
45328 else
45329   echo "$as_me: failed program was:" >&5
45330 sed 's/^/| /' conftest.$ac_ext >&5
45331
45332 glibcxx_cv_func_fpclass_use=no
45333 fi
45334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45335       ac_ext=c
45336 ac_cpp='$CPP $CPPFLAGS'
45337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45340
45341
45342 fi
45343
45344   fi
45345   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45346 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45347
45348   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45349
45350 for ac_func in fpclass
45351 do
45352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45353 echo "$as_me:$LINENO: checking for $ac_func" >&5
45354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45355 if eval "test \"\${$as_ac_var+set}\" = set"; then
45356   echo $ECHO_N "(cached) $ECHO_C" >&6
45357 else
45358   if test x$gcc_no_link = xyes; then
45359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45361    { (exit 1); exit 1; }; }
45362 fi
45363 cat >conftest.$ac_ext <<_ACEOF
45364 /* confdefs.h.  */
45365 _ACEOF
45366 cat confdefs.h >>conftest.$ac_ext
45367 cat >>conftest.$ac_ext <<_ACEOF
45368 /* end confdefs.h.  */
45369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45370    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45371 #define $ac_func innocuous_$ac_func
45372
45373 /* System header to define __stub macros and hopefully few prototypes,
45374     which can conflict with char $ac_func (); below.
45375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45376     <limits.h> exists even on freestanding compilers.  */
45377
45378 #ifdef __STDC__
45379 # include <limits.h>
45380 #else
45381 # include <assert.h>
45382 #endif
45383
45384 #undef $ac_func
45385
45386 /* Override any gcc2 internal prototype to avoid an error.  */
45387 #ifdef __cplusplus
45388 extern "C"
45389 {
45390 #endif
45391 /* We use char because int might match the return type of a gcc2
45392    builtin and then its argument prototype would still apply.  */
45393 char $ac_func ();
45394 /* The GNU C library defines this for functions which it implements
45395     to always fail with ENOSYS.  Some functions are actually named
45396     something starting with __ and the normal name is an alias.  */
45397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45398 choke me
45399 #else
45400 char (*f) () = $ac_func;
45401 #endif
45402 #ifdef __cplusplus
45403 }
45404 #endif
45405
45406 int
45407 main ()
45408 {
45409 return f != $ac_func;
45410   ;
45411   return 0;
45412 }
45413 _ACEOF
45414 rm -f conftest.$ac_objext conftest$ac_exeext
45415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45416   (eval $ac_link) 2>conftest.er1
45417   ac_status=$?
45418   grep -v '^ *+' conftest.er1 >conftest.err
45419   rm -f conftest.er1
45420   cat conftest.err >&5
45421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45422   (exit $ac_status); } &&
45423          { ac_try='test -z "$ac_c_werror_flag"
45424                          || test ! -s conftest.err'
45425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45426   (eval $ac_try) 2>&5
45427   ac_status=$?
45428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429   (exit $ac_status); }; } &&
45430          { ac_try='test -s conftest$ac_exeext'
45431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45432   (eval $ac_try) 2>&5
45433   ac_status=$?
45434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435   (exit $ac_status); }; }; then
45436   eval "$as_ac_var=yes"
45437 else
45438   echo "$as_me: failed program was:" >&5
45439 sed 's/^/| /' conftest.$ac_ext >&5
45440
45441 eval "$as_ac_var=no"
45442 fi
45443 rm -f conftest.err conftest.$ac_objext \
45444       conftest$ac_exeext conftest.$ac_ext
45445 fi
45446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45448 if test `eval echo '${'$as_ac_var'}'` = yes; then
45449   cat >>confdefs.h <<_ACEOF
45450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45451 _ACEOF
45452
45453 fi
45454 done
45455
45456   else
45457
45458   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45459 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45460   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45461     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45462   echo $ECHO_N "(cached) $ECHO_C" >&6
45463 else
45464
45465
45466
45467       ac_ext=cc
45468 ac_cpp='$CXXCPP $CPPFLAGS'
45469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45472
45473       cat >conftest.$ac_ext <<_ACEOF
45474 /* confdefs.h.  */
45475 _ACEOF
45476 cat confdefs.h >>conftest.$ac_ext
45477 cat >>conftest.$ac_ext <<_ACEOF
45478 /* end confdefs.h.  */
45479 #include <math.h>
45480                       #ifdef HAVE_IEEEFP_H
45481                       #include <ieeefp.h>
45482                       #endif
45483
45484 int
45485 main ()
45486 {
45487  _fpclass(0);
45488   ;
45489   return 0;
45490 }
45491 _ACEOF
45492 rm -f conftest.$ac_objext
45493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45494   (eval $ac_compile) 2>conftest.er1
45495   ac_status=$?
45496   grep -v '^ *+' conftest.er1 >conftest.err
45497   rm -f conftest.er1
45498   cat conftest.err >&5
45499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45500   (exit $ac_status); } &&
45501          { ac_try='test -z "$ac_cxx_werror_flag"
45502                          || test ! -s conftest.err'
45503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45504   (eval $ac_try) 2>&5
45505   ac_status=$?
45506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507   (exit $ac_status); }; } &&
45508          { ac_try='test -s conftest.$ac_objext'
45509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45510   (eval $ac_try) 2>&5
45511   ac_status=$?
45512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45513   (exit $ac_status); }; }; then
45514   glibcxx_cv_func__fpclass_use=yes
45515 else
45516   echo "$as_me: failed program was:" >&5
45517 sed 's/^/| /' conftest.$ac_ext >&5
45518
45519 glibcxx_cv_func__fpclass_use=no
45520 fi
45521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45522       ac_ext=c
45523 ac_cpp='$CPP $CPPFLAGS'
45524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45527
45528
45529 fi
45530
45531   fi
45532   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45533 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45534
45535     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45536
45537 for ac_func in _fpclass
45538 do
45539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45540 echo "$as_me:$LINENO: checking for $ac_func" >&5
45541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45542 if eval "test \"\${$as_ac_var+set}\" = set"; then
45543   echo $ECHO_N "(cached) $ECHO_C" >&6
45544 else
45545   if test x$gcc_no_link = xyes; then
45546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45548    { (exit 1); exit 1; }; }
45549 fi
45550 cat >conftest.$ac_ext <<_ACEOF
45551 /* confdefs.h.  */
45552 _ACEOF
45553 cat confdefs.h >>conftest.$ac_ext
45554 cat >>conftest.$ac_ext <<_ACEOF
45555 /* end confdefs.h.  */
45556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45558 #define $ac_func innocuous_$ac_func
45559
45560 /* System header to define __stub macros and hopefully few prototypes,
45561     which can conflict with char $ac_func (); below.
45562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45563     <limits.h> exists even on freestanding compilers.  */
45564
45565 #ifdef __STDC__
45566 # include <limits.h>
45567 #else
45568 # include <assert.h>
45569 #endif
45570
45571 #undef $ac_func
45572
45573 /* Override any gcc2 internal prototype to avoid an error.  */
45574 #ifdef __cplusplus
45575 extern "C"
45576 {
45577 #endif
45578 /* We use char because int might match the return type of a gcc2
45579    builtin and then its argument prototype would still apply.  */
45580 char $ac_func ();
45581 /* The GNU C library defines this for functions which it implements
45582     to always fail with ENOSYS.  Some functions are actually named
45583     something starting with __ and the normal name is an alias.  */
45584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45585 choke me
45586 #else
45587 char (*f) () = $ac_func;
45588 #endif
45589 #ifdef __cplusplus
45590 }
45591 #endif
45592
45593 int
45594 main ()
45595 {
45596 return f != $ac_func;
45597   ;
45598   return 0;
45599 }
45600 _ACEOF
45601 rm -f conftest.$ac_objext conftest$ac_exeext
45602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45603   (eval $ac_link) 2>conftest.er1
45604   ac_status=$?
45605   grep -v '^ *+' conftest.er1 >conftest.err
45606   rm -f conftest.er1
45607   cat conftest.err >&5
45608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45609   (exit $ac_status); } &&
45610          { ac_try='test -z "$ac_c_werror_flag"
45611                          || test ! -s conftest.err'
45612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45613   (eval $ac_try) 2>&5
45614   ac_status=$?
45615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45616   (exit $ac_status); }; } &&
45617          { ac_try='test -s conftest$ac_exeext'
45618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45619   (eval $ac_try) 2>&5
45620   ac_status=$?
45621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45622   (exit $ac_status); }; }; then
45623   eval "$as_ac_var=yes"
45624 else
45625   echo "$as_me: failed program was:" >&5
45626 sed 's/^/| /' conftest.$ac_ext >&5
45627
45628 eval "$as_ac_var=no"
45629 fi
45630 rm -f conftest.err conftest.$ac_objext \
45631       conftest$ac_exeext conftest.$ac_ext
45632 fi
45633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45635 if test `eval echo '${'$as_ac_var'}'` = yes; then
45636   cat >>confdefs.h <<_ACEOF
45637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45638 _ACEOF
45639
45640 fi
45641 done
45642
45643     fi
45644   fi
45645
45646
45647
45648
45649
45650
45651   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45652 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45653   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45654     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45655   echo $ECHO_N "(cached) $ECHO_C" >&6
45656 else
45657
45658
45659
45660       ac_ext=cc
45661 ac_cpp='$CXXCPP $CPPFLAGS'
45662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45665
45666       cat >conftest.$ac_ext <<_ACEOF
45667 /* confdefs.h.  */
45668 _ACEOF
45669 cat confdefs.h >>conftest.$ac_ext
45670 cat >>conftest.$ac_ext <<_ACEOF
45671 /* end confdefs.h.  */
45672 #include <math.h>
45673                       #ifdef HAVE_IEEEFP_H
45674                       #include <ieeefp.h>
45675                       #endif
45676
45677 int
45678 main ()
45679 {
45680  qfpclass(0);
45681   ;
45682   return 0;
45683 }
45684 _ACEOF
45685 rm -f conftest.$ac_objext
45686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45687   (eval $ac_compile) 2>conftest.er1
45688   ac_status=$?
45689   grep -v '^ *+' conftest.er1 >conftest.err
45690   rm -f conftest.er1
45691   cat conftest.err >&5
45692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45693   (exit $ac_status); } &&
45694          { ac_try='test -z "$ac_cxx_werror_flag"
45695                          || test ! -s conftest.err'
45696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45697   (eval $ac_try) 2>&5
45698   ac_status=$?
45699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45700   (exit $ac_status); }; } &&
45701          { ac_try='test -s conftest.$ac_objext'
45702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45703   (eval $ac_try) 2>&5
45704   ac_status=$?
45705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45706   (exit $ac_status); }; }; then
45707   glibcxx_cv_func_qfpclass_use=yes
45708 else
45709   echo "$as_me: failed program was:" >&5
45710 sed 's/^/| /' conftest.$ac_ext >&5
45711
45712 glibcxx_cv_func_qfpclass_use=no
45713 fi
45714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45715       ac_ext=c
45716 ac_cpp='$CPP $CPPFLAGS'
45717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45720
45721
45722 fi
45723
45724   fi
45725   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45726 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45727
45728   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45729
45730 for ac_func in qfpclass
45731 do
45732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45733 echo "$as_me:$LINENO: checking for $ac_func" >&5
45734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45735 if eval "test \"\${$as_ac_var+set}\" = set"; then
45736   echo $ECHO_N "(cached) $ECHO_C" >&6
45737 else
45738   if test x$gcc_no_link = xyes; then
45739   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45741    { (exit 1); exit 1; }; }
45742 fi
45743 cat >conftest.$ac_ext <<_ACEOF
45744 /* confdefs.h.  */
45745 _ACEOF
45746 cat confdefs.h >>conftest.$ac_ext
45747 cat >>conftest.$ac_ext <<_ACEOF
45748 /* end confdefs.h.  */
45749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45750    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45751 #define $ac_func innocuous_$ac_func
45752
45753 /* System header to define __stub macros and hopefully few prototypes,
45754     which can conflict with char $ac_func (); below.
45755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45756     <limits.h> exists even on freestanding compilers.  */
45757
45758 #ifdef __STDC__
45759 # include <limits.h>
45760 #else
45761 # include <assert.h>
45762 #endif
45763
45764 #undef $ac_func
45765
45766 /* Override any gcc2 internal prototype to avoid an error.  */
45767 #ifdef __cplusplus
45768 extern "C"
45769 {
45770 #endif
45771 /* We use char because int might match the return type of a gcc2
45772    builtin and then its argument prototype would still apply.  */
45773 char $ac_func ();
45774 /* The GNU C library defines this for functions which it implements
45775     to always fail with ENOSYS.  Some functions are actually named
45776     something starting with __ and the normal name is an alias.  */
45777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45778 choke me
45779 #else
45780 char (*f) () = $ac_func;
45781 #endif
45782 #ifdef __cplusplus
45783 }
45784 #endif
45785
45786 int
45787 main ()
45788 {
45789 return f != $ac_func;
45790   ;
45791   return 0;
45792 }
45793 _ACEOF
45794 rm -f conftest.$ac_objext conftest$ac_exeext
45795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45796   (eval $ac_link) 2>conftest.er1
45797   ac_status=$?
45798   grep -v '^ *+' conftest.er1 >conftest.err
45799   rm -f conftest.er1
45800   cat conftest.err >&5
45801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45802   (exit $ac_status); } &&
45803          { ac_try='test -z "$ac_c_werror_flag"
45804                          || test ! -s conftest.err'
45805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45806   (eval $ac_try) 2>&5
45807   ac_status=$?
45808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45809   (exit $ac_status); }; } &&
45810          { ac_try='test -s conftest$ac_exeext'
45811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45812   (eval $ac_try) 2>&5
45813   ac_status=$?
45814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45815   (exit $ac_status); }; }; then
45816   eval "$as_ac_var=yes"
45817 else
45818   echo "$as_me: failed program was:" >&5
45819 sed 's/^/| /' conftest.$ac_ext >&5
45820
45821 eval "$as_ac_var=no"
45822 fi
45823 rm -f conftest.err conftest.$ac_objext \
45824       conftest$ac_exeext conftest.$ac_ext
45825 fi
45826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45828 if test `eval echo '${'$as_ac_var'}'` = yes; then
45829   cat >>confdefs.h <<_ACEOF
45830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45831 _ACEOF
45832
45833 fi
45834 done
45835
45836   else
45837
45838   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45839 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45840   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45841     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45842   echo $ECHO_N "(cached) $ECHO_C" >&6
45843 else
45844
45845
45846
45847       ac_ext=cc
45848 ac_cpp='$CXXCPP $CPPFLAGS'
45849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852
45853       cat >conftest.$ac_ext <<_ACEOF
45854 /* confdefs.h.  */
45855 _ACEOF
45856 cat confdefs.h >>conftest.$ac_ext
45857 cat >>conftest.$ac_ext <<_ACEOF
45858 /* end confdefs.h.  */
45859 #include <math.h>
45860                       #ifdef HAVE_IEEEFP_H
45861                       #include <ieeefp.h>
45862                       #endif
45863
45864 int
45865 main ()
45866 {
45867  _qfpclass(0);
45868   ;
45869   return 0;
45870 }
45871 _ACEOF
45872 rm -f conftest.$ac_objext
45873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45874   (eval $ac_compile) 2>conftest.er1
45875   ac_status=$?
45876   grep -v '^ *+' conftest.er1 >conftest.err
45877   rm -f conftest.er1
45878   cat conftest.err >&5
45879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45880   (exit $ac_status); } &&
45881          { ac_try='test -z "$ac_cxx_werror_flag"
45882                          || test ! -s conftest.err'
45883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45884   (eval $ac_try) 2>&5
45885   ac_status=$?
45886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45887   (exit $ac_status); }; } &&
45888          { ac_try='test -s conftest.$ac_objext'
45889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45890   (eval $ac_try) 2>&5
45891   ac_status=$?
45892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45893   (exit $ac_status); }; }; then
45894   glibcxx_cv_func__qfpclass_use=yes
45895 else
45896   echo "$as_me: failed program was:" >&5
45897 sed 's/^/| /' conftest.$ac_ext >&5
45898
45899 glibcxx_cv_func__qfpclass_use=no
45900 fi
45901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45902       ac_ext=c
45903 ac_cpp='$CPP $CPPFLAGS'
45904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45907
45908
45909 fi
45910
45911   fi
45912   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45913 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45914
45915     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45916
45917 for ac_func in _qfpclass
45918 do
45919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45920 echo "$as_me:$LINENO: checking for $ac_func" >&5
45921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45922 if eval "test \"\${$as_ac_var+set}\" = set"; then
45923   echo $ECHO_N "(cached) $ECHO_C" >&6
45924 else
45925   if test x$gcc_no_link = xyes; then
45926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45928    { (exit 1); exit 1; }; }
45929 fi
45930 cat >conftest.$ac_ext <<_ACEOF
45931 /* confdefs.h.  */
45932 _ACEOF
45933 cat confdefs.h >>conftest.$ac_ext
45934 cat >>conftest.$ac_ext <<_ACEOF
45935 /* end confdefs.h.  */
45936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45938 #define $ac_func innocuous_$ac_func
45939
45940 /* System header to define __stub macros and hopefully few prototypes,
45941     which can conflict with char $ac_func (); below.
45942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45943     <limits.h> exists even on freestanding compilers.  */
45944
45945 #ifdef __STDC__
45946 # include <limits.h>
45947 #else
45948 # include <assert.h>
45949 #endif
45950
45951 #undef $ac_func
45952
45953 /* Override any gcc2 internal prototype to avoid an error.  */
45954 #ifdef __cplusplus
45955 extern "C"
45956 {
45957 #endif
45958 /* We use char because int might match the return type of a gcc2
45959    builtin and then its argument prototype would still apply.  */
45960 char $ac_func ();
45961 /* The GNU C library defines this for functions which it implements
45962     to always fail with ENOSYS.  Some functions are actually named
45963     something starting with __ and the normal name is an alias.  */
45964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45965 choke me
45966 #else
45967 char (*f) () = $ac_func;
45968 #endif
45969 #ifdef __cplusplus
45970 }
45971 #endif
45972
45973 int
45974 main ()
45975 {
45976 return f != $ac_func;
45977   ;
45978   return 0;
45979 }
45980 _ACEOF
45981 rm -f conftest.$ac_objext conftest$ac_exeext
45982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45983   (eval $ac_link) 2>conftest.er1
45984   ac_status=$?
45985   grep -v '^ *+' conftest.er1 >conftest.err
45986   rm -f conftest.er1
45987   cat conftest.err >&5
45988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45989   (exit $ac_status); } &&
45990          { ac_try='test -z "$ac_c_werror_flag"
45991                          || test ! -s conftest.err'
45992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45993   (eval $ac_try) 2>&5
45994   ac_status=$?
45995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45996   (exit $ac_status); }; } &&
45997          { ac_try='test -s conftest$ac_exeext'
45998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45999   (eval $ac_try) 2>&5
46000   ac_status=$?
46001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46002   (exit $ac_status); }; }; then
46003   eval "$as_ac_var=yes"
46004 else
46005   echo "$as_me: failed program was:" >&5
46006 sed 's/^/| /' conftest.$ac_ext >&5
46007
46008 eval "$as_ac_var=no"
46009 fi
46010 rm -f conftest.err conftest.$ac_objext \
46011       conftest$ac_exeext conftest.$ac_ext
46012 fi
46013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46015 if test `eval echo '${'$as_ac_var'}'` = yes; then
46016   cat >>confdefs.h <<_ACEOF
46017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46018 _ACEOF
46019
46020 fi
46021 done
46022
46023     fi
46024   fi
46025
46026
46027
46028
46029
46030
46031   echo "$as_me:$LINENO: checking for hypot declaration" >&5
46032 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46033   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46034     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46035   echo $ECHO_N "(cached) $ECHO_C" >&6
46036 else
46037
46038
46039
46040       ac_ext=cc
46041 ac_cpp='$CXXCPP $CPPFLAGS'
46042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46045
46046       cat >conftest.$ac_ext <<_ACEOF
46047 /* confdefs.h.  */
46048 _ACEOF
46049 cat confdefs.h >>conftest.$ac_ext
46050 cat >>conftest.$ac_ext <<_ACEOF
46051 /* end confdefs.h.  */
46052 #include <math.h>
46053 int
46054 main ()
46055 {
46056  hypot(0, 0);
46057   ;
46058   return 0;
46059 }
46060 _ACEOF
46061 rm -f conftest.$ac_objext
46062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46063   (eval $ac_compile) 2>conftest.er1
46064   ac_status=$?
46065   grep -v '^ *+' conftest.er1 >conftest.err
46066   rm -f conftest.er1
46067   cat conftest.err >&5
46068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46069   (exit $ac_status); } &&
46070          { ac_try='test -z "$ac_cxx_werror_flag"
46071                          || test ! -s conftest.err'
46072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46073   (eval $ac_try) 2>&5
46074   ac_status=$?
46075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46076   (exit $ac_status); }; } &&
46077          { ac_try='test -s conftest.$ac_objext'
46078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46079   (eval $ac_try) 2>&5
46080   ac_status=$?
46081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46082   (exit $ac_status); }; }; then
46083   glibcxx_cv_func_hypot_use=yes
46084 else
46085   echo "$as_me: failed program was:" >&5
46086 sed 's/^/| /' conftest.$ac_ext >&5
46087
46088 glibcxx_cv_func_hypot_use=no
46089 fi
46090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46091       ac_ext=c
46092 ac_cpp='$CPP $CPPFLAGS'
46093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46096
46097
46098 fi
46099
46100   fi
46101   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46102 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46103
46104   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46105
46106 for ac_func in hypot
46107 do
46108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46109 echo "$as_me:$LINENO: checking for $ac_func" >&5
46110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46111 if eval "test \"\${$as_ac_var+set}\" = set"; then
46112   echo $ECHO_N "(cached) $ECHO_C" >&6
46113 else
46114   if test x$gcc_no_link = xyes; then
46115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46117    { (exit 1); exit 1; }; }
46118 fi
46119 cat >conftest.$ac_ext <<_ACEOF
46120 /* confdefs.h.  */
46121 _ACEOF
46122 cat confdefs.h >>conftest.$ac_ext
46123 cat >>conftest.$ac_ext <<_ACEOF
46124 /* end confdefs.h.  */
46125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46126    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46127 #define $ac_func innocuous_$ac_func
46128
46129 /* System header to define __stub macros and hopefully few prototypes,
46130     which can conflict with char $ac_func (); below.
46131     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46132     <limits.h> exists even on freestanding compilers.  */
46133
46134 #ifdef __STDC__
46135 # include <limits.h>
46136 #else
46137 # include <assert.h>
46138 #endif
46139
46140 #undef $ac_func
46141
46142 /* Override any gcc2 internal prototype to avoid an error.  */
46143 #ifdef __cplusplus
46144 extern "C"
46145 {
46146 #endif
46147 /* We use char because int might match the return type of a gcc2
46148    builtin and then its argument prototype would still apply.  */
46149 char $ac_func ();
46150 /* The GNU C library defines this for functions which it implements
46151     to always fail with ENOSYS.  Some functions are actually named
46152     something starting with __ and the normal name is an alias.  */
46153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46154 choke me
46155 #else
46156 char (*f) () = $ac_func;
46157 #endif
46158 #ifdef __cplusplus
46159 }
46160 #endif
46161
46162 int
46163 main ()
46164 {
46165 return f != $ac_func;
46166   ;
46167   return 0;
46168 }
46169 _ACEOF
46170 rm -f conftest.$ac_objext conftest$ac_exeext
46171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46172   (eval $ac_link) 2>conftest.er1
46173   ac_status=$?
46174   grep -v '^ *+' conftest.er1 >conftest.err
46175   rm -f conftest.er1
46176   cat conftest.err >&5
46177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46178   (exit $ac_status); } &&
46179          { ac_try='test -z "$ac_c_werror_flag"
46180                          || test ! -s conftest.err'
46181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46182   (eval $ac_try) 2>&5
46183   ac_status=$?
46184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46185   (exit $ac_status); }; } &&
46186          { ac_try='test -s conftest$ac_exeext'
46187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46188   (eval $ac_try) 2>&5
46189   ac_status=$?
46190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191   (exit $ac_status); }; }; then
46192   eval "$as_ac_var=yes"
46193 else
46194   echo "$as_me: failed program was:" >&5
46195 sed 's/^/| /' conftest.$ac_ext >&5
46196
46197 eval "$as_ac_var=no"
46198 fi
46199 rm -f conftest.err conftest.$ac_objext \
46200       conftest$ac_exeext conftest.$ac_ext
46201 fi
46202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46204 if test `eval echo '${'$as_ac_var'}'` = yes; then
46205   cat >>confdefs.h <<_ACEOF
46206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46207 _ACEOF
46208
46209 fi
46210 done
46211
46212   else
46213
46214   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46215 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46216   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46217     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46218   echo $ECHO_N "(cached) $ECHO_C" >&6
46219 else
46220
46221
46222
46223       ac_ext=cc
46224 ac_cpp='$CXXCPP $CPPFLAGS'
46225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46228
46229       cat >conftest.$ac_ext <<_ACEOF
46230 /* confdefs.h.  */
46231 _ACEOF
46232 cat confdefs.h >>conftest.$ac_ext
46233 cat >>conftest.$ac_ext <<_ACEOF
46234 /* end confdefs.h.  */
46235 #include <math.h>
46236 int
46237 main ()
46238 {
46239  _hypot(0, 0);
46240   ;
46241   return 0;
46242 }
46243 _ACEOF
46244 rm -f conftest.$ac_objext
46245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46246   (eval $ac_compile) 2>conftest.er1
46247   ac_status=$?
46248   grep -v '^ *+' conftest.er1 >conftest.err
46249   rm -f conftest.er1
46250   cat conftest.err >&5
46251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252   (exit $ac_status); } &&
46253          { ac_try='test -z "$ac_cxx_werror_flag"
46254                          || test ! -s conftest.err'
46255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46256   (eval $ac_try) 2>&5
46257   ac_status=$?
46258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46259   (exit $ac_status); }; } &&
46260          { ac_try='test -s conftest.$ac_objext'
46261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46262   (eval $ac_try) 2>&5
46263   ac_status=$?
46264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46265   (exit $ac_status); }; }; then
46266   glibcxx_cv_func__hypot_use=yes
46267 else
46268   echo "$as_me: failed program was:" >&5
46269 sed 's/^/| /' conftest.$ac_ext >&5
46270
46271 glibcxx_cv_func__hypot_use=no
46272 fi
46273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46274       ac_ext=c
46275 ac_cpp='$CPP $CPPFLAGS'
46276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46279
46280
46281 fi
46282
46283   fi
46284   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46285 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46286
46287     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46288
46289 for ac_func in _hypot
46290 do
46291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46292 echo "$as_me:$LINENO: checking for $ac_func" >&5
46293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46294 if eval "test \"\${$as_ac_var+set}\" = set"; then
46295   echo $ECHO_N "(cached) $ECHO_C" >&6
46296 else
46297   if test x$gcc_no_link = xyes; then
46298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46300    { (exit 1); exit 1; }; }
46301 fi
46302 cat >conftest.$ac_ext <<_ACEOF
46303 /* confdefs.h.  */
46304 _ACEOF
46305 cat confdefs.h >>conftest.$ac_ext
46306 cat >>conftest.$ac_ext <<_ACEOF
46307 /* end confdefs.h.  */
46308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46310 #define $ac_func innocuous_$ac_func
46311
46312 /* System header to define __stub macros and hopefully few prototypes,
46313     which can conflict with char $ac_func (); below.
46314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46315     <limits.h> exists even on freestanding compilers.  */
46316
46317 #ifdef __STDC__
46318 # include <limits.h>
46319 #else
46320 # include <assert.h>
46321 #endif
46322
46323 #undef $ac_func
46324
46325 /* Override any gcc2 internal prototype to avoid an error.  */
46326 #ifdef __cplusplus
46327 extern "C"
46328 {
46329 #endif
46330 /* We use char because int might match the return type of a gcc2
46331    builtin and then its argument prototype would still apply.  */
46332 char $ac_func ();
46333 /* The GNU C library defines this for functions which it implements
46334     to always fail with ENOSYS.  Some functions are actually named
46335     something starting with __ and the normal name is an alias.  */
46336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46337 choke me
46338 #else
46339 char (*f) () = $ac_func;
46340 #endif
46341 #ifdef __cplusplus
46342 }
46343 #endif
46344
46345 int
46346 main ()
46347 {
46348 return f != $ac_func;
46349   ;
46350   return 0;
46351 }
46352 _ACEOF
46353 rm -f conftest.$ac_objext conftest$ac_exeext
46354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46355   (eval $ac_link) 2>conftest.er1
46356   ac_status=$?
46357   grep -v '^ *+' conftest.er1 >conftest.err
46358   rm -f conftest.er1
46359   cat conftest.err >&5
46360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46361   (exit $ac_status); } &&
46362          { ac_try='test -z "$ac_c_werror_flag"
46363                          || test ! -s conftest.err'
46364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46365   (eval $ac_try) 2>&5
46366   ac_status=$?
46367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46368   (exit $ac_status); }; } &&
46369          { ac_try='test -s conftest$ac_exeext'
46370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46371   (eval $ac_try) 2>&5
46372   ac_status=$?
46373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46374   (exit $ac_status); }; }; then
46375   eval "$as_ac_var=yes"
46376 else
46377   echo "$as_me: failed program was:" >&5
46378 sed 's/^/| /' conftest.$ac_ext >&5
46379
46380 eval "$as_ac_var=no"
46381 fi
46382 rm -f conftest.err conftest.$ac_objext \
46383       conftest$ac_exeext conftest.$ac_ext
46384 fi
46385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46387 if test `eval echo '${'$as_ac_var'}'` = yes; then
46388   cat >>confdefs.h <<_ACEOF
46389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46390 _ACEOF
46391
46392 fi
46393 done
46394
46395     fi
46396   fi
46397
46398
46399
46400
46401
46402
46403     echo "$as_me:$LINENO: checking for float trig functions" >&5
46404 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46405   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46406   echo $ECHO_N "(cached) $ECHO_C" >&6
46407 else
46408
46409
46410
46411     ac_ext=cc
46412 ac_cpp='$CXXCPP $CPPFLAGS'
46413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46416
46417     cat >conftest.$ac_ext <<_ACEOF
46418 /* confdefs.h.  */
46419 _ACEOF
46420 cat confdefs.h >>conftest.$ac_ext
46421 cat >>conftest.$ac_ext <<_ACEOF
46422 /* end confdefs.h.  */
46423 #include <math.h>
46424 int
46425 main ()
46426 {
46427 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46428   ;
46429   return 0;
46430 }
46431 _ACEOF
46432 rm -f conftest.$ac_objext
46433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46434   (eval $ac_compile) 2>conftest.er1
46435   ac_status=$?
46436   grep -v '^ *+' conftest.er1 >conftest.err
46437   rm -f conftest.er1
46438   cat conftest.err >&5
46439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46440   (exit $ac_status); } &&
46441          { ac_try='test -z "$ac_cxx_werror_flag"
46442                          || test ! -s conftest.err'
46443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46444   (eval $ac_try) 2>&5
46445   ac_status=$?
46446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447   (exit $ac_status); }; } &&
46448          { ac_try='test -s conftest.$ac_objext'
46449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46450   (eval $ac_try) 2>&5
46451   ac_status=$?
46452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46453   (exit $ac_status); }; }; then
46454   glibcxx_cv_func_float_trig_use=yes
46455 else
46456   echo "$as_me: failed program was:" >&5
46457 sed 's/^/| /' conftest.$ac_ext >&5
46458
46459 glibcxx_cv_func_float_trig_use=no
46460 fi
46461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46462     ac_ext=c
46463 ac_cpp='$CPP $CPPFLAGS'
46464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46467
46468 fi
46469
46470   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46471 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46472   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46473
46474
46475
46476
46477
46478
46479
46480
46481
46482 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46483 do
46484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46485 echo "$as_me:$LINENO: checking for $ac_func" >&5
46486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46487 if eval "test \"\${$as_ac_var+set}\" = set"; then
46488   echo $ECHO_N "(cached) $ECHO_C" >&6
46489 else
46490   if test x$gcc_no_link = xyes; then
46491   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46493    { (exit 1); exit 1; }; }
46494 fi
46495 cat >conftest.$ac_ext <<_ACEOF
46496 /* confdefs.h.  */
46497 _ACEOF
46498 cat confdefs.h >>conftest.$ac_ext
46499 cat >>conftest.$ac_ext <<_ACEOF
46500 /* end confdefs.h.  */
46501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46502    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46503 #define $ac_func innocuous_$ac_func
46504
46505 /* System header to define __stub macros and hopefully few prototypes,
46506     which can conflict with char $ac_func (); below.
46507     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46508     <limits.h> exists even on freestanding compilers.  */
46509
46510 #ifdef __STDC__
46511 # include <limits.h>
46512 #else
46513 # include <assert.h>
46514 #endif
46515
46516 #undef $ac_func
46517
46518 /* Override any gcc2 internal prototype to avoid an error.  */
46519 #ifdef __cplusplus
46520 extern "C"
46521 {
46522 #endif
46523 /* We use char because int might match the return type of a gcc2
46524    builtin and then its argument prototype would still apply.  */
46525 char $ac_func ();
46526 /* The GNU C library defines this for functions which it implements
46527     to always fail with ENOSYS.  Some functions are actually named
46528     something starting with __ and the normal name is an alias.  */
46529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46530 choke me
46531 #else
46532 char (*f) () = $ac_func;
46533 #endif
46534 #ifdef __cplusplus
46535 }
46536 #endif
46537
46538 int
46539 main ()
46540 {
46541 return f != $ac_func;
46542   ;
46543   return 0;
46544 }
46545 _ACEOF
46546 rm -f conftest.$ac_objext conftest$ac_exeext
46547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46548   (eval $ac_link) 2>conftest.er1
46549   ac_status=$?
46550   grep -v '^ *+' conftest.er1 >conftest.err
46551   rm -f conftest.er1
46552   cat conftest.err >&5
46553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46554   (exit $ac_status); } &&
46555          { ac_try='test -z "$ac_c_werror_flag"
46556                          || test ! -s conftest.err'
46557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46558   (eval $ac_try) 2>&5
46559   ac_status=$?
46560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46561   (exit $ac_status); }; } &&
46562          { ac_try='test -s conftest$ac_exeext'
46563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46564   (eval $ac_try) 2>&5
46565   ac_status=$?
46566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46567   (exit $ac_status); }; }; then
46568   eval "$as_ac_var=yes"
46569 else
46570   echo "$as_me: failed program was:" >&5
46571 sed 's/^/| /' conftest.$ac_ext >&5
46572
46573 eval "$as_ac_var=no"
46574 fi
46575 rm -f conftest.err conftest.$ac_objext \
46576       conftest$ac_exeext conftest.$ac_ext
46577 fi
46578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46580 if test `eval echo '${'$as_ac_var'}'` = yes; then
46581   cat >>confdefs.h <<_ACEOF
46582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46583 _ACEOF
46584
46585 fi
46586 done
46587
46588   else
46589     echo "$as_me:$LINENO: checking for _float trig functions" >&5
46590 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46591     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46592   echo $ECHO_N "(cached) $ECHO_C" >&6
46593 else
46594
46595
46596
46597       ac_ext=cc
46598 ac_cpp='$CXXCPP $CPPFLAGS'
46599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46602
46603       cat >conftest.$ac_ext <<_ACEOF
46604 /* confdefs.h.  */
46605 _ACEOF
46606 cat confdefs.h >>conftest.$ac_ext
46607 cat >>conftest.$ac_ext <<_ACEOF
46608 /* end confdefs.h.  */
46609 #include <math.h>
46610 int
46611 main ()
46612 {
46613 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46614   ;
46615   return 0;
46616 }
46617 _ACEOF
46618 rm -f conftest.$ac_objext
46619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46620   (eval $ac_compile) 2>conftest.er1
46621   ac_status=$?
46622   grep -v '^ *+' conftest.er1 >conftest.err
46623   rm -f conftest.er1
46624   cat conftest.err >&5
46625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626   (exit $ac_status); } &&
46627          { ac_try='test -z "$ac_cxx_werror_flag"
46628                          || test ! -s conftest.err'
46629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46630   (eval $ac_try) 2>&5
46631   ac_status=$?
46632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633   (exit $ac_status); }; } &&
46634          { ac_try='test -s conftest.$ac_objext'
46635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46636   (eval $ac_try) 2>&5
46637   ac_status=$?
46638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46639   (exit $ac_status); }; }; then
46640   glibcxx_cv_func__float_trig_use=yes
46641 else
46642   echo "$as_me: failed program was:" >&5
46643 sed 's/^/| /' conftest.$ac_ext >&5
46644
46645 glibcxx_cv_func__float_trig_use=no
46646 fi
46647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46648       ac_ext=c
46649 ac_cpp='$CPP $CPPFLAGS'
46650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46653
46654 fi
46655
46656     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46657 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46658     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46659
46660
46661
46662
46663
46664
46665
46666
46667
46668 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46669 do
46670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46671 echo "$as_me:$LINENO: checking for $ac_func" >&5
46672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46673 if eval "test \"\${$as_ac_var+set}\" = set"; then
46674   echo $ECHO_N "(cached) $ECHO_C" >&6
46675 else
46676   if test x$gcc_no_link = xyes; then
46677   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46679    { (exit 1); exit 1; }; }
46680 fi
46681 cat >conftest.$ac_ext <<_ACEOF
46682 /* confdefs.h.  */
46683 _ACEOF
46684 cat confdefs.h >>conftest.$ac_ext
46685 cat >>conftest.$ac_ext <<_ACEOF
46686 /* end confdefs.h.  */
46687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46688    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46689 #define $ac_func innocuous_$ac_func
46690
46691 /* System header to define __stub macros and hopefully few prototypes,
46692     which can conflict with char $ac_func (); below.
46693     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46694     <limits.h> exists even on freestanding compilers.  */
46695
46696 #ifdef __STDC__
46697 # include <limits.h>
46698 #else
46699 # include <assert.h>
46700 #endif
46701
46702 #undef $ac_func
46703
46704 /* Override any gcc2 internal prototype to avoid an error.  */
46705 #ifdef __cplusplus
46706 extern "C"
46707 {
46708 #endif
46709 /* We use char because int might match the return type of a gcc2
46710    builtin and then its argument prototype would still apply.  */
46711 char $ac_func ();
46712 /* The GNU C library defines this for functions which it implements
46713     to always fail with ENOSYS.  Some functions are actually named
46714     something starting with __ and the normal name is an alias.  */
46715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46716 choke me
46717 #else
46718 char (*f) () = $ac_func;
46719 #endif
46720 #ifdef __cplusplus
46721 }
46722 #endif
46723
46724 int
46725 main ()
46726 {
46727 return f != $ac_func;
46728   ;
46729   return 0;
46730 }
46731 _ACEOF
46732 rm -f conftest.$ac_objext conftest$ac_exeext
46733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46734   (eval $ac_link) 2>conftest.er1
46735   ac_status=$?
46736   grep -v '^ *+' conftest.er1 >conftest.err
46737   rm -f conftest.er1
46738   cat conftest.err >&5
46739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46740   (exit $ac_status); } &&
46741          { ac_try='test -z "$ac_c_werror_flag"
46742                          || test ! -s conftest.err'
46743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46744   (eval $ac_try) 2>&5
46745   ac_status=$?
46746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46747   (exit $ac_status); }; } &&
46748          { ac_try='test -s conftest$ac_exeext'
46749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46750   (eval $ac_try) 2>&5
46751   ac_status=$?
46752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753   (exit $ac_status); }; }; then
46754   eval "$as_ac_var=yes"
46755 else
46756   echo "$as_me: failed program was:" >&5
46757 sed 's/^/| /' conftest.$ac_ext >&5
46758
46759 eval "$as_ac_var=no"
46760 fi
46761 rm -f conftest.err conftest.$ac_objext \
46762       conftest$ac_exeext conftest.$ac_ext
46763 fi
46764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46766 if test `eval echo '${'$as_ac_var'}'` = yes; then
46767   cat >>confdefs.h <<_ACEOF
46768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46769 _ACEOF
46770
46771 fi
46772 done
46773
46774     fi
46775   fi
46776
46777
46778
46779
46780
46781
46782
46783
46784
46785
46786
46787
46788
46789
46790     echo "$as_me:$LINENO: checking for float round functions" >&5
46791 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46792   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46793   echo $ECHO_N "(cached) $ECHO_C" >&6
46794 else
46795
46796
46797
46798     ac_ext=cc
46799 ac_cpp='$CXXCPP $CPPFLAGS'
46800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46803
46804     cat >conftest.$ac_ext <<_ACEOF
46805 /* confdefs.h.  */
46806 _ACEOF
46807 cat confdefs.h >>conftest.$ac_ext
46808 cat >>conftest.$ac_ext <<_ACEOF
46809 /* end confdefs.h.  */
46810 #include <math.h>
46811 int
46812 main ()
46813 {
46814 ceilf (0); floorf (0);
46815   ;
46816   return 0;
46817 }
46818 _ACEOF
46819 rm -f conftest.$ac_objext
46820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46821   (eval $ac_compile) 2>conftest.er1
46822   ac_status=$?
46823   grep -v '^ *+' conftest.er1 >conftest.err
46824   rm -f conftest.er1
46825   cat conftest.err >&5
46826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46827   (exit $ac_status); } &&
46828          { ac_try='test -z "$ac_cxx_werror_flag"
46829                          || test ! -s conftest.err'
46830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46831   (eval $ac_try) 2>&5
46832   ac_status=$?
46833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46834   (exit $ac_status); }; } &&
46835          { ac_try='test -s conftest.$ac_objext'
46836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46837   (eval $ac_try) 2>&5
46838   ac_status=$?
46839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46840   (exit $ac_status); }; }; then
46841   glibcxx_cv_func_float_round_use=yes
46842 else
46843   echo "$as_me: failed program was:" >&5
46844 sed 's/^/| /' conftest.$ac_ext >&5
46845
46846 glibcxx_cv_func_float_round_use=no
46847 fi
46848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46849     ac_ext=c
46850 ac_cpp='$CPP $CPPFLAGS'
46851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46854
46855 fi
46856
46857   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46858 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46859   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46860
46861
46862 for ac_func in ceilf floorf
46863 do
46864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46865 echo "$as_me:$LINENO: checking for $ac_func" >&5
46866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46867 if eval "test \"\${$as_ac_var+set}\" = set"; then
46868   echo $ECHO_N "(cached) $ECHO_C" >&6
46869 else
46870   if test x$gcc_no_link = xyes; then
46871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46873    { (exit 1); exit 1; }; }
46874 fi
46875 cat >conftest.$ac_ext <<_ACEOF
46876 /* confdefs.h.  */
46877 _ACEOF
46878 cat confdefs.h >>conftest.$ac_ext
46879 cat >>conftest.$ac_ext <<_ACEOF
46880 /* end confdefs.h.  */
46881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46883 #define $ac_func innocuous_$ac_func
46884
46885 /* System header to define __stub macros and hopefully few prototypes,
46886     which can conflict with char $ac_func (); below.
46887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46888     <limits.h> exists even on freestanding compilers.  */
46889
46890 #ifdef __STDC__
46891 # include <limits.h>
46892 #else
46893 # include <assert.h>
46894 #endif
46895
46896 #undef $ac_func
46897
46898 /* Override any gcc2 internal prototype to avoid an error.  */
46899 #ifdef __cplusplus
46900 extern "C"
46901 {
46902 #endif
46903 /* We use char because int might match the return type of a gcc2
46904    builtin and then its argument prototype would still apply.  */
46905 char $ac_func ();
46906 /* The GNU C library defines this for functions which it implements
46907     to always fail with ENOSYS.  Some functions are actually named
46908     something starting with __ and the normal name is an alias.  */
46909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46910 choke me
46911 #else
46912 char (*f) () = $ac_func;
46913 #endif
46914 #ifdef __cplusplus
46915 }
46916 #endif
46917
46918 int
46919 main ()
46920 {
46921 return f != $ac_func;
46922   ;
46923   return 0;
46924 }
46925 _ACEOF
46926 rm -f conftest.$ac_objext conftest$ac_exeext
46927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46928   (eval $ac_link) 2>conftest.er1
46929   ac_status=$?
46930   grep -v '^ *+' conftest.er1 >conftest.err
46931   rm -f conftest.er1
46932   cat conftest.err >&5
46933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934   (exit $ac_status); } &&
46935          { ac_try='test -z "$ac_c_werror_flag"
46936                          || test ! -s conftest.err'
46937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46938   (eval $ac_try) 2>&5
46939   ac_status=$?
46940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941   (exit $ac_status); }; } &&
46942          { ac_try='test -s conftest$ac_exeext'
46943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46944   (eval $ac_try) 2>&5
46945   ac_status=$?
46946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947   (exit $ac_status); }; }; then
46948   eval "$as_ac_var=yes"
46949 else
46950   echo "$as_me: failed program was:" >&5
46951 sed 's/^/| /' conftest.$ac_ext >&5
46952
46953 eval "$as_ac_var=no"
46954 fi
46955 rm -f conftest.err conftest.$ac_objext \
46956       conftest$ac_exeext conftest.$ac_ext
46957 fi
46958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46960 if test `eval echo '${'$as_ac_var'}'` = yes; then
46961   cat >>confdefs.h <<_ACEOF
46962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46963 _ACEOF
46964
46965 fi
46966 done
46967
46968   else
46969     echo "$as_me:$LINENO: checking for _float round functions" >&5
46970 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46971     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46972   echo $ECHO_N "(cached) $ECHO_C" >&6
46973 else
46974
46975
46976
46977       ac_ext=cc
46978 ac_cpp='$CXXCPP $CPPFLAGS'
46979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46982
46983       cat >conftest.$ac_ext <<_ACEOF
46984 /* confdefs.h.  */
46985 _ACEOF
46986 cat confdefs.h >>conftest.$ac_ext
46987 cat >>conftest.$ac_ext <<_ACEOF
46988 /* end confdefs.h.  */
46989 #include <math.h>
46990 int
46991 main ()
46992 {
46993 _ceilf (0); _floorf (0);
46994   ;
46995   return 0;
46996 }
46997 _ACEOF
46998 rm -f conftest.$ac_objext
46999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47000   (eval $ac_compile) 2>conftest.er1
47001   ac_status=$?
47002   grep -v '^ *+' conftest.er1 >conftest.err
47003   rm -f conftest.er1
47004   cat conftest.err >&5
47005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006   (exit $ac_status); } &&
47007          { ac_try='test -z "$ac_cxx_werror_flag"
47008                          || test ! -s conftest.err'
47009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010   (eval $ac_try) 2>&5
47011   ac_status=$?
47012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013   (exit $ac_status); }; } &&
47014          { ac_try='test -s conftest.$ac_objext'
47015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016   (eval $ac_try) 2>&5
47017   ac_status=$?
47018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019   (exit $ac_status); }; }; then
47020   glibcxx_cv_func__float_round_use=yes
47021 else
47022   echo "$as_me: failed program was:" >&5
47023 sed 's/^/| /' conftest.$ac_ext >&5
47024
47025 glibcxx_cv_func__float_round_use=no
47026 fi
47027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47028       ac_ext=c
47029 ac_cpp='$CPP $CPPFLAGS'
47030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47033
47034 fi
47035
47036     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47037 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47038     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47039
47040
47041 for ac_func in _ceilf _floorf
47042 do
47043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47044 echo "$as_me:$LINENO: checking for $ac_func" >&5
47045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47046 if eval "test \"\${$as_ac_var+set}\" = set"; then
47047   echo $ECHO_N "(cached) $ECHO_C" >&6
47048 else
47049   if test x$gcc_no_link = xyes; then
47050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47052    { (exit 1); exit 1; }; }
47053 fi
47054 cat >conftest.$ac_ext <<_ACEOF
47055 /* confdefs.h.  */
47056 _ACEOF
47057 cat confdefs.h >>conftest.$ac_ext
47058 cat >>conftest.$ac_ext <<_ACEOF
47059 /* end confdefs.h.  */
47060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47062 #define $ac_func innocuous_$ac_func
47063
47064 /* System header to define __stub macros and hopefully few prototypes,
47065     which can conflict with char $ac_func (); below.
47066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47067     <limits.h> exists even on freestanding compilers.  */
47068
47069 #ifdef __STDC__
47070 # include <limits.h>
47071 #else
47072 # include <assert.h>
47073 #endif
47074
47075 #undef $ac_func
47076
47077 /* Override any gcc2 internal prototype to avoid an error.  */
47078 #ifdef __cplusplus
47079 extern "C"
47080 {
47081 #endif
47082 /* We use char because int might match the return type of a gcc2
47083    builtin and then its argument prototype would still apply.  */
47084 char $ac_func ();
47085 /* The GNU C library defines this for functions which it implements
47086     to always fail with ENOSYS.  Some functions are actually named
47087     something starting with __ and the normal name is an alias.  */
47088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47089 choke me
47090 #else
47091 char (*f) () = $ac_func;
47092 #endif
47093 #ifdef __cplusplus
47094 }
47095 #endif
47096
47097 int
47098 main ()
47099 {
47100 return f != $ac_func;
47101   ;
47102   return 0;
47103 }
47104 _ACEOF
47105 rm -f conftest.$ac_objext conftest$ac_exeext
47106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47107   (eval $ac_link) 2>conftest.er1
47108   ac_status=$?
47109   grep -v '^ *+' conftest.er1 >conftest.err
47110   rm -f conftest.er1
47111   cat conftest.err >&5
47112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47113   (exit $ac_status); } &&
47114          { ac_try='test -z "$ac_c_werror_flag"
47115                          || test ! -s conftest.err'
47116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47117   (eval $ac_try) 2>&5
47118   ac_status=$?
47119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47120   (exit $ac_status); }; } &&
47121          { ac_try='test -s conftest$ac_exeext'
47122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47123   (eval $ac_try) 2>&5
47124   ac_status=$?
47125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47126   (exit $ac_status); }; }; then
47127   eval "$as_ac_var=yes"
47128 else
47129   echo "$as_me: failed program was:" >&5
47130 sed 's/^/| /' conftest.$ac_ext >&5
47131
47132 eval "$as_ac_var=no"
47133 fi
47134 rm -f conftest.err conftest.$ac_objext \
47135       conftest$ac_exeext conftest.$ac_ext
47136 fi
47137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47139 if test `eval echo '${'$as_ac_var'}'` = yes; then
47140   cat >>confdefs.h <<_ACEOF
47141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47142 _ACEOF
47143
47144 fi
47145 done
47146
47147     fi
47148   fi
47149
47150
47151
47152
47153
47154
47155
47156
47157   echo "$as_me:$LINENO: checking for expf declaration" >&5
47158 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47159   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47160     if test "${glibcxx_cv_func_expf_use+set}" = set; then
47161   echo $ECHO_N "(cached) $ECHO_C" >&6
47162 else
47163
47164
47165
47166       ac_ext=cc
47167 ac_cpp='$CXXCPP $CPPFLAGS'
47168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47171
47172       cat >conftest.$ac_ext <<_ACEOF
47173 /* confdefs.h.  */
47174 _ACEOF
47175 cat confdefs.h >>conftest.$ac_ext
47176 cat >>conftest.$ac_ext <<_ACEOF
47177 /* end confdefs.h.  */
47178 #include <math.h>
47179                       #ifdef HAVE_IEEEFP_H
47180                       #include <ieeefp.h>
47181                       #endif
47182
47183 int
47184 main ()
47185 {
47186  expf(0);
47187   ;
47188   return 0;
47189 }
47190 _ACEOF
47191 rm -f conftest.$ac_objext
47192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47193   (eval $ac_compile) 2>conftest.er1
47194   ac_status=$?
47195   grep -v '^ *+' conftest.er1 >conftest.err
47196   rm -f conftest.er1
47197   cat conftest.err >&5
47198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47199   (exit $ac_status); } &&
47200          { ac_try='test -z "$ac_cxx_werror_flag"
47201                          || test ! -s conftest.err'
47202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47203   (eval $ac_try) 2>&5
47204   ac_status=$?
47205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47206   (exit $ac_status); }; } &&
47207          { ac_try='test -s conftest.$ac_objext'
47208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47209   (eval $ac_try) 2>&5
47210   ac_status=$?
47211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47212   (exit $ac_status); }; }; then
47213   glibcxx_cv_func_expf_use=yes
47214 else
47215   echo "$as_me: failed program was:" >&5
47216 sed 's/^/| /' conftest.$ac_ext >&5
47217
47218 glibcxx_cv_func_expf_use=no
47219 fi
47220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47221       ac_ext=c
47222 ac_cpp='$CPP $CPPFLAGS'
47223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47226
47227
47228 fi
47229
47230   fi
47231   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47232 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47233
47234   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47235
47236 for ac_func in expf
47237 do
47238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47239 echo "$as_me:$LINENO: checking for $ac_func" >&5
47240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47241 if eval "test \"\${$as_ac_var+set}\" = set"; then
47242   echo $ECHO_N "(cached) $ECHO_C" >&6
47243 else
47244   if test x$gcc_no_link = xyes; then
47245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47247    { (exit 1); exit 1; }; }
47248 fi
47249 cat >conftest.$ac_ext <<_ACEOF
47250 /* confdefs.h.  */
47251 _ACEOF
47252 cat confdefs.h >>conftest.$ac_ext
47253 cat >>conftest.$ac_ext <<_ACEOF
47254 /* end confdefs.h.  */
47255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47257 #define $ac_func innocuous_$ac_func
47258
47259 /* System header to define __stub macros and hopefully few prototypes,
47260     which can conflict with char $ac_func (); below.
47261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47262     <limits.h> exists even on freestanding compilers.  */
47263
47264 #ifdef __STDC__
47265 # include <limits.h>
47266 #else
47267 # include <assert.h>
47268 #endif
47269
47270 #undef $ac_func
47271
47272 /* Override any gcc2 internal prototype to avoid an error.  */
47273 #ifdef __cplusplus
47274 extern "C"
47275 {
47276 #endif
47277 /* We use char because int might match the return type of a gcc2
47278    builtin and then its argument prototype would still apply.  */
47279 char $ac_func ();
47280 /* The GNU C library defines this for functions which it implements
47281     to always fail with ENOSYS.  Some functions are actually named
47282     something starting with __ and the normal name is an alias.  */
47283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47284 choke me
47285 #else
47286 char (*f) () = $ac_func;
47287 #endif
47288 #ifdef __cplusplus
47289 }
47290 #endif
47291
47292 int
47293 main ()
47294 {
47295 return f != $ac_func;
47296   ;
47297   return 0;
47298 }
47299 _ACEOF
47300 rm -f conftest.$ac_objext conftest$ac_exeext
47301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47302   (eval $ac_link) 2>conftest.er1
47303   ac_status=$?
47304   grep -v '^ *+' conftest.er1 >conftest.err
47305   rm -f conftest.er1
47306   cat conftest.err >&5
47307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47308   (exit $ac_status); } &&
47309          { ac_try='test -z "$ac_c_werror_flag"
47310                          || test ! -s conftest.err'
47311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47312   (eval $ac_try) 2>&5
47313   ac_status=$?
47314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315   (exit $ac_status); }; } &&
47316          { ac_try='test -s conftest$ac_exeext'
47317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47318   (eval $ac_try) 2>&5
47319   ac_status=$?
47320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47321   (exit $ac_status); }; }; then
47322   eval "$as_ac_var=yes"
47323 else
47324   echo "$as_me: failed program was:" >&5
47325 sed 's/^/| /' conftest.$ac_ext >&5
47326
47327 eval "$as_ac_var=no"
47328 fi
47329 rm -f conftest.err conftest.$ac_objext \
47330       conftest$ac_exeext conftest.$ac_ext
47331 fi
47332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47334 if test `eval echo '${'$as_ac_var'}'` = yes; then
47335   cat >>confdefs.h <<_ACEOF
47336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47337 _ACEOF
47338
47339 fi
47340 done
47341
47342   else
47343
47344   echo "$as_me:$LINENO: checking for _expf declaration" >&5
47345 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47346   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47347     if test "${glibcxx_cv_func__expf_use+set}" = set; then
47348   echo $ECHO_N "(cached) $ECHO_C" >&6
47349 else
47350
47351
47352
47353       ac_ext=cc
47354 ac_cpp='$CXXCPP $CPPFLAGS'
47355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47358
47359       cat >conftest.$ac_ext <<_ACEOF
47360 /* confdefs.h.  */
47361 _ACEOF
47362 cat confdefs.h >>conftest.$ac_ext
47363 cat >>conftest.$ac_ext <<_ACEOF
47364 /* end confdefs.h.  */
47365 #include <math.h>
47366                       #ifdef HAVE_IEEEFP_H
47367                       #include <ieeefp.h>
47368                       #endif
47369
47370 int
47371 main ()
47372 {
47373  _expf(0);
47374   ;
47375   return 0;
47376 }
47377 _ACEOF
47378 rm -f conftest.$ac_objext
47379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47380   (eval $ac_compile) 2>conftest.er1
47381   ac_status=$?
47382   grep -v '^ *+' conftest.er1 >conftest.err
47383   rm -f conftest.er1
47384   cat conftest.err >&5
47385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47386   (exit $ac_status); } &&
47387          { ac_try='test -z "$ac_cxx_werror_flag"
47388                          || test ! -s conftest.err'
47389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47390   (eval $ac_try) 2>&5
47391   ac_status=$?
47392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47393   (exit $ac_status); }; } &&
47394          { ac_try='test -s conftest.$ac_objext'
47395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47396   (eval $ac_try) 2>&5
47397   ac_status=$?
47398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47399   (exit $ac_status); }; }; then
47400   glibcxx_cv_func__expf_use=yes
47401 else
47402   echo "$as_me: failed program was:" >&5
47403 sed 's/^/| /' conftest.$ac_ext >&5
47404
47405 glibcxx_cv_func__expf_use=no
47406 fi
47407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47408       ac_ext=c
47409 ac_cpp='$CPP $CPPFLAGS'
47410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47413
47414
47415 fi
47416
47417   fi
47418   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47419 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47420
47421     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47422
47423 for ac_func in _expf
47424 do
47425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47426 echo "$as_me:$LINENO: checking for $ac_func" >&5
47427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47428 if eval "test \"\${$as_ac_var+set}\" = set"; then
47429   echo $ECHO_N "(cached) $ECHO_C" >&6
47430 else
47431   if test x$gcc_no_link = xyes; then
47432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47434    { (exit 1); exit 1; }; }
47435 fi
47436 cat >conftest.$ac_ext <<_ACEOF
47437 /* confdefs.h.  */
47438 _ACEOF
47439 cat confdefs.h >>conftest.$ac_ext
47440 cat >>conftest.$ac_ext <<_ACEOF
47441 /* end confdefs.h.  */
47442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47444 #define $ac_func innocuous_$ac_func
47445
47446 /* System header to define __stub macros and hopefully few prototypes,
47447     which can conflict with char $ac_func (); below.
47448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47449     <limits.h> exists even on freestanding compilers.  */
47450
47451 #ifdef __STDC__
47452 # include <limits.h>
47453 #else
47454 # include <assert.h>
47455 #endif
47456
47457 #undef $ac_func
47458
47459 /* Override any gcc2 internal prototype to avoid an error.  */
47460 #ifdef __cplusplus
47461 extern "C"
47462 {
47463 #endif
47464 /* We use char because int might match the return type of a gcc2
47465    builtin and then its argument prototype would still apply.  */
47466 char $ac_func ();
47467 /* The GNU C library defines this for functions which it implements
47468     to always fail with ENOSYS.  Some functions are actually named
47469     something starting with __ and the normal name is an alias.  */
47470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47471 choke me
47472 #else
47473 char (*f) () = $ac_func;
47474 #endif
47475 #ifdef __cplusplus
47476 }
47477 #endif
47478
47479 int
47480 main ()
47481 {
47482 return f != $ac_func;
47483   ;
47484   return 0;
47485 }
47486 _ACEOF
47487 rm -f conftest.$ac_objext conftest$ac_exeext
47488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47489   (eval $ac_link) 2>conftest.er1
47490   ac_status=$?
47491   grep -v '^ *+' conftest.er1 >conftest.err
47492   rm -f conftest.er1
47493   cat conftest.err >&5
47494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47495   (exit $ac_status); } &&
47496          { ac_try='test -z "$ac_c_werror_flag"
47497                          || test ! -s conftest.err'
47498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47499   (eval $ac_try) 2>&5
47500   ac_status=$?
47501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47502   (exit $ac_status); }; } &&
47503          { ac_try='test -s conftest$ac_exeext'
47504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47505   (eval $ac_try) 2>&5
47506   ac_status=$?
47507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47508   (exit $ac_status); }; }; then
47509   eval "$as_ac_var=yes"
47510 else
47511   echo "$as_me: failed program was:" >&5
47512 sed 's/^/| /' conftest.$ac_ext >&5
47513
47514 eval "$as_ac_var=no"
47515 fi
47516 rm -f conftest.err conftest.$ac_objext \
47517       conftest$ac_exeext conftest.$ac_ext
47518 fi
47519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47521 if test `eval echo '${'$as_ac_var'}'` = yes; then
47522   cat >>confdefs.h <<_ACEOF
47523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47524 _ACEOF
47525
47526 fi
47527 done
47528
47529     fi
47530   fi
47531
47532
47533
47534
47535
47536
47537   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47538 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47539   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47540     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47541   echo $ECHO_N "(cached) $ECHO_C" >&6
47542 else
47543
47544
47545
47546       ac_ext=cc
47547 ac_cpp='$CXXCPP $CPPFLAGS'
47548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47551
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 #include <math.h>
47559                       #ifdef HAVE_IEEEFP_H
47560                       #include <ieeefp.h>
47561                       #endif
47562
47563 int
47564 main ()
47565 {
47566  isnanf(0);
47567   ;
47568   return 0;
47569 }
47570 _ACEOF
47571 rm -f conftest.$ac_objext
47572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47573   (eval $ac_compile) 2>conftest.er1
47574   ac_status=$?
47575   grep -v '^ *+' conftest.er1 >conftest.err
47576   rm -f conftest.er1
47577   cat conftest.err >&5
47578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579   (exit $ac_status); } &&
47580          { ac_try='test -z "$ac_cxx_werror_flag"
47581                          || test ! -s conftest.err'
47582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47583   (eval $ac_try) 2>&5
47584   ac_status=$?
47585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47586   (exit $ac_status); }; } &&
47587          { ac_try='test -s conftest.$ac_objext'
47588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47589   (eval $ac_try) 2>&5
47590   ac_status=$?
47591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47592   (exit $ac_status); }; }; then
47593   glibcxx_cv_func_isnanf_use=yes
47594 else
47595   echo "$as_me: failed program was:" >&5
47596 sed 's/^/| /' conftest.$ac_ext >&5
47597
47598 glibcxx_cv_func_isnanf_use=no
47599 fi
47600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47601       ac_ext=c
47602 ac_cpp='$CPP $CPPFLAGS'
47603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47606
47607
47608 fi
47609
47610   fi
47611   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47612 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47613
47614   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47615
47616 for ac_func in isnanf
47617 do
47618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47619 echo "$as_me:$LINENO: checking for $ac_func" >&5
47620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47621 if eval "test \"\${$as_ac_var+set}\" = set"; then
47622   echo $ECHO_N "(cached) $ECHO_C" >&6
47623 else
47624   if test x$gcc_no_link = xyes; then
47625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47627    { (exit 1); exit 1; }; }
47628 fi
47629 cat >conftest.$ac_ext <<_ACEOF
47630 /* confdefs.h.  */
47631 _ACEOF
47632 cat confdefs.h >>conftest.$ac_ext
47633 cat >>conftest.$ac_ext <<_ACEOF
47634 /* end confdefs.h.  */
47635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47637 #define $ac_func innocuous_$ac_func
47638
47639 /* System header to define __stub macros and hopefully few prototypes,
47640     which can conflict with char $ac_func (); below.
47641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47642     <limits.h> exists even on freestanding compilers.  */
47643
47644 #ifdef __STDC__
47645 # include <limits.h>
47646 #else
47647 # include <assert.h>
47648 #endif
47649
47650 #undef $ac_func
47651
47652 /* Override any gcc2 internal prototype to avoid an error.  */
47653 #ifdef __cplusplus
47654 extern "C"
47655 {
47656 #endif
47657 /* We use char because int might match the return type of a gcc2
47658    builtin and then its argument prototype would still apply.  */
47659 char $ac_func ();
47660 /* The GNU C library defines this for functions which it implements
47661     to always fail with ENOSYS.  Some functions are actually named
47662     something starting with __ and the normal name is an alias.  */
47663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47664 choke me
47665 #else
47666 char (*f) () = $ac_func;
47667 #endif
47668 #ifdef __cplusplus
47669 }
47670 #endif
47671
47672 int
47673 main ()
47674 {
47675 return f != $ac_func;
47676   ;
47677   return 0;
47678 }
47679 _ACEOF
47680 rm -f conftest.$ac_objext conftest$ac_exeext
47681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47682   (eval $ac_link) 2>conftest.er1
47683   ac_status=$?
47684   grep -v '^ *+' conftest.er1 >conftest.err
47685   rm -f conftest.er1
47686   cat conftest.err >&5
47687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47688   (exit $ac_status); } &&
47689          { ac_try='test -z "$ac_c_werror_flag"
47690                          || test ! -s conftest.err'
47691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47692   (eval $ac_try) 2>&5
47693   ac_status=$?
47694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47695   (exit $ac_status); }; } &&
47696          { ac_try='test -s conftest$ac_exeext'
47697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47698   (eval $ac_try) 2>&5
47699   ac_status=$?
47700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47701   (exit $ac_status); }; }; then
47702   eval "$as_ac_var=yes"
47703 else
47704   echo "$as_me: failed program was:" >&5
47705 sed 's/^/| /' conftest.$ac_ext >&5
47706
47707 eval "$as_ac_var=no"
47708 fi
47709 rm -f conftest.err conftest.$ac_objext \
47710       conftest$ac_exeext conftest.$ac_ext
47711 fi
47712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47714 if test `eval echo '${'$as_ac_var'}'` = yes; then
47715   cat >>confdefs.h <<_ACEOF
47716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47717 _ACEOF
47718
47719 fi
47720 done
47721
47722   else
47723
47724   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47725 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47726   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47727     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47728   echo $ECHO_N "(cached) $ECHO_C" >&6
47729 else
47730
47731
47732
47733       ac_ext=cc
47734 ac_cpp='$CXXCPP $CPPFLAGS'
47735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47738
47739       cat >conftest.$ac_ext <<_ACEOF
47740 /* confdefs.h.  */
47741 _ACEOF
47742 cat confdefs.h >>conftest.$ac_ext
47743 cat >>conftest.$ac_ext <<_ACEOF
47744 /* end confdefs.h.  */
47745 #include <math.h>
47746                       #ifdef HAVE_IEEEFP_H
47747                       #include <ieeefp.h>
47748                       #endif
47749
47750 int
47751 main ()
47752 {
47753  _isnanf(0);
47754   ;
47755   return 0;
47756 }
47757 _ACEOF
47758 rm -f conftest.$ac_objext
47759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47760   (eval $ac_compile) 2>conftest.er1
47761   ac_status=$?
47762   grep -v '^ *+' conftest.er1 >conftest.err
47763   rm -f conftest.er1
47764   cat conftest.err >&5
47765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47766   (exit $ac_status); } &&
47767          { ac_try='test -z "$ac_cxx_werror_flag"
47768                          || test ! -s conftest.err'
47769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47770   (eval $ac_try) 2>&5
47771   ac_status=$?
47772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47773   (exit $ac_status); }; } &&
47774          { ac_try='test -s conftest.$ac_objext'
47775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47776   (eval $ac_try) 2>&5
47777   ac_status=$?
47778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47779   (exit $ac_status); }; }; then
47780   glibcxx_cv_func__isnanf_use=yes
47781 else
47782   echo "$as_me: failed program was:" >&5
47783 sed 's/^/| /' conftest.$ac_ext >&5
47784
47785 glibcxx_cv_func__isnanf_use=no
47786 fi
47787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47788       ac_ext=c
47789 ac_cpp='$CPP $CPPFLAGS'
47790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47793
47794
47795 fi
47796
47797   fi
47798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47799 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47800
47801     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47802
47803 for ac_func in _isnanf
47804 do
47805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47806 echo "$as_me:$LINENO: checking for $ac_func" >&5
47807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47808 if eval "test \"\${$as_ac_var+set}\" = set"; then
47809   echo $ECHO_N "(cached) $ECHO_C" >&6
47810 else
47811   if test x$gcc_no_link = xyes; then
47812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47814    { (exit 1); exit 1; }; }
47815 fi
47816 cat >conftest.$ac_ext <<_ACEOF
47817 /* confdefs.h.  */
47818 _ACEOF
47819 cat confdefs.h >>conftest.$ac_ext
47820 cat >>conftest.$ac_ext <<_ACEOF
47821 /* end confdefs.h.  */
47822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47824 #define $ac_func innocuous_$ac_func
47825
47826 /* System header to define __stub macros and hopefully few prototypes,
47827     which can conflict with char $ac_func (); below.
47828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47829     <limits.h> exists even on freestanding compilers.  */
47830
47831 #ifdef __STDC__
47832 # include <limits.h>
47833 #else
47834 # include <assert.h>
47835 #endif
47836
47837 #undef $ac_func
47838
47839 /* Override any gcc2 internal prototype to avoid an error.  */
47840 #ifdef __cplusplus
47841 extern "C"
47842 {
47843 #endif
47844 /* We use char because int might match the return type of a gcc2
47845    builtin and then its argument prototype would still apply.  */
47846 char $ac_func ();
47847 /* The GNU C library defines this for functions which it implements
47848     to always fail with ENOSYS.  Some functions are actually named
47849     something starting with __ and the normal name is an alias.  */
47850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47851 choke me
47852 #else
47853 char (*f) () = $ac_func;
47854 #endif
47855 #ifdef __cplusplus
47856 }
47857 #endif
47858
47859 int
47860 main ()
47861 {
47862 return f != $ac_func;
47863   ;
47864   return 0;
47865 }
47866 _ACEOF
47867 rm -f conftest.$ac_objext conftest$ac_exeext
47868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47869   (eval $ac_link) 2>conftest.er1
47870   ac_status=$?
47871   grep -v '^ *+' conftest.er1 >conftest.err
47872   rm -f conftest.er1
47873   cat conftest.err >&5
47874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47875   (exit $ac_status); } &&
47876          { ac_try='test -z "$ac_c_werror_flag"
47877                          || test ! -s conftest.err'
47878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47879   (eval $ac_try) 2>&5
47880   ac_status=$?
47881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47882   (exit $ac_status); }; } &&
47883          { ac_try='test -s conftest$ac_exeext'
47884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47885   (eval $ac_try) 2>&5
47886   ac_status=$?
47887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47888   (exit $ac_status); }; }; then
47889   eval "$as_ac_var=yes"
47890 else
47891   echo "$as_me: failed program was:" >&5
47892 sed 's/^/| /' conftest.$ac_ext >&5
47893
47894 eval "$as_ac_var=no"
47895 fi
47896 rm -f conftest.err conftest.$ac_objext \
47897       conftest$ac_exeext conftest.$ac_ext
47898 fi
47899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47901 if test `eval echo '${'$as_ac_var'}'` = yes; then
47902   cat >>confdefs.h <<_ACEOF
47903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47904 _ACEOF
47905
47906 fi
47907 done
47908
47909     fi
47910   fi
47911
47912
47913
47914
47915
47916
47917   echo "$as_me:$LINENO: checking for isinff declaration" >&5
47918 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47919   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47920     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47921   echo $ECHO_N "(cached) $ECHO_C" >&6
47922 else
47923
47924
47925
47926       ac_ext=cc
47927 ac_cpp='$CXXCPP $CPPFLAGS'
47928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47931
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 #include <math.h>
47939                       #ifdef HAVE_IEEEFP_H
47940                       #include <ieeefp.h>
47941                       #endif
47942
47943 int
47944 main ()
47945 {
47946  isinff(0);
47947   ;
47948   return 0;
47949 }
47950 _ACEOF
47951 rm -f conftest.$ac_objext
47952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47953   (eval $ac_compile) 2>conftest.er1
47954   ac_status=$?
47955   grep -v '^ *+' conftest.er1 >conftest.err
47956   rm -f conftest.er1
47957   cat conftest.err >&5
47958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47959   (exit $ac_status); } &&
47960          { ac_try='test -z "$ac_cxx_werror_flag"
47961                          || test ! -s conftest.err'
47962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47963   (eval $ac_try) 2>&5
47964   ac_status=$?
47965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47966   (exit $ac_status); }; } &&
47967          { ac_try='test -s conftest.$ac_objext'
47968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47969   (eval $ac_try) 2>&5
47970   ac_status=$?
47971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47972   (exit $ac_status); }; }; then
47973   glibcxx_cv_func_isinff_use=yes
47974 else
47975   echo "$as_me: failed program was:" >&5
47976 sed 's/^/| /' conftest.$ac_ext >&5
47977
47978 glibcxx_cv_func_isinff_use=no
47979 fi
47980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47981       ac_ext=c
47982 ac_cpp='$CPP $CPPFLAGS'
47983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47986
47987
47988 fi
47989
47990   fi
47991   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47992 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47993
47994   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47995
47996 for ac_func in isinff
47997 do
47998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47999 echo "$as_me:$LINENO: checking for $ac_func" >&5
48000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48001 if eval "test \"\${$as_ac_var+set}\" = set"; then
48002   echo $ECHO_N "(cached) $ECHO_C" >&6
48003 else
48004   if test x$gcc_no_link = xyes; then
48005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48007    { (exit 1); exit 1; }; }
48008 fi
48009 cat >conftest.$ac_ext <<_ACEOF
48010 /* confdefs.h.  */
48011 _ACEOF
48012 cat confdefs.h >>conftest.$ac_ext
48013 cat >>conftest.$ac_ext <<_ACEOF
48014 /* end confdefs.h.  */
48015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48017 #define $ac_func innocuous_$ac_func
48018
48019 /* System header to define __stub macros and hopefully few prototypes,
48020     which can conflict with char $ac_func (); below.
48021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48022     <limits.h> exists even on freestanding compilers.  */
48023
48024 #ifdef __STDC__
48025 # include <limits.h>
48026 #else
48027 # include <assert.h>
48028 #endif
48029
48030 #undef $ac_func
48031
48032 /* Override any gcc2 internal prototype to avoid an error.  */
48033 #ifdef __cplusplus
48034 extern "C"
48035 {
48036 #endif
48037 /* We use char because int might match the return type of a gcc2
48038    builtin and then its argument prototype would still apply.  */
48039 char $ac_func ();
48040 /* The GNU C library defines this for functions which it implements
48041     to always fail with ENOSYS.  Some functions are actually named
48042     something starting with __ and the normal name is an alias.  */
48043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48044 choke me
48045 #else
48046 char (*f) () = $ac_func;
48047 #endif
48048 #ifdef __cplusplus
48049 }
48050 #endif
48051
48052 int
48053 main ()
48054 {
48055 return f != $ac_func;
48056   ;
48057   return 0;
48058 }
48059 _ACEOF
48060 rm -f conftest.$ac_objext conftest$ac_exeext
48061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48062   (eval $ac_link) 2>conftest.er1
48063   ac_status=$?
48064   grep -v '^ *+' conftest.er1 >conftest.err
48065   rm -f conftest.er1
48066   cat conftest.err >&5
48067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48068   (exit $ac_status); } &&
48069          { ac_try='test -z "$ac_c_werror_flag"
48070                          || test ! -s conftest.err'
48071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48072   (eval $ac_try) 2>&5
48073   ac_status=$?
48074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48075   (exit $ac_status); }; } &&
48076          { ac_try='test -s conftest$ac_exeext'
48077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48078   (eval $ac_try) 2>&5
48079   ac_status=$?
48080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081   (exit $ac_status); }; }; then
48082   eval "$as_ac_var=yes"
48083 else
48084   echo "$as_me: failed program was:" >&5
48085 sed 's/^/| /' conftest.$ac_ext >&5
48086
48087 eval "$as_ac_var=no"
48088 fi
48089 rm -f conftest.err conftest.$ac_objext \
48090       conftest$ac_exeext conftest.$ac_ext
48091 fi
48092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48094 if test `eval echo '${'$as_ac_var'}'` = yes; then
48095   cat >>confdefs.h <<_ACEOF
48096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48097 _ACEOF
48098
48099 fi
48100 done
48101
48102   else
48103
48104   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48105 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48106   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48107     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48108   echo $ECHO_N "(cached) $ECHO_C" >&6
48109 else
48110
48111
48112
48113       ac_ext=cc
48114 ac_cpp='$CXXCPP $CPPFLAGS'
48115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48118
48119       cat >conftest.$ac_ext <<_ACEOF
48120 /* confdefs.h.  */
48121 _ACEOF
48122 cat confdefs.h >>conftest.$ac_ext
48123 cat >>conftest.$ac_ext <<_ACEOF
48124 /* end confdefs.h.  */
48125 #include <math.h>
48126                       #ifdef HAVE_IEEEFP_H
48127                       #include <ieeefp.h>
48128                       #endif
48129
48130 int
48131 main ()
48132 {
48133  _isinff(0);
48134   ;
48135   return 0;
48136 }
48137 _ACEOF
48138 rm -f conftest.$ac_objext
48139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48140   (eval $ac_compile) 2>conftest.er1
48141   ac_status=$?
48142   grep -v '^ *+' conftest.er1 >conftest.err
48143   rm -f conftest.er1
48144   cat conftest.err >&5
48145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48146   (exit $ac_status); } &&
48147          { ac_try='test -z "$ac_cxx_werror_flag"
48148                          || test ! -s conftest.err'
48149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48150   (eval $ac_try) 2>&5
48151   ac_status=$?
48152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48153   (exit $ac_status); }; } &&
48154          { ac_try='test -s conftest.$ac_objext'
48155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48156   (eval $ac_try) 2>&5
48157   ac_status=$?
48158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48159   (exit $ac_status); }; }; then
48160   glibcxx_cv_func__isinff_use=yes
48161 else
48162   echo "$as_me: failed program was:" >&5
48163 sed 's/^/| /' conftest.$ac_ext >&5
48164
48165 glibcxx_cv_func__isinff_use=no
48166 fi
48167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48168       ac_ext=c
48169 ac_cpp='$CPP $CPPFLAGS'
48170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48173
48174
48175 fi
48176
48177   fi
48178   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48179 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48180
48181     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48182
48183 for ac_func in _isinff
48184 do
48185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48186 echo "$as_me:$LINENO: checking for $ac_func" >&5
48187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48188 if eval "test \"\${$as_ac_var+set}\" = set"; then
48189   echo $ECHO_N "(cached) $ECHO_C" >&6
48190 else
48191   if test x$gcc_no_link = xyes; then
48192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48194    { (exit 1); exit 1; }; }
48195 fi
48196 cat >conftest.$ac_ext <<_ACEOF
48197 /* confdefs.h.  */
48198 _ACEOF
48199 cat confdefs.h >>conftest.$ac_ext
48200 cat >>conftest.$ac_ext <<_ACEOF
48201 /* end confdefs.h.  */
48202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48204 #define $ac_func innocuous_$ac_func
48205
48206 /* System header to define __stub macros and hopefully few prototypes,
48207     which can conflict with char $ac_func (); below.
48208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48209     <limits.h> exists even on freestanding compilers.  */
48210
48211 #ifdef __STDC__
48212 # include <limits.h>
48213 #else
48214 # include <assert.h>
48215 #endif
48216
48217 #undef $ac_func
48218
48219 /* Override any gcc2 internal prototype to avoid an error.  */
48220 #ifdef __cplusplus
48221 extern "C"
48222 {
48223 #endif
48224 /* We use char because int might match the return type of a gcc2
48225    builtin and then its argument prototype would still apply.  */
48226 char $ac_func ();
48227 /* The GNU C library defines this for functions which it implements
48228     to always fail with ENOSYS.  Some functions are actually named
48229     something starting with __ and the normal name is an alias.  */
48230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48231 choke me
48232 #else
48233 char (*f) () = $ac_func;
48234 #endif
48235 #ifdef __cplusplus
48236 }
48237 #endif
48238
48239 int
48240 main ()
48241 {
48242 return f != $ac_func;
48243   ;
48244   return 0;
48245 }
48246 _ACEOF
48247 rm -f conftest.$ac_objext conftest$ac_exeext
48248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48249   (eval $ac_link) 2>conftest.er1
48250   ac_status=$?
48251   grep -v '^ *+' conftest.er1 >conftest.err
48252   rm -f conftest.er1
48253   cat conftest.err >&5
48254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255   (exit $ac_status); } &&
48256          { ac_try='test -z "$ac_c_werror_flag"
48257                          || test ! -s conftest.err'
48258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259   (eval $ac_try) 2>&5
48260   ac_status=$?
48261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262   (exit $ac_status); }; } &&
48263          { ac_try='test -s conftest$ac_exeext'
48264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48265   (eval $ac_try) 2>&5
48266   ac_status=$?
48267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268   (exit $ac_status); }; }; then
48269   eval "$as_ac_var=yes"
48270 else
48271   echo "$as_me: failed program was:" >&5
48272 sed 's/^/| /' conftest.$ac_ext >&5
48273
48274 eval "$as_ac_var=no"
48275 fi
48276 rm -f conftest.err conftest.$ac_objext \
48277       conftest$ac_exeext conftest.$ac_ext
48278 fi
48279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48281 if test `eval echo '${'$as_ac_var'}'` = yes; then
48282   cat >>confdefs.h <<_ACEOF
48283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48284 _ACEOF
48285
48286 fi
48287 done
48288
48289     fi
48290   fi
48291
48292
48293
48294
48295
48296
48297   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48298 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48299   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48300     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48301   echo $ECHO_N "(cached) $ECHO_C" >&6
48302 else
48303
48304
48305
48306       ac_ext=cc
48307 ac_cpp='$CXXCPP $CPPFLAGS'
48308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48311
48312       cat >conftest.$ac_ext <<_ACEOF
48313 /* confdefs.h.  */
48314 _ACEOF
48315 cat confdefs.h >>conftest.$ac_ext
48316 cat >>conftest.$ac_ext <<_ACEOF
48317 /* end confdefs.h.  */
48318 #include <math.h>
48319 int
48320 main ()
48321 {
48322  atan2f(0, 0);
48323   ;
48324   return 0;
48325 }
48326 _ACEOF
48327 rm -f conftest.$ac_objext
48328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48329   (eval $ac_compile) 2>conftest.er1
48330   ac_status=$?
48331   grep -v '^ *+' conftest.er1 >conftest.err
48332   rm -f conftest.er1
48333   cat conftest.err >&5
48334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335   (exit $ac_status); } &&
48336          { ac_try='test -z "$ac_cxx_werror_flag"
48337                          || test ! -s conftest.err'
48338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48339   (eval $ac_try) 2>&5
48340   ac_status=$?
48341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48342   (exit $ac_status); }; } &&
48343          { ac_try='test -s conftest.$ac_objext'
48344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48345   (eval $ac_try) 2>&5
48346   ac_status=$?
48347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48348   (exit $ac_status); }; }; then
48349   glibcxx_cv_func_atan2f_use=yes
48350 else
48351   echo "$as_me: failed program was:" >&5
48352 sed 's/^/| /' conftest.$ac_ext >&5
48353
48354 glibcxx_cv_func_atan2f_use=no
48355 fi
48356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48357       ac_ext=c
48358 ac_cpp='$CPP $CPPFLAGS'
48359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48362
48363
48364 fi
48365
48366   fi
48367   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48368 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48369
48370   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48371
48372 for ac_func in atan2f
48373 do
48374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48375 echo "$as_me:$LINENO: checking for $ac_func" >&5
48376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48377 if eval "test \"\${$as_ac_var+set}\" = set"; then
48378   echo $ECHO_N "(cached) $ECHO_C" >&6
48379 else
48380   if test x$gcc_no_link = xyes; then
48381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48383    { (exit 1); exit 1; }; }
48384 fi
48385 cat >conftest.$ac_ext <<_ACEOF
48386 /* confdefs.h.  */
48387 _ACEOF
48388 cat confdefs.h >>conftest.$ac_ext
48389 cat >>conftest.$ac_ext <<_ACEOF
48390 /* end confdefs.h.  */
48391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48393 #define $ac_func innocuous_$ac_func
48394
48395 /* System header to define __stub macros and hopefully few prototypes,
48396     which can conflict with char $ac_func (); below.
48397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48398     <limits.h> exists even on freestanding compilers.  */
48399
48400 #ifdef __STDC__
48401 # include <limits.h>
48402 #else
48403 # include <assert.h>
48404 #endif
48405
48406 #undef $ac_func
48407
48408 /* Override any gcc2 internal prototype to avoid an error.  */
48409 #ifdef __cplusplus
48410 extern "C"
48411 {
48412 #endif
48413 /* We use char because int might match the return type of a gcc2
48414    builtin and then its argument prototype would still apply.  */
48415 char $ac_func ();
48416 /* The GNU C library defines this for functions which it implements
48417     to always fail with ENOSYS.  Some functions are actually named
48418     something starting with __ and the normal name is an alias.  */
48419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48420 choke me
48421 #else
48422 char (*f) () = $ac_func;
48423 #endif
48424 #ifdef __cplusplus
48425 }
48426 #endif
48427
48428 int
48429 main ()
48430 {
48431 return f != $ac_func;
48432   ;
48433   return 0;
48434 }
48435 _ACEOF
48436 rm -f conftest.$ac_objext conftest$ac_exeext
48437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48438   (eval $ac_link) 2>conftest.er1
48439   ac_status=$?
48440   grep -v '^ *+' conftest.er1 >conftest.err
48441   rm -f conftest.er1
48442   cat conftest.err >&5
48443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48444   (exit $ac_status); } &&
48445          { ac_try='test -z "$ac_c_werror_flag"
48446                          || test ! -s conftest.err'
48447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48448   (eval $ac_try) 2>&5
48449   ac_status=$?
48450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48451   (exit $ac_status); }; } &&
48452          { ac_try='test -s conftest$ac_exeext'
48453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48454   (eval $ac_try) 2>&5
48455   ac_status=$?
48456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457   (exit $ac_status); }; }; then
48458   eval "$as_ac_var=yes"
48459 else
48460   echo "$as_me: failed program was:" >&5
48461 sed 's/^/| /' conftest.$ac_ext >&5
48462
48463 eval "$as_ac_var=no"
48464 fi
48465 rm -f conftest.err conftest.$ac_objext \
48466       conftest$ac_exeext conftest.$ac_ext
48467 fi
48468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48470 if test `eval echo '${'$as_ac_var'}'` = yes; then
48471   cat >>confdefs.h <<_ACEOF
48472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48473 _ACEOF
48474
48475 fi
48476 done
48477
48478   else
48479
48480   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48481 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48482   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48483     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48484   echo $ECHO_N "(cached) $ECHO_C" >&6
48485 else
48486
48487
48488
48489       ac_ext=cc
48490 ac_cpp='$CXXCPP $CPPFLAGS'
48491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48494
48495       cat >conftest.$ac_ext <<_ACEOF
48496 /* confdefs.h.  */
48497 _ACEOF
48498 cat confdefs.h >>conftest.$ac_ext
48499 cat >>conftest.$ac_ext <<_ACEOF
48500 /* end confdefs.h.  */
48501 #include <math.h>
48502 int
48503 main ()
48504 {
48505  _atan2f(0, 0);
48506   ;
48507   return 0;
48508 }
48509 _ACEOF
48510 rm -f conftest.$ac_objext
48511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48512   (eval $ac_compile) 2>conftest.er1
48513   ac_status=$?
48514   grep -v '^ *+' conftest.er1 >conftest.err
48515   rm -f conftest.er1
48516   cat conftest.err >&5
48517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48518   (exit $ac_status); } &&
48519          { ac_try='test -z "$ac_cxx_werror_flag"
48520                          || test ! -s conftest.err'
48521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48522   (eval $ac_try) 2>&5
48523   ac_status=$?
48524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48525   (exit $ac_status); }; } &&
48526          { ac_try='test -s conftest.$ac_objext'
48527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48528   (eval $ac_try) 2>&5
48529   ac_status=$?
48530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48531   (exit $ac_status); }; }; then
48532   glibcxx_cv_func__atan2f_use=yes
48533 else
48534   echo "$as_me: failed program was:" >&5
48535 sed 's/^/| /' conftest.$ac_ext >&5
48536
48537 glibcxx_cv_func__atan2f_use=no
48538 fi
48539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48540       ac_ext=c
48541 ac_cpp='$CPP $CPPFLAGS'
48542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48545
48546
48547 fi
48548
48549   fi
48550   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48551 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48552
48553     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48554
48555 for ac_func in _atan2f
48556 do
48557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48558 echo "$as_me:$LINENO: checking for $ac_func" >&5
48559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48560 if eval "test \"\${$as_ac_var+set}\" = set"; then
48561   echo $ECHO_N "(cached) $ECHO_C" >&6
48562 else
48563   if test x$gcc_no_link = xyes; then
48564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48566    { (exit 1); exit 1; }; }
48567 fi
48568 cat >conftest.$ac_ext <<_ACEOF
48569 /* confdefs.h.  */
48570 _ACEOF
48571 cat confdefs.h >>conftest.$ac_ext
48572 cat >>conftest.$ac_ext <<_ACEOF
48573 /* end confdefs.h.  */
48574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48576 #define $ac_func innocuous_$ac_func
48577
48578 /* System header to define __stub macros and hopefully few prototypes,
48579     which can conflict with char $ac_func (); below.
48580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48581     <limits.h> exists even on freestanding compilers.  */
48582
48583 #ifdef __STDC__
48584 # include <limits.h>
48585 #else
48586 # include <assert.h>
48587 #endif
48588
48589 #undef $ac_func
48590
48591 /* Override any gcc2 internal prototype to avoid an error.  */
48592 #ifdef __cplusplus
48593 extern "C"
48594 {
48595 #endif
48596 /* We use char because int might match the return type of a gcc2
48597    builtin and then its argument prototype would still apply.  */
48598 char $ac_func ();
48599 /* The GNU C library defines this for functions which it implements
48600     to always fail with ENOSYS.  Some functions are actually named
48601     something starting with __ and the normal name is an alias.  */
48602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48603 choke me
48604 #else
48605 char (*f) () = $ac_func;
48606 #endif
48607 #ifdef __cplusplus
48608 }
48609 #endif
48610
48611 int
48612 main ()
48613 {
48614 return f != $ac_func;
48615   ;
48616   return 0;
48617 }
48618 _ACEOF
48619 rm -f conftest.$ac_objext conftest$ac_exeext
48620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48621   (eval $ac_link) 2>conftest.er1
48622   ac_status=$?
48623   grep -v '^ *+' conftest.er1 >conftest.err
48624   rm -f conftest.er1
48625   cat conftest.err >&5
48626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48627   (exit $ac_status); } &&
48628          { ac_try='test -z "$ac_c_werror_flag"
48629                          || test ! -s conftest.err'
48630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48631   (eval $ac_try) 2>&5
48632   ac_status=$?
48633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634   (exit $ac_status); }; } &&
48635          { ac_try='test -s conftest$ac_exeext'
48636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48637   (eval $ac_try) 2>&5
48638   ac_status=$?
48639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640   (exit $ac_status); }; }; then
48641   eval "$as_ac_var=yes"
48642 else
48643   echo "$as_me: failed program was:" >&5
48644 sed 's/^/| /' conftest.$ac_ext >&5
48645
48646 eval "$as_ac_var=no"
48647 fi
48648 rm -f conftest.err conftest.$ac_objext \
48649       conftest$ac_exeext conftest.$ac_ext
48650 fi
48651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48653 if test `eval echo '${'$as_ac_var'}'` = yes; then
48654   cat >>confdefs.h <<_ACEOF
48655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48656 _ACEOF
48657
48658 fi
48659 done
48660
48661     fi
48662   fi
48663
48664
48665
48666
48667
48668
48669   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48670 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48671   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48672     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48673   echo $ECHO_N "(cached) $ECHO_C" >&6
48674 else
48675
48676
48677
48678       ac_ext=cc
48679 ac_cpp='$CXXCPP $CPPFLAGS'
48680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48683
48684       cat >conftest.$ac_ext <<_ACEOF
48685 /* confdefs.h.  */
48686 _ACEOF
48687 cat confdefs.h >>conftest.$ac_ext
48688 cat >>conftest.$ac_ext <<_ACEOF
48689 /* end confdefs.h.  */
48690 #include <math.h>
48691                       #ifdef HAVE_IEEEFP_H
48692                       #include <ieeefp.h>
48693                       #endif
48694
48695 int
48696 main ()
48697 {
48698  fabsf(0);
48699   ;
48700   return 0;
48701 }
48702 _ACEOF
48703 rm -f conftest.$ac_objext
48704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48705   (eval $ac_compile) 2>conftest.er1
48706   ac_status=$?
48707   grep -v '^ *+' conftest.er1 >conftest.err
48708   rm -f conftest.er1
48709   cat conftest.err >&5
48710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48711   (exit $ac_status); } &&
48712          { ac_try='test -z "$ac_cxx_werror_flag"
48713                          || test ! -s conftest.err'
48714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48715   (eval $ac_try) 2>&5
48716   ac_status=$?
48717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48718   (exit $ac_status); }; } &&
48719          { ac_try='test -s conftest.$ac_objext'
48720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48721   (eval $ac_try) 2>&5
48722   ac_status=$?
48723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48724   (exit $ac_status); }; }; then
48725   glibcxx_cv_func_fabsf_use=yes
48726 else
48727   echo "$as_me: failed program was:" >&5
48728 sed 's/^/| /' conftest.$ac_ext >&5
48729
48730 glibcxx_cv_func_fabsf_use=no
48731 fi
48732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48733       ac_ext=c
48734 ac_cpp='$CPP $CPPFLAGS'
48735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48738
48739
48740 fi
48741
48742   fi
48743   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48744 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48745
48746   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48747
48748 for ac_func in fabsf
48749 do
48750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48751 echo "$as_me:$LINENO: checking for $ac_func" >&5
48752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48753 if eval "test \"\${$as_ac_var+set}\" = set"; then
48754   echo $ECHO_N "(cached) $ECHO_C" >&6
48755 else
48756   if test x$gcc_no_link = xyes; then
48757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48759    { (exit 1); exit 1; }; }
48760 fi
48761 cat >conftest.$ac_ext <<_ACEOF
48762 /* confdefs.h.  */
48763 _ACEOF
48764 cat confdefs.h >>conftest.$ac_ext
48765 cat >>conftest.$ac_ext <<_ACEOF
48766 /* end confdefs.h.  */
48767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48769 #define $ac_func innocuous_$ac_func
48770
48771 /* System header to define __stub macros and hopefully few prototypes,
48772     which can conflict with char $ac_func (); below.
48773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48774     <limits.h> exists even on freestanding compilers.  */
48775
48776 #ifdef __STDC__
48777 # include <limits.h>
48778 #else
48779 # include <assert.h>
48780 #endif
48781
48782 #undef $ac_func
48783
48784 /* Override any gcc2 internal prototype to avoid an error.  */
48785 #ifdef __cplusplus
48786 extern "C"
48787 {
48788 #endif
48789 /* We use char because int might match the return type of a gcc2
48790    builtin and then its argument prototype would still apply.  */
48791 char $ac_func ();
48792 /* The GNU C library defines this for functions which it implements
48793     to always fail with ENOSYS.  Some functions are actually named
48794     something starting with __ and the normal name is an alias.  */
48795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48796 choke me
48797 #else
48798 char (*f) () = $ac_func;
48799 #endif
48800 #ifdef __cplusplus
48801 }
48802 #endif
48803
48804 int
48805 main ()
48806 {
48807 return f != $ac_func;
48808   ;
48809   return 0;
48810 }
48811 _ACEOF
48812 rm -f conftest.$ac_objext conftest$ac_exeext
48813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48814   (eval $ac_link) 2>conftest.er1
48815   ac_status=$?
48816   grep -v '^ *+' conftest.er1 >conftest.err
48817   rm -f conftest.er1
48818   cat conftest.err >&5
48819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48820   (exit $ac_status); } &&
48821          { ac_try='test -z "$ac_c_werror_flag"
48822                          || test ! -s conftest.err'
48823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48824   (eval $ac_try) 2>&5
48825   ac_status=$?
48826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48827   (exit $ac_status); }; } &&
48828          { ac_try='test -s conftest$ac_exeext'
48829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48830   (eval $ac_try) 2>&5
48831   ac_status=$?
48832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833   (exit $ac_status); }; }; then
48834   eval "$as_ac_var=yes"
48835 else
48836   echo "$as_me: failed program was:" >&5
48837 sed 's/^/| /' conftest.$ac_ext >&5
48838
48839 eval "$as_ac_var=no"
48840 fi
48841 rm -f conftest.err conftest.$ac_objext \
48842       conftest$ac_exeext conftest.$ac_ext
48843 fi
48844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48846 if test `eval echo '${'$as_ac_var'}'` = yes; then
48847   cat >>confdefs.h <<_ACEOF
48848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48849 _ACEOF
48850
48851 fi
48852 done
48853
48854   else
48855
48856   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48857 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48858   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48859     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48860   echo $ECHO_N "(cached) $ECHO_C" >&6
48861 else
48862
48863
48864
48865       ac_ext=cc
48866 ac_cpp='$CXXCPP $CPPFLAGS'
48867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48870
48871       cat >conftest.$ac_ext <<_ACEOF
48872 /* confdefs.h.  */
48873 _ACEOF
48874 cat confdefs.h >>conftest.$ac_ext
48875 cat >>conftest.$ac_ext <<_ACEOF
48876 /* end confdefs.h.  */
48877 #include <math.h>
48878                       #ifdef HAVE_IEEEFP_H
48879                       #include <ieeefp.h>
48880                       #endif
48881
48882 int
48883 main ()
48884 {
48885  _fabsf(0);
48886   ;
48887   return 0;
48888 }
48889 _ACEOF
48890 rm -f conftest.$ac_objext
48891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48892   (eval $ac_compile) 2>conftest.er1
48893   ac_status=$?
48894   grep -v '^ *+' conftest.er1 >conftest.err
48895   rm -f conftest.er1
48896   cat conftest.err >&5
48897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898   (exit $ac_status); } &&
48899          { ac_try='test -z "$ac_cxx_werror_flag"
48900                          || test ! -s conftest.err'
48901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48902   (eval $ac_try) 2>&5
48903   ac_status=$?
48904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905   (exit $ac_status); }; } &&
48906          { ac_try='test -s conftest.$ac_objext'
48907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48908   (eval $ac_try) 2>&5
48909   ac_status=$?
48910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911   (exit $ac_status); }; }; then
48912   glibcxx_cv_func__fabsf_use=yes
48913 else
48914   echo "$as_me: failed program was:" >&5
48915 sed 's/^/| /' conftest.$ac_ext >&5
48916
48917 glibcxx_cv_func__fabsf_use=no
48918 fi
48919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48920       ac_ext=c
48921 ac_cpp='$CPP $CPPFLAGS'
48922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48925
48926
48927 fi
48928
48929   fi
48930   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48931 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48932
48933     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48934
48935 for ac_func in _fabsf
48936 do
48937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48938 echo "$as_me:$LINENO: checking for $ac_func" >&5
48939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48940 if eval "test \"\${$as_ac_var+set}\" = set"; then
48941   echo $ECHO_N "(cached) $ECHO_C" >&6
48942 else
48943   if test x$gcc_no_link = xyes; then
48944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48946    { (exit 1); exit 1; }; }
48947 fi
48948 cat >conftest.$ac_ext <<_ACEOF
48949 /* confdefs.h.  */
48950 _ACEOF
48951 cat confdefs.h >>conftest.$ac_ext
48952 cat >>conftest.$ac_ext <<_ACEOF
48953 /* end confdefs.h.  */
48954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48956 #define $ac_func innocuous_$ac_func
48957
48958 /* System header to define __stub macros and hopefully few prototypes,
48959     which can conflict with char $ac_func (); below.
48960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48961     <limits.h> exists even on freestanding compilers.  */
48962
48963 #ifdef __STDC__
48964 # include <limits.h>
48965 #else
48966 # include <assert.h>
48967 #endif
48968
48969 #undef $ac_func
48970
48971 /* Override any gcc2 internal prototype to avoid an error.  */
48972 #ifdef __cplusplus
48973 extern "C"
48974 {
48975 #endif
48976 /* We use char because int might match the return type of a gcc2
48977    builtin and then its argument prototype would still apply.  */
48978 char $ac_func ();
48979 /* The GNU C library defines this for functions which it implements
48980     to always fail with ENOSYS.  Some functions are actually named
48981     something starting with __ and the normal name is an alias.  */
48982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48983 choke me
48984 #else
48985 char (*f) () = $ac_func;
48986 #endif
48987 #ifdef __cplusplus
48988 }
48989 #endif
48990
48991 int
48992 main ()
48993 {
48994 return f != $ac_func;
48995   ;
48996   return 0;
48997 }
48998 _ACEOF
48999 rm -f conftest.$ac_objext conftest$ac_exeext
49000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49001   (eval $ac_link) 2>conftest.er1
49002   ac_status=$?
49003   grep -v '^ *+' conftest.er1 >conftest.err
49004   rm -f conftest.er1
49005   cat conftest.err >&5
49006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49007   (exit $ac_status); } &&
49008          { ac_try='test -z "$ac_c_werror_flag"
49009                          || test ! -s conftest.err'
49010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49011   (eval $ac_try) 2>&5
49012   ac_status=$?
49013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49014   (exit $ac_status); }; } &&
49015          { ac_try='test -s conftest$ac_exeext'
49016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49017   (eval $ac_try) 2>&5
49018   ac_status=$?
49019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49020   (exit $ac_status); }; }; then
49021   eval "$as_ac_var=yes"
49022 else
49023   echo "$as_me: failed program was:" >&5
49024 sed 's/^/| /' conftest.$ac_ext >&5
49025
49026 eval "$as_ac_var=no"
49027 fi
49028 rm -f conftest.err conftest.$ac_objext \
49029       conftest$ac_exeext conftest.$ac_ext
49030 fi
49031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49033 if test `eval echo '${'$as_ac_var'}'` = yes; then
49034   cat >>confdefs.h <<_ACEOF
49035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49036 _ACEOF
49037
49038 fi
49039 done
49040
49041     fi
49042   fi
49043
49044
49045
49046
49047
49048
49049   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49050 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49051   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49052     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49053   echo $ECHO_N "(cached) $ECHO_C" >&6
49054 else
49055
49056
49057
49058       ac_ext=cc
49059 ac_cpp='$CXXCPP $CPPFLAGS'
49060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49063
49064       cat >conftest.$ac_ext <<_ACEOF
49065 /* confdefs.h.  */
49066 _ACEOF
49067 cat confdefs.h >>conftest.$ac_ext
49068 cat >>conftest.$ac_ext <<_ACEOF
49069 /* end confdefs.h.  */
49070 #include <math.h>
49071 int
49072 main ()
49073 {
49074  fmodf(0, 0);
49075   ;
49076   return 0;
49077 }
49078 _ACEOF
49079 rm -f conftest.$ac_objext
49080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49081   (eval $ac_compile) 2>conftest.er1
49082   ac_status=$?
49083   grep -v '^ *+' conftest.er1 >conftest.err
49084   rm -f conftest.er1
49085   cat conftest.err >&5
49086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49087   (exit $ac_status); } &&
49088          { ac_try='test -z "$ac_cxx_werror_flag"
49089                          || test ! -s conftest.err'
49090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49091   (eval $ac_try) 2>&5
49092   ac_status=$?
49093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094   (exit $ac_status); }; } &&
49095          { ac_try='test -s conftest.$ac_objext'
49096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49097   (eval $ac_try) 2>&5
49098   ac_status=$?
49099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49100   (exit $ac_status); }; }; then
49101   glibcxx_cv_func_fmodf_use=yes
49102 else
49103   echo "$as_me: failed program was:" >&5
49104 sed 's/^/| /' conftest.$ac_ext >&5
49105
49106 glibcxx_cv_func_fmodf_use=no
49107 fi
49108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49109       ac_ext=c
49110 ac_cpp='$CPP $CPPFLAGS'
49111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49114
49115
49116 fi
49117
49118   fi
49119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49120 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49121
49122   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49123
49124 for ac_func in fmodf
49125 do
49126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49127 echo "$as_me:$LINENO: checking for $ac_func" >&5
49128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49129 if eval "test \"\${$as_ac_var+set}\" = set"; then
49130   echo $ECHO_N "(cached) $ECHO_C" >&6
49131 else
49132   if test x$gcc_no_link = xyes; then
49133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49135    { (exit 1); exit 1; }; }
49136 fi
49137 cat >conftest.$ac_ext <<_ACEOF
49138 /* confdefs.h.  */
49139 _ACEOF
49140 cat confdefs.h >>conftest.$ac_ext
49141 cat >>conftest.$ac_ext <<_ACEOF
49142 /* end confdefs.h.  */
49143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49145 #define $ac_func innocuous_$ac_func
49146
49147 /* System header to define __stub macros and hopefully few prototypes,
49148     which can conflict with char $ac_func (); below.
49149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49150     <limits.h> exists even on freestanding compilers.  */
49151
49152 #ifdef __STDC__
49153 # include <limits.h>
49154 #else
49155 # include <assert.h>
49156 #endif
49157
49158 #undef $ac_func
49159
49160 /* Override any gcc2 internal prototype to avoid an error.  */
49161 #ifdef __cplusplus
49162 extern "C"
49163 {
49164 #endif
49165 /* We use char because int might match the return type of a gcc2
49166    builtin and then its argument prototype would still apply.  */
49167 char $ac_func ();
49168 /* The GNU C library defines this for functions which it implements
49169     to always fail with ENOSYS.  Some functions are actually named
49170     something starting with __ and the normal name is an alias.  */
49171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49172 choke me
49173 #else
49174 char (*f) () = $ac_func;
49175 #endif
49176 #ifdef __cplusplus
49177 }
49178 #endif
49179
49180 int
49181 main ()
49182 {
49183 return f != $ac_func;
49184   ;
49185   return 0;
49186 }
49187 _ACEOF
49188 rm -f conftest.$ac_objext conftest$ac_exeext
49189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49190   (eval $ac_link) 2>conftest.er1
49191   ac_status=$?
49192   grep -v '^ *+' conftest.er1 >conftest.err
49193   rm -f conftest.er1
49194   cat conftest.err >&5
49195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49196   (exit $ac_status); } &&
49197          { ac_try='test -z "$ac_c_werror_flag"
49198                          || test ! -s conftest.err'
49199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49200   (eval $ac_try) 2>&5
49201   ac_status=$?
49202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49203   (exit $ac_status); }; } &&
49204          { ac_try='test -s conftest$ac_exeext'
49205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49206   (eval $ac_try) 2>&5
49207   ac_status=$?
49208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49209   (exit $ac_status); }; }; then
49210   eval "$as_ac_var=yes"
49211 else
49212   echo "$as_me: failed program was:" >&5
49213 sed 's/^/| /' conftest.$ac_ext >&5
49214
49215 eval "$as_ac_var=no"
49216 fi
49217 rm -f conftest.err conftest.$ac_objext \
49218       conftest$ac_exeext conftest.$ac_ext
49219 fi
49220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49222 if test `eval echo '${'$as_ac_var'}'` = yes; then
49223   cat >>confdefs.h <<_ACEOF
49224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49225 _ACEOF
49226
49227 fi
49228 done
49229
49230   else
49231
49232   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49233 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49234   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49235     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49236   echo $ECHO_N "(cached) $ECHO_C" >&6
49237 else
49238
49239
49240
49241       ac_ext=cc
49242 ac_cpp='$CXXCPP $CPPFLAGS'
49243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49246
49247       cat >conftest.$ac_ext <<_ACEOF
49248 /* confdefs.h.  */
49249 _ACEOF
49250 cat confdefs.h >>conftest.$ac_ext
49251 cat >>conftest.$ac_ext <<_ACEOF
49252 /* end confdefs.h.  */
49253 #include <math.h>
49254 int
49255 main ()
49256 {
49257  _fmodf(0, 0);
49258   ;
49259   return 0;
49260 }
49261 _ACEOF
49262 rm -f conftest.$ac_objext
49263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49264   (eval $ac_compile) 2>conftest.er1
49265   ac_status=$?
49266   grep -v '^ *+' conftest.er1 >conftest.err
49267   rm -f conftest.er1
49268   cat conftest.err >&5
49269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270   (exit $ac_status); } &&
49271          { ac_try='test -z "$ac_cxx_werror_flag"
49272                          || test ! -s conftest.err'
49273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49274   (eval $ac_try) 2>&5
49275   ac_status=$?
49276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49277   (exit $ac_status); }; } &&
49278          { ac_try='test -s conftest.$ac_objext'
49279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49280   (eval $ac_try) 2>&5
49281   ac_status=$?
49282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49283   (exit $ac_status); }; }; then
49284   glibcxx_cv_func__fmodf_use=yes
49285 else
49286   echo "$as_me: failed program was:" >&5
49287 sed 's/^/| /' conftest.$ac_ext >&5
49288
49289 glibcxx_cv_func__fmodf_use=no
49290 fi
49291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49292       ac_ext=c
49293 ac_cpp='$CPP $CPPFLAGS'
49294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49297
49298
49299 fi
49300
49301   fi
49302   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49303 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49304
49305     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49306
49307 for ac_func in _fmodf
49308 do
49309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49310 echo "$as_me:$LINENO: checking for $ac_func" >&5
49311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49312 if eval "test \"\${$as_ac_var+set}\" = set"; then
49313   echo $ECHO_N "(cached) $ECHO_C" >&6
49314 else
49315   if test x$gcc_no_link = xyes; then
49316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49318    { (exit 1); exit 1; }; }
49319 fi
49320 cat >conftest.$ac_ext <<_ACEOF
49321 /* confdefs.h.  */
49322 _ACEOF
49323 cat confdefs.h >>conftest.$ac_ext
49324 cat >>conftest.$ac_ext <<_ACEOF
49325 /* end confdefs.h.  */
49326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49328 #define $ac_func innocuous_$ac_func
49329
49330 /* System header to define __stub macros and hopefully few prototypes,
49331     which can conflict with char $ac_func (); below.
49332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49333     <limits.h> exists even on freestanding compilers.  */
49334
49335 #ifdef __STDC__
49336 # include <limits.h>
49337 #else
49338 # include <assert.h>
49339 #endif
49340
49341 #undef $ac_func
49342
49343 /* Override any gcc2 internal prototype to avoid an error.  */
49344 #ifdef __cplusplus
49345 extern "C"
49346 {
49347 #endif
49348 /* We use char because int might match the return type of a gcc2
49349    builtin and then its argument prototype would still apply.  */
49350 char $ac_func ();
49351 /* The GNU C library defines this for functions which it implements
49352     to always fail with ENOSYS.  Some functions are actually named
49353     something starting with __ and the normal name is an alias.  */
49354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49355 choke me
49356 #else
49357 char (*f) () = $ac_func;
49358 #endif
49359 #ifdef __cplusplus
49360 }
49361 #endif
49362
49363 int
49364 main ()
49365 {
49366 return f != $ac_func;
49367   ;
49368   return 0;
49369 }
49370 _ACEOF
49371 rm -f conftest.$ac_objext conftest$ac_exeext
49372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49373   (eval $ac_link) 2>conftest.er1
49374   ac_status=$?
49375   grep -v '^ *+' conftest.er1 >conftest.err
49376   rm -f conftest.er1
49377   cat conftest.err >&5
49378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49379   (exit $ac_status); } &&
49380          { ac_try='test -z "$ac_c_werror_flag"
49381                          || test ! -s conftest.err'
49382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49383   (eval $ac_try) 2>&5
49384   ac_status=$?
49385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49386   (exit $ac_status); }; } &&
49387          { ac_try='test -s conftest$ac_exeext'
49388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49389   (eval $ac_try) 2>&5
49390   ac_status=$?
49391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49392   (exit $ac_status); }; }; then
49393   eval "$as_ac_var=yes"
49394 else
49395   echo "$as_me: failed program was:" >&5
49396 sed 's/^/| /' conftest.$ac_ext >&5
49397
49398 eval "$as_ac_var=no"
49399 fi
49400 rm -f conftest.err conftest.$ac_objext \
49401       conftest$ac_exeext conftest.$ac_ext
49402 fi
49403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49405 if test `eval echo '${'$as_ac_var'}'` = yes; then
49406   cat >>confdefs.h <<_ACEOF
49407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49408 _ACEOF
49409
49410 fi
49411 done
49412
49413     fi
49414   fi
49415
49416
49417
49418
49419
49420
49421   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49422 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49423   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49424     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49425   echo $ECHO_N "(cached) $ECHO_C" >&6
49426 else
49427
49428
49429
49430       ac_ext=cc
49431 ac_cpp='$CXXCPP $CPPFLAGS'
49432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49435
49436       cat >conftest.$ac_ext <<_ACEOF
49437 /* confdefs.h.  */
49438 _ACEOF
49439 cat confdefs.h >>conftest.$ac_ext
49440 cat >>conftest.$ac_ext <<_ACEOF
49441 /* end confdefs.h.  */
49442 #include <math.h>
49443 int
49444 main ()
49445 {
49446  frexpf(0, 0);
49447   ;
49448   return 0;
49449 }
49450 _ACEOF
49451 rm -f conftest.$ac_objext
49452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49453   (eval $ac_compile) 2>conftest.er1
49454   ac_status=$?
49455   grep -v '^ *+' conftest.er1 >conftest.err
49456   rm -f conftest.er1
49457   cat conftest.err >&5
49458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49459   (exit $ac_status); } &&
49460          { ac_try='test -z "$ac_cxx_werror_flag"
49461                          || test ! -s conftest.err'
49462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49463   (eval $ac_try) 2>&5
49464   ac_status=$?
49465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49466   (exit $ac_status); }; } &&
49467          { ac_try='test -s conftest.$ac_objext'
49468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49469   (eval $ac_try) 2>&5
49470   ac_status=$?
49471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49472   (exit $ac_status); }; }; then
49473   glibcxx_cv_func_frexpf_use=yes
49474 else
49475   echo "$as_me: failed program was:" >&5
49476 sed 's/^/| /' conftest.$ac_ext >&5
49477
49478 glibcxx_cv_func_frexpf_use=no
49479 fi
49480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49481       ac_ext=c
49482 ac_cpp='$CPP $CPPFLAGS'
49483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49486
49487
49488 fi
49489
49490   fi
49491   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49492 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49493
49494   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49495
49496 for ac_func in frexpf
49497 do
49498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49499 echo "$as_me:$LINENO: checking for $ac_func" >&5
49500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49501 if eval "test \"\${$as_ac_var+set}\" = set"; then
49502   echo $ECHO_N "(cached) $ECHO_C" >&6
49503 else
49504   if test x$gcc_no_link = xyes; then
49505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49507    { (exit 1); exit 1; }; }
49508 fi
49509 cat >conftest.$ac_ext <<_ACEOF
49510 /* confdefs.h.  */
49511 _ACEOF
49512 cat confdefs.h >>conftest.$ac_ext
49513 cat >>conftest.$ac_ext <<_ACEOF
49514 /* end confdefs.h.  */
49515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49517 #define $ac_func innocuous_$ac_func
49518
49519 /* System header to define __stub macros and hopefully few prototypes,
49520     which can conflict with char $ac_func (); below.
49521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49522     <limits.h> exists even on freestanding compilers.  */
49523
49524 #ifdef __STDC__
49525 # include <limits.h>
49526 #else
49527 # include <assert.h>
49528 #endif
49529
49530 #undef $ac_func
49531
49532 /* Override any gcc2 internal prototype to avoid an error.  */
49533 #ifdef __cplusplus
49534 extern "C"
49535 {
49536 #endif
49537 /* We use char because int might match the return type of a gcc2
49538    builtin and then its argument prototype would still apply.  */
49539 char $ac_func ();
49540 /* The GNU C library defines this for functions which it implements
49541     to always fail with ENOSYS.  Some functions are actually named
49542     something starting with __ and the normal name is an alias.  */
49543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49544 choke me
49545 #else
49546 char (*f) () = $ac_func;
49547 #endif
49548 #ifdef __cplusplus
49549 }
49550 #endif
49551
49552 int
49553 main ()
49554 {
49555 return f != $ac_func;
49556   ;
49557   return 0;
49558 }
49559 _ACEOF
49560 rm -f conftest.$ac_objext conftest$ac_exeext
49561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49562   (eval $ac_link) 2>conftest.er1
49563   ac_status=$?
49564   grep -v '^ *+' conftest.er1 >conftest.err
49565   rm -f conftest.er1
49566   cat conftest.err >&5
49567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49568   (exit $ac_status); } &&
49569          { ac_try='test -z "$ac_c_werror_flag"
49570                          || test ! -s conftest.err'
49571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49572   (eval $ac_try) 2>&5
49573   ac_status=$?
49574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49575   (exit $ac_status); }; } &&
49576          { ac_try='test -s conftest$ac_exeext'
49577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49578   (eval $ac_try) 2>&5
49579   ac_status=$?
49580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49581   (exit $ac_status); }; }; then
49582   eval "$as_ac_var=yes"
49583 else
49584   echo "$as_me: failed program was:" >&5
49585 sed 's/^/| /' conftest.$ac_ext >&5
49586
49587 eval "$as_ac_var=no"
49588 fi
49589 rm -f conftest.err conftest.$ac_objext \
49590       conftest$ac_exeext conftest.$ac_ext
49591 fi
49592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49594 if test `eval echo '${'$as_ac_var'}'` = yes; then
49595   cat >>confdefs.h <<_ACEOF
49596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49597 _ACEOF
49598
49599 fi
49600 done
49601
49602   else
49603
49604   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49605 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49606   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49607     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49608   echo $ECHO_N "(cached) $ECHO_C" >&6
49609 else
49610
49611
49612
49613       ac_ext=cc
49614 ac_cpp='$CXXCPP $CPPFLAGS'
49615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49618
49619       cat >conftest.$ac_ext <<_ACEOF
49620 /* confdefs.h.  */
49621 _ACEOF
49622 cat confdefs.h >>conftest.$ac_ext
49623 cat >>conftest.$ac_ext <<_ACEOF
49624 /* end confdefs.h.  */
49625 #include <math.h>
49626 int
49627 main ()
49628 {
49629  _frexpf(0, 0);
49630   ;
49631   return 0;
49632 }
49633 _ACEOF
49634 rm -f conftest.$ac_objext
49635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49636   (eval $ac_compile) 2>conftest.er1
49637   ac_status=$?
49638   grep -v '^ *+' conftest.er1 >conftest.err
49639   rm -f conftest.er1
49640   cat conftest.err >&5
49641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49642   (exit $ac_status); } &&
49643          { ac_try='test -z "$ac_cxx_werror_flag"
49644                          || test ! -s conftest.err'
49645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49646   (eval $ac_try) 2>&5
49647   ac_status=$?
49648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49649   (exit $ac_status); }; } &&
49650          { ac_try='test -s conftest.$ac_objext'
49651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49652   (eval $ac_try) 2>&5
49653   ac_status=$?
49654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49655   (exit $ac_status); }; }; then
49656   glibcxx_cv_func__frexpf_use=yes
49657 else
49658   echo "$as_me: failed program was:" >&5
49659 sed 's/^/| /' conftest.$ac_ext >&5
49660
49661 glibcxx_cv_func__frexpf_use=no
49662 fi
49663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49664       ac_ext=c
49665 ac_cpp='$CPP $CPPFLAGS'
49666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49669
49670
49671 fi
49672
49673   fi
49674   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49675 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49676
49677     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49678
49679 for ac_func in _frexpf
49680 do
49681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49682 echo "$as_me:$LINENO: checking for $ac_func" >&5
49683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49684 if eval "test \"\${$as_ac_var+set}\" = set"; then
49685   echo $ECHO_N "(cached) $ECHO_C" >&6
49686 else
49687   if test x$gcc_no_link = xyes; then
49688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49690    { (exit 1); exit 1; }; }
49691 fi
49692 cat >conftest.$ac_ext <<_ACEOF
49693 /* confdefs.h.  */
49694 _ACEOF
49695 cat confdefs.h >>conftest.$ac_ext
49696 cat >>conftest.$ac_ext <<_ACEOF
49697 /* end confdefs.h.  */
49698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49700 #define $ac_func innocuous_$ac_func
49701
49702 /* System header to define __stub macros and hopefully few prototypes,
49703     which can conflict with char $ac_func (); below.
49704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49705     <limits.h> exists even on freestanding compilers.  */
49706
49707 #ifdef __STDC__
49708 # include <limits.h>
49709 #else
49710 # include <assert.h>
49711 #endif
49712
49713 #undef $ac_func
49714
49715 /* Override any gcc2 internal prototype to avoid an error.  */
49716 #ifdef __cplusplus
49717 extern "C"
49718 {
49719 #endif
49720 /* We use char because int might match the return type of a gcc2
49721    builtin and then its argument prototype would still apply.  */
49722 char $ac_func ();
49723 /* The GNU C library defines this for functions which it implements
49724     to always fail with ENOSYS.  Some functions are actually named
49725     something starting with __ and the normal name is an alias.  */
49726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49727 choke me
49728 #else
49729 char (*f) () = $ac_func;
49730 #endif
49731 #ifdef __cplusplus
49732 }
49733 #endif
49734
49735 int
49736 main ()
49737 {
49738 return f != $ac_func;
49739   ;
49740   return 0;
49741 }
49742 _ACEOF
49743 rm -f conftest.$ac_objext conftest$ac_exeext
49744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49745   (eval $ac_link) 2>conftest.er1
49746   ac_status=$?
49747   grep -v '^ *+' conftest.er1 >conftest.err
49748   rm -f conftest.er1
49749   cat conftest.err >&5
49750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49751   (exit $ac_status); } &&
49752          { ac_try='test -z "$ac_c_werror_flag"
49753                          || test ! -s conftest.err'
49754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49755   (eval $ac_try) 2>&5
49756   ac_status=$?
49757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49758   (exit $ac_status); }; } &&
49759          { ac_try='test -s conftest$ac_exeext'
49760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49761   (eval $ac_try) 2>&5
49762   ac_status=$?
49763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49764   (exit $ac_status); }; }; then
49765   eval "$as_ac_var=yes"
49766 else
49767   echo "$as_me: failed program was:" >&5
49768 sed 's/^/| /' conftest.$ac_ext >&5
49769
49770 eval "$as_ac_var=no"
49771 fi
49772 rm -f conftest.err conftest.$ac_objext \
49773       conftest$ac_exeext conftest.$ac_ext
49774 fi
49775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49777 if test `eval echo '${'$as_ac_var'}'` = yes; then
49778   cat >>confdefs.h <<_ACEOF
49779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49780 _ACEOF
49781
49782 fi
49783 done
49784
49785     fi
49786   fi
49787
49788
49789
49790
49791
49792
49793   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49794 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49795   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49796     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49797   echo $ECHO_N "(cached) $ECHO_C" >&6
49798 else
49799
49800
49801
49802       ac_ext=cc
49803 ac_cpp='$CXXCPP $CPPFLAGS'
49804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49807
49808       cat >conftest.$ac_ext <<_ACEOF
49809 /* confdefs.h.  */
49810 _ACEOF
49811 cat confdefs.h >>conftest.$ac_ext
49812 cat >>conftest.$ac_ext <<_ACEOF
49813 /* end confdefs.h.  */
49814 #include <math.h>
49815 int
49816 main ()
49817 {
49818  hypotf(0, 0);
49819   ;
49820   return 0;
49821 }
49822 _ACEOF
49823 rm -f conftest.$ac_objext
49824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49825   (eval $ac_compile) 2>conftest.er1
49826   ac_status=$?
49827   grep -v '^ *+' conftest.er1 >conftest.err
49828   rm -f conftest.er1
49829   cat conftest.err >&5
49830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49831   (exit $ac_status); } &&
49832          { ac_try='test -z "$ac_cxx_werror_flag"
49833                          || test ! -s conftest.err'
49834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49835   (eval $ac_try) 2>&5
49836   ac_status=$?
49837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49838   (exit $ac_status); }; } &&
49839          { ac_try='test -s conftest.$ac_objext'
49840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49841   (eval $ac_try) 2>&5
49842   ac_status=$?
49843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49844   (exit $ac_status); }; }; then
49845   glibcxx_cv_func_hypotf_use=yes
49846 else
49847   echo "$as_me: failed program was:" >&5
49848 sed 's/^/| /' conftest.$ac_ext >&5
49849
49850 glibcxx_cv_func_hypotf_use=no
49851 fi
49852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49853       ac_ext=c
49854 ac_cpp='$CPP $CPPFLAGS'
49855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49858
49859
49860 fi
49861
49862   fi
49863   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49864 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49865
49866   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49867
49868 for ac_func in hypotf
49869 do
49870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49871 echo "$as_me:$LINENO: checking for $ac_func" >&5
49872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49873 if eval "test \"\${$as_ac_var+set}\" = set"; then
49874   echo $ECHO_N "(cached) $ECHO_C" >&6
49875 else
49876   if test x$gcc_no_link = xyes; then
49877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49879    { (exit 1); exit 1; }; }
49880 fi
49881 cat >conftest.$ac_ext <<_ACEOF
49882 /* confdefs.h.  */
49883 _ACEOF
49884 cat confdefs.h >>conftest.$ac_ext
49885 cat >>conftest.$ac_ext <<_ACEOF
49886 /* end confdefs.h.  */
49887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49889 #define $ac_func innocuous_$ac_func
49890
49891 /* System header to define __stub macros and hopefully few prototypes,
49892     which can conflict with char $ac_func (); below.
49893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49894     <limits.h> exists even on freestanding compilers.  */
49895
49896 #ifdef __STDC__
49897 # include <limits.h>
49898 #else
49899 # include <assert.h>
49900 #endif
49901
49902 #undef $ac_func
49903
49904 /* Override any gcc2 internal prototype to avoid an error.  */
49905 #ifdef __cplusplus
49906 extern "C"
49907 {
49908 #endif
49909 /* We use char because int might match the return type of a gcc2
49910    builtin and then its argument prototype would still apply.  */
49911 char $ac_func ();
49912 /* The GNU C library defines this for functions which it implements
49913     to always fail with ENOSYS.  Some functions are actually named
49914     something starting with __ and the normal name is an alias.  */
49915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49916 choke me
49917 #else
49918 char (*f) () = $ac_func;
49919 #endif
49920 #ifdef __cplusplus
49921 }
49922 #endif
49923
49924 int
49925 main ()
49926 {
49927 return f != $ac_func;
49928   ;
49929   return 0;
49930 }
49931 _ACEOF
49932 rm -f conftest.$ac_objext conftest$ac_exeext
49933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49934   (eval $ac_link) 2>conftest.er1
49935   ac_status=$?
49936   grep -v '^ *+' conftest.er1 >conftest.err
49937   rm -f conftest.er1
49938   cat conftest.err >&5
49939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49940   (exit $ac_status); } &&
49941          { ac_try='test -z "$ac_c_werror_flag"
49942                          || test ! -s conftest.err'
49943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49944   (eval $ac_try) 2>&5
49945   ac_status=$?
49946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49947   (exit $ac_status); }; } &&
49948          { ac_try='test -s conftest$ac_exeext'
49949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49950   (eval $ac_try) 2>&5
49951   ac_status=$?
49952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953   (exit $ac_status); }; }; then
49954   eval "$as_ac_var=yes"
49955 else
49956   echo "$as_me: failed program was:" >&5
49957 sed 's/^/| /' conftest.$ac_ext >&5
49958
49959 eval "$as_ac_var=no"
49960 fi
49961 rm -f conftest.err conftest.$ac_objext \
49962       conftest$ac_exeext conftest.$ac_ext
49963 fi
49964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49966 if test `eval echo '${'$as_ac_var'}'` = yes; then
49967   cat >>confdefs.h <<_ACEOF
49968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49969 _ACEOF
49970
49971 fi
49972 done
49973
49974   else
49975
49976   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49977 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49978   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49979     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49980   echo $ECHO_N "(cached) $ECHO_C" >&6
49981 else
49982
49983
49984
49985       ac_ext=cc
49986 ac_cpp='$CXXCPP $CPPFLAGS'
49987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49990
49991       cat >conftest.$ac_ext <<_ACEOF
49992 /* confdefs.h.  */
49993 _ACEOF
49994 cat confdefs.h >>conftest.$ac_ext
49995 cat >>conftest.$ac_ext <<_ACEOF
49996 /* end confdefs.h.  */
49997 #include <math.h>
49998 int
49999 main ()
50000 {
50001  _hypotf(0, 0);
50002   ;
50003   return 0;
50004 }
50005 _ACEOF
50006 rm -f conftest.$ac_objext
50007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50008   (eval $ac_compile) 2>conftest.er1
50009   ac_status=$?
50010   grep -v '^ *+' conftest.er1 >conftest.err
50011   rm -f conftest.er1
50012   cat conftest.err >&5
50013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50014   (exit $ac_status); } &&
50015          { ac_try='test -z "$ac_cxx_werror_flag"
50016                          || test ! -s conftest.err'
50017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50018   (eval $ac_try) 2>&5
50019   ac_status=$?
50020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50021   (exit $ac_status); }; } &&
50022          { ac_try='test -s conftest.$ac_objext'
50023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50024   (eval $ac_try) 2>&5
50025   ac_status=$?
50026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50027   (exit $ac_status); }; }; then
50028   glibcxx_cv_func__hypotf_use=yes
50029 else
50030   echo "$as_me: failed program was:" >&5
50031 sed 's/^/| /' conftest.$ac_ext >&5
50032
50033 glibcxx_cv_func__hypotf_use=no
50034 fi
50035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50036       ac_ext=c
50037 ac_cpp='$CPP $CPPFLAGS'
50038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50041
50042
50043 fi
50044
50045   fi
50046   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50047 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50048
50049     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50050
50051 for ac_func in _hypotf
50052 do
50053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50054 echo "$as_me:$LINENO: checking for $ac_func" >&5
50055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50056 if eval "test \"\${$as_ac_var+set}\" = set"; then
50057   echo $ECHO_N "(cached) $ECHO_C" >&6
50058 else
50059   if test x$gcc_no_link = xyes; then
50060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50062    { (exit 1); exit 1; }; }
50063 fi
50064 cat >conftest.$ac_ext <<_ACEOF
50065 /* confdefs.h.  */
50066 _ACEOF
50067 cat confdefs.h >>conftest.$ac_ext
50068 cat >>conftest.$ac_ext <<_ACEOF
50069 /* end confdefs.h.  */
50070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50072 #define $ac_func innocuous_$ac_func
50073
50074 /* System header to define __stub macros and hopefully few prototypes,
50075     which can conflict with char $ac_func (); below.
50076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50077     <limits.h> exists even on freestanding compilers.  */
50078
50079 #ifdef __STDC__
50080 # include <limits.h>
50081 #else
50082 # include <assert.h>
50083 #endif
50084
50085 #undef $ac_func
50086
50087 /* Override any gcc2 internal prototype to avoid an error.  */
50088 #ifdef __cplusplus
50089 extern "C"
50090 {
50091 #endif
50092 /* We use char because int might match the return type of a gcc2
50093    builtin and then its argument prototype would still apply.  */
50094 char $ac_func ();
50095 /* The GNU C library defines this for functions which it implements
50096     to always fail with ENOSYS.  Some functions are actually named
50097     something starting with __ and the normal name is an alias.  */
50098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50099 choke me
50100 #else
50101 char (*f) () = $ac_func;
50102 #endif
50103 #ifdef __cplusplus
50104 }
50105 #endif
50106
50107 int
50108 main ()
50109 {
50110 return f != $ac_func;
50111   ;
50112   return 0;
50113 }
50114 _ACEOF
50115 rm -f conftest.$ac_objext conftest$ac_exeext
50116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50117   (eval $ac_link) 2>conftest.er1
50118   ac_status=$?
50119   grep -v '^ *+' conftest.er1 >conftest.err
50120   rm -f conftest.er1
50121   cat conftest.err >&5
50122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50123   (exit $ac_status); } &&
50124          { ac_try='test -z "$ac_c_werror_flag"
50125                          || test ! -s conftest.err'
50126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50127   (eval $ac_try) 2>&5
50128   ac_status=$?
50129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50130   (exit $ac_status); }; } &&
50131          { ac_try='test -s conftest$ac_exeext'
50132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50133   (eval $ac_try) 2>&5
50134   ac_status=$?
50135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50136   (exit $ac_status); }; }; then
50137   eval "$as_ac_var=yes"
50138 else
50139   echo "$as_me: failed program was:" >&5
50140 sed 's/^/| /' conftest.$ac_ext >&5
50141
50142 eval "$as_ac_var=no"
50143 fi
50144 rm -f conftest.err conftest.$ac_objext \
50145       conftest$ac_exeext conftest.$ac_ext
50146 fi
50147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50149 if test `eval echo '${'$as_ac_var'}'` = yes; then
50150   cat >>confdefs.h <<_ACEOF
50151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50152 _ACEOF
50153
50154 fi
50155 done
50156
50157     fi
50158   fi
50159
50160
50161
50162
50163
50164
50165   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50166 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50167   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50168     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50169   echo $ECHO_N "(cached) $ECHO_C" >&6
50170 else
50171
50172
50173
50174       ac_ext=cc
50175 ac_cpp='$CXXCPP $CPPFLAGS'
50176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50179
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 #include <math.h>
50187 int
50188 main ()
50189 {
50190  ldexpf(0, 0);
50191   ;
50192   return 0;
50193 }
50194 _ACEOF
50195 rm -f conftest.$ac_objext
50196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50197   (eval $ac_compile) 2>conftest.er1
50198   ac_status=$?
50199   grep -v '^ *+' conftest.er1 >conftest.err
50200   rm -f conftest.er1
50201   cat conftest.err >&5
50202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50203   (exit $ac_status); } &&
50204          { ac_try='test -z "$ac_cxx_werror_flag"
50205                          || test ! -s conftest.err'
50206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50207   (eval $ac_try) 2>&5
50208   ac_status=$?
50209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50210   (exit $ac_status); }; } &&
50211          { ac_try='test -s conftest.$ac_objext'
50212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50213   (eval $ac_try) 2>&5
50214   ac_status=$?
50215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50216   (exit $ac_status); }; }; then
50217   glibcxx_cv_func_ldexpf_use=yes
50218 else
50219   echo "$as_me: failed program was:" >&5
50220 sed 's/^/| /' conftest.$ac_ext >&5
50221
50222 glibcxx_cv_func_ldexpf_use=no
50223 fi
50224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50225       ac_ext=c
50226 ac_cpp='$CPP $CPPFLAGS'
50227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50230
50231
50232 fi
50233
50234   fi
50235   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50236 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50237
50238   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50239
50240 for ac_func in ldexpf
50241 do
50242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50243 echo "$as_me:$LINENO: checking for $ac_func" >&5
50244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50245 if eval "test \"\${$as_ac_var+set}\" = set"; then
50246   echo $ECHO_N "(cached) $ECHO_C" >&6
50247 else
50248   if test x$gcc_no_link = xyes; then
50249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50251    { (exit 1); exit 1; }; }
50252 fi
50253 cat >conftest.$ac_ext <<_ACEOF
50254 /* confdefs.h.  */
50255 _ACEOF
50256 cat confdefs.h >>conftest.$ac_ext
50257 cat >>conftest.$ac_ext <<_ACEOF
50258 /* end confdefs.h.  */
50259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50261 #define $ac_func innocuous_$ac_func
50262
50263 /* System header to define __stub macros and hopefully few prototypes,
50264     which can conflict with char $ac_func (); below.
50265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50266     <limits.h> exists even on freestanding compilers.  */
50267
50268 #ifdef __STDC__
50269 # include <limits.h>
50270 #else
50271 # include <assert.h>
50272 #endif
50273
50274 #undef $ac_func
50275
50276 /* Override any gcc2 internal prototype to avoid an error.  */
50277 #ifdef __cplusplus
50278 extern "C"
50279 {
50280 #endif
50281 /* We use char because int might match the return type of a gcc2
50282    builtin and then its argument prototype would still apply.  */
50283 char $ac_func ();
50284 /* The GNU C library defines this for functions which it implements
50285     to always fail with ENOSYS.  Some functions are actually named
50286     something starting with __ and the normal name is an alias.  */
50287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50288 choke me
50289 #else
50290 char (*f) () = $ac_func;
50291 #endif
50292 #ifdef __cplusplus
50293 }
50294 #endif
50295
50296 int
50297 main ()
50298 {
50299 return f != $ac_func;
50300   ;
50301   return 0;
50302 }
50303 _ACEOF
50304 rm -f conftest.$ac_objext conftest$ac_exeext
50305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50306   (eval $ac_link) 2>conftest.er1
50307   ac_status=$?
50308   grep -v '^ *+' conftest.er1 >conftest.err
50309   rm -f conftest.er1
50310   cat conftest.err >&5
50311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50312   (exit $ac_status); } &&
50313          { ac_try='test -z "$ac_c_werror_flag"
50314                          || test ! -s conftest.err'
50315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50316   (eval $ac_try) 2>&5
50317   ac_status=$?
50318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319   (exit $ac_status); }; } &&
50320          { ac_try='test -s conftest$ac_exeext'
50321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50322   (eval $ac_try) 2>&5
50323   ac_status=$?
50324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50325   (exit $ac_status); }; }; then
50326   eval "$as_ac_var=yes"
50327 else
50328   echo "$as_me: failed program was:" >&5
50329 sed 's/^/| /' conftest.$ac_ext >&5
50330
50331 eval "$as_ac_var=no"
50332 fi
50333 rm -f conftest.err conftest.$ac_objext \
50334       conftest$ac_exeext conftest.$ac_ext
50335 fi
50336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50338 if test `eval echo '${'$as_ac_var'}'` = yes; then
50339   cat >>confdefs.h <<_ACEOF
50340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50341 _ACEOF
50342
50343 fi
50344 done
50345
50346   else
50347
50348   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50349 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50350   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50351     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50352   echo $ECHO_N "(cached) $ECHO_C" >&6
50353 else
50354
50355
50356
50357       ac_ext=cc
50358 ac_cpp='$CXXCPP $CPPFLAGS'
50359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50362
50363       cat >conftest.$ac_ext <<_ACEOF
50364 /* confdefs.h.  */
50365 _ACEOF
50366 cat confdefs.h >>conftest.$ac_ext
50367 cat >>conftest.$ac_ext <<_ACEOF
50368 /* end confdefs.h.  */
50369 #include <math.h>
50370 int
50371 main ()
50372 {
50373  _ldexpf(0, 0);
50374   ;
50375   return 0;
50376 }
50377 _ACEOF
50378 rm -f conftest.$ac_objext
50379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50380   (eval $ac_compile) 2>conftest.er1
50381   ac_status=$?
50382   grep -v '^ *+' conftest.er1 >conftest.err
50383   rm -f conftest.er1
50384   cat conftest.err >&5
50385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50386   (exit $ac_status); } &&
50387          { ac_try='test -z "$ac_cxx_werror_flag"
50388                          || test ! -s conftest.err'
50389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50390   (eval $ac_try) 2>&5
50391   ac_status=$?
50392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50393   (exit $ac_status); }; } &&
50394          { ac_try='test -s conftest.$ac_objext'
50395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50396   (eval $ac_try) 2>&5
50397   ac_status=$?
50398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50399   (exit $ac_status); }; }; then
50400   glibcxx_cv_func__ldexpf_use=yes
50401 else
50402   echo "$as_me: failed program was:" >&5
50403 sed 's/^/| /' conftest.$ac_ext >&5
50404
50405 glibcxx_cv_func__ldexpf_use=no
50406 fi
50407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50408       ac_ext=c
50409 ac_cpp='$CPP $CPPFLAGS'
50410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50413
50414
50415 fi
50416
50417   fi
50418   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50419 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50420
50421     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50422
50423 for ac_func in _ldexpf
50424 do
50425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50426 echo "$as_me:$LINENO: checking for $ac_func" >&5
50427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50428 if eval "test \"\${$as_ac_var+set}\" = set"; then
50429   echo $ECHO_N "(cached) $ECHO_C" >&6
50430 else
50431   if test x$gcc_no_link = xyes; then
50432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50434    { (exit 1); exit 1; }; }
50435 fi
50436 cat >conftest.$ac_ext <<_ACEOF
50437 /* confdefs.h.  */
50438 _ACEOF
50439 cat confdefs.h >>conftest.$ac_ext
50440 cat >>conftest.$ac_ext <<_ACEOF
50441 /* end confdefs.h.  */
50442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50444 #define $ac_func innocuous_$ac_func
50445
50446 /* System header to define __stub macros and hopefully few prototypes,
50447     which can conflict with char $ac_func (); below.
50448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50449     <limits.h> exists even on freestanding compilers.  */
50450
50451 #ifdef __STDC__
50452 # include <limits.h>
50453 #else
50454 # include <assert.h>
50455 #endif
50456
50457 #undef $ac_func
50458
50459 /* Override any gcc2 internal prototype to avoid an error.  */
50460 #ifdef __cplusplus
50461 extern "C"
50462 {
50463 #endif
50464 /* We use char because int might match the return type of a gcc2
50465    builtin and then its argument prototype would still apply.  */
50466 char $ac_func ();
50467 /* The GNU C library defines this for functions which it implements
50468     to always fail with ENOSYS.  Some functions are actually named
50469     something starting with __ and the normal name is an alias.  */
50470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50471 choke me
50472 #else
50473 char (*f) () = $ac_func;
50474 #endif
50475 #ifdef __cplusplus
50476 }
50477 #endif
50478
50479 int
50480 main ()
50481 {
50482 return f != $ac_func;
50483   ;
50484   return 0;
50485 }
50486 _ACEOF
50487 rm -f conftest.$ac_objext conftest$ac_exeext
50488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50489   (eval $ac_link) 2>conftest.er1
50490   ac_status=$?
50491   grep -v '^ *+' conftest.er1 >conftest.err
50492   rm -f conftest.er1
50493   cat conftest.err >&5
50494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50495   (exit $ac_status); } &&
50496          { ac_try='test -z "$ac_c_werror_flag"
50497                          || test ! -s conftest.err'
50498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50499   (eval $ac_try) 2>&5
50500   ac_status=$?
50501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50502   (exit $ac_status); }; } &&
50503          { ac_try='test -s conftest$ac_exeext'
50504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50505   (eval $ac_try) 2>&5
50506   ac_status=$?
50507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50508   (exit $ac_status); }; }; then
50509   eval "$as_ac_var=yes"
50510 else
50511   echo "$as_me: failed program was:" >&5
50512 sed 's/^/| /' conftest.$ac_ext >&5
50513
50514 eval "$as_ac_var=no"
50515 fi
50516 rm -f conftest.err conftest.$ac_objext \
50517       conftest$ac_exeext conftest.$ac_ext
50518 fi
50519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50521 if test `eval echo '${'$as_ac_var'}'` = yes; then
50522   cat >>confdefs.h <<_ACEOF
50523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50524 _ACEOF
50525
50526 fi
50527 done
50528
50529     fi
50530   fi
50531
50532
50533
50534
50535
50536
50537   echo "$as_me:$LINENO: checking for logf declaration" >&5
50538 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50539   if test x${glibcxx_cv_func_logf_use+set} != xset; then
50540     if test "${glibcxx_cv_func_logf_use+set}" = set; then
50541   echo $ECHO_N "(cached) $ECHO_C" >&6
50542 else
50543
50544
50545
50546       ac_ext=cc
50547 ac_cpp='$CXXCPP $CPPFLAGS'
50548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50551
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 #include <math.h>
50559                       #ifdef HAVE_IEEEFP_H
50560                       #include <ieeefp.h>
50561                       #endif
50562
50563 int
50564 main ()
50565 {
50566  logf(0);
50567   ;
50568   return 0;
50569 }
50570 _ACEOF
50571 rm -f conftest.$ac_objext
50572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50573   (eval $ac_compile) 2>conftest.er1
50574   ac_status=$?
50575   grep -v '^ *+' conftest.er1 >conftest.err
50576   rm -f conftest.er1
50577   cat conftest.err >&5
50578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50579   (exit $ac_status); } &&
50580          { ac_try='test -z "$ac_cxx_werror_flag"
50581                          || test ! -s conftest.err'
50582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50583   (eval $ac_try) 2>&5
50584   ac_status=$?
50585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50586   (exit $ac_status); }; } &&
50587          { ac_try='test -s conftest.$ac_objext'
50588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50589   (eval $ac_try) 2>&5
50590   ac_status=$?
50591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50592   (exit $ac_status); }; }; then
50593   glibcxx_cv_func_logf_use=yes
50594 else
50595   echo "$as_me: failed program was:" >&5
50596 sed 's/^/| /' conftest.$ac_ext >&5
50597
50598 glibcxx_cv_func_logf_use=no
50599 fi
50600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50601       ac_ext=c
50602 ac_cpp='$CPP $CPPFLAGS'
50603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50606
50607
50608 fi
50609
50610   fi
50611   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50612 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50613
50614   if test x$glibcxx_cv_func_logf_use = x"yes"; then
50615
50616 for ac_func in logf
50617 do
50618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50619 echo "$as_me:$LINENO: checking for $ac_func" >&5
50620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50621 if eval "test \"\${$as_ac_var+set}\" = set"; then
50622   echo $ECHO_N "(cached) $ECHO_C" >&6
50623 else
50624   if test x$gcc_no_link = xyes; then
50625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50627    { (exit 1); exit 1; }; }
50628 fi
50629 cat >conftest.$ac_ext <<_ACEOF
50630 /* confdefs.h.  */
50631 _ACEOF
50632 cat confdefs.h >>conftest.$ac_ext
50633 cat >>conftest.$ac_ext <<_ACEOF
50634 /* end confdefs.h.  */
50635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50637 #define $ac_func innocuous_$ac_func
50638
50639 /* System header to define __stub macros and hopefully few prototypes,
50640     which can conflict with char $ac_func (); below.
50641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50642     <limits.h> exists even on freestanding compilers.  */
50643
50644 #ifdef __STDC__
50645 # include <limits.h>
50646 #else
50647 # include <assert.h>
50648 #endif
50649
50650 #undef $ac_func
50651
50652 /* Override any gcc2 internal prototype to avoid an error.  */
50653 #ifdef __cplusplus
50654 extern "C"
50655 {
50656 #endif
50657 /* We use char because int might match the return type of a gcc2
50658    builtin and then its argument prototype would still apply.  */
50659 char $ac_func ();
50660 /* The GNU C library defines this for functions which it implements
50661     to always fail with ENOSYS.  Some functions are actually named
50662     something starting with __ and the normal name is an alias.  */
50663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50664 choke me
50665 #else
50666 char (*f) () = $ac_func;
50667 #endif
50668 #ifdef __cplusplus
50669 }
50670 #endif
50671
50672 int
50673 main ()
50674 {
50675 return f != $ac_func;
50676   ;
50677   return 0;
50678 }
50679 _ACEOF
50680 rm -f conftest.$ac_objext conftest$ac_exeext
50681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50682   (eval $ac_link) 2>conftest.er1
50683   ac_status=$?
50684   grep -v '^ *+' conftest.er1 >conftest.err
50685   rm -f conftest.er1
50686   cat conftest.err >&5
50687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50688   (exit $ac_status); } &&
50689          { ac_try='test -z "$ac_c_werror_flag"
50690                          || test ! -s conftest.err'
50691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50692   (eval $ac_try) 2>&5
50693   ac_status=$?
50694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50695   (exit $ac_status); }; } &&
50696          { ac_try='test -s conftest$ac_exeext'
50697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50698   (eval $ac_try) 2>&5
50699   ac_status=$?
50700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701   (exit $ac_status); }; }; then
50702   eval "$as_ac_var=yes"
50703 else
50704   echo "$as_me: failed program was:" >&5
50705 sed 's/^/| /' conftest.$ac_ext >&5
50706
50707 eval "$as_ac_var=no"
50708 fi
50709 rm -f conftest.err conftest.$ac_objext \
50710       conftest$ac_exeext conftest.$ac_ext
50711 fi
50712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50714 if test `eval echo '${'$as_ac_var'}'` = yes; then
50715   cat >>confdefs.h <<_ACEOF
50716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50717 _ACEOF
50718
50719 fi
50720 done
50721
50722   else
50723
50724   echo "$as_me:$LINENO: checking for _logf declaration" >&5
50725 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50726   if test x${glibcxx_cv_func__logf_use+set} != xset; then
50727     if test "${glibcxx_cv_func__logf_use+set}" = set; then
50728   echo $ECHO_N "(cached) $ECHO_C" >&6
50729 else
50730
50731
50732
50733       ac_ext=cc
50734 ac_cpp='$CXXCPP $CPPFLAGS'
50735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50738
50739       cat >conftest.$ac_ext <<_ACEOF
50740 /* confdefs.h.  */
50741 _ACEOF
50742 cat confdefs.h >>conftest.$ac_ext
50743 cat >>conftest.$ac_ext <<_ACEOF
50744 /* end confdefs.h.  */
50745 #include <math.h>
50746                       #ifdef HAVE_IEEEFP_H
50747                       #include <ieeefp.h>
50748                       #endif
50749
50750 int
50751 main ()
50752 {
50753  _logf(0);
50754   ;
50755   return 0;
50756 }
50757 _ACEOF
50758 rm -f conftest.$ac_objext
50759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50760   (eval $ac_compile) 2>conftest.er1
50761   ac_status=$?
50762   grep -v '^ *+' conftest.er1 >conftest.err
50763   rm -f conftest.er1
50764   cat conftest.err >&5
50765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50766   (exit $ac_status); } &&
50767          { ac_try='test -z "$ac_cxx_werror_flag"
50768                          || test ! -s conftest.err'
50769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50770   (eval $ac_try) 2>&5
50771   ac_status=$?
50772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50773   (exit $ac_status); }; } &&
50774          { ac_try='test -s conftest.$ac_objext'
50775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50776   (eval $ac_try) 2>&5
50777   ac_status=$?
50778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50779   (exit $ac_status); }; }; then
50780   glibcxx_cv_func__logf_use=yes
50781 else
50782   echo "$as_me: failed program was:" >&5
50783 sed 's/^/| /' conftest.$ac_ext >&5
50784
50785 glibcxx_cv_func__logf_use=no
50786 fi
50787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50788       ac_ext=c
50789 ac_cpp='$CPP $CPPFLAGS'
50790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50793
50794
50795 fi
50796
50797   fi
50798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50799 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50800
50801     if test x$glibcxx_cv_func__logf_use = x"yes"; then
50802
50803 for ac_func in _logf
50804 do
50805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50806 echo "$as_me:$LINENO: checking for $ac_func" >&5
50807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50808 if eval "test \"\${$as_ac_var+set}\" = set"; then
50809   echo $ECHO_N "(cached) $ECHO_C" >&6
50810 else
50811   if test x$gcc_no_link = xyes; then
50812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50814    { (exit 1); exit 1; }; }
50815 fi
50816 cat >conftest.$ac_ext <<_ACEOF
50817 /* confdefs.h.  */
50818 _ACEOF
50819 cat confdefs.h >>conftest.$ac_ext
50820 cat >>conftest.$ac_ext <<_ACEOF
50821 /* end confdefs.h.  */
50822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50824 #define $ac_func innocuous_$ac_func
50825
50826 /* System header to define __stub macros and hopefully few prototypes,
50827     which can conflict with char $ac_func (); below.
50828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50829     <limits.h> exists even on freestanding compilers.  */
50830
50831 #ifdef __STDC__
50832 # include <limits.h>
50833 #else
50834 # include <assert.h>
50835 #endif
50836
50837 #undef $ac_func
50838
50839 /* Override any gcc2 internal prototype to avoid an error.  */
50840 #ifdef __cplusplus
50841 extern "C"
50842 {
50843 #endif
50844 /* We use char because int might match the return type of a gcc2
50845    builtin and then its argument prototype would still apply.  */
50846 char $ac_func ();
50847 /* The GNU C library defines this for functions which it implements
50848     to always fail with ENOSYS.  Some functions are actually named
50849     something starting with __ and the normal name is an alias.  */
50850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50851 choke me
50852 #else
50853 char (*f) () = $ac_func;
50854 #endif
50855 #ifdef __cplusplus
50856 }
50857 #endif
50858
50859 int
50860 main ()
50861 {
50862 return f != $ac_func;
50863   ;
50864   return 0;
50865 }
50866 _ACEOF
50867 rm -f conftest.$ac_objext conftest$ac_exeext
50868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50869   (eval $ac_link) 2>conftest.er1
50870   ac_status=$?
50871   grep -v '^ *+' conftest.er1 >conftest.err
50872   rm -f conftest.er1
50873   cat conftest.err >&5
50874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50875   (exit $ac_status); } &&
50876          { ac_try='test -z "$ac_c_werror_flag"
50877                          || test ! -s conftest.err'
50878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50879   (eval $ac_try) 2>&5
50880   ac_status=$?
50881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50882   (exit $ac_status); }; } &&
50883          { ac_try='test -s conftest$ac_exeext'
50884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50885   (eval $ac_try) 2>&5
50886   ac_status=$?
50887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888   (exit $ac_status); }; }; then
50889   eval "$as_ac_var=yes"
50890 else
50891   echo "$as_me: failed program was:" >&5
50892 sed 's/^/| /' conftest.$ac_ext >&5
50893
50894 eval "$as_ac_var=no"
50895 fi
50896 rm -f conftest.err conftest.$ac_objext \
50897       conftest$ac_exeext conftest.$ac_ext
50898 fi
50899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50901 if test `eval echo '${'$as_ac_var'}'` = yes; then
50902   cat >>confdefs.h <<_ACEOF
50903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50904 _ACEOF
50905
50906 fi
50907 done
50908
50909     fi
50910   fi
50911
50912
50913
50914
50915
50916
50917   echo "$as_me:$LINENO: checking for log10f declaration" >&5
50918 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50919   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50920     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50921   echo $ECHO_N "(cached) $ECHO_C" >&6
50922 else
50923
50924
50925
50926       ac_ext=cc
50927 ac_cpp='$CXXCPP $CPPFLAGS'
50928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50931
50932       cat >conftest.$ac_ext <<_ACEOF
50933 /* confdefs.h.  */
50934 _ACEOF
50935 cat confdefs.h >>conftest.$ac_ext
50936 cat >>conftest.$ac_ext <<_ACEOF
50937 /* end confdefs.h.  */
50938 #include <math.h>
50939                       #ifdef HAVE_IEEEFP_H
50940                       #include <ieeefp.h>
50941                       #endif
50942
50943 int
50944 main ()
50945 {
50946  log10f(0);
50947   ;
50948   return 0;
50949 }
50950 _ACEOF
50951 rm -f conftest.$ac_objext
50952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50953   (eval $ac_compile) 2>conftest.er1
50954   ac_status=$?
50955   grep -v '^ *+' conftest.er1 >conftest.err
50956   rm -f conftest.er1
50957   cat conftest.err >&5
50958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50959   (exit $ac_status); } &&
50960          { ac_try='test -z "$ac_cxx_werror_flag"
50961                          || test ! -s conftest.err'
50962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50963   (eval $ac_try) 2>&5
50964   ac_status=$?
50965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50966   (exit $ac_status); }; } &&
50967          { ac_try='test -s conftest.$ac_objext'
50968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50969   (eval $ac_try) 2>&5
50970   ac_status=$?
50971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50972   (exit $ac_status); }; }; then
50973   glibcxx_cv_func_log10f_use=yes
50974 else
50975   echo "$as_me: failed program was:" >&5
50976 sed 's/^/| /' conftest.$ac_ext >&5
50977
50978 glibcxx_cv_func_log10f_use=no
50979 fi
50980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50981       ac_ext=c
50982 ac_cpp='$CPP $CPPFLAGS'
50983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50986
50987
50988 fi
50989
50990   fi
50991   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50992 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50993
50994   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50995
50996 for ac_func in log10f
50997 do
50998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50999 echo "$as_me:$LINENO: checking for $ac_func" >&5
51000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51001 if eval "test \"\${$as_ac_var+set}\" = set"; then
51002   echo $ECHO_N "(cached) $ECHO_C" >&6
51003 else
51004   if test x$gcc_no_link = xyes; then
51005   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51007    { (exit 1); exit 1; }; }
51008 fi
51009 cat >conftest.$ac_ext <<_ACEOF
51010 /* confdefs.h.  */
51011 _ACEOF
51012 cat confdefs.h >>conftest.$ac_ext
51013 cat >>conftest.$ac_ext <<_ACEOF
51014 /* end confdefs.h.  */
51015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51016    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51017 #define $ac_func innocuous_$ac_func
51018
51019 /* System header to define __stub macros and hopefully few prototypes,
51020     which can conflict with char $ac_func (); below.
51021     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51022     <limits.h> exists even on freestanding compilers.  */
51023
51024 #ifdef __STDC__
51025 # include <limits.h>
51026 #else
51027 # include <assert.h>
51028 #endif
51029
51030 #undef $ac_func
51031
51032 /* Override any gcc2 internal prototype to avoid an error.  */
51033 #ifdef __cplusplus
51034 extern "C"
51035 {
51036 #endif
51037 /* We use char because int might match the return type of a gcc2
51038    builtin and then its argument prototype would still apply.  */
51039 char $ac_func ();
51040 /* The GNU C library defines this for functions which it implements
51041     to always fail with ENOSYS.  Some functions are actually named
51042     something starting with __ and the normal name is an alias.  */
51043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51044 choke me
51045 #else
51046 char (*f) () = $ac_func;
51047 #endif
51048 #ifdef __cplusplus
51049 }
51050 #endif
51051
51052 int
51053 main ()
51054 {
51055 return f != $ac_func;
51056   ;
51057   return 0;
51058 }
51059 _ACEOF
51060 rm -f conftest.$ac_objext conftest$ac_exeext
51061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51062   (eval $ac_link) 2>conftest.er1
51063   ac_status=$?
51064   grep -v '^ *+' conftest.er1 >conftest.err
51065   rm -f conftest.er1
51066   cat conftest.err >&5
51067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51068   (exit $ac_status); } &&
51069          { ac_try='test -z "$ac_c_werror_flag"
51070                          || test ! -s conftest.err'
51071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51072   (eval $ac_try) 2>&5
51073   ac_status=$?
51074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51075   (exit $ac_status); }; } &&
51076          { ac_try='test -s conftest$ac_exeext'
51077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51078   (eval $ac_try) 2>&5
51079   ac_status=$?
51080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51081   (exit $ac_status); }; }; then
51082   eval "$as_ac_var=yes"
51083 else
51084   echo "$as_me: failed program was:" >&5
51085 sed 's/^/| /' conftest.$ac_ext >&5
51086
51087 eval "$as_ac_var=no"
51088 fi
51089 rm -f conftest.err conftest.$ac_objext \
51090       conftest$ac_exeext conftest.$ac_ext
51091 fi
51092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51094 if test `eval echo '${'$as_ac_var'}'` = yes; then
51095   cat >>confdefs.h <<_ACEOF
51096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51097 _ACEOF
51098
51099 fi
51100 done
51101
51102   else
51103
51104   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51105 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51106   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51107     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51108   echo $ECHO_N "(cached) $ECHO_C" >&6
51109 else
51110
51111
51112
51113       ac_ext=cc
51114 ac_cpp='$CXXCPP $CPPFLAGS'
51115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51118
51119       cat >conftest.$ac_ext <<_ACEOF
51120 /* confdefs.h.  */
51121 _ACEOF
51122 cat confdefs.h >>conftest.$ac_ext
51123 cat >>conftest.$ac_ext <<_ACEOF
51124 /* end confdefs.h.  */
51125 #include <math.h>
51126                       #ifdef HAVE_IEEEFP_H
51127                       #include <ieeefp.h>
51128                       #endif
51129
51130 int
51131 main ()
51132 {
51133  _log10f(0);
51134   ;
51135   return 0;
51136 }
51137 _ACEOF
51138 rm -f conftest.$ac_objext
51139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51140   (eval $ac_compile) 2>conftest.er1
51141   ac_status=$?
51142   grep -v '^ *+' conftest.er1 >conftest.err
51143   rm -f conftest.er1
51144   cat conftest.err >&5
51145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51146   (exit $ac_status); } &&
51147          { ac_try='test -z "$ac_cxx_werror_flag"
51148                          || test ! -s conftest.err'
51149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51150   (eval $ac_try) 2>&5
51151   ac_status=$?
51152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51153   (exit $ac_status); }; } &&
51154          { ac_try='test -s conftest.$ac_objext'
51155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51156   (eval $ac_try) 2>&5
51157   ac_status=$?
51158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51159   (exit $ac_status); }; }; then
51160   glibcxx_cv_func__log10f_use=yes
51161 else
51162   echo "$as_me: failed program was:" >&5
51163 sed 's/^/| /' conftest.$ac_ext >&5
51164
51165 glibcxx_cv_func__log10f_use=no
51166 fi
51167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51168       ac_ext=c
51169 ac_cpp='$CPP $CPPFLAGS'
51170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51173
51174
51175 fi
51176
51177   fi
51178   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51179 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51180
51181     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51182
51183 for ac_func in _log10f
51184 do
51185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51186 echo "$as_me:$LINENO: checking for $ac_func" >&5
51187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51188 if eval "test \"\${$as_ac_var+set}\" = set"; then
51189   echo $ECHO_N "(cached) $ECHO_C" >&6
51190 else
51191   if test x$gcc_no_link = xyes; then
51192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51194    { (exit 1); exit 1; }; }
51195 fi
51196 cat >conftest.$ac_ext <<_ACEOF
51197 /* confdefs.h.  */
51198 _ACEOF
51199 cat confdefs.h >>conftest.$ac_ext
51200 cat >>conftest.$ac_ext <<_ACEOF
51201 /* end confdefs.h.  */
51202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51204 #define $ac_func innocuous_$ac_func
51205
51206 /* System header to define __stub macros and hopefully few prototypes,
51207     which can conflict with char $ac_func (); below.
51208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51209     <limits.h> exists even on freestanding compilers.  */
51210
51211 #ifdef __STDC__
51212 # include <limits.h>
51213 #else
51214 # include <assert.h>
51215 #endif
51216
51217 #undef $ac_func
51218
51219 /* Override any gcc2 internal prototype to avoid an error.  */
51220 #ifdef __cplusplus
51221 extern "C"
51222 {
51223 #endif
51224 /* We use char because int might match the return type of a gcc2
51225    builtin and then its argument prototype would still apply.  */
51226 char $ac_func ();
51227 /* The GNU C library defines this for functions which it implements
51228     to always fail with ENOSYS.  Some functions are actually named
51229     something starting with __ and the normal name is an alias.  */
51230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51231 choke me
51232 #else
51233 char (*f) () = $ac_func;
51234 #endif
51235 #ifdef __cplusplus
51236 }
51237 #endif
51238
51239 int
51240 main ()
51241 {
51242 return f != $ac_func;
51243   ;
51244   return 0;
51245 }
51246 _ACEOF
51247 rm -f conftest.$ac_objext conftest$ac_exeext
51248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51249   (eval $ac_link) 2>conftest.er1
51250   ac_status=$?
51251   grep -v '^ *+' conftest.er1 >conftest.err
51252   rm -f conftest.er1
51253   cat conftest.err >&5
51254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51255   (exit $ac_status); } &&
51256          { ac_try='test -z "$ac_c_werror_flag"
51257                          || test ! -s conftest.err'
51258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51259   (eval $ac_try) 2>&5
51260   ac_status=$?
51261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51262   (exit $ac_status); }; } &&
51263          { ac_try='test -s conftest$ac_exeext'
51264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51265   (eval $ac_try) 2>&5
51266   ac_status=$?
51267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51268   (exit $ac_status); }; }; then
51269   eval "$as_ac_var=yes"
51270 else
51271   echo "$as_me: failed program was:" >&5
51272 sed 's/^/| /' conftest.$ac_ext >&5
51273
51274 eval "$as_ac_var=no"
51275 fi
51276 rm -f conftest.err conftest.$ac_objext \
51277       conftest$ac_exeext conftest.$ac_ext
51278 fi
51279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51281 if test `eval echo '${'$as_ac_var'}'` = yes; then
51282   cat >>confdefs.h <<_ACEOF
51283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51284 _ACEOF
51285
51286 fi
51287 done
51288
51289     fi
51290   fi
51291
51292
51293
51294
51295
51296
51297   echo "$as_me:$LINENO: checking for modff declaration" >&5
51298 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51299   if test x${glibcxx_cv_func_modff_use+set} != xset; then
51300     if test "${glibcxx_cv_func_modff_use+set}" = set; then
51301   echo $ECHO_N "(cached) $ECHO_C" >&6
51302 else
51303
51304
51305
51306       ac_ext=cc
51307 ac_cpp='$CXXCPP $CPPFLAGS'
51308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51311
51312       cat >conftest.$ac_ext <<_ACEOF
51313 /* confdefs.h.  */
51314 _ACEOF
51315 cat confdefs.h >>conftest.$ac_ext
51316 cat >>conftest.$ac_ext <<_ACEOF
51317 /* end confdefs.h.  */
51318 #include <math.h>
51319 int
51320 main ()
51321 {
51322  modff(0, 0);
51323   ;
51324   return 0;
51325 }
51326 _ACEOF
51327 rm -f conftest.$ac_objext
51328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51329   (eval $ac_compile) 2>conftest.er1
51330   ac_status=$?
51331   grep -v '^ *+' conftest.er1 >conftest.err
51332   rm -f conftest.er1
51333   cat conftest.err >&5
51334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51335   (exit $ac_status); } &&
51336          { ac_try='test -z "$ac_cxx_werror_flag"
51337                          || test ! -s conftest.err'
51338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51339   (eval $ac_try) 2>&5
51340   ac_status=$?
51341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51342   (exit $ac_status); }; } &&
51343          { ac_try='test -s conftest.$ac_objext'
51344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51345   (eval $ac_try) 2>&5
51346   ac_status=$?
51347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51348   (exit $ac_status); }; }; then
51349   glibcxx_cv_func_modff_use=yes
51350 else
51351   echo "$as_me: failed program was:" >&5
51352 sed 's/^/| /' conftest.$ac_ext >&5
51353
51354 glibcxx_cv_func_modff_use=no
51355 fi
51356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51357       ac_ext=c
51358 ac_cpp='$CPP $CPPFLAGS'
51359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51362
51363
51364 fi
51365
51366   fi
51367   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51368 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51369
51370   if test x$glibcxx_cv_func_modff_use = x"yes"; then
51371
51372 for ac_func in modff
51373 do
51374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51375 echo "$as_me:$LINENO: checking for $ac_func" >&5
51376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51377 if eval "test \"\${$as_ac_var+set}\" = set"; then
51378   echo $ECHO_N "(cached) $ECHO_C" >&6
51379 else
51380   if test x$gcc_no_link = xyes; then
51381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51383    { (exit 1); exit 1; }; }
51384 fi
51385 cat >conftest.$ac_ext <<_ACEOF
51386 /* confdefs.h.  */
51387 _ACEOF
51388 cat confdefs.h >>conftest.$ac_ext
51389 cat >>conftest.$ac_ext <<_ACEOF
51390 /* end confdefs.h.  */
51391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51393 #define $ac_func innocuous_$ac_func
51394
51395 /* System header to define __stub macros and hopefully few prototypes,
51396     which can conflict with char $ac_func (); below.
51397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51398     <limits.h> exists even on freestanding compilers.  */
51399
51400 #ifdef __STDC__
51401 # include <limits.h>
51402 #else
51403 # include <assert.h>
51404 #endif
51405
51406 #undef $ac_func
51407
51408 /* Override any gcc2 internal prototype to avoid an error.  */
51409 #ifdef __cplusplus
51410 extern "C"
51411 {
51412 #endif
51413 /* We use char because int might match the return type of a gcc2
51414    builtin and then its argument prototype would still apply.  */
51415 char $ac_func ();
51416 /* The GNU C library defines this for functions which it implements
51417     to always fail with ENOSYS.  Some functions are actually named
51418     something starting with __ and the normal name is an alias.  */
51419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51420 choke me
51421 #else
51422 char (*f) () = $ac_func;
51423 #endif
51424 #ifdef __cplusplus
51425 }
51426 #endif
51427
51428 int
51429 main ()
51430 {
51431 return f != $ac_func;
51432   ;
51433   return 0;
51434 }
51435 _ACEOF
51436 rm -f conftest.$ac_objext conftest$ac_exeext
51437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51438   (eval $ac_link) 2>conftest.er1
51439   ac_status=$?
51440   grep -v '^ *+' conftest.er1 >conftest.err
51441   rm -f conftest.er1
51442   cat conftest.err >&5
51443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51444   (exit $ac_status); } &&
51445          { ac_try='test -z "$ac_c_werror_flag"
51446                          || test ! -s conftest.err'
51447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51448   (eval $ac_try) 2>&5
51449   ac_status=$?
51450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51451   (exit $ac_status); }; } &&
51452          { ac_try='test -s conftest$ac_exeext'
51453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51454   (eval $ac_try) 2>&5
51455   ac_status=$?
51456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457   (exit $ac_status); }; }; then
51458   eval "$as_ac_var=yes"
51459 else
51460   echo "$as_me: failed program was:" >&5
51461 sed 's/^/| /' conftest.$ac_ext >&5
51462
51463 eval "$as_ac_var=no"
51464 fi
51465 rm -f conftest.err conftest.$ac_objext \
51466       conftest$ac_exeext conftest.$ac_ext
51467 fi
51468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51470 if test `eval echo '${'$as_ac_var'}'` = yes; then
51471   cat >>confdefs.h <<_ACEOF
51472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51473 _ACEOF
51474
51475 fi
51476 done
51477
51478   else
51479
51480   echo "$as_me:$LINENO: checking for _modff declaration" >&5
51481 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51482   if test x${glibcxx_cv_func__modff_use+set} != xset; then
51483     if test "${glibcxx_cv_func__modff_use+set}" = set; then
51484   echo $ECHO_N "(cached) $ECHO_C" >&6
51485 else
51486
51487
51488
51489       ac_ext=cc
51490 ac_cpp='$CXXCPP $CPPFLAGS'
51491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51494
51495       cat >conftest.$ac_ext <<_ACEOF
51496 /* confdefs.h.  */
51497 _ACEOF
51498 cat confdefs.h >>conftest.$ac_ext
51499 cat >>conftest.$ac_ext <<_ACEOF
51500 /* end confdefs.h.  */
51501 #include <math.h>
51502 int
51503 main ()
51504 {
51505  _modff(0, 0);
51506   ;
51507   return 0;
51508 }
51509 _ACEOF
51510 rm -f conftest.$ac_objext
51511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51512   (eval $ac_compile) 2>conftest.er1
51513   ac_status=$?
51514   grep -v '^ *+' conftest.er1 >conftest.err
51515   rm -f conftest.er1
51516   cat conftest.err >&5
51517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51518   (exit $ac_status); } &&
51519          { ac_try='test -z "$ac_cxx_werror_flag"
51520                          || test ! -s conftest.err'
51521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51522   (eval $ac_try) 2>&5
51523   ac_status=$?
51524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51525   (exit $ac_status); }; } &&
51526          { ac_try='test -s conftest.$ac_objext'
51527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51528   (eval $ac_try) 2>&5
51529   ac_status=$?
51530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531   (exit $ac_status); }; }; then
51532   glibcxx_cv_func__modff_use=yes
51533 else
51534   echo "$as_me: failed program was:" >&5
51535 sed 's/^/| /' conftest.$ac_ext >&5
51536
51537 glibcxx_cv_func__modff_use=no
51538 fi
51539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51540       ac_ext=c
51541 ac_cpp='$CPP $CPPFLAGS'
51542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51545
51546
51547 fi
51548
51549   fi
51550   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51551 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51552
51553     if test x$glibcxx_cv_func__modff_use = x"yes"; then
51554
51555 for ac_func in _modff
51556 do
51557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51558 echo "$as_me:$LINENO: checking for $ac_func" >&5
51559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51560 if eval "test \"\${$as_ac_var+set}\" = set"; then
51561   echo $ECHO_N "(cached) $ECHO_C" >&6
51562 else
51563   if test x$gcc_no_link = xyes; then
51564   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51566    { (exit 1); exit 1; }; }
51567 fi
51568 cat >conftest.$ac_ext <<_ACEOF
51569 /* confdefs.h.  */
51570 _ACEOF
51571 cat confdefs.h >>conftest.$ac_ext
51572 cat >>conftest.$ac_ext <<_ACEOF
51573 /* end confdefs.h.  */
51574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51576 #define $ac_func innocuous_$ac_func
51577
51578 /* System header to define __stub macros and hopefully few prototypes,
51579     which can conflict with char $ac_func (); below.
51580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51581     <limits.h> exists even on freestanding compilers.  */
51582
51583 #ifdef __STDC__
51584 # include <limits.h>
51585 #else
51586 # include <assert.h>
51587 #endif
51588
51589 #undef $ac_func
51590
51591 /* Override any gcc2 internal prototype to avoid an error.  */
51592 #ifdef __cplusplus
51593 extern "C"
51594 {
51595 #endif
51596 /* We use char because int might match the return type of a gcc2
51597    builtin and then its argument prototype would still apply.  */
51598 char $ac_func ();
51599 /* The GNU C library defines this for functions which it implements
51600     to always fail with ENOSYS.  Some functions are actually named
51601     something starting with __ and the normal name is an alias.  */
51602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51603 choke me
51604 #else
51605 char (*f) () = $ac_func;
51606 #endif
51607 #ifdef __cplusplus
51608 }
51609 #endif
51610
51611 int
51612 main ()
51613 {
51614 return f != $ac_func;
51615   ;
51616   return 0;
51617 }
51618 _ACEOF
51619 rm -f conftest.$ac_objext conftest$ac_exeext
51620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51621   (eval $ac_link) 2>conftest.er1
51622   ac_status=$?
51623   grep -v '^ *+' conftest.er1 >conftest.err
51624   rm -f conftest.er1
51625   cat conftest.err >&5
51626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51627   (exit $ac_status); } &&
51628          { ac_try='test -z "$ac_c_werror_flag"
51629                          || test ! -s conftest.err'
51630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51631   (eval $ac_try) 2>&5
51632   ac_status=$?
51633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51634   (exit $ac_status); }; } &&
51635          { ac_try='test -s conftest$ac_exeext'
51636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51637   (eval $ac_try) 2>&5
51638   ac_status=$?
51639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640   (exit $ac_status); }; }; then
51641   eval "$as_ac_var=yes"
51642 else
51643   echo "$as_me: failed program was:" >&5
51644 sed 's/^/| /' conftest.$ac_ext >&5
51645
51646 eval "$as_ac_var=no"
51647 fi
51648 rm -f conftest.err conftest.$ac_objext \
51649       conftest$ac_exeext conftest.$ac_ext
51650 fi
51651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51653 if test `eval echo '${'$as_ac_var'}'` = yes; then
51654   cat >>confdefs.h <<_ACEOF
51655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51656 _ACEOF
51657
51658 fi
51659 done
51660
51661     fi
51662   fi
51663
51664
51665
51666
51667
51668
51669   echo "$as_me:$LINENO: checking for modf declaration" >&5
51670 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51671   if test x${glibcxx_cv_func_modf_use+set} != xset; then
51672     if test "${glibcxx_cv_func_modf_use+set}" = set; then
51673   echo $ECHO_N "(cached) $ECHO_C" >&6
51674 else
51675
51676
51677
51678       ac_ext=cc
51679 ac_cpp='$CXXCPP $CPPFLAGS'
51680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51683
51684       cat >conftest.$ac_ext <<_ACEOF
51685 /* confdefs.h.  */
51686 _ACEOF
51687 cat confdefs.h >>conftest.$ac_ext
51688 cat >>conftest.$ac_ext <<_ACEOF
51689 /* end confdefs.h.  */
51690 #include <math.h>
51691 int
51692 main ()
51693 {
51694  modf(0, 0);
51695   ;
51696   return 0;
51697 }
51698 _ACEOF
51699 rm -f conftest.$ac_objext
51700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51701   (eval $ac_compile) 2>conftest.er1
51702   ac_status=$?
51703   grep -v '^ *+' conftest.er1 >conftest.err
51704   rm -f conftest.er1
51705   cat conftest.err >&5
51706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51707   (exit $ac_status); } &&
51708          { ac_try='test -z "$ac_cxx_werror_flag"
51709                          || test ! -s conftest.err'
51710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51711   (eval $ac_try) 2>&5
51712   ac_status=$?
51713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51714   (exit $ac_status); }; } &&
51715          { ac_try='test -s conftest.$ac_objext'
51716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51717   (eval $ac_try) 2>&5
51718   ac_status=$?
51719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51720   (exit $ac_status); }; }; then
51721   glibcxx_cv_func_modf_use=yes
51722 else
51723   echo "$as_me: failed program was:" >&5
51724 sed 's/^/| /' conftest.$ac_ext >&5
51725
51726 glibcxx_cv_func_modf_use=no
51727 fi
51728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51729       ac_ext=c
51730 ac_cpp='$CPP $CPPFLAGS'
51731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51734
51735
51736 fi
51737
51738   fi
51739   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51740 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51741
51742   if test x$glibcxx_cv_func_modf_use = x"yes"; then
51743
51744 for ac_func in modf
51745 do
51746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51747 echo "$as_me:$LINENO: checking for $ac_func" >&5
51748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51749 if eval "test \"\${$as_ac_var+set}\" = set"; then
51750   echo $ECHO_N "(cached) $ECHO_C" >&6
51751 else
51752   if test x$gcc_no_link = xyes; then
51753   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51755    { (exit 1); exit 1; }; }
51756 fi
51757 cat >conftest.$ac_ext <<_ACEOF
51758 /* confdefs.h.  */
51759 _ACEOF
51760 cat confdefs.h >>conftest.$ac_ext
51761 cat >>conftest.$ac_ext <<_ACEOF
51762 /* end confdefs.h.  */
51763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51765 #define $ac_func innocuous_$ac_func
51766
51767 /* System header to define __stub macros and hopefully few prototypes,
51768     which can conflict with char $ac_func (); below.
51769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51770     <limits.h> exists even on freestanding compilers.  */
51771
51772 #ifdef __STDC__
51773 # include <limits.h>
51774 #else
51775 # include <assert.h>
51776 #endif
51777
51778 #undef $ac_func
51779
51780 /* Override any gcc2 internal prototype to avoid an error.  */
51781 #ifdef __cplusplus
51782 extern "C"
51783 {
51784 #endif
51785 /* We use char because int might match the return type of a gcc2
51786    builtin and then its argument prototype would still apply.  */
51787 char $ac_func ();
51788 /* The GNU C library defines this for functions which it implements
51789     to always fail with ENOSYS.  Some functions are actually named
51790     something starting with __ and the normal name is an alias.  */
51791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51792 choke me
51793 #else
51794 char (*f) () = $ac_func;
51795 #endif
51796 #ifdef __cplusplus
51797 }
51798 #endif
51799
51800 int
51801 main ()
51802 {
51803 return f != $ac_func;
51804   ;
51805   return 0;
51806 }
51807 _ACEOF
51808 rm -f conftest.$ac_objext conftest$ac_exeext
51809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51810   (eval $ac_link) 2>conftest.er1
51811   ac_status=$?
51812   grep -v '^ *+' conftest.er1 >conftest.err
51813   rm -f conftest.er1
51814   cat conftest.err >&5
51815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51816   (exit $ac_status); } &&
51817          { ac_try='test -z "$ac_c_werror_flag"
51818                          || test ! -s conftest.err'
51819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51820   (eval $ac_try) 2>&5
51821   ac_status=$?
51822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51823   (exit $ac_status); }; } &&
51824          { ac_try='test -s conftest$ac_exeext'
51825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51826   (eval $ac_try) 2>&5
51827   ac_status=$?
51828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51829   (exit $ac_status); }; }; then
51830   eval "$as_ac_var=yes"
51831 else
51832   echo "$as_me: failed program was:" >&5
51833 sed 's/^/| /' conftest.$ac_ext >&5
51834
51835 eval "$as_ac_var=no"
51836 fi
51837 rm -f conftest.err conftest.$ac_objext \
51838       conftest$ac_exeext conftest.$ac_ext
51839 fi
51840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51842 if test `eval echo '${'$as_ac_var'}'` = yes; then
51843   cat >>confdefs.h <<_ACEOF
51844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51845 _ACEOF
51846
51847 fi
51848 done
51849
51850   else
51851
51852   echo "$as_me:$LINENO: checking for _modf declaration" >&5
51853 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51854   if test x${glibcxx_cv_func__modf_use+set} != xset; then
51855     if test "${glibcxx_cv_func__modf_use+set}" = set; then
51856   echo $ECHO_N "(cached) $ECHO_C" >&6
51857 else
51858
51859
51860
51861       ac_ext=cc
51862 ac_cpp='$CXXCPP $CPPFLAGS'
51863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51866
51867       cat >conftest.$ac_ext <<_ACEOF
51868 /* confdefs.h.  */
51869 _ACEOF
51870 cat confdefs.h >>conftest.$ac_ext
51871 cat >>conftest.$ac_ext <<_ACEOF
51872 /* end confdefs.h.  */
51873 #include <math.h>
51874 int
51875 main ()
51876 {
51877  _modf(0, 0);
51878   ;
51879   return 0;
51880 }
51881 _ACEOF
51882 rm -f conftest.$ac_objext
51883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51884   (eval $ac_compile) 2>conftest.er1
51885   ac_status=$?
51886   grep -v '^ *+' conftest.er1 >conftest.err
51887   rm -f conftest.er1
51888   cat conftest.err >&5
51889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51890   (exit $ac_status); } &&
51891          { ac_try='test -z "$ac_cxx_werror_flag"
51892                          || test ! -s conftest.err'
51893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51894   (eval $ac_try) 2>&5
51895   ac_status=$?
51896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51897   (exit $ac_status); }; } &&
51898          { ac_try='test -s conftest.$ac_objext'
51899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51900   (eval $ac_try) 2>&5
51901   ac_status=$?
51902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51903   (exit $ac_status); }; }; then
51904   glibcxx_cv_func__modf_use=yes
51905 else
51906   echo "$as_me: failed program was:" >&5
51907 sed 's/^/| /' conftest.$ac_ext >&5
51908
51909 glibcxx_cv_func__modf_use=no
51910 fi
51911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51912       ac_ext=c
51913 ac_cpp='$CPP $CPPFLAGS'
51914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51917
51918
51919 fi
51920
51921   fi
51922   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51923 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51924
51925     if test x$glibcxx_cv_func__modf_use = x"yes"; then
51926
51927 for ac_func in _modf
51928 do
51929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51930 echo "$as_me:$LINENO: checking for $ac_func" >&5
51931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51932 if eval "test \"\${$as_ac_var+set}\" = set"; then
51933   echo $ECHO_N "(cached) $ECHO_C" >&6
51934 else
51935   if test x$gcc_no_link = xyes; then
51936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51938    { (exit 1); exit 1; }; }
51939 fi
51940 cat >conftest.$ac_ext <<_ACEOF
51941 /* confdefs.h.  */
51942 _ACEOF
51943 cat confdefs.h >>conftest.$ac_ext
51944 cat >>conftest.$ac_ext <<_ACEOF
51945 /* end confdefs.h.  */
51946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51948 #define $ac_func innocuous_$ac_func
51949
51950 /* System header to define __stub macros and hopefully few prototypes,
51951     which can conflict with char $ac_func (); below.
51952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51953     <limits.h> exists even on freestanding compilers.  */
51954
51955 #ifdef __STDC__
51956 # include <limits.h>
51957 #else
51958 # include <assert.h>
51959 #endif
51960
51961 #undef $ac_func
51962
51963 /* Override any gcc2 internal prototype to avoid an error.  */
51964 #ifdef __cplusplus
51965 extern "C"
51966 {
51967 #endif
51968 /* We use char because int might match the return type of a gcc2
51969    builtin and then its argument prototype would still apply.  */
51970 char $ac_func ();
51971 /* The GNU C library defines this for functions which it implements
51972     to always fail with ENOSYS.  Some functions are actually named
51973     something starting with __ and the normal name is an alias.  */
51974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51975 choke me
51976 #else
51977 char (*f) () = $ac_func;
51978 #endif
51979 #ifdef __cplusplus
51980 }
51981 #endif
51982
51983 int
51984 main ()
51985 {
51986 return f != $ac_func;
51987   ;
51988   return 0;
51989 }
51990 _ACEOF
51991 rm -f conftest.$ac_objext conftest$ac_exeext
51992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51993   (eval $ac_link) 2>conftest.er1
51994   ac_status=$?
51995   grep -v '^ *+' conftest.er1 >conftest.err
51996   rm -f conftest.er1
51997   cat conftest.err >&5
51998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51999   (exit $ac_status); } &&
52000          { ac_try='test -z "$ac_c_werror_flag"
52001                          || test ! -s conftest.err'
52002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52003   (eval $ac_try) 2>&5
52004   ac_status=$?
52005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52006   (exit $ac_status); }; } &&
52007          { ac_try='test -s conftest$ac_exeext'
52008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52009   (eval $ac_try) 2>&5
52010   ac_status=$?
52011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52012   (exit $ac_status); }; }; then
52013   eval "$as_ac_var=yes"
52014 else
52015   echo "$as_me: failed program was:" >&5
52016 sed 's/^/| /' conftest.$ac_ext >&5
52017
52018 eval "$as_ac_var=no"
52019 fi
52020 rm -f conftest.err conftest.$ac_objext \
52021       conftest$ac_exeext conftest.$ac_ext
52022 fi
52023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52025 if test `eval echo '${'$as_ac_var'}'` = yes; then
52026   cat >>confdefs.h <<_ACEOF
52027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52028 _ACEOF
52029
52030 fi
52031 done
52032
52033     fi
52034   fi
52035
52036
52037
52038
52039
52040
52041   echo "$as_me:$LINENO: checking for powf declaration" >&5
52042 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52043   if test x${glibcxx_cv_func_powf_use+set} != xset; then
52044     if test "${glibcxx_cv_func_powf_use+set}" = set; then
52045   echo $ECHO_N "(cached) $ECHO_C" >&6
52046 else
52047
52048
52049
52050       ac_ext=cc
52051 ac_cpp='$CXXCPP $CPPFLAGS'
52052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52055
52056       cat >conftest.$ac_ext <<_ACEOF
52057 /* confdefs.h.  */
52058 _ACEOF
52059 cat confdefs.h >>conftest.$ac_ext
52060 cat >>conftest.$ac_ext <<_ACEOF
52061 /* end confdefs.h.  */
52062 #include <math.h>
52063 int
52064 main ()
52065 {
52066  powf(0, 0);
52067   ;
52068   return 0;
52069 }
52070 _ACEOF
52071 rm -f conftest.$ac_objext
52072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52073   (eval $ac_compile) 2>conftest.er1
52074   ac_status=$?
52075   grep -v '^ *+' conftest.er1 >conftest.err
52076   rm -f conftest.er1
52077   cat conftest.err >&5
52078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52079   (exit $ac_status); } &&
52080          { ac_try='test -z "$ac_cxx_werror_flag"
52081                          || test ! -s conftest.err'
52082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52083   (eval $ac_try) 2>&5
52084   ac_status=$?
52085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52086   (exit $ac_status); }; } &&
52087          { ac_try='test -s conftest.$ac_objext'
52088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52089   (eval $ac_try) 2>&5
52090   ac_status=$?
52091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52092   (exit $ac_status); }; }; then
52093   glibcxx_cv_func_powf_use=yes
52094 else
52095   echo "$as_me: failed program was:" >&5
52096 sed 's/^/| /' conftest.$ac_ext >&5
52097
52098 glibcxx_cv_func_powf_use=no
52099 fi
52100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52101       ac_ext=c
52102 ac_cpp='$CPP $CPPFLAGS'
52103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52106
52107
52108 fi
52109
52110   fi
52111   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52112 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52113
52114   if test x$glibcxx_cv_func_powf_use = x"yes"; then
52115
52116 for ac_func in powf
52117 do
52118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52119 echo "$as_me:$LINENO: checking for $ac_func" >&5
52120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52121 if eval "test \"\${$as_ac_var+set}\" = set"; then
52122   echo $ECHO_N "(cached) $ECHO_C" >&6
52123 else
52124   if test x$gcc_no_link = xyes; then
52125   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52127    { (exit 1); exit 1; }; }
52128 fi
52129 cat >conftest.$ac_ext <<_ACEOF
52130 /* confdefs.h.  */
52131 _ACEOF
52132 cat confdefs.h >>conftest.$ac_ext
52133 cat >>conftest.$ac_ext <<_ACEOF
52134 /* end confdefs.h.  */
52135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52136    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52137 #define $ac_func innocuous_$ac_func
52138
52139 /* System header to define __stub macros and hopefully few prototypes,
52140     which can conflict with char $ac_func (); below.
52141     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52142     <limits.h> exists even on freestanding compilers.  */
52143
52144 #ifdef __STDC__
52145 # include <limits.h>
52146 #else
52147 # include <assert.h>
52148 #endif
52149
52150 #undef $ac_func
52151
52152 /* Override any gcc2 internal prototype to avoid an error.  */
52153 #ifdef __cplusplus
52154 extern "C"
52155 {
52156 #endif
52157 /* We use char because int might match the return type of a gcc2
52158    builtin and then its argument prototype would still apply.  */
52159 char $ac_func ();
52160 /* The GNU C library defines this for functions which it implements
52161     to always fail with ENOSYS.  Some functions are actually named
52162     something starting with __ and the normal name is an alias.  */
52163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52164 choke me
52165 #else
52166 char (*f) () = $ac_func;
52167 #endif
52168 #ifdef __cplusplus
52169 }
52170 #endif
52171
52172 int
52173 main ()
52174 {
52175 return f != $ac_func;
52176   ;
52177   return 0;
52178 }
52179 _ACEOF
52180 rm -f conftest.$ac_objext conftest$ac_exeext
52181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52182   (eval $ac_link) 2>conftest.er1
52183   ac_status=$?
52184   grep -v '^ *+' conftest.er1 >conftest.err
52185   rm -f conftest.er1
52186   cat conftest.err >&5
52187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52188   (exit $ac_status); } &&
52189          { ac_try='test -z "$ac_c_werror_flag"
52190                          || test ! -s conftest.err'
52191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52192   (eval $ac_try) 2>&5
52193   ac_status=$?
52194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52195   (exit $ac_status); }; } &&
52196          { ac_try='test -s conftest$ac_exeext'
52197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52198   (eval $ac_try) 2>&5
52199   ac_status=$?
52200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52201   (exit $ac_status); }; }; then
52202   eval "$as_ac_var=yes"
52203 else
52204   echo "$as_me: failed program was:" >&5
52205 sed 's/^/| /' conftest.$ac_ext >&5
52206
52207 eval "$as_ac_var=no"
52208 fi
52209 rm -f conftest.err conftest.$ac_objext \
52210       conftest$ac_exeext conftest.$ac_ext
52211 fi
52212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52214 if test `eval echo '${'$as_ac_var'}'` = yes; then
52215   cat >>confdefs.h <<_ACEOF
52216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52217 _ACEOF
52218
52219 fi
52220 done
52221
52222   else
52223
52224   echo "$as_me:$LINENO: checking for _powf declaration" >&5
52225 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52226   if test x${glibcxx_cv_func__powf_use+set} != xset; then
52227     if test "${glibcxx_cv_func__powf_use+set}" = set; then
52228   echo $ECHO_N "(cached) $ECHO_C" >&6
52229 else
52230
52231
52232
52233       ac_ext=cc
52234 ac_cpp='$CXXCPP $CPPFLAGS'
52235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52238
52239       cat >conftest.$ac_ext <<_ACEOF
52240 /* confdefs.h.  */
52241 _ACEOF
52242 cat confdefs.h >>conftest.$ac_ext
52243 cat >>conftest.$ac_ext <<_ACEOF
52244 /* end confdefs.h.  */
52245 #include <math.h>
52246 int
52247 main ()
52248 {
52249  _powf(0, 0);
52250   ;
52251   return 0;
52252 }
52253 _ACEOF
52254 rm -f conftest.$ac_objext
52255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52256   (eval $ac_compile) 2>conftest.er1
52257   ac_status=$?
52258   grep -v '^ *+' conftest.er1 >conftest.err
52259   rm -f conftest.er1
52260   cat conftest.err >&5
52261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52262   (exit $ac_status); } &&
52263          { ac_try='test -z "$ac_cxx_werror_flag"
52264                          || test ! -s conftest.err'
52265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52266   (eval $ac_try) 2>&5
52267   ac_status=$?
52268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52269   (exit $ac_status); }; } &&
52270          { ac_try='test -s conftest.$ac_objext'
52271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52272   (eval $ac_try) 2>&5
52273   ac_status=$?
52274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52275   (exit $ac_status); }; }; then
52276   glibcxx_cv_func__powf_use=yes
52277 else
52278   echo "$as_me: failed program was:" >&5
52279 sed 's/^/| /' conftest.$ac_ext >&5
52280
52281 glibcxx_cv_func__powf_use=no
52282 fi
52283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52284       ac_ext=c
52285 ac_cpp='$CPP $CPPFLAGS'
52286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52289
52290
52291 fi
52292
52293   fi
52294   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52295 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52296
52297     if test x$glibcxx_cv_func__powf_use = x"yes"; then
52298
52299 for ac_func in _powf
52300 do
52301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52302 echo "$as_me:$LINENO: checking for $ac_func" >&5
52303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52304 if eval "test \"\${$as_ac_var+set}\" = set"; then
52305   echo $ECHO_N "(cached) $ECHO_C" >&6
52306 else
52307   if test x$gcc_no_link = xyes; then
52308   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52310    { (exit 1); exit 1; }; }
52311 fi
52312 cat >conftest.$ac_ext <<_ACEOF
52313 /* confdefs.h.  */
52314 _ACEOF
52315 cat confdefs.h >>conftest.$ac_ext
52316 cat >>conftest.$ac_ext <<_ACEOF
52317 /* end confdefs.h.  */
52318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52319    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52320 #define $ac_func innocuous_$ac_func
52321
52322 /* System header to define __stub macros and hopefully few prototypes,
52323     which can conflict with char $ac_func (); below.
52324     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52325     <limits.h> exists even on freestanding compilers.  */
52326
52327 #ifdef __STDC__
52328 # include <limits.h>
52329 #else
52330 # include <assert.h>
52331 #endif
52332
52333 #undef $ac_func
52334
52335 /* Override any gcc2 internal prototype to avoid an error.  */
52336 #ifdef __cplusplus
52337 extern "C"
52338 {
52339 #endif
52340 /* We use char because int might match the return type of a gcc2
52341    builtin and then its argument prototype would still apply.  */
52342 char $ac_func ();
52343 /* The GNU C library defines this for functions which it implements
52344     to always fail with ENOSYS.  Some functions are actually named
52345     something starting with __ and the normal name is an alias.  */
52346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52347 choke me
52348 #else
52349 char (*f) () = $ac_func;
52350 #endif
52351 #ifdef __cplusplus
52352 }
52353 #endif
52354
52355 int
52356 main ()
52357 {
52358 return f != $ac_func;
52359   ;
52360   return 0;
52361 }
52362 _ACEOF
52363 rm -f conftest.$ac_objext conftest$ac_exeext
52364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52365   (eval $ac_link) 2>conftest.er1
52366   ac_status=$?
52367   grep -v '^ *+' conftest.er1 >conftest.err
52368   rm -f conftest.er1
52369   cat conftest.err >&5
52370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52371   (exit $ac_status); } &&
52372          { ac_try='test -z "$ac_c_werror_flag"
52373                          || test ! -s conftest.err'
52374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52375   (eval $ac_try) 2>&5
52376   ac_status=$?
52377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52378   (exit $ac_status); }; } &&
52379          { ac_try='test -s conftest$ac_exeext'
52380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52381   (eval $ac_try) 2>&5
52382   ac_status=$?
52383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52384   (exit $ac_status); }; }; then
52385   eval "$as_ac_var=yes"
52386 else
52387   echo "$as_me: failed program was:" >&5
52388 sed 's/^/| /' conftest.$ac_ext >&5
52389
52390 eval "$as_ac_var=no"
52391 fi
52392 rm -f conftest.err conftest.$ac_objext \
52393       conftest$ac_exeext conftest.$ac_ext
52394 fi
52395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52397 if test `eval echo '${'$as_ac_var'}'` = yes; then
52398   cat >>confdefs.h <<_ACEOF
52399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52400 _ACEOF
52401
52402 fi
52403 done
52404
52405     fi
52406   fi
52407
52408
52409
52410
52411
52412
52413   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52414 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52415   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52416     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52417   echo $ECHO_N "(cached) $ECHO_C" >&6
52418 else
52419
52420
52421
52422       ac_ext=cc
52423 ac_cpp='$CXXCPP $CPPFLAGS'
52424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52427
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 #include <math.h>
52435                       #ifdef HAVE_IEEEFP_H
52436                       #include <ieeefp.h>
52437                       #endif
52438
52439 int
52440 main ()
52441 {
52442  sqrtf(0);
52443   ;
52444   return 0;
52445 }
52446 _ACEOF
52447 rm -f conftest.$ac_objext
52448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52449   (eval $ac_compile) 2>conftest.er1
52450   ac_status=$?
52451   grep -v '^ *+' conftest.er1 >conftest.err
52452   rm -f conftest.er1
52453   cat conftest.err >&5
52454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52455   (exit $ac_status); } &&
52456          { ac_try='test -z "$ac_cxx_werror_flag"
52457                          || test ! -s conftest.err'
52458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52459   (eval $ac_try) 2>&5
52460   ac_status=$?
52461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52462   (exit $ac_status); }; } &&
52463          { ac_try='test -s conftest.$ac_objext'
52464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52465   (eval $ac_try) 2>&5
52466   ac_status=$?
52467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52468   (exit $ac_status); }; }; then
52469   glibcxx_cv_func_sqrtf_use=yes
52470 else
52471   echo "$as_me: failed program was:" >&5
52472 sed 's/^/| /' conftest.$ac_ext >&5
52473
52474 glibcxx_cv_func_sqrtf_use=no
52475 fi
52476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52477       ac_ext=c
52478 ac_cpp='$CPP $CPPFLAGS'
52479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52482
52483
52484 fi
52485
52486   fi
52487   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52488 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52489
52490   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52491
52492 for ac_func in sqrtf
52493 do
52494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52495 echo "$as_me:$LINENO: checking for $ac_func" >&5
52496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52497 if eval "test \"\${$as_ac_var+set}\" = set"; then
52498   echo $ECHO_N "(cached) $ECHO_C" >&6
52499 else
52500   if test x$gcc_no_link = xyes; then
52501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52503    { (exit 1); exit 1; }; }
52504 fi
52505 cat >conftest.$ac_ext <<_ACEOF
52506 /* confdefs.h.  */
52507 _ACEOF
52508 cat confdefs.h >>conftest.$ac_ext
52509 cat >>conftest.$ac_ext <<_ACEOF
52510 /* end confdefs.h.  */
52511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52513 #define $ac_func innocuous_$ac_func
52514
52515 /* System header to define __stub macros and hopefully few prototypes,
52516     which can conflict with char $ac_func (); below.
52517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52518     <limits.h> exists even on freestanding compilers.  */
52519
52520 #ifdef __STDC__
52521 # include <limits.h>
52522 #else
52523 # include <assert.h>
52524 #endif
52525
52526 #undef $ac_func
52527
52528 /* Override any gcc2 internal prototype to avoid an error.  */
52529 #ifdef __cplusplus
52530 extern "C"
52531 {
52532 #endif
52533 /* We use char because int might match the return type of a gcc2
52534    builtin and then its argument prototype would still apply.  */
52535 char $ac_func ();
52536 /* The GNU C library defines this for functions which it implements
52537     to always fail with ENOSYS.  Some functions are actually named
52538     something starting with __ and the normal name is an alias.  */
52539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52540 choke me
52541 #else
52542 char (*f) () = $ac_func;
52543 #endif
52544 #ifdef __cplusplus
52545 }
52546 #endif
52547
52548 int
52549 main ()
52550 {
52551 return f != $ac_func;
52552   ;
52553   return 0;
52554 }
52555 _ACEOF
52556 rm -f conftest.$ac_objext conftest$ac_exeext
52557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52558   (eval $ac_link) 2>conftest.er1
52559   ac_status=$?
52560   grep -v '^ *+' conftest.er1 >conftest.err
52561   rm -f conftest.er1
52562   cat conftest.err >&5
52563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52564   (exit $ac_status); } &&
52565          { ac_try='test -z "$ac_c_werror_flag"
52566                          || test ! -s conftest.err'
52567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52568   (eval $ac_try) 2>&5
52569   ac_status=$?
52570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52571   (exit $ac_status); }; } &&
52572          { ac_try='test -s conftest$ac_exeext'
52573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52574   (eval $ac_try) 2>&5
52575   ac_status=$?
52576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52577   (exit $ac_status); }; }; then
52578   eval "$as_ac_var=yes"
52579 else
52580   echo "$as_me: failed program was:" >&5
52581 sed 's/^/| /' conftest.$ac_ext >&5
52582
52583 eval "$as_ac_var=no"
52584 fi
52585 rm -f conftest.err conftest.$ac_objext \
52586       conftest$ac_exeext conftest.$ac_ext
52587 fi
52588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52590 if test `eval echo '${'$as_ac_var'}'` = yes; then
52591   cat >>confdefs.h <<_ACEOF
52592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52593 _ACEOF
52594
52595 fi
52596 done
52597
52598   else
52599
52600   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52601 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52602   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52603     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52604   echo $ECHO_N "(cached) $ECHO_C" >&6
52605 else
52606
52607
52608
52609       ac_ext=cc
52610 ac_cpp='$CXXCPP $CPPFLAGS'
52611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52614
52615       cat >conftest.$ac_ext <<_ACEOF
52616 /* confdefs.h.  */
52617 _ACEOF
52618 cat confdefs.h >>conftest.$ac_ext
52619 cat >>conftest.$ac_ext <<_ACEOF
52620 /* end confdefs.h.  */
52621 #include <math.h>
52622                       #ifdef HAVE_IEEEFP_H
52623                       #include <ieeefp.h>
52624                       #endif
52625
52626 int
52627 main ()
52628 {
52629  _sqrtf(0);
52630   ;
52631   return 0;
52632 }
52633 _ACEOF
52634 rm -f conftest.$ac_objext
52635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52636   (eval $ac_compile) 2>conftest.er1
52637   ac_status=$?
52638   grep -v '^ *+' conftest.er1 >conftest.err
52639   rm -f conftest.er1
52640   cat conftest.err >&5
52641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52642   (exit $ac_status); } &&
52643          { ac_try='test -z "$ac_cxx_werror_flag"
52644                          || test ! -s conftest.err'
52645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52646   (eval $ac_try) 2>&5
52647   ac_status=$?
52648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52649   (exit $ac_status); }; } &&
52650          { ac_try='test -s conftest.$ac_objext'
52651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52652   (eval $ac_try) 2>&5
52653   ac_status=$?
52654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52655   (exit $ac_status); }; }; then
52656   glibcxx_cv_func__sqrtf_use=yes
52657 else
52658   echo "$as_me: failed program was:" >&5
52659 sed 's/^/| /' conftest.$ac_ext >&5
52660
52661 glibcxx_cv_func__sqrtf_use=no
52662 fi
52663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52664       ac_ext=c
52665 ac_cpp='$CPP $CPPFLAGS'
52666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52669
52670
52671 fi
52672
52673   fi
52674   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52675 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52676
52677     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52678
52679 for ac_func in _sqrtf
52680 do
52681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52682 echo "$as_me:$LINENO: checking for $ac_func" >&5
52683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52684 if eval "test \"\${$as_ac_var+set}\" = set"; then
52685   echo $ECHO_N "(cached) $ECHO_C" >&6
52686 else
52687   if test x$gcc_no_link = xyes; then
52688   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52690    { (exit 1); exit 1; }; }
52691 fi
52692 cat >conftest.$ac_ext <<_ACEOF
52693 /* confdefs.h.  */
52694 _ACEOF
52695 cat confdefs.h >>conftest.$ac_ext
52696 cat >>conftest.$ac_ext <<_ACEOF
52697 /* end confdefs.h.  */
52698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52700 #define $ac_func innocuous_$ac_func
52701
52702 /* System header to define __stub macros and hopefully few prototypes,
52703     which can conflict with char $ac_func (); below.
52704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52705     <limits.h> exists even on freestanding compilers.  */
52706
52707 #ifdef __STDC__
52708 # include <limits.h>
52709 #else
52710 # include <assert.h>
52711 #endif
52712
52713 #undef $ac_func
52714
52715 /* Override any gcc2 internal prototype to avoid an error.  */
52716 #ifdef __cplusplus
52717 extern "C"
52718 {
52719 #endif
52720 /* We use char because int might match the return type of a gcc2
52721    builtin and then its argument prototype would still apply.  */
52722 char $ac_func ();
52723 /* The GNU C library defines this for functions which it implements
52724     to always fail with ENOSYS.  Some functions are actually named
52725     something starting with __ and the normal name is an alias.  */
52726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52727 choke me
52728 #else
52729 char (*f) () = $ac_func;
52730 #endif
52731 #ifdef __cplusplus
52732 }
52733 #endif
52734
52735 int
52736 main ()
52737 {
52738 return f != $ac_func;
52739   ;
52740   return 0;
52741 }
52742 _ACEOF
52743 rm -f conftest.$ac_objext conftest$ac_exeext
52744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52745   (eval $ac_link) 2>conftest.er1
52746   ac_status=$?
52747   grep -v '^ *+' conftest.er1 >conftest.err
52748   rm -f conftest.er1
52749   cat conftest.err >&5
52750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52751   (exit $ac_status); } &&
52752          { ac_try='test -z "$ac_c_werror_flag"
52753                          || test ! -s conftest.err'
52754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52755   (eval $ac_try) 2>&5
52756   ac_status=$?
52757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52758   (exit $ac_status); }; } &&
52759          { ac_try='test -s conftest$ac_exeext'
52760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52761   (eval $ac_try) 2>&5
52762   ac_status=$?
52763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52764   (exit $ac_status); }; }; then
52765   eval "$as_ac_var=yes"
52766 else
52767   echo "$as_me: failed program was:" >&5
52768 sed 's/^/| /' conftest.$ac_ext >&5
52769
52770 eval "$as_ac_var=no"
52771 fi
52772 rm -f conftest.err conftest.$ac_objext \
52773       conftest$ac_exeext conftest.$ac_ext
52774 fi
52775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52777 if test `eval echo '${'$as_ac_var'}'` = yes; then
52778   cat >>confdefs.h <<_ACEOF
52779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52780 _ACEOF
52781
52782 fi
52783 done
52784
52785     fi
52786   fi
52787
52788
52789
52790
52791
52792
52793   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52794 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52795   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52796     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52797   echo $ECHO_N "(cached) $ECHO_C" >&6
52798 else
52799
52800
52801
52802       ac_ext=cc
52803 ac_cpp='$CXXCPP $CPPFLAGS'
52804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52807
52808       cat >conftest.$ac_ext <<_ACEOF
52809 /* confdefs.h.  */
52810 _ACEOF
52811 cat confdefs.h >>conftest.$ac_ext
52812 cat >>conftest.$ac_ext <<_ACEOF
52813 /* end confdefs.h.  */
52814 #include <math.h>
52815 int
52816 main ()
52817 {
52818  sincosf(0, 0, 0);
52819   ;
52820   return 0;
52821 }
52822 _ACEOF
52823 rm -f conftest.$ac_objext
52824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52825   (eval $ac_compile) 2>conftest.er1
52826   ac_status=$?
52827   grep -v '^ *+' conftest.er1 >conftest.err
52828   rm -f conftest.er1
52829   cat conftest.err >&5
52830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52831   (exit $ac_status); } &&
52832          { ac_try='test -z "$ac_cxx_werror_flag"
52833                          || test ! -s conftest.err'
52834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52835   (eval $ac_try) 2>&5
52836   ac_status=$?
52837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52838   (exit $ac_status); }; } &&
52839          { ac_try='test -s conftest.$ac_objext'
52840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52841   (eval $ac_try) 2>&5
52842   ac_status=$?
52843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52844   (exit $ac_status); }; }; then
52845   glibcxx_cv_func_sincosf_use=yes
52846 else
52847   echo "$as_me: failed program was:" >&5
52848 sed 's/^/| /' conftest.$ac_ext >&5
52849
52850 glibcxx_cv_func_sincosf_use=no
52851 fi
52852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52853       ac_ext=c
52854 ac_cpp='$CPP $CPPFLAGS'
52855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52858
52859
52860 fi
52861
52862   fi
52863   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52864 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52865
52866   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52867
52868 for ac_func in sincosf
52869 do
52870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52871 echo "$as_me:$LINENO: checking for $ac_func" >&5
52872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52873 if eval "test \"\${$as_ac_var+set}\" = set"; then
52874   echo $ECHO_N "(cached) $ECHO_C" >&6
52875 else
52876   if test x$gcc_no_link = xyes; then
52877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52879    { (exit 1); exit 1; }; }
52880 fi
52881 cat >conftest.$ac_ext <<_ACEOF
52882 /* confdefs.h.  */
52883 _ACEOF
52884 cat confdefs.h >>conftest.$ac_ext
52885 cat >>conftest.$ac_ext <<_ACEOF
52886 /* end confdefs.h.  */
52887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52889 #define $ac_func innocuous_$ac_func
52890
52891 /* System header to define __stub macros and hopefully few prototypes,
52892     which can conflict with char $ac_func (); below.
52893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52894     <limits.h> exists even on freestanding compilers.  */
52895
52896 #ifdef __STDC__
52897 # include <limits.h>
52898 #else
52899 # include <assert.h>
52900 #endif
52901
52902 #undef $ac_func
52903
52904 /* Override any gcc2 internal prototype to avoid an error.  */
52905 #ifdef __cplusplus
52906 extern "C"
52907 {
52908 #endif
52909 /* We use char because int might match the return type of a gcc2
52910    builtin and then its argument prototype would still apply.  */
52911 char $ac_func ();
52912 /* The GNU C library defines this for functions which it implements
52913     to always fail with ENOSYS.  Some functions are actually named
52914     something starting with __ and the normal name is an alias.  */
52915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52916 choke me
52917 #else
52918 char (*f) () = $ac_func;
52919 #endif
52920 #ifdef __cplusplus
52921 }
52922 #endif
52923
52924 int
52925 main ()
52926 {
52927 return f != $ac_func;
52928   ;
52929   return 0;
52930 }
52931 _ACEOF
52932 rm -f conftest.$ac_objext conftest$ac_exeext
52933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52934   (eval $ac_link) 2>conftest.er1
52935   ac_status=$?
52936   grep -v '^ *+' conftest.er1 >conftest.err
52937   rm -f conftest.er1
52938   cat conftest.err >&5
52939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52940   (exit $ac_status); } &&
52941          { ac_try='test -z "$ac_c_werror_flag"
52942                          || test ! -s conftest.err'
52943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52944   (eval $ac_try) 2>&5
52945   ac_status=$?
52946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52947   (exit $ac_status); }; } &&
52948          { ac_try='test -s conftest$ac_exeext'
52949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52950   (eval $ac_try) 2>&5
52951   ac_status=$?
52952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52953   (exit $ac_status); }; }; then
52954   eval "$as_ac_var=yes"
52955 else
52956   echo "$as_me: failed program was:" >&5
52957 sed 's/^/| /' conftest.$ac_ext >&5
52958
52959 eval "$as_ac_var=no"
52960 fi
52961 rm -f conftest.err conftest.$ac_objext \
52962       conftest$ac_exeext conftest.$ac_ext
52963 fi
52964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52966 if test `eval echo '${'$as_ac_var'}'` = yes; then
52967   cat >>confdefs.h <<_ACEOF
52968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52969 _ACEOF
52970
52971 fi
52972 done
52973
52974   else
52975
52976   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52977 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52978   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52979     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52980   echo $ECHO_N "(cached) $ECHO_C" >&6
52981 else
52982
52983
52984
52985       ac_ext=cc
52986 ac_cpp='$CXXCPP $CPPFLAGS'
52987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52990
52991       cat >conftest.$ac_ext <<_ACEOF
52992 /* confdefs.h.  */
52993 _ACEOF
52994 cat confdefs.h >>conftest.$ac_ext
52995 cat >>conftest.$ac_ext <<_ACEOF
52996 /* end confdefs.h.  */
52997 #include <math.h>
52998 int
52999 main ()
53000 {
53001  _sincosf(0, 0, 0);
53002   ;
53003   return 0;
53004 }
53005 _ACEOF
53006 rm -f conftest.$ac_objext
53007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53008   (eval $ac_compile) 2>conftest.er1
53009   ac_status=$?
53010   grep -v '^ *+' conftest.er1 >conftest.err
53011   rm -f conftest.er1
53012   cat conftest.err >&5
53013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53014   (exit $ac_status); } &&
53015          { ac_try='test -z "$ac_cxx_werror_flag"
53016                          || test ! -s conftest.err'
53017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53018   (eval $ac_try) 2>&5
53019   ac_status=$?
53020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53021   (exit $ac_status); }; } &&
53022          { ac_try='test -s conftest.$ac_objext'
53023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53024   (eval $ac_try) 2>&5
53025   ac_status=$?
53026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53027   (exit $ac_status); }; }; then
53028   glibcxx_cv_func__sincosf_use=yes
53029 else
53030   echo "$as_me: failed program was:" >&5
53031 sed 's/^/| /' conftest.$ac_ext >&5
53032
53033 glibcxx_cv_func__sincosf_use=no
53034 fi
53035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53036       ac_ext=c
53037 ac_cpp='$CPP $CPPFLAGS'
53038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53041
53042
53043 fi
53044
53045   fi
53046   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53047 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53048
53049     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53050
53051 for ac_func in _sincosf
53052 do
53053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53054 echo "$as_me:$LINENO: checking for $ac_func" >&5
53055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53056 if eval "test \"\${$as_ac_var+set}\" = set"; then
53057   echo $ECHO_N "(cached) $ECHO_C" >&6
53058 else
53059   if test x$gcc_no_link = xyes; then
53060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53062    { (exit 1); exit 1; }; }
53063 fi
53064 cat >conftest.$ac_ext <<_ACEOF
53065 /* confdefs.h.  */
53066 _ACEOF
53067 cat confdefs.h >>conftest.$ac_ext
53068 cat >>conftest.$ac_ext <<_ACEOF
53069 /* end confdefs.h.  */
53070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53071    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53072 #define $ac_func innocuous_$ac_func
53073
53074 /* System header to define __stub macros and hopefully few prototypes,
53075     which can conflict with char $ac_func (); below.
53076     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53077     <limits.h> exists even on freestanding compilers.  */
53078
53079 #ifdef __STDC__
53080 # include <limits.h>
53081 #else
53082 # include <assert.h>
53083 #endif
53084
53085 #undef $ac_func
53086
53087 /* Override any gcc2 internal prototype to avoid an error.  */
53088 #ifdef __cplusplus
53089 extern "C"
53090 {
53091 #endif
53092 /* We use char because int might match the return type of a gcc2
53093    builtin and then its argument prototype would still apply.  */
53094 char $ac_func ();
53095 /* The GNU C library defines this for functions which it implements
53096     to always fail with ENOSYS.  Some functions are actually named
53097     something starting with __ and the normal name is an alias.  */
53098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53099 choke me
53100 #else
53101 char (*f) () = $ac_func;
53102 #endif
53103 #ifdef __cplusplus
53104 }
53105 #endif
53106
53107 int
53108 main ()
53109 {
53110 return f != $ac_func;
53111   ;
53112   return 0;
53113 }
53114 _ACEOF
53115 rm -f conftest.$ac_objext conftest$ac_exeext
53116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53117   (eval $ac_link) 2>conftest.er1
53118   ac_status=$?
53119   grep -v '^ *+' conftest.er1 >conftest.err
53120   rm -f conftest.er1
53121   cat conftest.err >&5
53122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53123   (exit $ac_status); } &&
53124          { ac_try='test -z "$ac_c_werror_flag"
53125                          || test ! -s conftest.err'
53126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53127   (eval $ac_try) 2>&5
53128   ac_status=$?
53129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53130   (exit $ac_status); }; } &&
53131          { ac_try='test -s conftest$ac_exeext'
53132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53133   (eval $ac_try) 2>&5
53134   ac_status=$?
53135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53136   (exit $ac_status); }; }; then
53137   eval "$as_ac_var=yes"
53138 else
53139   echo "$as_me: failed program was:" >&5
53140 sed 's/^/| /' conftest.$ac_ext >&5
53141
53142 eval "$as_ac_var=no"
53143 fi
53144 rm -f conftest.err conftest.$ac_objext \
53145       conftest$ac_exeext conftest.$ac_ext
53146 fi
53147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53149 if test `eval echo '${'$as_ac_var'}'` = yes; then
53150   cat >>confdefs.h <<_ACEOF
53151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53152 _ACEOF
53153
53154 fi
53155 done
53156
53157     fi
53158   fi
53159
53160
53161
53162
53163
53164
53165   echo "$as_me:$LINENO: checking for finitef declaration" >&5
53166 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53167   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53168     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53169   echo $ECHO_N "(cached) $ECHO_C" >&6
53170 else
53171
53172
53173
53174       ac_ext=cc
53175 ac_cpp='$CXXCPP $CPPFLAGS'
53176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53179
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 #include <math.h>
53187                       #ifdef HAVE_IEEEFP_H
53188                       #include <ieeefp.h>
53189                       #endif
53190
53191 int
53192 main ()
53193 {
53194  finitef(0);
53195   ;
53196   return 0;
53197 }
53198 _ACEOF
53199 rm -f conftest.$ac_objext
53200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53201   (eval $ac_compile) 2>conftest.er1
53202   ac_status=$?
53203   grep -v '^ *+' conftest.er1 >conftest.err
53204   rm -f conftest.er1
53205   cat conftest.err >&5
53206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53207   (exit $ac_status); } &&
53208          { ac_try='test -z "$ac_cxx_werror_flag"
53209                          || test ! -s conftest.err'
53210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53211   (eval $ac_try) 2>&5
53212   ac_status=$?
53213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53214   (exit $ac_status); }; } &&
53215          { ac_try='test -s conftest.$ac_objext'
53216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53217   (eval $ac_try) 2>&5
53218   ac_status=$?
53219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53220   (exit $ac_status); }; }; then
53221   glibcxx_cv_func_finitef_use=yes
53222 else
53223   echo "$as_me: failed program was:" >&5
53224 sed 's/^/| /' conftest.$ac_ext >&5
53225
53226 glibcxx_cv_func_finitef_use=no
53227 fi
53228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53229       ac_ext=c
53230 ac_cpp='$CPP $CPPFLAGS'
53231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53234
53235
53236 fi
53237
53238   fi
53239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53240 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53241
53242   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53243
53244 for ac_func in finitef
53245 do
53246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53247 echo "$as_me:$LINENO: checking for $ac_func" >&5
53248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53249 if eval "test \"\${$as_ac_var+set}\" = set"; then
53250   echo $ECHO_N "(cached) $ECHO_C" >&6
53251 else
53252   if test x$gcc_no_link = xyes; then
53253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53255    { (exit 1); exit 1; }; }
53256 fi
53257 cat >conftest.$ac_ext <<_ACEOF
53258 /* confdefs.h.  */
53259 _ACEOF
53260 cat confdefs.h >>conftest.$ac_ext
53261 cat >>conftest.$ac_ext <<_ACEOF
53262 /* end confdefs.h.  */
53263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53265 #define $ac_func innocuous_$ac_func
53266
53267 /* System header to define __stub macros and hopefully few prototypes,
53268     which can conflict with char $ac_func (); below.
53269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53270     <limits.h> exists even on freestanding compilers.  */
53271
53272 #ifdef __STDC__
53273 # include <limits.h>
53274 #else
53275 # include <assert.h>
53276 #endif
53277
53278 #undef $ac_func
53279
53280 /* Override any gcc2 internal prototype to avoid an error.  */
53281 #ifdef __cplusplus
53282 extern "C"
53283 {
53284 #endif
53285 /* We use char because int might match the return type of a gcc2
53286    builtin and then its argument prototype would still apply.  */
53287 char $ac_func ();
53288 /* The GNU C library defines this for functions which it implements
53289     to always fail with ENOSYS.  Some functions are actually named
53290     something starting with __ and the normal name is an alias.  */
53291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53292 choke me
53293 #else
53294 char (*f) () = $ac_func;
53295 #endif
53296 #ifdef __cplusplus
53297 }
53298 #endif
53299
53300 int
53301 main ()
53302 {
53303 return f != $ac_func;
53304   ;
53305   return 0;
53306 }
53307 _ACEOF
53308 rm -f conftest.$ac_objext conftest$ac_exeext
53309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53310   (eval $ac_link) 2>conftest.er1
53311   ac_status=$?
53312   grep -v '^ *+' conftest.er1 >conftest.err
53313   rm -f conftest.er1
53314   cat conftest.err >&5
53315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53316   (exit $ac_status); } &&
53317          { ac_try='test -z "$ac_c_werror_flag"
53318                          || test ! -s conftest.err'
53319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53320   (eval $ac_try) 2>&5
53321   ac_status=$?
53322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53323   (exit $ac_status); }; } &&
53324          { ac_try='test -s conftest$ac_exeext'
53325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53326   (eval $ac_try) 2>&5
53327   ac_status=$?
53328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53329   (exit $ac_status); }; }; then
53330   eval "$as_ac_var=yes"
53331 else
53332   echo "$as_me: failed program was:" >&5
53333 sed 's/^/| /' conftest.$ac_ext >&5
53334
53335 eval "$as_ac_var=no"
53336 fi
53337 rm -f conftest.err conftest.$ac_objext \
53338       conftest$ac_exeext conftest.$ac_ext
53339 fi
53340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53342 if test `eval echo '${'$as_ac_var'}'` = yes; then
53343   cat >>confdefs.h <<_ACEOF
53344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53345 _ACEOF
53346
53347 fi
53348 done
53349
53350   else
53351
53352   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53353 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53354   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53355     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53356   echo $ECHO_N "(cached) $ECHO_C" >&6
53357 else
53358
53359
53360
53361       ac_ext=cc
53362 ac_cpp='$CXXCPP $CPPFLAGS'
53363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53366
53367       cat >conftest.$ac_ext <<_ACEOF
53368 /* confdefs.h.  */
53369 _ACEOF
53370 cat confdefs.h >>conftest.$ac_ext
53371 cat >>conftest.$ac_ext <<_ACEOF
53372 /* end confdefs.h.  */
53373 #include <math.h>
53374                       #ifdef HAVE_IEEEFP_H
53375                       #include <ieeefp.h>
53376                       #endif
53377
53378 int
53379 main ()
53380 {
53381  _finitef(0);
53382   ;
53383   return 0;
53384 }
53385 _ACEOF
53386 rm -f conftest.$ac_objext
53387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53388   (eval $ac_compile) 2>conftest.er1
53389   ac_status=$?
53390   grep -v '^ *+' conftest.er1 >conftest.err
53391   rm -f conftest.er1
53392   cat conftest.err >&5
53393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53394   (exit $ac_status); } &&
53395          { ac_try='test -z "$ac_cxx_werror_flag"
53396                          || test ! -s conftest.err'
53397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53398   (eval $ac_try) 2>&5
53399   ac_status=$?
53400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53401   (exit $ac_status); }; } &&
53402          { ac_try='test -s conftest.$ac_objext'
53403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53404   (eval $ac_try) 2>&5
53405   ac_status=$?
53406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53407   (exit $ac_status); }; }; then
53408   glibcxx_cv_func__finitef_use=yes
53409 else
53410   echo "$as_me: failed program was:" >&5
53411 sed 's/^/| /' conftest.$ac_ext >&5
53412
53413 glibcxx_cv_func__finitef_use=no
53414 fi
53415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53416       ac_ext=c
53417 ac_cpp='$CPP $CPPFLAGS'
53418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53421
53422
53423 fi
53424
53425   fi
53426   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53427 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53428
53429     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53430
53431 for ac_func in _finitef
53432 do
53433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53434 echo "$as_me:$LINENO: checking for $ac_func" >&5
53435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53436 if eval "test \"\${$as_ac_var+set}\" = set"; then
53437   echo $ECHO_N "(cached) $ECHO_C" >&6
53438 else
53439   if test x$gcc_no_link = xyes; then
53440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53442    { (exit 1); exit 1; }; }
53443 fi
53444 cat >conftest.$ac_ext <<_ACEOF
53445 /* confdefs.h.  */
53446 _ACEOF
53447 cat confdefs.h >>conftest.$ac_ext
53448 cat >>conftest.$ac_ext <<_ACEOF
53449 /* end confdefs.h.  */
53450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53452 #define $ac_func innocuous_$ac_func
53453
53454 /* System header to define __stub macros and hopefully few prototypes,
53455     which can conflict with char $ac_func (); below.
53456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53457     <limits.h> exists even on freestanding compilers.  */
53458
53459 #ifdef __STDC__
53460 # include <limits.h>
53461 #else
53462 # include <assert.h>
53463 #endif
53464
53465 #undef $ac_func
53466
53467 /* Override any gcc2 internal prototype to avoid an error.  */
53468 #ifdef __cplusplus
53469 extern "C"
53470 {
53471 #endif
53472 /* We use char because int might match the return type of a gcc2
53473    builtin and then its argument prototype would still apply.  */
53474 char $ac_func ();
53475 /* The GNU C library defines this for functions which it implements
53476     to always fail with ENOSYS.  Some functions are actually named
53477     something starting with __ and the normal name is an alias.  */
53478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53479 choke me
53480 #else
53481 char (*f) () = $ac_func;
53482 #endif
53483 #ifdef __cplusplus
53484 }
53485 #endif
53486
53487 int
53488 main ()
53489 {
53490 return f != $ac_func;
53491   ;
53492   return 0;
53493 }
53494 _ACEOF
53495 rm -f conftest.$ac_objext conftest$ac_exeext
53496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53497   (eval $ac_link) 2>conftest.er1
53498   ac_status=$?
53499   grep -v '^ *+' conftest.er1 >conftest.err
53500   rm -f conftest.er1
53501   cat conftest.err >&5
53502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53503   (exit $ac_status); } &&
53504          { ac_try='test -z "$ac_c_werror_flag"
53505                          || test ! -s conftest.err'
53506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53507   (eval $ac_try) 2>&5
53508   ac_status=$?
53509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53510   (exit $ac_status); }; } &&
53511          { ac_try='test -s conftest$ac_exeext'
53512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53513   (eval $ac_try) 2>&5
53514   ac_status=$?
53515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53516   (exit $ac_status); }; }; then
53517   eval "$as_ac_var=yes"
53518 else
53519   echo "$as_me: failed program was:" >&5
53520 sed 's/^/| /' conftest.$ac_ext >&5
53521
53522 eval "$as_ac_var=no"
53523 fi
53524 rm -f conftest.err conftest.$ac_objext \
53525       conftest$ac_exeext conftest.$ac_ext
53526 fi
53527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53529 if test `eval echo '${'$as_ac_var'}'` = yes; then
53530   cat >>confdefs.h <<_ACEOF
53531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53532 _ACEOF
53533
53534 fi
53535 done
53536
53537     fi
53538   fi
53539
53540
53541
53542
53543
53544
53545     echo "$as_me:$LINENO: checking for long double trig functions" >&5
53546 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53547   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53548   echo $ECHO_N "(cached) $ECHO_C" >&6
53549 else
53550
53551
53552
53553     ac_ext=cc
53554 ac_cpp='$CXXCPP $CPPFLAGS'
53555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53558
53559     cat >conftest.$ac_ext <<_ACEOF
53560 /* confdefs.h.  */
53561 _ACEOF
53562 cat confdefs.h >>conftest.$ac_ext
53563 cat >>conftest.$ac_ext <<_ACEOF
53564 /* end confdefs.h.  */
53565 #include <math.h>
53566 int
53567 main ()
53568 {
53569 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53570   ;
53571   return 0;
53572 }
53573 _ACEOF
53574 rm -f conftest.$ac_objext
53575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53576   (eval $ac_compile) 2>conftest.er1
53577   ac_status=$?
53578   grep -v '^ *+' conftest.er1 >conftest.err
53579   rm -f conftest.er1
53580   cat conftest.err >&5
53581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53582   (exit $ac_status); } &&
53583          { ac_try='test -z "$ac_cxx_werror_flag"
53584                          || test ! -s conftest.err'
53585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53586   (eval $ac_try) 2>&5
53587   ac_status=$?
53588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53589   (exit $ac_status); }; } &&
53590          { ac_try='test -s conftest.$ac_objext'
53591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53592   (eval $ac_try) 2>&5
53593   ac_status=$?
53594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53595   (exit $ac_status); }; }; then
53596   glibcxx_cv_func_long_double_trig_use=yes
53597 else
53598   echo "$as_me: failed program was:" >&5
53599 sed 's/^/| /' conftest.$ac_ext >&5
53600
53601 glibcxx_cv_func_long_double_trig_use=no
53602 fi
53603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53604     ac_ext=c
53605 ac_cpp='$CPP $CPPFLAGS'
53606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53609
53610 fi
53611
53612   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53613 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53614   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53615
53616
53617
53618
53619
53620
53621
53622
53623
53624 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53625 do
53626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53627 echo "$as_me:$LINENO: checking for $ac_func" >&5
53628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53629 if eval "test \"\${$as_ac_var+set}\" = set"; then
53630   echo $ECHO_N "(cached) $ECHO_C" >&6
53631 else
53632   if test x$gcc_no_link = xyes; then
53633   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53635    { (exit 1); exit 1; }; }
53636 fi
53637 cat >conftest.$ac_ext <<_ACEOF
53638 /* confdefs.h.  */
53639 _ACEOF
53640 cat confdefs.h >>conftest.$ac_ext
53641 cat >>conftest.$ac_ext <<_ACEOF
53642 /* end confdefs.h.  */
53643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53645 #define $ac_func innocuous_$ac_func
53646
53647 /* System header to define __stub macros and hopefully few prototypes,
53648     which can conflict with char $ac_func (); below.
53649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53650     <limits.h> exists even on freestanding compilers.  */
53651
53652 #ifdef __STDC__
53653 # include <limits.h>
53654 #else
53655 # include <assert.h>
53656 #endif
53657
53658 #undef $ac_func
53659
53660 /* Override any gcc2 internal prototype to avoid an error.  */
53661 #ifdef __cplusplus
53662 extern "C"
53663 {
53664 #endif
53665 /* We use char because int might match the return type of a gcc2
53666    builtin and then its argument prototype would still apply.  */
53667 char $ac_func ();
53668 /* The GNU C library defines this for functions which it implements
53669     to always fail with ENOSYS.  Some functions are actually named
53670     something starting with __ and the normal name is an alias.  */
53671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53672 choke me
53673 #else
53674 char (*f) () = $ac_func;
53675 #endif
53676 #ifdef __cplusplus
53677 }
53678 #endif
53679
53680 int
53681 main ()
53682 {
53683 return f != $ac_func;
53684   ;
53685   return 0;
53686 }
53687 _ACEOF
53688 rm -f conftest.$ac_objext conftest$ac_exeext
53689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53690   (eval $ac_link) 2>conftest.er1
53691   ac_status=$?
53692   grep -v '^ *+' conftest.er1 >conftest.err
53693   rm -f conftest.er1
53694   cat conftest.err >&5
53695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53696   (exit $ac_status); } &&
53697          { ac_try='test -z "$ac_c_werror_flag"
53698                          || test ! -s conftest.err'
53699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53700   (eval $ac_try) 2>&5
53701   ac_status=$?
53702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53703   (exit $ac_status); }; } &&
53704          { ac_try='test -s conftest$ac_exeext'
53705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53706   (eval $ac_try) 2>&5
53707   ac_status=$?
53708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53709   (exit $ac_status); }; }; then
53710   eval "$as_ac_var=yes"
53711 else
53712   echo "$as_me: failed program was:" >&5
53713 sed 's/^/| /' conftest.$ac_ext >&5
53714
53715 eval "$as_ac_var=no"
53716 fi
53717 rm -f conftest.err conftest.$ac_objext \
53718       conftest$ac_exeext conftest.$ac_ext
53719 fi
53720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53722 if test `eval echo '${'$as_ac_var'}'` = yes; then
53723   cat >>confdefs.h <<_ACEOF
53724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53725 _ACEOF
53726
53727 fi
53728 done
53729
53730   else
53731     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53732 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53733     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53734   echo $ECHO_N "(cached) $ECHO_C" >&6
53735 else
53736
53737
53738
53739       ac_ext=cc
53740 ac_cpp='$CXXCPP $CPPFLAGS'
53741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53744
53745       cat >conftest.$ac_ext <<_ACEOF
53746 /* confdefs.h.  */
53747 _ACEOF
53748 cat confdefs.h >>conftest.$ac_ext
53749 cat >>conftest.$ac_ext <<_ACEOF
53750 /* end confdefs.h.  */
53751 #include <math.h>
53752 int
53753 main ()
53754 {
53755 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53756   ;
53757   return 0;
53758 }
53759 _ACEOF
53760 rm -f conftest.$ac_objext
53761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53762   (eval $ac_compile) 2>conftest.er1
53763   ac_status=$?
53764   grep -v '^ *+' conftest.er1 >conftest.err
53765   rm -f conftest.er1
53766   cat conftest.err >&5
53767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53768   (exit $ac_status); } &&
53769          { ac_try='test -z "$ac_cxx_werror_flag"
53770                          || test ! -s conftest.err'
53771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53772   (eval $ac_try) 2>&5
53773   ac_status=$?
53774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53775   (exit $ac_status); }; } &&
53776          { ac_try='test -s conftest.$ac_objext'
53777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53778   (eval $ac_try) 2>&5
53779   ac_status=$?
53780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53781   (exit $ac_status); }; }; then
53782   glibcxx_cv_func__long_double_trig_use=yes
53783 else
53784   echo "$as_me: failed program was:" >&5
53785 sed 's/^/| /' conftest.$ac_ext >&5
53786
53787 glibcxx_cv_func__long_double_trig_use=no
53788 fi
53789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53790       ac_ext=c
53791 ac_cpp='$CPP $CPPFLAGS'
53792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53795
53796 fi
53797
53798     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53799 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53800     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53801
53802
53803
53804
53805
53806
53807
53808
53809
53810 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53811 do
53812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53813 echo "$as_me:$LINENO: checking for $ac_func" >&5
53814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53815 if eval "test \"\${$as_ac_var+set}\" = set"; then
53816   echo $ECHO_N "(cached) $ECHO_C" >&6
53817 else
53818   if test x$gcc_no_link = xyes; then
53819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53821    { (exit 1); exit 1; }; }
53822 fi
53823 cat >conftest.$ac_ext <<_ACEOF
53824 /* confdefs.h.  */
53825 _ACEOF
53826 cat confdefs.h >>conftest.$ac_ext
53827 cat >>conftest.$ac_ext <<_ACEOF
53828 /* end confdefs.h.  */
53829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53831 #define $ac_func innocuous_$ac_func
53832
53833 /* System header to define __stub macros and hopefully few prototypes,
53834     which can conflict with char $ac_func (); below.
53835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53836     <limits.h> exists even on freestanding compilers.  */
53837
53838 #ifdef __STDC__
53839 # include <limits.h>
53840 #else
53841 # include <assert.h>
53842 #endif
53843
53844 #undef $ac_func
53845
53846 /* Override any gcc2 internal prototype to avoid an error.  */
53847 #ifdef __cplusplus
53848 extern "C"
53849 {
53850 #endif
53851 /* We use char because int might match the return type of a gcc2
53852    builtin and then its argument prototype would still apply.  */
53853 char $ac_func ();
53854 /* The GNU C library defines this for functions which it implements
53855     to always fail with ENOSYS.  Some functions are actually named
53856     something starting with __ and the normal name is an alias.  */
53857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53858 choke me
53859 #else
53860 char (*f) () = $ac_func;
53861 #endif
53862 #ifdef __cplusplus
53863 }
53864 #endif
53865
53866 int
53867 main ()
53868 {
53869 return f != $ac_func;
53870   ;
53871   return 0;
53872 }
53873 _ACEOF
53874 rm -f conftest.$ac_objext conftest$ac_exeext
53875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53876   (eval $ac_link) 2>conftest.er1
53877   ac_status=$?
53878   grep -v '^ *+' conftest.er1 >conftest.err
53879   rm -f conftest.er1
53880   cat conftest.err >&5
53881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53882   (exit $ac_status); } &&
53883          { ac_try='test -z "$ac_c_werror_flag"
53884                          || test ! -s conftest.err'
53885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53886   (eval $ac_try) 2>&5
53887   ac_status=$?
53888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53889   (exit $ac_status); }; } &&
53890          { ac_try='test -s conftest$ac_exeext'
53891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53892   (eval $ac_try) 2>&5
53893   ac_status=$?
53894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53895   (exit $ac_status); }; }; then
53896   eval "$as_ac_var=yes"
53897 else
53898   echo "$as_me: failed program was:" >&5
53899 sed 's/^/| /' conftest.$ac_ext >&5
53900
53901 eval "$as_ac_var=no"
53902 fi
53903 rm -f conftest.err conftest.$ac_objext \
53904       conftest$ac_exeext conftest.$ac_ext
53905 fi
53906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53908 if test `eval echo '${'$as_ac_var'}'` = yes; then
53909   cat >>confdefs.h <<_ACEOF
53910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53911 _ACEOF
53912
53913 fi
53914 done
53915
53916     fi
53917   fi
53918
53919
53920
53921
53922
53923
53924
53925
53926
53927
53928
53929
53930
53931
53932     echo "$as_me:$LINENO: checking for long double round functions" >&5
53933 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53934   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53935   echo $ECHO_N "(cached) $ECHO_C" >&6
53936 else
53937
53938
53939
53940     ac_ext=cc
53941 ac_cpp='$CXXCPP $CPPFLAGS'
53942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53945
53946     cat >conftest.$ac_ext <<_ACEOF
53947 /* confdefs.h.  */
53948 _ACEOF
53949 cat confdefs.h >>conftest.$ac_ext
53950 cat >>conftest.$ac_ext <<_ACEOF
53951 /* end confdefs.h.  */
53952 #include <math.h>
53953 int
53954 main ()
53955 {
53956 ceill (0); floorl (0);
53957   ;
53958   return 0;
53959 }
53960 _ACEOF
53961 rm -f conftest.$ac_objext
53962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53963   (eval $ac_compile) 2>conftest.er1
53964   ac_status=$?
53965   grep -v '^ *+' conftest.er1 >conftest.err
53966   rm -f conftest.er1
53967   cat conftest.err >&5
53968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53969   (exit $ac_status); } &&
53970          { ac_try='test -z "$ac_cxx_werror_flag"
53971                          || test ! -s conftest.err'
53972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53973   (eval $ac_try) 2>&5
53974   ac_status=$?
53975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53976   (exit $ac_status); }; } &&
53977          { ac_try='test -s conftest.$ac_objext'
53978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53979   (eval $ac_try) 2>&5
53980   ac_status=$?
53981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53982   (exit $ac_status); }; }; then
53983   glibcxx_cv_func_long_double_round_use=yes
53984 else
53985   echo "$as_me: failed program was:" >&5
53986 sed 's/^/| /' conftest.$ac_ext >&5
53987
53988 glibcxx_cv_func_long_double_round_use=no
53989 fi
53990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53991     ac_ext=c
53992 ac_cpp='$CPP $CPPFLAGS'
53993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53996
53997 fi
53998
53999   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54000 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54001   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54002
54003
54004 for ac_func in ceill floorl
54005 do
54006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54007 echo "$as_me:$LINENO: checking for $ac_func" >&5
54008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54009 if eval "test \"\${$as_ac_var+set}\" = set"; then
54010   echo $ECHO_N "(cached) $ECHO_C" >&6
54011 else
54012   if test x$gcc_no_link = xyes; then
54013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54015    { (exit 1); exit 1; }; }
54016 fi
54017 cat >conftest.$ac_ext <<_ACEOF
54018 /* confdefs.h.  */
54019 _ACEOF
54020 cat confdefs.h >>conftest.$ac_ext
54021 cat >>conftest.$ac_ext <<_ACEOF
54022 /* end confdefs.h.  */
54023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54024    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54025 #define $ac_func innocuous_$ac_func
54026
54027 /* System header to define __stub macros and hopefully few prototypes,
54028     which can conflict with char $ac_func (); below.
54029     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54030     <limits.h> exists even on freestanding compilers.  */
54031
54032 #ifdef __STDC__
54033 # include <limits.h>
54034 #else
54035 # include <assert.h>
54036 #endif
54037
54038 #undef $ac_func
54039
54040 /* Override any gcc2 internal prototype to avoid an error.  */
54041 #ifdef __cplusplus
54042 extern "C"
54043 {
54044 #endif
54045 /* We use char because int might match the return type of a gcc2
54046    builtin and then its argument prototype would still apply.  */
54047 char $ac_func ();
54048 /* The GNU C library defines this for functions which it implements
54049     to always fail with ENOSYS.  Some functions are actually named
54050     something starting with __ and the normal name is an alias.  */
54051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54052 choke me
54053 #else
54054 char (*f) () = $ac_func;
54055 #endif
54056 #ifdef __cplusplus
54057 }
54058 #endif
54059
54060 int
54061 main ()
54062 {
54063 return f != $ac_func;
54064   ;
54065   return 0;
54066 }
54067 _ACEOF
54068 rm -f conftest.$ac_objext conftest$ac_exeext
54069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54070   (eval $ac_link) 2>conftest.er1
54071   ac_status=$?
54072   grep -v '^ *+' conftest.er1 >conftest.err
54073   rm -f conftest.er1
54074   cat conftest.err >&5
54075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54076   (exit $ac_status); } &&
54077          { ac_try='test -z "$ac_c_werror_flag"
54078                          || test ! -s conftest.err'
54079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54080   (eval $ac_try) 2>&5
54081   ac_status=$?
54082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54083   (exit $ac_status); }; } &&
54084          { ac_try='test -s conftest$ac_exeext'
54085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54086   (eval $ac_try) 2>&5
54087   ac_status=$?
54088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54089   (exit $ac_status); }; }; then
54090   eval "$as_ac_var=yes"
54091 else
54092   echo "$as_me: failed program was:" >&5
54093 sed 's/^/| /' conftest.$ac_ext >&5
54094
54095 eval "$as_ac_var=no"
54096 fi
54097 rm -f conftest.err conftest.$ac_objext \
54098       conftest$ac_exeext conftest.$ac_ext
54099 fi
54100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54102 if test `eval echo '${'$as_ac_var'}'` = yes; then
54103   cat >>confdefs.h <<_ACEOF
54104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54105 _ACEOF
54106
54107 fi
54108 done
54109
54110   else
54111     echo "$as_me:$LINENO: checking for _long double round functions" >&5
54112 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54113     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54114   echo $ECHO_N "(cached) $ECHO_C" >&6
54115 else
54116
54117
54118
54119       ac_ext=cc
54120 ac_cpp='$CXXCPP $CPPFLAGS'
54121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54124
54125       cat >conftest.$ac_ext <<_ACEOF
54126 /* confdefs.h.  */
54127 _ACEOF
54128 cat confdefs.h >>conftest.$ac_ext
54129 cat >>conftest.$ac_ext <<_ACEOF
54130 /* end confdefs.h.  */
54131 #include <math.h>
54132 int
54133 main ()
54134 {
54135 _ceill (0); _floorl (0);
54136   ;
54137   return 0;
54138 }
54139 _ACEOF
54140 rm -f conftest.$ac_objext
54141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54142   (eval $ac_compile) 2>conftest.er1
54143   ac_status=$?
54144   grep -v '^ *+' conftest.er1 >conftest.err
54145   rm -f conftest.er1
54146   cat conftest.err >&5
54147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54148   (exit $ac_status); } &&
54149          { ac_try='test -z "$ac_cxx_werror_flag"
54150                          || test ! -s conftest.err'
54151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54152   (eval $ac_try) 2>&5
54153   ac_status=$?
54154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54155   (exit $ac_status); }; } &&
54156          { ac_try='test -s conftest.$ac_objext'
54157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54158   (eval $ac_try) 2>&5
54159   ac_status=$?
54160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54161   (exit $ac_status); }; }; then
54162   glibcxx_cv_func__long_double_round_use=yes
54163 else
54164   echo "$as_me: failed program was:" >&5
54165 sed 's/^/| /' conftest.$ac_ext >&5
54166
54167 glibcxx_cv_func__long_double_round_use=no
54168 fi
54169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54170       ac_ext=c
54171 ac_cpp='$CPP $CPPFLAGS'
54172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54175
54176 fi
54177
54178     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54179 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54180     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54181
54182
54183 for ac_func in _ceill _floorl
54184 do
54185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54186 echo "$as_me:$LINENO: checking for $ac_func" >&5
54187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54188 if eval "test \"\${$as_ac_var+set}\" = set"; then
54189   echo $ECHO_N "(cached) $ECHO_C" >&6
54190 else
54191   if test x$gcc_no_link = xyes; then
54192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54194    { (exit 1); exit 1; }; }
54195 fi
54196 cat >conftest.$ac_ext <<_ACEOF
54197 /* confdefs.h.  */
54198 _ACEOF
54199 cat confdefs.h >>conftest.$ac_ext
54200 cat >>conftest.$ac_ext <<_ACEOF
54201 /* end confdefs.h.  */
54202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54204 #define $ac_func innocuous_$ac_func
54205
54206 /* System header to define __stub macros and hopefully few prototypes,
54207     which can conflict with char $ac_func (); below.
54208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54209     <limits.h> exists even on freestanding compilers.  */
54210
54211 #ifdef __STDC__
54212 # include <limits.h>
54213 #else
54214 # include <assert.h>
54215 #endif
54216
54217 #undef $ac_func
54218
54219 /* Override any gcc2 internal prototype to avoid an error.  */
54220 #ifdef __cplusplus
54221 extern "C"
54222 {
54223 #endif
54224 /* We use char because int might match the return type of a gcc2
54225    builtin and then its argument prototype would still apply.  */
54226 char $ac_func ();
54227 /* The GNU C library defines this for functions which it implements
54228     to always fail with ENOSYS.  Some functions are actually named
54229     something starting with __ and the normal name is an alias.  */
54230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54231 choke me
54232 #else
54233 char (*f) () = $ac_func;
54234 #endif
54235 #ifdef __cplusplus
54236 }
54237 #endif
54238
54239 int
54240 main ()
54241 {
54242 return f != $ac_func;
54243   ;
54244   return 0;
54245 }
54246 _ACEOF
54247 rm -f conftest.$ac_objext conftest$ac_exeext
54248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54249   (eval $ac_link) 2>conftest.er1
54250   ac_status=$?
54251   grep -v '^ *+' conftest.er1 >conftest.err
54252   rm -f conftest.er1
54253   cat conftest.err >&5
54254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54255   (exit $ac_status); } &&
54256          { ac_try='test -z "$ac_c_werror_flag"
54257                          || test ! -s conftest.err'
54258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54259   (eval $ac_try) 2>&5
54260   ac_status=$?
54261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54262   (exit $ac_status); }; } &&
54263          { ac_try='test -s conftest$ac_exeext'
54264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54265   (eval $ac_try) 2>&5
54266   ac_status=$?
54267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268   (exit $ac_status); }; }; then
54269   eval "$as_ac_var=yes"
54270 else
54271   echo "$as_me: failed program was:" >&5
54272 sed 's/^/| /' conftest.$ac_ext >&5
54273
54274 eval "$as_ac_var=no"
54275 fi
54276 rm -f conftest.err conftest.$ac_objext \
54277       conftest$ac_exeext conftest.$ac_ext
54278 fi
54279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54281 if test `eval echo '${'$as_ac_var'}'` = yes; then
54282   cat >>confdefs.h <<_ACEOF
54283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54284 _ACEOF
54285
54286 fi
54287 done
54288
54289     fi
54290   fi
54291
54292
54293
54294
54295
54296
54297
54298
54299   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54300 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54301   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54302     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54303   echo $ECHO_N "(cached) $ECHO_C" >&6
54304 else
54305
54306
54307
54308       ac_ext=cc
54309 ac_cpp='$CXXCPP $CPPFLAGS'
54310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54313
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 #include <math.h>
54321                       #ifdef HAVE_IEEEFP_H
54322                       #include <ieeefp.h>
54323                       #endif
54324
54325 int
54326 main ()
54327 {
54328  isnanl(0);
54329   ;
54330   return 0;
54331 }
54332 _ACEOF
54333 rm -f conftest.$ac_objext
54334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54335   (eval $ac_compile) 2>conftest.er1
54336   ac_status=$?
54337   grep -v '^ *+' conftest.er1 >conftest.err
54338   rm -f conftest.er1
54339   cat conftest.err >&5
54340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54341   (exit $ac_status); } &&
54342          { ac_try='test -z "$ac_cxx_werror_flag"
54343                          || test ! -s conftest.err'
54344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54345   (eval $ac_try) 2>&5
54346   ac_status=$?
54347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54348   (exit $ac_status); }; } &&
54349          { ac_try='test -s conftest.$ac_objext'
54350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54351   (eval $ac_try) 2>&5
54352   ac_status=$?
54353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54354   (exit $ac_status); }; }; then
54355   glibcxx_cv_func_isnanl_use=yes
54356 else
54357   echo "$as_me: failed program was:" >&5
54358 sed 's/^/| /' conftest.$ac_ext >&5
54359
54360 glibcxx_cv_func_isnanl_use=no
54361 fi
54362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54363       ac_ext=c
54364 ac_cpp='$CPP $CPPFLAGS'
54365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54368
54369
54370 fi
54371
54372   fi
54373   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54374 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54375
54376   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54377
54378 for ac_func in isnanl
54379 do
54380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54381 echo "$as_me:$LINENO: checking for $ac_func" >&5
54382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54383 if eval "test \"\${$as_ac_var+set}\" = set"; then
54384   echo $ECHO_N "(cached) $ECHO_C" >&6
54385 else
54386   if test x$gcc_no_link = xyes; then
54387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54389    { (exit 1); exit 1; }; }
54390 fi
54391 cat >conftest.$ac_ext <<_ACEOF
54392 /* confdefs.h.  */
54393 _ACEOF
54394 cat confdefs.h >>conftest.$ac_ext
54395 cat >>conftest.$ac_ext <<_ACEOF
54396 /* end confdefs.h.  */
54397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54399 #define $ac_func innocuous_$ac_func
54400
54401 /* System header to define __stub macros and hopefully few prototypes,
54402     which can conflict with char $ac_func (); below.
54403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54404     <limits.h> exists even on freestanding compilers.  */
54405
54406 #ifdef __STDC__
54407 # include <limits.h>
54408 #else
54409 # include <assert.h>
54410 #endif
54411
54412 #undef $ac_func
54413
54414 /* Override any gcc2 internal prototype to avoid an error.  */
54415 #ifdef __cplusplus
54416 extern "C"
54417 {
54418 #endif
54419 /* We use char because int might match the return type of a gcc2
54420    builtin and then its argument prototype would still apply.  */
54421 char $ac_func ();
54422 /* The GNU C library defines this for functions which it implements
54423     to always fail with ENOSYS.  Some functions are actually named
54424     something starting with __ and the normal name is an alias.  */
54425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54426 choke me
54427 #else
54428 char (*f) () = $ac_func;
54429 #endif
54430 #ifdef __cplusplus
54431 }
54432 #endif
54433
54434 int
54435 main ()
54436 {
54437 return f != $ac_func;
54438   ;
54439   return 0;
54440 }
54441 _ACEOF
54442 rm -f conftest.$ac_objext conftest$ac_exeext
54443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54444   (eval $ac_link) 2>conftest.er1
54445   ac_status=$?
54446   grep -v '^ *+' conftest.er1 >conftest.err
54447   rm -f conftest.er1
54448   cat conftest.err >&5
54449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54450   (exit $ac_status); } &&
54451          { ac_try='test -z "$ac_c_werror_flag"
54452                          || test ! -s conftest.err'
54453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54454   (eval $ac_try) 2>&5
54455   ac_status=$?
54456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54457   (exit $ac_status); }; } &&
54458          { ac_try='test -s conftest$ac_exeext'
54459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54460   (eval $ac_try) 2>&5
54461   ac_status=$?
54462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54463   (exit $ac_status); }; }; then
54464   eval "$as_ac_var=yes"
54465 else
54466   echo "$as_me: failed program was:" >&5
54467 sed 's/^/| /' conftest.$ac_ext >&5
54468
54469 eval "$as_ac_var=no"
54470 fi
54471 rm -f conftest.err conftest.$ac_objext \
54472       conftest$ac_exeext conftest.$ac_ext
54473 fi
54474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54476 if test `eval echo '${'$as_ac_var'}'` = yes; then
54477   cat >>confdefs.h <<_ACEOF
54478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54479 _ACEOF
54480
54481 fi
54482 done
54483
54484   else
54485
54486   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54487 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54488   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54489     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54490   echo $ECHO_N "(cached) $ECHO_C" >&6
54491 else
54492
54493
54494
54495       ac_ext=cc
54496 ac_cpp='$CXXCPP $CPPFLAGS'
54497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54500
54501       cat >conftest.$ac_ext <<_ACEOF
54502 /* confdefs.h.  */
54503 _ACEOF
54504 cat confdefs.h >>conftest.$ac_ext
54505 cat >>conftest.$ac_ext <<_ACEOF
54506 /* end confdefs.h.  */
54507 #include <math.h>
54508                       #ifdef HAVE_IEEEFP_H
54509                       #include <ieeefp.h>
54510                       #endif
54511
54512 int
54513 main ()
54514 {
54515  _isnanl(0);
54516   ;
54517   return 0;
54518 }
54519 _ACEOF
54520 rm -f conftest.$ac_objext
54521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54522   (eval $ac_compile) 2>conftest.er1
54523   ac_status=$?
54524   grep -v '^ *+' conftest.er1 >conftest.err
54525   rm -f conftest.er1
54526   cat conftest.err >&5
54527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54528   (exit $ac_status); } &&
54529          { ac_try='test -z "$ac_cxx_werror_flag"
54530                          || test ! -s conftest.err'
54531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54532   (eval $ac_try) 2>&5
54533   ac_status=$?
54534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54535   (exit $ac_status); }; } &&
54536          { ac_try='test -s conftest.$ac_objext'
54537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54538   (eval $ac_try) 2>&5
54539   ac_status=$?
54540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54541   (exit $ac_status); }; }; then
54542   glibcxx_cv_func__isnanl_use=yes
54543 else
54544   echo "$as_me: failed program was:" >&5
54545 sed 's/^/| /' conftest.$ac_ext >&5
54546
54547 glibcxx_cv_func__isnanl_use=no
54548 fi
54549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54550       ac_ext=c
54551 ac_cpp='$CPP $CPPFLAGS'
54552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54555
54556
54557 fi
54558
54559   fi
54560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54561 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54562
54563     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54564
54565 for ac_func in _isnanl
54566 do
54567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54568 echo "$as_me:$LINENO: checking for $ac_func" >&5
54569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54570 if eval "test \"\${$as_ac_var+set}\" = set"; then
54571   echo $ECHO_N "(cached) $ECHO_C" >&6
54572 else
54573   if test x$gcc_no_link = xyes; then
54574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54576    { (exit 1); exit 1; }; }
54577 fi
54578 cat >conftest.$ac_ext <<_ACEOF
54579 /* confdefs.h.  */
54580 _ACEOF
54581 cat confdefs.h >>conftest.$ac_ext
54582 cat >>conftest.$ac_ext <<_ACEOF
54583 /* end confdefs.h.  */
54584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54586 #define $ac_func innocuous_$ac_func
54587
54588 /* System header to define __stub macros and hopefully few prototypes,
54589     which can conflict with char $ac_func (); below.
54590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54591     <limits.h> exists even on freestanding compilers.  */
54592
54593 #ifdef __STDC__
54594 # include <limits.h>
54595 #else
54596 # include <assert.h>
54597 #endif
54598
54599 #undef $ac_func
54600
54601 /* Override any gcc2 internal prototype to avoid an error.  */
54602 #ifdef __cplusplus
54603 extern "C"
54604 {
54605 #endif
54606 /* We use char because int might match the return type of a gcc2
54607    builtin and then its argument prototype would still apply.  */
54608 char $ac_func ();
54609 /* The GNU C library defines this for functions which it implements
54610     to always fail with ENOSYS.  Some functions are actually named
54611     something starting with __ and the normal name is an alias.  */
54612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54613 choke me
54614 #else
54615 char (*f) () = $ac_func;
54616 #endif
54617 #ifdef __cplusplus
54618 }
54619 #endif
54620
54621 int
54622 main ()
54623 {
54624 return f != $ac_func;
54625   ;
54626   return 0;
54627 }
54628 _ACEOF
54629 rm -f conftest.$ac_objext conftest$ac_exeext
54630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54631   (eval $ac_link) 2>conftest.er1
54632   ac_status=$?
54633   grep -v '^ *+' conftest.er1 >conftest.err
54634   rm -f conftest.er1
54635   cat conftest.err >&5
54636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54637   (exit $ac_status); } &&
54638          { ac_try='test -z "$ac_c_werror_flag"
54639                          || test ! -s conftest.err'
54640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54641   (eval $ac_try) 2>&5
54642   ac_status=$?
54643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54644   (exit $ac_status); }; } &&
54645          { ac_try='test -s conftest$ac_exeext'
54646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54647   (eval $ac_try) 2>&5
54648   ac_status=$?
54649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54650   (exit $ac_status); }; }; then
54651   eval "$as_ac_var=yes"
54652 else
54653   echo "$as_me: failed program was:" >&5
54654 sed 's/^/| /' conftest.$ac_ext >&5
54655
54656 eval "$as_ac_var=no"
54657 fi
54658 rm -f conftest.err conftest.$ac_objext \
54659       conftest$ac_exeext conftest.$ac_ext
54660 fi
54661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54663 if test `eval echo '${'$as_ac_var'}'` = yes; then
54664   cat >>confdefs.h <<_ACEOF
54665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54666 _ACEOF
54667
54668 fi
54669 done
54670
54671     fi
54672   fi
54673
54674
54675
54676
54677
54678
54679   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54680 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54681   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54682     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54683   echo $ECHO_N "(cached) $ECHO_C" >&6
54684 else
54685
54686
54687
54688       ac_ext=cc
54689 ac_cpp='$CXXCPP $CPPFLAGS'
54690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54693
54694       cat >conftest.$ac_ext <<_ACEOF
54695 /* confdefs.h.  */
54696 _ACEOF
54697 cat confdefs.h >>conftest.$ac_ext
54698 cat >>conftest.$ac_ext <<_ACEOF
54699 /* end confdefs.h.  */
54700 #include <math.h>
54701                       #ifdef HAVE_IEEEFP_H
54702                       #include <ieeefp.h>
54703                       #endif
54704
54705 int
54706 main ()
54707 {
54708  isinfl(0);
54709   ;
54710   return 0;
54711 }
54712 _ACEOF
54713 rm -f conftest.$ac_objext
54714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54715   (eval $ac_compile) 2>conftest.er1
54716   ac_status=$?
54717   grep -v '^ *+' conftest.er1 >conftest.err
54718   rm -f conftest.er1
54719   cat conftest.err >&5
54720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721   (exit $ac_status); } &&
54722          { ac_try='test -z "$ac_cxx_werror_flag"
54723                          || test ! -s conftest.err'
54724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54725   (eval $ac_try) 2>&5
54726   ac_status=$?
54727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54728   (exit $ac_status); }; } &&
54729          { ac_try='test -s conftest.$ac_objext'
54730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54731   (eval $ac_try) 2>&5
54732   ac_status=$?
54733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54734   (exit $ac_status); }; }; then
54735   glibcxx_cv_func_isinfl_use=yes
54736 else
54737   echo "$as_me: failed program was:" >&5
54738 sed 's/^/| /' conftest.$ac_ext >&5
54739
54740 glibcxx_cv_func_isinfl_use=no
54741 fi
54742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54743       ac_ext=c
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54748
54749
54750 fi
54751
54752   fi
54753   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54754 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54755
54756   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54757
54758 for ac_func in isinfl
54759 do
54760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54761 echo "$as_me:$LINENO: checking for $ac_func" >&5
54762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54763 if eval "test \"\${$as_ac_var+set}\" = set"; then
54764   echo $ECHO_N "(cached) $ECHO_C" >&6
54765 else
54766   if test x$gcc_no_link = xyes; then
54767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54769    { (exit 1); exit 1; }; }
54770 fi
54771 cat >conftest.$ac_ext <<_ACEOF
54772 /* confdefs.h.  */
54773 _ACEOF
54774 cat confdefs.h >>conftest.$ac_ext
54775 cat >>conftest.$ac_ext <<_ACEOF
54776 /* end confdefs.h.  */
54777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54779 #define $ac_func innocuous_$ac_func
54780
54781 /* System header to define __stub macros and hopefully few prototypes,
54782     which can conflict with char $ac_func (); below.
54783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54784     <limits.h> exists even on freestanding compilers.  */
54785
54786 #ifdef __STDC__
54787 # include <limits.h>
54788 #else
54789 # include <assert.h>
54790 #endif
54791
54792 #undef $ac_func
54793
54794 /* Override any gcc2 internal prototype to avoid an error.  */
54795 #ifdef __cplusplus
54796 extern "C"
54797 {
54798 #endif
54799 /* We use char because int might match the return type of a gcc2
54800    builtin and then its argument prototype would still apply.  */
54801 char $ac_func ();
54802 /* The GNU C library defines this for functions which it implements
54803     to always fail with ENOSYS.  Some functions are actually named
54804     something starting with __ and the normal name is an alias.  */
54805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54806 choke me
54807 #else
54808 char (*f) () = $ac_func;
54809 #endif
54810 #ifdef __cplusplus
54811 }
54812 #endif
54813
54814 int
54815 main ()
54816 {
54817 return f != $ac_func;
54818   ;
54819   return 0;
54820 }
54821 _ACEOF
54822 rm -f conftest.$ac_objext conftest$ac_exeext
54823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54824   (eval $ac_link) 2>conftest.er1
54825   ac_status=$?
54826   grep -v '^ *+' conftest.er1 >conftest.err
54827   rm -f conftest.er1
54828   cat conftest.err >&5
54829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54830   (exit $ac_status); } &&
54831          { ac_try='test -z "$ac_c_werror_flag"
54832                          || test ! -s conftest.err'
54833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54834   (eval $ac_try) 2>&5
54835   ac_status=$?
54836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54837   (exit $ac_status); }; } &&
54838          { ac_try='test -s conftest$ac_exeext'
54839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54840   (eval $ac_try) 2>&5
54841   ac_status=$?
54842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54843   (exit $ac_status); }; }; then
54844   eval "$as_ac_var=yes"
54845 else
54846   echo "$as_me: failed program was:" >&5
54847 sed 's/^/| /' conftest.$ac_ext >&5
54848
54849 eval "$as_ac_var=no"
54850 fi
54851 rm -f conftest.err conftest.$ac_objext \
54852       conftest$ac_exeext conftest.$ac_ext
54853 fi
54854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54856 if test `eval echo '${'$as_ac_var'}'` = yes; then
54857   cat >>confdefs.h <<_ACEOF
54858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54859 _ACEOF
54860
54861 fi
54862 done
54863
54864   else
54865
54866   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54867 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54868   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54869     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54870   echo $ECHO_N "(cached) $ECHO_C" >&6
54871 else
54872
54873
54874
54875       ac_ext=cc
54876 ac_cpp='$CXXCPP $CPPFLAGS'
54877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54880
54881       cat >conftest.$ac_ext <<_ACEOF
54882 /* confdefs.h.  */
54883 _ACEOF
54884 cat confdefs.h >>conftest.$ac_ext
54885 cat >>conftest.$ac_ext <<_ACEOF
54886 /* end confdefs.h.  */
54887 #include <math.h>
54888                       #ifdef HAVE_IEEEFP_H
54889                       #include <ieeefp.h>
54890                       #endif
54891
54892 int
54893 main ()
54894 {
54895  _isinfl(0);
54896   ;
54897   return 0;
54898 }
54899 _ACEOF
54900 rm -f conftest.$ac_objext
54901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54902   (eval $ac_compile) 2>conftest.er1
54903   ac_status=$?
54904   grep -v '^ *+' conftest.er1 >conftest.err
54905   rm -f conftest.er1
54906   cat conftest.err >&5
54907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54908   (exit $ac_status); } &&
54909          { ac_try='test -z "$ac_cxx_werror_flag"
54910                          || test ! -s conftest.err'
54911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54912   (eval $ac_try) 2>&5
54913   ac_status=$?
54914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54915   (exit $ac_status); }; } &&
54916          { ac_try='test -s conftest.$ac_objext'
54917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54918   (eval $ac_try) 2>&5
54919   ac_status=$?
54920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54921   (exit $ac_status); }; }; then
54922   glibcxx_cv_func__isinfl_use=yes
54923 else
54924   echo "$as_me: failed program was:" >&5
54925 sed 's/^/| /' conftest.$ac_ext >&5
54926
54927 glibcxx_cv_func__isinfl_use=no
54928 fi
54929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54930       ac_ext=c
54931 ac_cpp='$CPP $CPPFLAGS'
54932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54935
54936
54937 fi
54938
54939   fi
54940   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54941 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54942
54943     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54944
54945 for ac_func in _isinfl
54946 do
54947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54948 echo "$as_me:$LINENO: checking for $ac_func" >&5
54949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54950 if eval "test \"\${$as_ac_var+set}\" = set"; then
54951   echo $ECHO_N "(cached) $ECHO_C" >&6
54952 else
54953   if test x$gcc_no_link = xyes; then
54954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54956    { (exit 1); exit 1; }; }
54957 fi
54958 cat >conftest.$ac_ext <<_ACEOF
54959 /* confdefs.h.  */
54960 _ACEOF
54961 cat confdefs.h >>conftest.$ac_ext
54962 cat >>conftest.$ac_ext <<_ACEOF
54963 /* end confdefs.h.  */
54964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54966 #define $ac_func innocuous_$ac_func
54967
54968 /* System header to define __stub macros and hopefully few prototypes,
54969     which can conflict with char $ac_func (); below.
54970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54971     <limits.h> exists even on freestanding compilers.  */
54972
54973 #ifdef __STDC__
54974 # include <limits.h>
54975 #else
54976 # include <assert.h>
54977 #endif
54978
54979 #undef $ac_func
54980
54981 /* Override any gcc2 internal prototype to avoid an error.  */
54982 #ifdef __cplusplus
54983 extern "C"
54984 {
54985 #endif
54986 /* We use char because int might match the return type of a gcc2
54987    builtin and then its argument prototype would still apply.  */
54988 char $ac_func ();
54989 /* The GNU C library defines this for functions which it implements
54990     to always fail with ENOSYS.  Some functions are actually named
54991     something starting with __ and the normal name is an alias.  */
54992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54993 choke me
54994 #else
54995 char (*f) () = $ac_func;
54996 #endif
54997 #ifdef __cplusplus
54998 }
54999 #endif
55000
55001 int
55002 main ()
55003 {
55004 return f != $ac_func;
55005   ;
55006   return 0;
55007 }
55008 _ACEOF
55009 rm -f conftest.$ac_objext conftest$ac_exeext
55010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55011   (eval $ac_link) 2>conftest.er1
55012   ac_status=$?
55013   grep -v '^ *+' conftest.er1 >conftest.err
55014   rm -f conftest.er1
55015   cat conftest.err >&5
55016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55017   (exit $ac_status); } &&
55018          { ac_try='test -z "$ac_c_werror_flag"
55019                          || test ! -s conftest.err'
55020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55021   (eval $ac_try) 2>&5
55022   ac_status=$?
55023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55024   (exit $ac_status); }; } &&
55025          { ac_try='test -s conftest$ac_exeext'
55026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55027   (eval $ac_try) 2>&5
55028   ac_status=$?
55029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55030   (exit $ac_status); }; }; then
55031   eval "$as_ac_var=yes"
55032 else
55033   echo "$as_me: failed program was:" >&5
55034 sed 's/^/| /' conftest.$ac_ext >&5
55035
55036 eval "$as_ac_var=no"
55037 fi
55038 rm -f conftest.err conftest.$ac_objext \
55039       conftest$ac_exeext conftest.$ac_ext
55040 fi
55041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55043 if test `eval echo '${'$as_ac_var'}'` = yes; then
55044   cat >>confdefs.h <<_ACEOF
55045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55046 _ACEOF
55047
55048 fi
55049 done
55050
55051     fi
55052   fi
55053
55054
55055
55056
55057
55058
55059   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55060 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55061   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55062     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55063   echo $ECHO_N "(cached) $ECHO_C" >&6
55064 else
55065
55066
55067
55068       ac_ext=cc
55069 ac_cpp='$CXXCPP $CPPFLAGS'
55070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55073
55074       cat >conftest.$ac_ext <<_ACEOF
55075 /* confdefs.h.  */
55076 _ACEOF
55077 cat confdefs.h >>conftest.$ac_ext
55078 cat >>conftest.$ac_ext <<_ACEOF
55079 /* end confdefs.h.  */
55080 #include <math.h>
55081 int
55082 main ()
55083 {
55084  copysignl(0, 0);
55085   ;
55086   return 0;
55087 }
55088 _ACEOF
55089 rm -f conftest.$ac_objext
55090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55091   (eval $ac_compile) 2>conftest.er1
55092   ac_status=$?
55093   grep -v '^ *+' conftest.er1 >conftest.err
55094   rm -f conftest.er1
55095   cat conftest.err >&5
55096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55097   (exit $ac_status); } &&
55098          { ac_try='test -z "$ac_cxx_werror_flag"
55099                          || test ! -s conftest.err'
55100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55101   (eval $ac_try) 2>&5
55102   ac_status=$?
55103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55104   (exit $ac_status); }; } &&
55105          { ac_try='test -s conftest.$ac_objext'
55106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55107   (eval $ac_try) 2>&5
55108   ac_status=$?
55109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55110   (exit $ac_status); }; }; then
55111   glibcxx_cv_func_copysignl_use=yes
55112 else
55113   echo "$as_me: failed program was:" >&5
55114 sed 's/^/| /' conftest.$ac_ext >&5
55115
55116 glibcxx_cv_func_copysignl_use=no
55117 fi
55118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55119       ac_ext=c
55120 ac_cpp='$CPP $CPPFLAGS'
55121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55124
55125
55126 fi
55127
55128   fi
55129   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55130 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55131
55132   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55133
55134 for ac_func in copysignl
55135 do
55136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55137 echo "$as_me:$LINENO: checking for $ac_func" >&5
55138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55139 if eval "test \"\${$as_ac_var+set}\" = set"; then
55140   echo $ECHO_N "(cached) $ECHO_C" >&6
55141 else
55142   if test x$gcc_no_link = xyes; then
55143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55145    { (exit 1); exit 1; }; }
55146 fi
55147 cat >conftest.$ac_ext <<_ACEOF
55148 /* confdefs.h.  */
55149 _ACEOF
55150 cat confdefs.h >>conftest.$ac_ext
55151 cat >>conftest.$ac_ext <<_ACEOF
55152 /* end confdefs.h.  */
55153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55155 #define $ac_func innocuous_$ac_func
55156
55157 /* System header to define __stub macros and hopefully few prototypes,
55158     which can conflict with char $ac_func (); below.
55159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55160     <limits.h> exists even on freestanding compilers.  */
55161
55162 #ifdef __STDC__
55163 # include <limits.h>
55164 #else
55165 # include <assert.h>
55166 #endif
55167
55168 #undef $ac_func
55169
55170 /* Override any gcc2 internal prototype to avoid an error.  */
55171 #ifdef __cplusplus
55172 extern "C"
55173 {
55174 #endif
55175 /* We use char because int might match the return type of a gcc2
55176    builtin and then its argument prototype would still apply.  */
55177 char $ac_func ();
55178 /* The GNU C library defines this for functions which it implements
55179     to always fail with ENOSYS.  Some functions are actually named
55180     something starting with __ and the normal name is an alias.  */
55181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55182 choke me
55183 #else
55184 char (*f) () = $ac_func;
55185 #endif
55186 #ifdef __cplusplus
55187 }
55188 #endif
55189
55190 int
55191 main ()
55192 {
55193 return f != $ac_func;
55194   ;
55195   return 0;
55196 }
55197 _ACEOF
55198 rm -f conftest.$ac_objext conftest$ac_exeext
55199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55200   (eval $ac_link) 2>conftest.er1
55201   ac_status=$?
55202   grep -v '^ *+' conftest.er1 >conftest.err
55203   rm -f conftest.er1
55204   cat conftest.err >&5
55205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55206   (exit $ac_status); } &&
55207          { ac_try='test -z "$ac_c_werror_flag"
55208                          || test ! -s conftest.err'
55209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55210   (eval $ac_try) 2>&5
55211   ac_status=$?
55212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55213   (exit $ac_status); }; } &&
55214          { ac_try='test -s conftest$ac_exeext'
55215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55216   (eval $ac_try) 2>&5
55217   ac_status=$?
55218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55219   (exit $ac_status); }; }; then
55220   eval "$as_ac_var=yes"
55221 else
55222   echo "$as_me: failed program was:" >&5
55223 sed 's/^/| /' conftest.$ac_ext >&5
55224
55225 eval "$as_ac_var=no"
55226 fi
55227 rm -f conftest.err conftest.$ac_objext \
55228       conftest$ac_exeext conftest.$ac_ext
55229 fi
55230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55232 if test `eval echo '${'$as_ac_var'}'` = yes; then
55233   cat >>confdefs.h <<_ACEOF
55234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55235 _ACEOF
55236
55237 fi
55238 done
55239
55240   else
55241
55242   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55243 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55244   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55245     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55246   echo $ECHO_N "(cached) $ECHO_C" >&6
55247 else
55248
55249
55250
55251       ac_ext=cc
55252 ac_cpp='$CXXCPP $CPPFLAGS'
55253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55256
55257       cat >conftest.$ac_ext <<_ACEOF
55258 /* confdefs.h.  */
55259 _ACEOF
55260 cat confdefs.h >>conftest.$ac_ext
55261 cat >>conftest.$ac_ext <<_ACEOF
55262 /* end confdefs.h.  */
55263 #include <math.h>
55264 int
55265 main ()
55266 {
55267  _copysignl(0, 0);
55268   ;
55269   return 0;
55270 }
55271 _ACEOF
55272 rm -f conftest.$ac_objext
55273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55274   (eval $ac_compile) 2>conftest.er1
55275   ac_status=$?
55276   grep -v '^ *+' conftest.er1 >conftest.err
55277   rm -f conftest.er1
55278   cat conftest.err >&5
55279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55280   (exit $ac_status); } &&
55281          { ac_try='test -z "$ac_cxx_werror_flag"
55282                          || test ! -s conftest.err'
55283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55284   (eval $ac_try) 2>&5
55285   ac_status=$?
55286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55287   (exit $ac_status); }; } &&
55288          { ac_try='test -s conftest.$ac_objext'
55289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55290   (eval $ac_try) 2>&5
55291   ac_status=$?
55292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55293   (exit $ac_status); }; }; then
55294   glibcxx_cv_func__copysignl_use=yes
55295 else
55296   echo "$as_me: failed program was:" >&5
55297 sed 's/^/| /' conftest.$ac_ext >&5
55298
55299 glibcxx_cv_func__copysignl_use=no
55300 fi
55301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55302       ac_ext=c
55303 ac_cpp='$CPP $CPPFLAGS'
55304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55307
55308
55309 fi
55310
55311   fi
55312   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55313 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55314
55315     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55316
55317 for ac_func in _copysignl
55318 do
55319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55320 echo "$as_me:$LINENO: checking for $ac_func" >&5
55321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55322 if eval "test \"\${$as_ac_var+set}\" = set"; then
55323   echo $ECHO_N "(cached) $ECHO_C" >&6
55324 else
55325   if test x$gcc_no_link = xyes; then
55326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55328    { (exit 1); exit 1; }; }
55329 fi
55330 cat >conftest.$ac_ext <<_ACEOF
55331 /* confdefs.h.  */
55332 _ACEOF
55333 cat confdefs.h >>conftest.$ac_ext
55334 cat >>conftest.$ac_ext <<_ACEOF
55335 /* end confdefs.h.  */
55336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55338 #define $ac_func innocuous_$ac_func
55339
55340 /* System header to define __stub macros and hopefully few prototypes,
55341     which can conflict with char $ac_func (); below.
55342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55343     <limits.h> exists even on freestanding compilers.  */
55344
55345 #ifdef __STDC__
55346 # include <limits.h>
55347 #else
55348 # include <assert.h>
55349 #endif
55350
55351 #undef $ac_func
55352
55353 /* Override any gcc2 internal prototype to avoid an error.  */
55354 #ifdef __cplusplus
55355 extern "C"
55356 {
55357 #endif
55358 /* We use char because int might match the return type of a gcc2
55359    builtin and then its argument prototype would still apply.  */
55360 char $ac_func ();
55361 /* The GNU C library defines this for functions which it implements
55362     to always fail with ENOSYS.  Some functions are actually named
55363     something starting with __ and the normal name is an alias.  */
55364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55365 choke me
55366 #else
55367 char (*f) () = $ac_func;
55368 #endif
55369 #ifdef __cplusplus
55370 }
55371 #endif
55372
55373 int
55374 main ()
55375 {
55376 return f != $ac_func;
55377   ;
55378   return 0;
55379 }
55380 _ACEOF
55381 rm -f conftest.$ac_objext conftest$ac_exeext
55382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55383   (eval $ac_link) 2>conftest.er1
55384   ac_status=$?
55385   grep -v '^ *+' conftest.er1 >conftest.err
55386   rm -f conftest.er1
55387   cat conftest.err >&5
55388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55389   (exit $ac_status); } &&
55390          { ac_try='test -z "$ac_c_werror_flag"
55391                          || test ! -s conftest.err'
55392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55393   (eval $ac_try) 2>&5
55394   ac_status=$?
55395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55396   (exit $ac_status); }; } &&
55397          { ac_try='test -s conftest$ac_exeext'
55398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55399   (eval $ac_try) 2>&5
55400   ac_status=$?
55401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55402   (exit $ac_status); }; }; then
55403   eval "$as_ac_var=yes"
55404 else
55405   echo "$as_me: failed program was:" >&5
55406 sed 's/^/| /' conftest.$ac_ext >&5
55407
55408 eval "$as_ac_var=no"
55409 fi
55410 rm -f conftest.err conftest.$ac_objext \
55411       conftest$ac_exeext conftest.$ac_ext
55412 fi
55413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55415 if test `eval echo '${'$as_ac_var'}'` = yes; then
55416   cat >>confdefs.h <<_ACEOF
55417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55418 _ACEOF
55419
55420 fi
55421 done
55422
55423     fi
55424   fi
55425
55426
55427
55428
55429
55430
55431   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55432 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55433   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55434     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55435   echo $ECHO_N "(cached) $ECHO_C" >&6
55436 else
55437
55438
55439
55440       ac_ext=cc
55441 ac_cpp='$CXXCPP $CPPFLAGS'
55442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55445
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 #include <math.h>
55453 int
55454 main ()
55455 {
55456  atan2l(0, 0);
55457   ;
55458   return 0;
55459 }
55460 _ACEOF
55461 rm -f conftest.$ac_objext
55462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55463   (eval $ac_compile) 2>conftest.er1
55464   ac_status=$?
55465   grep -v '^ *+' conftest.er1 >conftest.err
55466   rm -f conftest.er1
55467   cat conftest.err >&5
55468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55469   (exit $ac_status); } &&
55470          { ac_try='test -z "$ac_cxx_werror_flag"
55471                          || test ! -s conftest.err'
55472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55473   (eval $ac_try) 2>&5
55474   ac_status=$?
55475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55476   (exit $ac_status); }; } &&
55477          { ac_try='test -s conftest.$ac_objext'
55478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55479   (eval $ac_try) 2>&5
55480   ac_status=$?
55481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55482   (exit $ac_status); }; }; then
55483   glibcxx_cv_func_atan2l_use=yes
55484 else
55485   echo "$as_me: failed program was:" >&5
55486 sed 's/^/| /' conftest.$ac_ext >&5
55487
55488 glibcxx_cv_func_atan2l_use=no
55489 fi
55490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55491       ac_ext=c
55492 ac_cpp='$CPP $CPPFLAGS'
55493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55496
55497
55498 fi
55499
55500   fi
55501   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55502 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55503
55504   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55505
55506 for ac_func in atan2l
55507 do
55508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55509 echo "$as_me:$LINENO: checking for $ac_func" >&5
55510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55511 if eval "test \"\${$as_ac_var+set}\" = set"; then
55512   echo $ECHO_N "(cached) $ECHO_C" >&6
55513 else
55514   if test x$gcc_no_link = xyes; then
55515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55517    { (exit 1); exit 1; }; }
55518 fi
55519 cat >conftest.$ac_ext <<_ACEOF
55520 /* confdefs.h.  */
55521 _ACEOF
55522 cat confdefs.h >>conftest.$ac_ext
55523 cat >>conftest.$ac_ext <<_ACEOF
55524 /* end confdefs.h.  */
55525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55527 #define $ac_func innocuous_$ac_func
55528
55529 /* System header to define __stub macros and hopefully few prototypes,
55530     which can conflict with char $ac_func (); below.
55531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55532     <limits.h> exists even on freestanding compilers.  */
55533
55534 #ifdef __STDC__
55535 # include <limits.h>
55536 #else
55537 # include <assert.h>
55538 #endif
55539
55540 #undef $ac_func
55541
55542 /* Override any gcc2 internal prototype to avoid an error.  */
55543 #ifdef __cplusplus
55544 extern "C"
55545 {
55546 #endif
55547 /* We use char because int might match the return type of a gcc2
55548    builtin and then its argument prototype would still apply.  */
55549 char $ac_func ();
55550 /* The GNU C library defines this for functions which it implements
55551     to always fail with ENOSYS.  Some functions are actually named
55552     something starting with __ and the normal name is an alias.  */
55553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55554 choke me
55555 #else
55556 char (*f) () = $ac_func;
55557 #endif
55558 #ifdef __cplusplus
55559 }
55560 #endif
55561
55562 int
55563 main ()
55564 {
55565 return f != $ac_func;
55566   ;
55567   return 0;
55568 }
55569 _ACEOF
55570 rm -f conftest.$ac_objext conftest$ac_exeext
55571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55572   (eval $ac_link) 2>conftest.er1
55573   ac_status=$?
55574   grep -v '^ *+' conftest.er1 >conftest.err
55575   rm -f conftest.er1
55576   cat conftest.err >&5
55577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55578   (exit $ac_status); } &&
55579          { ac_try='test -z "$ac_c_werror_flag"
55580                          || test ! -s conftest.err'
55581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55582   (eval $ac_try) 2>&5
55583   ac_status=$?
55584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55585   (exit $ac_status); }; } &&
55586          { ac_try='test -s conftest$ac_exeext'
55587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55588   (eval $ac_try) 2>&5
55589   ac_status=$?
55590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55591   (exit $ac_status); }; }; then
55592   eval "$as_ac_var=yes"
55593 else
55594   echo "$as_me: failed program was:" >&5
55595 sed 's/^/| /' conftest.$ac_ext >&5
55596
55597 eval "$as_ac_var=no"
55598 fi
55599 rm -f conftest.err conftest.$ac_objext \
55600       conftest$ac_exeext conftest.$ac_ext
55601 fi
55602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55604 if test `eval echo '${'$as_ac_var'}'` = yes; then
55605   cat >>confdefs.h <<_ACEOF
55606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55607 _ACEOF
55608
55609 fi
55610 done
55611
55612   else
55613
55614   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55615 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55616   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55617     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55618   echo $ECHO_N "(cached) $ECHO_C" >&6
55619 else
55620
55621
55622
55623       ac_ext=cc
55624 ac_cpp='$CXXCPP $CPPFLAGS'
55625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55628
55629       cat >conftest.$ac_ext <<_ACEOF
55630 /* confdefs.h.  */
55631 _ACEOF
55632 cat confdefs.h >>conftest.$ac_ext
55633 cat >>conftest.$ac_ext <<_ACEOF
55634 /* end confdefs.h.  */
55635 #include <math.h>
55636 int
55637 main ()
55638 {
55639  _atan2l(0, 0);
55640   ;
55641   return 0;
55642 }
55643 _ACEOF
55644 rm -f conftest.$ac_objext
55645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55646   (eval $ac_compile) 2>conftest.er1
55647   ac_status=$?
55648   grep -v '^ *+' conftest.er1 >conftest.err
55649   rm -f conftest.er1
55650   cat conftest.err >&5
55651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55652   (exit $ac_status); } &&
55653          { ac_try='test -z "$ac_cxx_werror_flag"
55654                          || test ! -s conftest.err'
55655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55656   (eval $ac_try) 2>&5
55657   ac_status=$?
55658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55659   (exit $ac_status); }; } &&
55660          { ac_try='test -s conftest.$ac_objext'
55661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55662   (eval $ac_try) 2>&5
55663   ac_status=$?
55664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55665   (exit $ac_status); }; }; then
55666   glibcxx_cv_func__atan2l_use=yes
55667 else
55668   echo "$as_me: failed program was:" >&5
55669 sed 's/^/| /' conftest.$ac_ext >&5
55670
55671 glibcxx_cv_func__atan2l_use=no
55672 fi
55673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55674       ac_ext=c
55675 ac_cpp='$CPP $CPPFLAGS'
55676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55679
55680
55681 fi
55682
55683   fi
55684   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55685 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55686
55687     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55688
55689 for ac_func in _atan2l
55690 do
55691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55692 echo "$as_me:$LINENO: checking for $ac_func" >&5
55693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55694 if eval "test \"\${$as_ac_var+set}\" = set"; then
55695   echo $ECHO_N "(cached) $ECHO_C" >&6
55696 else
55697   if test x$gcc_no_link = xyes; then
55698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55700    { (exit 1); exit 1; }; }
55701 fi
55702 cat >conftest.$ac_ext <<_ACEOF
55703 /* confdefs.h.  */
55704 _ACEOF
55705 cat confdefs.h >>conftest.$ac_ext
55706 cat >>conftest.$ac_ext <<_ACEOF
55707 /* end confdefs.h.  */
55708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55710 #define $ac_func innocuous_$ac_func
55711
55712 /* System header to define __stub macros and hopefully few prototypes,
55713     which can conflict with char $ac_func (); below.
55714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55715     <limits.h> exists even on freestanding compilers.  */
55716
55717 #ifdef __STDC__
55718 # include <limits.h>
55719 #else
55720 # include <assert.h>
55721 #endif
55722
55723 #undef $ac_func
55724
55725 /* Override any gcc2 internal prototype to avoid an error.  */
55726 #ifdef __cplusplus
55727 extern "C"
55728 {
55729 #endif
55730 /* We use char because int might match the return type of a gcc2
55731    builtin and then its argument prototype would still apply.  */
55732 char $ac_func ();
55733 /* The GNU C library defines this for functions which it implements
55734     to always fail with ENOSYS.  Some functions are actually named
55735     something starting with __ and the normal name is an alias.  */
55736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55737 choke me
55738 #else
55739 char (*f) () = $ac_func;
55740 #endif
55741 #ifdef __cplusplus
55742 }
55743 #endif
55744
55745 int
55746 main ()
55747 {
55748 return f != $ac_func;
55749   ;
55750   return 0;
55751 }
55752 _ACEOF
55753 rm -f conftest.$ac_objext conftest$ac_exeext
55754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55755   (eval $ac_link) 2>conftest.er1
55756   ac_status=$?
55757   grep -v '^ *+' conftest.er1 >conftest.err
55758   rm -f conftest.er1
55759   cat conftest.err >&5
55760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55761   (exit $ac_status); } &&
55762          { ac_try='test -z "$ac_c_werror_flag"
55763                          || test ! -s conftest.err'
55764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55765   (eval $ac_try) 2>&5
55766   ac_status=$?
55767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768   (exit $ac_status); }; } &&
55769          { ac_try='test -s conftest$ac_exeext'
55770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55771   (eval $ac_try) 2>&5
55772   ac_status=$?
55773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55774   (exit $ac_status); }; }; then
55775   eval "$as_ac_var=yes"
55776 else
55777   echo "$as_me: failed program was:" >&5
55778 sed 's/^/| /' conftest.$ac_ext >&5
55779
55780 eval "$as_ac_var=no"
55781 fi
55782 rm -f conftest.err conftest.$ac_objext \
55783       conftest$ac_exeext conftest.$ac_ext
55784 fi
55785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55787 if test `eval echo '${'$as_ac_var'}'` = yes; then
55788   cat >>confdefs.h <<_ACEOF
55789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55790 _ACEOF
55791
55792 fi
55793 done
55794
55795     fi
55796   fi
55797
55798
55799
55800
55801
55802
55803   echo "$as_me:$LINENO: checking for expl declaration" >&5
55804 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55805   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55806     if test "${glibcxx_cv_func_expl_use+set}" = set; then
55807   echo $ECHO_N "(cached) $ECHO_C" >&6
55808 else
55809
55810
55811
55812       ac_ext=cc
55813 ac_cpp='$CXXCPP $CPPFLAGS'
55814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55817
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 #include <math.h>
55825                       #ifdef HAVE_IEEEFP_H
55826                       #include <ieeefp.h>
55827                       #endif
55828
55829 int
55830 main ()
55831 {
55832  expl(0);
55833   ;
55834   return 0;
55835 }
55836 _ACEOF
55837 rm -f conftest.$ac_objext
55838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55839   (eval $ac_compile) 2>conftest.er1
55840   ac_status=$?
55841   grep -v '^ *+' conftest.er1 >conftest.err
55842   rm -f conftest.er1
55843   cat conftest.err >&5
55844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55845   (exit $ac_status); } &&
55846          { ac_try='test -z "$ac_cxx_werror_flag"
55847                          || test ! -s conftest.err'
55848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55849   (eval $ac_try) 2>&5
55850   ac_status=$?
55851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55852   (exit $ac_status); }; } &&
55853          { ac_try='test -s conftest.$ac_objext'
55854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55855   (eval $ac_try) 2>&5
55856   ac_status=$?
55857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55858   (exit $ac_status); }; }; then
55859   glibcxx_cv_func_expl_use=yes
55860 else
55861   echo "$as_me: failed program was:" >&5
55862 sed 's/^/| /' conftest.$ac_ext >&5
55863
55864 glibcxx_cv_func_expl_use=no
55865 fi
55866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55867       ac_ext=c
55868 ac_cpp='$CPP $CPPFLAGS'
55869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55872
55873
55874 fi
55875
55876   fi
55877   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55878 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55879
55880   if test x$glibcxx_cv_func_expl_use = x"yes"; then
55881
55882 for ac_func in expl
55883 do
55884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55885 echo "$as_me:$LINENO: checking for $ac_func" >&5
55886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55887 if eval "test \"\${$as_ac_var+set}\" = set"; then
55888   echo $ECHO_N "(cached) $ECHO_C" >&6
55889 else
55890   if test x$gcc_no_link = xyes; then
55891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55893    { (exit 1); exit 1; }; }
55894 fi
55895 cat >conftest.$ac_ext <<_ACEOF
55896 /* confdefs.h.  */
55897 _ACEOF
55898 cat confdefs.h >>conftest.$ac_ext
55899 cat >>conftest.$ac_ext <<_ACEOF
55900 /* end confdefs.h.  */
55901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55903 #define $ac_func innocuous_$ac_func
55904
55905 /* System header to define __stub macros and hopefully few prototypes,
55906     which can conflict with char $ac_func (); below.
55907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55908     <limits.h> exists even on freestanding compilers.  */
55909
55910 #ifdef __STDC__
55911 # include <limits.h>
55912 #else
55913 # include <assert.h>
55914 #endif
55915
55916 #undef $ac_func
55917
55918 /* Override any gcc2 internal prototype to avoid an error.  */
55919 #ifdef __cplusplus
55920 extern "C"
55921 {
55922 #endif
55923 /* We use char because int might match the return type of a gcc2
55924    builtin and then its argument prototype would still apply.  */
55925 char $ac_func ();
55926 /* The GNU C library defines this for functions which it implements
55927     to always fail with ENOSYS.  Some functions are actually named
55928     something starting with __ and the normal name is an alias.  */
55929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55930 choke me
55931 #else
55932 char (*f) () = $ac_func;
55933 #endif
55934 #ifdef __cplusplus
55935 }
55936 #endif
55937
55938 int
55939 main ()
55940 {
55941 return f != $ac_func;
55942   ;
55943   return 0;
55944 }
55945 _ACEOF
55946 rm -f conftest.$ac_objext conftest$ac_exeext
55947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55948   (eval $ac_link) 2>conftest.er1
55949   ac_status=$?
55950   grep -v '^ *+' conftest.er1 >conftest.err
55951   rm -f conftest.er1
55952   cat conftest.err >&5
55953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55954   (exit $ac_status); } &&
55955          { ac_try='test -z "$ac_c_werror_flag"
55956                          || test ! -s conftest.err'
55957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55958   (eval $ac_try) 2>&5
55959   ac_status=$?
55960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55961   (exit $ac_status); }; } &&
55962          { ac_try='test -s conftest$ac_exeext'
55963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55964   (eval $ac_try) 2>&5
55965   ac_status=$?
55966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55967   (exit $ac_status); }; }; then
55968   eval "$as_ac_var=yes"
55969 else
55970   echo "$as_me: failed program was:" >&5
55971 sed 's/^/| /' conftest.$ac_ext >&5
55972
55973 eval "$as_ac_var=no"
55974 fi
55975 rm -f conftest.err conftest.$ac_objext \
55976       conftest$ac_exeext conftest.$ac_ext
55977 fi
55978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55980 if test `eval echo '${'$as_ac_var'}'` = yes; then
55981   cat >>confdefs.h <<_ACEOF
55982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55983 _ACEOF
55984
55985 fi
55986 done
55987
55988   else
55989
55990   echo "$as_me:$LINENO: checking for _expl declaration" >&5
55991 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55992   if test x${glibcxx_cv_func__expl_use+set} != xset; then
55993     if test "${glibcxx_cv_func__expl_use+set}" = set; then
55994   echo $ECHO_N "(cached) $ECHO_C" >&6
55995 else
55996
55997
55998
55999       ac_ext=cc
56000 ac_cpp='$CXXCPP $CPPFLAGS'
56001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56004
56005       cat >conftest.$ac_ext <<_ACEOF
56006 /* confdefs.h.  */
56007 _ACEOF
56008 cat confdefs.h >>conftest.$ac_ext
56009 cat >>conftest.$ac_ext <<_ACEOF
56010 /* end confdefs.h.  */
56011 #include <math.h>
56012                       #ifdef HAVE_IEEEFP_H
56013                       #include <ieeefp.h>
56014                       #endif
56015
56016 int
56017 main ()
56018 {
56019  _expl(0);
56020   ;
56021   return 0;
56022 }
56023 _ACEOF
56024 rm -f conftest.$ac_objext
56025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56026   (eval $ac_compile) 2>conftest.er1
56027   ac_status=$?
56028   grep -v '^ *+' conftest.er1 >conftest.err
56029   rm -f conftest.er1
56030   cat conftest.err >&5
56031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56032   (exit $ac_status); } &&
56033          { ac_try='test -z "$ac_cxx_werror_flag"
56034                          || test ! -s conftest.err'
56035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56036   (eval $ac_try) 2>&5
56037   ac_status=$?
56038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56039   (exit $ac_status); }; } &&
56040          { ac_try='test -s conftest.$ac_objext'
56041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56042   (eval $ac_try) 2>&5
56043   ac_status=$?
56044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56045   (exit $ac_status); }; }; then
56046   glibcxx_cv_func__expl_use=yes
56047 else
56048   echo "$as_me: failed program was:" >&5
56049 sed 's/^/| /' conftest.$ac_ext >&5
56050
56051 glibcxx_cv_func__expl_use=no
56052 fi
56053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56054       ac_ext=c
56055 ac_cpp='$CPP $CPPFLAGS'
56056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56059
56060
56061 fi
56062
56063   fi
56064   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56065 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56066
56067     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56068
56069 for ac_func in _expl
56070 do
56071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56072 echo "$as_me:$LINENO: checking for $ac_func" >&5
56073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56074 if eval "test \"\${$as_ac_var+set}\" = set"; then
56075   echo $ECHO_N "(cached) $ECHO_C" >&6
56076 else
56077   if test x$gcc_no_link = xyes; then
56078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56080    { (exit 1); exit 1; }; }
56081 fi
56082 cat >conftest.$ac_ext <<_ACEOF
56083 /* confdefs.h.  */
56084 _ACEOF
56085 cat confdefs.h >>conftest.$ac_ext
56086 cat >>conftest.$ac_ext <<_ACEOF
56087 /* end confdefs.h.  */
56088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56090 #define $ac_func innocuous_$ac_func
56091
56092 /* System header to define __stub macros and hopefully few prototypes,
56093     which can conflict with char $ac_func (); below.
56094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56095     <limits.h> exists even on freestanding compilers.  */
56096
56097 #ifdef __STDC__
56098 # include <limits.h>
56099 #else
56100 # include <assert.h>
56101 #endif
56102
56103 #undef $ac_func
56104
56105 /* Override any gcc2 internal prototype to avoid an error.  */
56106 #ifdef __cplusplus
56107 extern "C"
56108 {
56109 #endif
56110 /* We use char because int might match the return type of a gcc2
56111    builtin and then its argument prototype would still apply.  */
56112 char $ac_func ();
56113 /* The GNU C library defines this for functions which it implements
56114     to always fail with ENOSYS.  Some functions are actually named
56115     something starting with __ and the normal name is an alias.  */
56116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56117 choke me
56118 #else
56119 char (*f) () = $ac_func;
56120 #endif
56121 #ifdef __cplusplus
56122 }
56123 #endif
56124
56125 int
56126 main ()
56127 {
56128 return f != $ac_func;
56129   ;
56130   return 0;
56131 }
56132 _ACEOF
56133 rm -f conftest.$ac_objext conftest$ac_exeext
56134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56135   (eval $ac_link) 2>conftest.er1
56136   ac_status=$?
56137   grep -v '^ *+' conftest.er1 >conftest.err
56138   rm -f conftest.er1
56139   cat conftest.err >&5
56140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56141   (exit $ac_status); } &&
56142          { ac_try='test -z "$ac_c_werror_flag"
56143                          || test ! -s conftest.err'
56144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56145   (eval $ac_try) 2>&5
56146   ac_status=$?
56147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56148   (exit $ac_status); }; } &&
56149          { ac_try='test -s conftest$ac_exeext'
56150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56151   (eval $ac_try) 2>&5
56152   ac_status=$?
56153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56154   (exit $ac_status); }; }; then
56155   eval "$as_ac_var=yes"
56156 else
56157   echo "$as_me: failed program was:" >&5
56158 sed 's/^/| /' conftest.$ac_ext >&5
56159
56160 eval "$as_ac_var=no"
56161 fi
56162 rm -f conftest.err conftest.$ac_objext \
56163       conftest$ac_exeext conftest.$ac_ext
56164 fi
56165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56167 if test `eval echo '${'$as_ac_var'}'` = yes; then
56168   cat >>confdefs.h <<_ACEOF
56169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56170 _ACEOF
56171
56172 fi
56173 done
56174
56175     fi
56176   fi
56177
56178
56179
56180
56181
56182
56183   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56184 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56185   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56186     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56187   echo $ECHO_N "(cached) $ECHO_C" >&6
56188 else
56189
56190
56191
56192       ac_ext=cc
56193 ac_cpp='$CXXCPP $CPPFLAGS'
56194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56197
56198       cat >conftest.$ac_ext <<_ACEOF
56199 /* confdefs.h.  */
56200 _ACEOF
56201 cat confdefs.h >>conftest.$ac_ext
56202 cat >>conftest.$ac_ext <<_ACEOF
56203 /* end confdefs.h.  */
56204 #include <math.h>
56205                       #ifdef HAVE_IEEEFP_H
56206                       #include <ieeefp.h>
56207                       #endif
56208
56209 int
56210 main ()
56211 {
56212  fabsl(0);
56213   ;
56214   return 0;
56215 }
56216 _ACEOF
56217 rm -f conftest.$ac_objext
56218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56219   (eval $ac_compile) 2>conftest.er1
56220   ac_status=$?
56221   grep -v '^ *+' conftest.er1 >conftest.err
56222   rm -f conftest.er1
56223   cat conftest.err >&5
56224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56225   (exit $ac_status); } &&
56226          { ac_try='test -z "$ac_cxx_werror_flag"
56227                          || test ! -s conftest.err'
56228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56229   (eval $ac_try) 2>&5
56230   ac_status=$?
56231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56232   (exit $ac_status); }; } &&
56233          { ac_try='test -s conftest.$ac_objext'
56234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56235   (eval $ac_try) 2>&5
56236   ac_status=$?
56237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56238   (exit $ac_status); }; }; then
56239   glibcxx_cv_func_fabsl_use=yes
56240 else
56241   echo "$as_me: failed program was:" >&5
56242 sed 's/^/| /' conftest.$ac_ext >&5
56243
56244 glibcxx_cv_func_fabsl_use=no
56245 fi
56246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56247       ac_ext=c
56248 ac_cpp='$CPP $CPPFLAGS'
56249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56252
56253
56254 fi
56255
56256   fi
56257   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56258 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56259
56260   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56261
56262 for ac_func in fabsl
56263 do
56264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56265 echo "$as_me:$LINENO: checking for $ac_func" >&5
56266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56267 if eval "test \"\${$as_ac_var+set}\" = set"; then
56268   echo $ECHO_N "(cached) $ECHO_C" >&6
56269 else
56270   if test x$gcc_no_link = xyes; then
56271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56273    { (exit 1); exit 1; }; }
56274 fi
56275 cat >conftest.$ac_ext <<_ACEOF
56276 /* confdefs.h.  */
56277 _ACEOF
56278 cat confdefs.h >>conftest.$ac_ext
56279 cat >>conftest.$ac_ext <<_ACEOF
56280 /* end confdefs.h.  */
56281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56283 #define $ac_func innocuous_$ac_func
56284
56285 /* System header to define __stub macros and hopefully few prototypes,
56286     which can conflict with char $ac_func (); below.
56287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56288     <limits.h> exists even on freestanding compilers.  */
56289
56290 #ifdef __STDC__
56291 # include <limits.h>
56292 #else
56293 # include <assert.h>
56294 #endif
56295
56296 #undef $ac_func
56297
56298 /* Override any gcc2 internal prototype to avoid an error.  */
56299 #ifdef __cplusplus
56300 extern "C"
56301 {
56302 #endif
56303 /* We use char because int might match the return type of a gcc2
56304    builtin and then its argument prototype would still apply.  */
56305 char $ac_func ();
56306 /* The GNU C library defines this for functions which it implements
56307     to always fail with ENOSYS.  Some functions are actually named
56308     something starting with __ and the normal name is an alias.  */
56309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56310 choke me
56311 #else
56312 char (*f) () = $ac_func;
56313 #endif
56314 #ifdef __cplusplus
56315 }
56316 #endif
56317
56318 int
56319 main ()
56320 {
56321 return f != $ac_func;
56322   ;
56323   return 0;
56324 }
56325 _ACEOF
56326 rm -f conftest.$ac_objext conftest$ac_exeext
56327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56328   (eval $ac_link) 2>conftest.er1
56329   ac_status=$?
56330   grep -v '^ *+' conftest.er1 >conftest.err
56331   rm -f conftest.er1
56332   cat conftest.err >&5
56333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56334   (exit $ac_status); } &&
56335          { ac_try='test -z "$ac_c_werror_flag"
56336                          || test ! -s conftest.err'
56337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56338   (eval $ac_try) 2>&5
56339   ac_status=$?
56340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56341   (exit $ac_status); }; } &&
56342          { ac_try='test -s conftest$ac_exeext'
56343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56344   (eval $ac_try) 2>&5
56345   ac_status=$?
56346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56347   (exit $ac_status); }; }; then
56348   eval "$as_ac_var=yes"
56349 else
56350   echo "$as_me: failed program was:" >&5
56351 sed 's/^/| /' conftest.$ac_ext >&5
56352
56353 eval "$as_ac_var=no"
56354 fi
56355 rm -f conftest.err conftest.$ac_objext \
56356       conftest$ac_exeext conftest.$ac_ext
56357 fi
56358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56360 if test `eval echo '${'$as_ac_var'}'` = yes; then
56361   cat >>confdefs.h <<_ACEOF
56362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56363 _ACEOF
56364
56365 fi
56366 done
56367
56368   else
56369
56370   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56371 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56372   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56373     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56374   echo $ECHO_N "(cached) $ECHO_C" >&6
56375 else
56376
56377
56378
56379       ac_ext=cc
56380 ac_cpp='$CXXCPP $CPPFLAGS'
56381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56384
56385       cat >conftest.$ac_ext <<_ACEOF
56386 /* confdefs.h.  */
56387 _ACEOF
56388 cat confdefs.h >>conftest.$ac_ext
56389 cat >>conftest.$ac_ext <<_ACEOF
56390 /* end confdefs.h.  */
56391 #include <math.h>
56392                       #ifdef HAVE_IEEEFP_H
56393                       #include <ieeefp.h>
56394                       #endif
56395
56396 int
56397 main ()
56398 {
56399  _fabsl(0);
56400   ;
56401   return 0;
56402 }
56403 _ACEOF
56404 rm -f conftest.$ac_objext
56405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56406   (eval $ac_compile) 2>conftest.er1
56407   ac_status=$?
56408   grep -v '^ *+' conftest.er1 >conftest.err
56409   rm -f conftest.er1
56410   cat conftest.err >&5
56411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56412   (exit $ac_status); } &&
56413          { ac_try='test -z "$ac_cxx_werror_flag"
56414                          || test ! -s conftest.err'
56415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56416   (eval $ac_try) 2>&5
56417   ac_status=$?
56418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56419   (exit $ac_status); }; } &&
56420          { ac_try='test -s conftest.$ac_objext'
56421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56422   (eval $ac_try) 2>&5
56423   ac_status=$?
56424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56425   (exit $ac_status); }; }; then
56426   glibcxx_cv_func__fabsl_use=yes
56427 else
56428   echo "$as_me: failed program was:" >&5
56429 sed 's/^/| /' conftest.$ac_ext >&5
56430
56431 glibcxx_cv_func__fabsl_use=no
56432 fi
56433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56434       ac_ext=c
56435 ac_cpp='$CPP $CPPFLAGS'
56436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56439
56440
56441 fi
56442
56443   fi
56444   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56445 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56446
56447     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56448
56449 for ac_func in _fabsl
56450 do
56451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56452 echo "$as_me:$LINENO: checking for $ac_func" >&5
56453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56454 if eval "test \"\${$as_ac_var+set}\" = set"; then
56455   echo $ECHO_N "(cached) $ECHO_C" >&6
56456 else
56457   if test x$gcc_no_link = xyes; then
56458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56460    { (exit 1); exit 1; }; }
56461 fi
56462 cat >conftest.$ac_ext <<_ACEOF
56463 /* confdefs.h.  */
56464 _ACEOF
56465 cat confdefs.h >>conftest.$ac_ext
56466 cat >>conftest.$ac_ext <<_ACEOF
56467 /* end confdefs.h.  */
56468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56470 #define $ac_func innocuous_$ac_func
56471
56472 /* System header to define __stub macros and hopefully few prototypes,
56473     which can conflict with char $ac_func (); below.
56474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56475     <limits.h> exists even on freestanding compilers.  */
56476
56477 #ifdef __STDC__
56478 # include <limits.h>
56479 #else
56480 # include <assert.h>
56481 #endif
56482
56483 #undef $ac_func
56484
56485 /* Override any gcc2 internal prototype to avoid an error.  */
56486 #ifdef __cplusplus
56487 extern "C"
56488 {
56489 #endif
56490 /* We use char because int might match the return type of a gcc2
56491    builtin and then its argument prototype would still apply.  */
56492 char $ac_func ();
56493 /* The GNU C library defines this for functions which it implements
56494     to always fail with ENOSYS.  Some functions are actually named
56495     something starting with __ and the normal name is an alias.  */
56496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56497 choke me
56498 #else
56499 char (*f) () = $ac_func;
56500 #endif
56501 #ifdef __cplusplus
56502 }
56503 #endif
56504
56505 int
56506 main ()
56507 {
56508 return f != $ac_func;
56509   ;
56510   return 0;
56511 }
56512 _ACEOF
56513 rm -f conftest.$ac_objext conftest$ac_exeext
56514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56515   (eval $ac_link) 2>conftest.er1
56516   ac_status=$?
56517   grep -v '^ *+' conftest.er1 >conftest.err
56518   rm -f conftest.er1
56519   cat conftest.err >&5
56520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56521   (exit $ac_status); } &&
56522          { ac_try='test -z "$ac_c_werror_flag"
56523                          || test ! -s conftest.err'
56524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56525   (eval $ac_try) 2>&5
56526   ac_status=$?
56527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56528   (exit $ac_status); }; } &&
56529          { ac_try='test -s conftest$ac_exeext'
56530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56531   (eval $ac_try) 2>&5
56532   ac_status=$?
56533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56534   (exit $ac_status); }; }; then
56535   eval "$as_ac_var=yes"
56536 else
56537   echo "$as_me: failed program was:" >&5
56538 sed 's/^/| /' conftest.$ac_ext >&5
56539
56540 eval "$as_ac_var=no"
56541 fi
56542 rm -f conftest.err conftest.$ac_objext \
56543       conftest$ac_exeext conftest.$ac_ext
56544 fi
56545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56547 if test `eval echo '${'$as_ac_var'}'` = yes; then
56548   cat >>confdefs.h <<_ACEOF
56549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56550 _ACEOF
56551
56552 fi
56553 done
56554
56555     fi
56556   fi
56557
56558
56559
56560
56561
56562
56563   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56564 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56565   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56566     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56567   echo $ECHO_N "(cached) $ECHO_C" >&6
56568 else
56569
56570
56571
56572       ac_ext=cc
56573 ac_cpp='$CXXCPP $CPPFLAGS'
56574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56577
56578       cat >conftest.$ac_ext <<_ACEOF
56579 /* confdefs.h.  */
56580 _ACEOF
56581 cat confdefs.h >>conftest.$ac_ext
56582 cat >>conftest.$ac_ext <<_ACEOF
56583 /* end confdefs.h.  */
56584 #include <math.h>
56585 int
56586 main ()
56587 {
56588  fmodl(0, 0);
56589   ;
56590   return 0;
56591 }
56592 _ACEOF
56593 rm -f conftest.$ac_objext
56594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56595   (eval $ac_compile) 2>conftest.er1
56596   ac_status=$?
56597   grep -v '^ *+' conftest.er1 >conftest.err
56598   rm -f conftest.er1
56599   cat conftest.err >&5
56600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56601   (exit $ac_status); } &&
56602          { ac_try='test -z "$ac_cxx_werror_flag"
56603                          || test ! -s conftest.err'
56604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56605   (eval $ac_try) 2>&5
56606   ac_status=$?
56607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56608   (exit $ac_status); }; } &&
56609          { ac_try='test -s conftest.$ac_objext'
56610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56611   (eval $ac_try) 2>&5
56612   ac_status=$?
56613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56614   (exit $ac_status); }; }; then
56615   glibcxx_cv_func_fmodl_use=yes
56616 else
56617   echo "$as_me: failed program was:" >&5
56618 sed 's/^/| /' conftest.$ac_ext >&5
56619
56620 glibcxx_cv_func_fmodl_use=no
56621 fi
56622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56623       ac_ext=c
56624 ac_cpp='$CPP $CPPFLAGS'
56625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56628
56629
56630 fi
56631
56632   fi
56633   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56634 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56635
56636   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56637
56638 for ac_func in fmodl
56639 do
56640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56641 echo "$as_me:$LINENO: checking for $ac_func" >&5
56642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56643 if eval "test \"\${$as_ac_var+set}\" = set"; then
56644   echo $ECHO_N "(cached) $ECHO_C" >&6
56645 else
56646   if test x$gcc_no_link = xyes; then
56647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56649    { (exit 1); exit 1; }; }
56650 fi
56651 cat >conftest.$ac_ext <<_ACEOF
56652 /* confdefs.h.  */
56653 _ACEOF
56654 cat confdefs.h >>conftest.$ac_ext
56655 cat >>conftest.$ac_ext <<_ACEOF
56656 /* end confdefs.h.  */
56657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56659 #define $ac_func innocuous_$ac_func
56660
56661 /* System header to define __stub macros and hopefully few prototypes,
56662     which can conflict with char $ac_func (); below.
56663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56664     <limits.h> exists even on freestanding compilers.  */
56665
56666 #ifdef __STDC__
56667 # include <limits.h>
56668 #else
56669 # include <assert.h>
56670 #endif
56671
56672 #undef $ac_func
56673
56674 /* Override any gcc2 internal prototype to avoid an error.  */
56675 #ifdef __cplusplus
56676 extern "C"
56677 {
56678 #endif
56679 /* We use char because int might match the return type of a gcc2
56680    builtin and then its argument prototype would still apply.  */
56681 char $ac_func ();
56682 /* The GNU C library defines this for functions which it implements
56683     to always fail with ENOSYS.  Some functions are actually named
56684     something starting with __ and the normal name is an alias.  */
56685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56686 choke me
56687 #else
56688 char (*f) () = $ac_func;
56689 #endif
56690 #ifdef __cplusplus
56691 }
56692 #endif
56693
56694 int
56695 main ()
56696 {
56697 return f != $ac_func;
56698   ;
56699   return 0;
56700 }
56701 _ACEOF
56702 rm -f conftest.$ac_objext conftest$ac_exeext
56703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56704   (eval $ac_link) 2>conftest.er1
56705   ac_status=$?
56706   grep -v '^ *+' conftest.er1 >conftest.err
56707   rm -f conftest.er1
56708   cat conftest.err >&5
56709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56710   (exit $ac_status); } &&
56711          { ac_try='test -z "$ac_c_werror_flag"
56712                          || test ! -s conftest.err'
56713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56714   (eval $ac_try) 2>&5
56715   ac_status=$?
56716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56717   (exit $ac_status); }; } &&
56718          { ac_try='test -s conftest$ac_exeext'
56719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56720   (eval $ac_try) 2>&5
56721   ac_status=$?
56722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56723   (exit $ac_status); }; }; then
56724   eval "$as_ac_var=yes"
56725 else
56726   echo "$as_me: failed program was:" >&5
56727 sed 's/^/| /' conftest.$ac_ext >&5
56728
56729 eval "$as_ac_var=no"
56730 fi
56731 rm -f conftest.err conftest.$ac_objext \
56732       conftest$ac_exeext conftest.$ac_ext
56733 fi
56734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56736 if test `eval echo '${'$as_ac_var'}'` = yes; then
56737   cat >>confdefs.h <<_ACEOF
56738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56739 _ACEOF
56740
56741 fi
56742 done
56743
56744   else
56745
56746   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56747 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56748   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56749     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56750   echo $ECHO_N "(cached) $ECHO_C" >&6
56751 else
56752
56753
56754
56755       ac_ext=cc
56756 ac_cpp='$CXXCPP $CPPFLAGS'
56757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56760
56761       cat >conftest.$ac_ext <<_ACEOF
56762 /* confdefs.h.  */
56763 _ACEOF
56764 cat confdefs.h >>conftest.$ac_ext
56765 cat >>conftest.$ac_ext <<_ACEOF
56766 /* end confdefs.h.  */
56767 #include <math.h>
56768 int
56769 main ()
56770 {
56771  _fmodl(0, 0);
56772   ;
56773   return 0;
56774 }
56775 _ACEOF
56776 rm -f conftest.$ac_objext
56777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56778   (eval $ac_compile) 2>conftest.er1
56779   ac_status=$?
56780   grep -v '^ *+' conftest.er1 >conftest.err
56781   rm -f conftest.er1
56782   cat conftest.err >&5
56783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56784   (exit $ac_status); } &&
56785          { ac_try='test -z "$ac_cxx_werror_flag"
56786                          || test ! -s conftest.err'
56787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56788   (eval $ac_try) 2>&5
56789   ac_status=$?
56790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56791   (exit $ac_status); }; } &&
56792          { ac_try='test -s conftest.$ac_objext'
56793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56794   (eval $ac_try) 2>&5
56795   ac_status=$?
56796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56797   (exit $ac_status); }; }; then
56798   glibcxx_cv_func__fmodl_use=yes
56799 else
56800   echo "$as_me: failed program was:" >&5
56801 sed 's/^/| /' conftest.$ac_ext >&5
56802
56803 glibcxx_cv_func__fmodl_use=no
56804 fi
56805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56806       ac_ext=c
56807 ac_cpp='$CPP $CPPFLAGS'
56808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56811
56812
56813 fi
56814
56815   fi
56816   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56817 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56818
56819     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56820
56821 for ac_func in _fmodl
56822 do
56823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56824 echo "$as_me:$LINENO: checking for $ac_func" >&5
56825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56826 if eval "test \"\${$as_ac_var+set}\" = set"; then
56827   echo $ECHO_N "(cached) $ECHO_C" >&6
56828 else
56829   if test x$gcc_no_link = xyes; then
56830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56832    { (exit 1); exit 1; }; }
56833 fi
56834 cat >conftest.$ac_ext <<_ACEOF
56835 /* confdefs.h.  */
56836 _ACEOF
56837 cat confdefs.h >>conftest.$ac_ext
56838 cat >>conftest.$ac_ext <<_ACEOF
56839 /* end confdefs.h.  */
56840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56842 #define $ac_func innocuous_$ac_func
56843
56844 /* System header to define __stub macros and hopefully few prototypes,
56845     which can conflict with char $ac_func (); below.
56846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56847     <limits.h> exists even on freestanding compilers.  */
56848
56849 #ifdef __STDC__
56850 # include <limits.h>
56851 #else
56852 # include <assert.h>
56853 #endif
56854
56855 #undef $ac_func
56856
56857 /* Override any gcc2 internal prototype to avoid an error.  */
56858 #ifdef __cplusplus
56859 extern "C"
56860 {
56861 #endif
56862 /* We use char because int might match the return type of a gcc2
56863    builtin and then its argument prototype would still apply.  */
56864 char $ac_func ();
56865 /* The GNU C library defines this for functions which it implements
56866     to always fail with ENOSYS.  Some functions are actually named
56867     something starting with __ and the normal name is an alias.  */
56868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56869 choke me
56870 #else
56871 char (*f) () = $ac_func;
56872 #endif
56873 #ifdef __cplusplus
56874 }
56875 #endif
56876
56877 int
56878 main ()
56879 {
56880 return f != $ac_func;
56881   ;
56882   return 0;
56883 }
56884 _ACEOF
56885 rm -f conftest.$ac_objext conftest$ac_exeext
56886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56887   (eval $ac_link) 2>conftest.er1
56888   ac_status=$?
56889   grep -v '^ *+' conftest.er1 >conftest.err
56890   rm -f conftest.er1
56891   cat conftest.err >&5
56892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56893   (exit $ac_status); } &&
56894          { ac_try='test -z "$ac_c_werror_flag"
56895                          || test ! -s conftest.err'
56896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56897   (eval $ac_try) 2>&5
56898   ac_status=$?
56899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56900   (exit $ac_status); }; } &&
56901          { ac_try='test -s conftest$ac_exeext'
56902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56903   (eval $ac_try) 2>&5
56904   ac_status=$?
56905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56906   (exit $ac_status); }; }; then
56907   eval "$as_ac_var=yes"
56908 else
56909   echo "$as_me: failed program was:" >&5
56910 sed 's/^/| /' conftest.$ac_ext >&5
56911
56912 eval "$as_ac_var=no"
56913 fi
56914 rm -f conftest.err conftest.$ac_objext \
56915       conftest$ac_exeext conftest.$ac_ext
56916 fi
56917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56919 if test `eval echo '${'$as_ac_var'}'` = yes; then
56920   cat >>confdefs.h <<_ACEOF
56921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56922 _ACEOF
56923
56924 fi
56925 done
56926
56927     fi
56928   fi
56929
56930
56931
56932
56933
56934
56935   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56936 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56937   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56938     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56939   echo $ECHO_N "(cached) $ECHO_C" >&6
56940 else
56941
56942
56943
56944       ac_ext=cc
56945 ac_cpp='$CXXCPP $CPPFLAGS'
56946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56949
56950       cat >conftest.$ac_ext <<_ACEOF
56951 /* confdefs.h.  */
56952 _ACEOF
56953 cat confdefs.h >>conftest.$ac_ext
56954 cat >>conftest.$ac_ext <<_ACEOF
56955 /* end confdefs.h.  */
56956 #include <math.h>
56957 int
56958 main ()
56959 {
56960  frexpl(0, 0);
56961   ;
56962   return 0;
56963 }
56964 _ACEOF
56965 rm -f conftest.$ac_objext
56966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56967   (eval $ac_compile) 2>conftest.er1
56968   ac_status=$?
56969   grep -v '^ *+' conftest.er1 >conftest.err
56970   rm -f conftest.er1
56971   cat conftest.err >&5
56972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56973   (exit $ac_status); } &&
56974          { ac_try='test -z "$ac_cxx_werror_flag"
56975                          || test ! -s conftest.err'
56976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56977   (eval $ac_try) 2>&5
56978   ac_status=$?
56979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56980   (exit $ac_status); }; } &&
56981          { ac_try='test -s conftest.$ac_objext'
56982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56983   (eval $ac_try) 2>&5
56984   ac_status=$?
56985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56986   (exit $ac_status); }; }; then
56987   glibcxx_cv_func_frexpl_use=yes
56988 else
56989   echo "$as_me: failed program was:" >&5
56990 sed 's/^/| /' conftest.$ac_ext >&5
56991
56992 glibcxx_cv_func_frexpl_use=no
56993 fi
56994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56995       ac_ext=c
56996 ac_cpp='$CPP $CPPFLAGS'
56997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57000
57001
57002 fi
57003
57004   fi
57005   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57006 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57007
57008   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57009
57010 for ac_func in frexpl
57011 do
57012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57013 echo "$as_me:$LINENO: checking for $ac_func" >&5
57014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57015 if eval "test \"\${$as_ac_var+set}\" = set"; then
57016   echo $ECHO_N "(cached) $ECHO_C" >&6
57017 else
57018   if test x$gcc_no_link = xyes; then
57019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57021    { (exit 1); exit 1; }; }
57022 fi
57023 cat >conftest.$ac_ext <<_ACEOF
57024 /* confdefs.h.  */
57025 _ACEOF
57026 cat confdefs.h >>conftest.$ac_ext
57027 cat >>conftest.$ac_ext <<_ACEOF
57028 /* end confdefs.h.  */
57029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57031 #define $ac_func innocuous_$ac_func
57032
57033 /* System header to define __stub macros and hopefully few prototypes,
57034     which can conflict with char $ac_func (); below.
57035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57036     <limits.h> exists even on freestanding compilers.  */
57037
57038 #ifdef __STDC__
57039 # include <limits.h>
57040 #else
57041 # include <assert.h>
57042 #endif
57043
57044 #undef $ac_func
57045
57046 /* Override any gcc2 internal prototype to avoid an error.  */
57047 #ifdef __cplusplus
57048 extern "C"
57049 {
57050 #endif
57051 /* We use char because int might match the return type of a gcc2
57052    builtin and then its argument prototype would still apply.  */
57053 char $ac_func ();
57054 /* The GNU C library defines this for functions which it implements
57055     to always fail with ENOSYS.  Some functions are actually named
57056     something starting with __ and the normal name is an alias.  */
57057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57058 choke me
57059 #else
57060 char (*f) () = $ac_func;
57061 #endif
57062 #ifdef __cplusplus
57063 }
57064 #endif
57065
57066 int
57067 main ()
57068 {
57069 return f != $ac_func;
57070   ;
57071   return 0;
57072 }
57073 _ACEOF
57074 rm -f conftest.$ac_objext conftest$ac_exeext
57075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57076   (eval $ac_link) 2>conftest.er1
57077   ac_status=$?
57078   grep -v '^ *+' conftest.er1 >conftest.err
57079   rm -f conftest.er1
57080   cat conftest.err >&5
57081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57082   (exit $ac_status); } &&
57083          { ac_try='test -z "$ac_c_werror_flag"
57084                          || test ! -s conftest.err'
57085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57086   (eval $ac_try) 2>&5
57087   ac_status=$?
57088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57089   (exit $ac_status); }; } &&
57090          { ac_try='test -s conftest$ac_exeext'
57091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57092   (eval $ac_try) 2>&5
57093   ac_status=$?
57094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57095   (exit $ac_status); }; }; then
57096   eval "$as_ac_var=yes"
57097 else
57098   echo "$as_me: failed program was:" >&5
57099 sed 's/^/| /' conftest.$ac_ext >&5
57100
57101 eval "$as_ac_var=no"
57102 fi
57103 rm -f conftest.err conftest.$ac_objext \
57104       conftest$ac_exeext conftest.$ac_ext
57105 fi
57106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57108 if test `eval echo '${'$as_ac_var'}'` = yes; then
57109   cat >>confdefs.h <<_ACEOF
57110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57111 _ACEOF
57112
57113 fi
57114 done
57115
57116   else
57117
57118   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57119 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57120   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57121     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57122   echo $ECHO_N "(cached) $ECHO_C" >&6
57123 else
57124
57125
57126
57127       ac_ext=cc
57128 ac_cpp='$CXXCPP $CPPFLAGS'
57129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57132
57133       cat >conftest.$ac_ext <<_ACEOF
57134 /* confdefs.h.  */
57135 _ACEOF
57136 cat confdefs.h >>conftest.$ac_ext
57137 cat >>conftest.$ac_ext <<_ACEOF
57138 /* end confdefs.h.  */
57139 #include <math.h>
57140 int
57141 main ()
57142 {
57143  _frexpl(0, 0);
57144   ;
57145   return 0;
57146 }
57147 _ACEOF
57148 rm -f conftest.$ac_objext
57149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57150   (eval $ac_compile) 2>conftest.er1
57151   ac_status=$?
57152   grep -v '^ *+' conftest.er1 >conftest.err
57153   rm -f conftest.er1
57154   cat conftest.err >&5
57155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57156   (exit $ac_status); } &&
57157          { ac_try='test -z "$ac_cxx_werror_flag"
57158                          || test ! -s conftest.err'
57159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57160   (eval $ac_try) 2>&5
57161   ac_status=$?
57162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57163   (exit $ac_status); }; } &&
57164          { ac_try='test -s conftest.$ac_objext'
57165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57166   (eval $ac_try) 2>&5
57167   ac_status=$?
57168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57169   (exit $ac_status); }; }; then
57170   glibcxx_cv_func__frexpl_use=yes
57171 else
57172   echo "$as_me: failed program was:" >&5
57173 sed 's/^/| /' conftest.$ac_ext >&5
57174
57175 glibcxx_cv_func__frexpl_use=no
57176 fi
57177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57178       ac_ext=c
57179 ac_cpp='$CPP $CPPFLAGS'
57180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57183
57184
57185 fi
57186
57187   fi
57188   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57189 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57190
57191     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57192
57193 for ac_func in _frexpl
57194 do
57195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57196 echo "$as_me:$LINENO: checking for $ac_func" >&5
57197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57198 if eval "test \"\${$as_ac_var+set}\" = set"; then
57199   echo $ECHO_N "(cached) $ECHO_C" >&6
57200 else
57201   if test x$gcc_no_link = xyes; then
57202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57204    { (exit 1); exit 1; }; }
57205 fi
57206 cat >conftest.$ac_ext <<_ACEOF
57207 /* confdefs.h.  */
57208 _ACEOF
57209 cat confdefs.h >>conftest.$ac_ext
57210 cat >>conftest.$ac_ext <<_ACEOF
57211 /* end confdefs.h.  */
57212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57214 #define $ac_func innocuous_$ac_func
57215
57216 /* System header to define __stub macros and hopefully few prototypes,
57217     which can conflict with char $ac_func (); below.
57218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57219     <limits.h> exists even on freestanding compilers.  */
57220
57221 #ifdef __STDC__
57222 # include <limits.h>
57223 #else
57224 # include <assert.h>
57225 #endif
57226
57227 #undef $ac_func
57228
57229 /* Override any gcc2 internal prototype to avoid an error.  */
57230 #ifdef __cplusplus
57231 extern "C"
57232 {
57233 #endif
57234 /* We use char because int might match the return type of a gcc2
57235    builtin and then its argument prototype would still apply.  */
57236 char $ac_func ();
57237 /* The GNU C library defines this for functions which it implements
57238     to always fail with ENOSYS.  Some functions are actually named
57239     something starting with __ and the normal name is an alias.  */
57240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57241 choke me
57242 #else
57243 char (*f) () = $ac_func;
57244 #endif
57245 #ifdef __cplusplus
57246 }
57247 #endif
57248
57249 int
57250 main ()
57251 {
57252 return f != $ac_func;
57253   ;
57254   return 0;
57255 }
57256 _ACEOF
57257 rm -f conftest.$ac_objext conftest$ac_exeext
57258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57259   (eval $ac_link) 2>conftest.er1
57260   ac_status=$?
57261   grep -v '^ *+' conftest.er1 >conftest.err
57262   rm -f conftest.er1
57263   cat conftest.err >&5
57264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57265   (exit $ac_status); } &&
57266          { ac_try='test -z "$ac_c_werror_flag"
57267                          || test ! -s conftest.err'
57268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57269   (eval $ac_try) 2>&5
57270   ac_status=$?
57271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57272   (exit $ac_status); }; } &&
57273          { ac_try='test -s conftest$ac_exeext'
57274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57275   (eval $ac_try) 2>&5
57276   ac_status=$?
57277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57278   (exit $ac_status); }; }; then
57279   eval "$as_ac_var=yes"
57280 else
57281   echo "$as_me: failed program was:" >&5
57282 sed 's/^/| /' conftest.$ac_ext >&5
57283
57284 eval "$as_ac_var=no"
57285 fi
57286 rm -f conftest.err conftest.$ac_objext \
57287       conftest$ac_exeext conftest.$ac_ext
57288 fi
57289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57291 if test `eval echo '${'$as_ac_var'}'` = yes; then
57292   cat >>confdefs.h <<_ACEOF
57293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57294 _ACEOF
57295
57296 fi
57297 done
57298
57299     fi
57300   fi
57301
57302
57303
57304
57305
57306
57307   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57308 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57309   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57310     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57311   echo $ECHO_N "(cached) $ECHO_C" >&6
57312 else
57313
57314
57315
57316       ac_ext=cc
57317 ac_cpp='$CXXCPP $CPPFLAGS'
57318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57321
57322       cat >conftest.$ac_ext <<_ACEOF
57323 /* confdefs.h.  */
57324 _ACEOF
57325 cat confdefs.h >>conftest.$ac_ext
57326 cat >>conftest.$ac_ext <<_ACEOF
57327 /* end confdefs.h.  */
57328 #include <math.h>
57329 int
57330 main ()
57331 {
57332  hypotl(0, 0);
57333   ;
57334   return 0;
57335 }
57336 _ACEOF
57337 rm -f conftest.$ac_objext
57338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57339   (eval $ac_compile) 2>conftest.er1
57340   ac_status=$?
57341   grep -v '^ *+' conftest.er1 >conftest.err
57342   rm -f conftest.er1
57343   cat conftest.err >&5
57344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57345   (exit $ac_status); } &&
57346          { ac_try='test -z "$ac_cxx_werror_flag"
57347                          || test ! -s conftest.err'
57348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57349   (eval $ac_try) 2>&5
57350   ac_status=$?
57351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57352   (exit $ac_status); }; } &&
57353          { ac_try='test -s conftest.$ac_objext'
57354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57355   (eval $ac_try) 2>&5
57356   ac_status=$?
57357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57358   (exit $ac_status); }; }; then
57359   glibcxx_cv_func_hypotl_use=yes
57360 else
57361   echo "$as_me: failed program was:" >&5
57362 sed 's/^/| /' conftest.$ac_ext >&5
57363
57364 glibcxx_cv_func_hypotl_use=no
57365 fi
57366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57367       ac_ext=c
57368 ac_cpp='$CPP $CPPFLAGS'
57369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57372
57373
57374 fi
57375
57376   fi
57377   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57378 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57379
57380   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57381
57382 for ac_func in hypotl
57383 do
57384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57385 echo "$as_me:$LINENO: checking for $ac_func" >&5
57386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57387 if eval "test \"\${$as_ac_var+set}\" = set"; then
57388   echo $ECHO_N "(cached) $ECHO_C" >&6
57389 else
57390   if test x$gcc_no_link = xyes; then
57391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57393    { (exit 1); exit 1; }; }
57394 fi
57395 cat >conftest.$ac_ext <<_ACEOF
57396 /* confdefs.h.  */
57397 _ACEOF
57398 cat confdefs.h >>conftest.$ac_ext
57399 cat >>conftest.$ac_ext <<_ACEOF
57400 /* end confdefs.h.  */
57401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57403 #define $ac_func innocuous_$ac_func
57404
57405 /* System header to define __stub macros and hopefully few prototypes,
57406     which can conflict with char $ac_func (); below.
57407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57408     <limits.h> exists even on freestanding compilers.  */
57409
57410 #ifdef __STDC__
57411 # include <limits.h>
57412 #else
57413 # include <assert.h>
57414 #endif
57415
57416 #undef $ac_func
57417
57418 /* Override any gcc2 internal prototype to avoid an error.  */
57419 #ifdef __cplusplus
57420 extern "C"
57421 {
57422 #endif
57423 /* We use char because int might match the return type of a gcc2
57424    builtin and then its argument prototype would still apply.  */
57425 char $ac_func ();
57426 /* The GNU C library defines this for functions which it implements
57427     to always fail with ENOSYS.  Some functions are actually named
57428     something starting with __ and the normal name is an alias.  */
57429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57430 choke me
57431 #else
57432 char (*f) () = $ac_func;
57433 #endif
57434 #ifdef __cplusplus
57435 }
57436 #endif
57437
57438 int
57439 main ()
57440 {
57441 return f != $ac_func;
57442   ;
57443   return 0;
57444 }
57445 _ACEOF
57446 rm -f conftest.$ac_objext conftest$ac_exeext
57447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57448   (eval $ac_link) 2>conftest.er1
57449   ac_status=$?
57450   grep -v '^ *+' conftest.er1 >conftest.err
57451   rm -f conftest.er1
57452   cat conftest.err >&5
57453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57454   (exit $ac_status); } &&
57455          { ac_try='test -z "$ac_c_werror_flag"
57456                          || test ! -s conftest.err'
57457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57458   (eval $ac_try) 2>&5
57459   ac_status=$?
57460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57461   (exit $ac_status); }; } &&
57462          { ac_try='test -s conftest$ac_exeext'
57463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57464   (eval $ac_try) 2>&5
57465   ac_status=$?
57466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57467   (exit $ac_status); }; }; then
57468   eval "$as_ac_var=yes"
57469 else
57470   echo "$as_me: failed program was:" >&5
57471 sed 's/^/| /' conftest.$ac_ext >&5
57472
57473 eval "$as_ac_var=no"
57474 fi
57475 rm -f conftest.err conftest.$ac_objext \
57476       conftest$ac_exeext conftest.$ac_ext
57477 fi
57478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57480 if test `eval echo '${'$as_ac_var'}'` = yes; then
57481   cat >>confdefs.h <<_ACEOF
57482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57483 _ACEOF
57484
57485 fi
57486 done
57487
57488   else
57489
57490   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57491 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57492   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57493     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57494   echo $ECHO_N "(cached) $ECHO_C" >&6
57495 else
57496
57497
57498
57499       ac_ext=cc
57500 ac_cpp='$CXXCPP $CPPFLAGS'
57501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57504
57505       cat >conftest.$ac_ext <<_ACEOF
57506 /* confdefs.h.  */
57507 _ACEOF
57508 cat confdefs.h >>conftest.$ac_ext
57509 cat >>conftest.$ac_ext <<_ACEOF
57510 /* end confdefs.h.  */
57511 #include <math.h>
57512 int
57513 main ()
57514 {
57515  _hypotl(0, 0);
57516   ;
57517   return 0;
57518 }
57519 _ACEOF
57520 rm -f conftest.$ac_objext
57521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57522   (eval $ac_compile) 2>conftest.er1
57523   ac_status=$?
57524   grep -v '^ *+' conftest.er1 >conftest.err
57525   rm -f conftest.er1
57526   cat conftest.err >&5
57527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57528   (exit $ac_status); } &&
57529          { ac_try='test -z "$ac_cxx_werror_flag"
57530                          || test ! -s conftest.err'
57531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57532   (eval $ac_try) 2>&5
57533   ac_status=$?
57534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57535   (exit $ac_status); }; } &&
57536          { ac_try='test -s conftest.$ac_objext'
57537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57538   (eval $ac_try) 2>&5
57539   ac_status=$?
57540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57541   (exit $ac_status); }; }; then
57542   glibcxx_cv_func__hypotl_use=yes
57543 else
57544   echo "$as_me: failed program was:" >&5
57545 sed 's/^/| /' conftest.$ac_ext >&5
57546
57547 glibcxx_cv_func__hypotl_use=no
57548 fi
57549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57550       ac_ext=c
57551 ac_cpp='$CPP $CPPFLAGS'
57552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57555
57556
57557 fi
57558
57559   fi
57560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57561 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57562
57563     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57564
57565 for ac_func in _hypotl
57566 do
57567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57568 echo "$as_me:$LINENO: checking for $ac_func" >&5
57569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57570 if eval "test \"\${$as_ac_var+set}\" = set"; then
57571   echo $ECHO_N "(cached) $ECHO_C" >&6
57572 else
57573   if test x$gcc_no_link = xyes; then
57574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57576    { (exit 1); exit 1; }; }
57577 fi
57578 cat >conftest.$ac_ext <<_ACEOF
57579 /* confdefs.h.  */
57580 _ACEOF
57581 cat confdefs.h >>conftest.$ac_ext
57582 cat >>conftest.$ac_ext <<_ACEOF
57583 /* end confdefs.h.  */
57584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57586 #define $ac_func innocuous_$ac_func
57587
57588 /* System header to define __stub macros and hopefully few prototypes,
57589     which can conflict with char $ac_func (); below.
57590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57591     <limits.h> exists even on freestanding compilers.  */
57592
57593 #ifdef __STDC__
57594 # include <limits.h>
57595 #else
57596 # include <assert.h>
57597 #endif
57598
57599 #undef $ac_func
57600
57601 /* Override any gcc2 internal prototype to avoid an error.  */
57602 #ifdef __cplusplus
57603 extern "C"
57604 {
57605 #endif
57606 /* We use char because int might match the return type of a gcc2
57607    builtin and then its argument prototype would still apply.  */
57608 char $ac_func ();
57609 /* The GNU C library defines this for functions which it implements
57610     to always fail with ENOSYS.  Some functions are actually named
57611     something starting with __ and the normal name is an alias.  */
57612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57613 choke me
57614 #else
57615 char (*f) () = $ac_func;
57616 #endif
57617 #ifdef __cplusplus
57618 }
57619 #endif
57620
57621 int
57622 main ()
57623 {
57624 return f != $ac_func;
57625   ;
57626   return 0;
57627 }
57628 _ACEOF
57629 rm -f conftest.$ac_objext conftest$ac_exeext
57630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57631   (eval $ac_link) 2>conftest.er1
57632   ac_status=$?
57633   grep -v '^ *+' conftest.er1 >conftest.err
57634   rm -f conftest.er1
57635   cat conftest.err >&5
57636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57637   (exit $ac_status); } &&
57638          { ac_try='test -z "$ac_c_werror_flag"
57639                          || test ! -s conftest.err'
57640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57641   (eval $ac_try) 2>&5
57642   ac_status=$?
57643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57644   (exit $ac_status); }; } &&
57645          { ac_try='test -s conftest$ac_exeext'
57646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57647   (eval $ac_try) 2>&5
57648   ac_status=$?
57649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57650   (exit $ac_status); }; }; then
57651   eval "$as_ac_var=yes"
57652 else
57653   echo "$as_me: failed program was:" >&5
57654 sed 's/^/| /' conftest.$ac_ext >&5
57655
57656 eval "$as_ac_var=no"
57657 fi
57658 rm -f conftest.err conftest.$ac_objext \
57659       conftest$ac_exeext conftest.$ac_ext
57660 fi
57661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57663 if test `eval echo '${'$as_ac_var'}'` = yes; then
57664   cat >>confdefs.h <<_ACEOF
57665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57666 _ACEOF
57667
57668 fi
57669 done
57670
57671     fi
57672   fi
57673
57674
57675
57676
57677
57678
57679   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57680 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57681   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57682     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57683   echo $ECHO_N "(cached) $ECHO_C" >&6
57684 else
57685
57686
57687
57688       ac_ext=cc
57689 ac_cpp='$CXXCPP $CPPFLAGS'
57690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57693
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 #include <math.h>
57701 int
57702 main ()
57703 {
57704  ldexpl(0, 0);
57705   ;
57706   return 0;
57707 }
57708 _ACEOF
57709 rm -f conftest.$ac_objext
57710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57711   (eval $ac_compile) 2>conftest.er1
57712   ac_status=$?
57713   grep -v '^ *+' conftest.er1 >conftest.err
57714   rm -f conftest.er1
57715   cat conftest.err >&5
57716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57717   (exit $ac_status); } &&
57718          { ac_try='test -z "$ac_cxx_werror_flag"
57719                          || test ! -s conftest.err'
57720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57721   (eval $ac_try) 2>&5
57722   ac_status=$?
57723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57724   (exit $ac_status); }; } &&
57725          { ac_try='test -s conftest.$ac_objext'
57726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57727   (eval $ac_try) 2>&5
57728   ac_status=$?
57729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57730   (exit $ac_status); }; }; then
57731   glibcxx_cv_func_ldexpl_use=yes
57732 else
57733   echo "$as_me: failed program was:" >&5
57734 sed 's/^/| /' conftest.$ac_ext >&5
57735
57736 glibcxx_cv_func_ldexpl_use=no
57737 fi
57738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57739       ac_ext=c
57740 ac_cpp='$CPP $CPPFLAGS'
57741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57744
57745
57746 fi
57747
57748   fi
57749   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57750 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57751
57752   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57753
57754 for ac_func in ldexpl
57755 do
57756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57757 echo "$as_me:$LINENO: checking for $ac_func" >&5
57758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57759 if eval "test \"\${$as_ac_var+set}\" = set"; then
57760   echo $ECHO_N "(cached) $ECHO_C" >&6
57761 else
57762   if test x$gcc_no_link = xyes; then
57763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57765    { (exit 1); exit 1; }; }
57766 fi
57767 cat >conftest.$ac_ext <<_ACEOF
57768 /* confdefs.h.  */
57769 _ACEOF
57770 cat confdefs.h >>conftest.$ac_ext
57771 cat >>conftest.$ac_ext <<_ACEOF
57772 /* end confdefs.h.  */
57773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57775 #define $ac_func innocuous_$ac_func
57776
57777 /* System header to define __stub macros and hopefully few prototypes,
57778     which can conflict with char $ac_func (); below.
57779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57780     <limits.h> exists even on freestanding compilers.  */
57781
57782 #ifdef __STDC__
57783 # include <limits.h>
57784 #else
57785 # include <assert.h>
57786 #endif
57787
57788 #undef $ac_func
57789
57790 /* Override any gcc2 internal prototype to avoid an error.  */
57791 #ifdef __cplusplus
57792 extern "C"
57793 {
57794 #endif
57795 /* We use char because int might match the return type of a gcc2
57796    builtin and then its argument prototype would still apply.  */
57797 char $ac_func ();
57798 /* The GNU C library defines this for functions which it implements
57799     to always fail with ENOSYS.  Some functions are actually named
57800     something starting with __ and the normal name is an alias.  */
57801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57802 choke me
57803 #else
57804 char (*f) () = $ac_func;
57805 #endif
57806 #ifdef __cplusplus
57807 }
57808 #endif
57809
57810 int
57811 main ()
57812 {
57813 return f != $ac_func;
57814   ;
57815   return 0;
57816 }
57817 _ACEOF
57818 rm -f conftest.$ac_objext conftest$ac_exeext
57819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57820   (eval $ac_link) 2>conftest.er1
57821   ac_status=$?
57822   grep -v '^ *+' conftest.er1 >conftest.err
57823   rm -f conftest.er1
57824   cat conftest.err >&5
57825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57826   (exit $ac_status); } &&
57827          { ac_try='test -z "$ac_c_werror_flag"
57828                          || test ! -s conftest.err'
57829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57830   (eval $ac_try) 2>&5
57831   ac_status=$?
57832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57833   (exit $ac_status); }; } &&
57834          { ac_try='test -s conftest$ac_exeext'
57835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57836   (eval $ac_try) 2>&5
57837   ac_status=$?
57838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57839   (exit $ac_status); }; }; then
57840   eval "$as_ac_var=yes"
57841 else
57842   echo "$as_me: failed program was:" >&5
57843 sed 's/^/| /' conftest.$ac_ext >&5
57844
57845 eval "$as_ac_var=no"
57846 fi
57847 rm -f conftest.err conftest.$ac_objext \
57848       conftest$ac_exeext conftest.$ac_ext
57849 fi
57850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57852 if test `eval echo '${'$as_ac_var'}'` = yes; then
57853   cat >>confdefs.h <<_ACEOF
57854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57855 _ACEOF
57856
57857 fi
57858 done
57859
57860   else
57861
57862   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57863 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57864   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57865     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57866   echo $ECHO_N "(cached) $ECHO_C" >&6
57867 else
57868
57869
57870
57871       ac_ext=cc
57872 ac_cpp='$CXXCPP $CPPFLAGS'
57873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57876
57877       cat >conftest.$ac_ext <<_ACEOF
57878 /* confdefs.h.  */
57879 _ACEOF
57880 cat confdefs.h >>conftest.$ac_ext
57881 cat >>conftest.$ac_ext <<_ACEOF
57882 /* end confdefs.h.  */
57883 #include <math.h>
57884 int
57885 main ()
57886 {
57887  _ldexpl(0, 0);
57888   ;
57889   return 0;
57890 }
57891 _ACEOF
57892 rm -f conftest.$ac_objext
57893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57894   (eval $ac_compile) 2>conftest.er1
57895   ac_status=$?
57896   grep -v '^ *+' conftest.er1 >conftest.err
57897   rm -f conftest.er1
57898   cat conftest.err >&5
57899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57900   (exit $ac_status); } &&
57901          { ac_try='test -z "$ac_cxx_werror_flag"
57902                          || test ! -s conftest.err'
57903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57904   (eval $ac_try) 2>&5
57905   ac_status=$?
57906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57907   (exit $ac_status); }; } &&
57908          { ac_try='test -s conftest.$ac_objext'
57909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57910   (eval $ac_try) 2>&5
57911   ac_status=$?
57912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57913   (exit $ac_status); }; }; then
57914   glibcxx_cv_func__ldexpl_use=yes
57915 else
57916   echo "$as_me: failed program was:" >&5
57917 sed 's/^/| /' conftest.$ac_ext >&5
57918
57919 glibcxx_cv_func__ldexpl_use=no
57920 fi
57921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57922       ac_ext=c
57923 ac_cpp='$CPP $CPPFLAGS'
57924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57927
57928
57929 fi
57930
57931   fi
57932   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57933 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57934
57935     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57936
57937 for ac_func in _ldexpl
57938 do
57939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57940 echo "$as_me:$LINENO: checking for $ac_func" >&5
57941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57942 if eval "test \"\${$as_ac_var+set}\" = set"; then
57943   echo $ECHO_N "(cached) $ECHO_C" >&6
57944 else
57945   if test x$gcc_no_link = xyes; then
57946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57948    { (exit 1); exit 1; }; }
57949 fi
57950 cat >conftest.$ac_ext <<_ACEOF
57951 /* confdefs.h.  */
57952 _ACEOF
57953 cat confdefs.h >>conftest.$ac_ext
57954 cat >>conftest.$ac_ext <<_ACEOF
57955 /* end confdefs.h.  */
57956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57958 #define $ac_func innocuous_$ac_func
57959
57960 /* System header to define __stub macros and hopefully few prototypes,
57961     which can conflict with char $ac_func (); below.
57962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57963     <limits.h> exists even on freestanding compilers.  */
57964
57965 #ifdef __STDC__
57966 # include <limits.h>
57967 #else
57968 # include <assert.h>
57969 #endif
57970
57971 #undef $ac_func
57972
57973 /* Override any gcc2 internal prototype to avoid an error.  */
57974 #ifdef __cplusplus
57975 extern "C"
57976 {
57977 #endif
57978 /* We use char because int might match the return type of a gcc2
57979    builtin and then its argument prototype would still apply.  */
57980 char $ac_func ();
57981 /* The GNU C library defines this for functions which it implements
57982     to always fail with ENOSYS.  Some functions are actually named
57983     something starting with __ and the normal name is an alias.  */
57984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57985 choke me
57986 #else
57987 char (*f) () = $ac_func;
57988 #endif
57989 #ifdef __cplusplus
57990 }
57991 #endif
57992
57993 int
57994 main ()
57995 {
57996 return f != $ac_func;
57997   ;
57998   return 0;
57999 }
58000 _ACEOF
58001 rm -f conftest.$ac_objext conftest$ac_exeext
58002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58003   (eval $ac_link) 2>conftest.er1
58004   ac_status=$?
58005   grep -v '^ *+' conftest.er1 >conftest.err
58006   rm -f conftest.er1
58007   cat conftest.err >&5
58008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58009   (exit $ac_status); } &&
58010          { ac_try='test -z "$ac_c_werror_flag"
58011                          || test ! -s conftest.err'
58012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58013   (eval $ac_try) 2>&5
58014   ac_status=$?
58015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58016   (exit $ac_status); }; } &&
58017          { ac_try='test -s conftest$ac_exeext'
58018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58019   (eval $ac_try) 2>&5
58020   ac_status=$?
58021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58022   (exit $ac_status); }; }; then
58023   eval "$as_ac_var=yes"
58024 else
58025   echo "$as_me: failed program was:" >&5
58026 sed 's/^/| /' conftest.$ac_ext >&5
58027
58028 eval "$as_ac_var=no"
58029 fi
58030 rm -f conftest.err conftest.$ac_objext \
58031       conftest$ac_exeext conftest.$ac_ext
58032 fi
58033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58035 if test `eval echo '${'$as_ac_var'}'` = yes; then
58036   cat >>confdefs.h <<_ACEOF
58037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58038 _ACEOF
58039
58040 fi
58041 done
58042
58043     fi
58044   fi
58045
58046
58047
58048
58049
58050
58051   echo "$as_me:$LINENO: checking for logl declaration" >&5
58052 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58053   if test x${glibcxx_cv_func_logl_use+set} != xset; then
58054     if test "${glibcxx_cv_func_logl_use+set}" = set; then
58055   echo $ECHO_N "(cached) $ECHO_C" >&6
58056 else
58057
58058
58059
58060       ac_ext=cc
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58065
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 #include <math.h>
58073                       #ifdef HAVE_IEEEFP_H
58074                       #include <ieeefp.h>
58075                       #endif
58076
58077 int
58078 main ()
58079 {
58080  logl(0);
58081   ;
58082   return 0;
58083 }
58084 _ACEOF
58085 rm -f conftest.$ac_objext
58086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58087   (eval $ac_compile) 2>conftest.er1
58088   ac_status=$?
58089   grep -v '^ *+' conftest.er1 >conftest.err
58090   rm -f conftest.er1
58091   cat conftest.err >&5
58092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58093   (exit $ac_status); } &&
58094          { ac_try='test -z "$ac_cxx_werror_flag"
58095                          || test ! -s conftest.err'
58096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58097   (eval $ac_try) 2>&5
58098   ac_status=$?
58099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58100   (exit $ac_status); }; } &&
58101          { ac_try='test -s conftest.$ac_objext'
58102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58103   (eval $ac_try) 2>&5
58104   ac_status=$?
58105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58106   (exit $ac_status); }; }; then
58107   glibcxx_cv_func_logl_use=yes
58108 else
58109   echo "$as_me: failed program was:" >&5
58110 sed 's/^/| /' conftest.$ac_ext >&5
58111
58112 glibcxx_cv_func_logl_use=no
58113 fi
58114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58115       ac_ext=c
58116 ac_cpp='$CPP $CPPFLAGS'
58117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58120
58121
58122 fi
58123
58124   fi
58125   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58126 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58127
58128   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58129
58130 for ac_func in logl
58131 do
58132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58133 echo "$as_me:$LINENO: checking for $ac_func" >&5
58134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58135 if eval "test \"\${$as_ac_var+set}\" = set"; then
58136   echo $ECHO_N "(cached) $ECHO_C" >&6
58137 else
58138   if test x$gcc_no_link = xyes; then
58139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58141    { (exit 1); exit 1; }; }
58142 fi
58143 cat >conftest.$ac_ext <<_ACEOF
58144 /* confdefs.h.  */
58145 _ACEOF
58146 cat confdefs.h >>conftest.$ac_ext
58147 cat >>conftest.$ac_ext <<_ACEOF
58148 /* end confdefs.h.  */
58149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58151 #define $ac_func innocuous_$ac_func
58152
58153 /* System header to define __stub macros and hopefully few prototypes,
58154     which can conflict with char $ac_func (); below.
58155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58156     <limits.h> exists even on freestanding compilers.  */
58157
58158 #ifdef __STDC__
58159 # include <limits.h>
58160 #else
58161 # include <assert.h>
58162 #endif
58163
58164 #undef $ac_func
58165
58166 /* Override any gcc2 internal prototype to avoid an error.  */
58167 #ifdef __cplusplus
58168 extern "C"
58169 {
58170 #endif
58171 /* We use char because int might match the return type of a gcc2
58172    builtin and then its argument prototype would still apply.  */
58173 char $ac_func ();
58174 /* The GNU C library defines this for functions which it implements
58175     to always fail with ENOSYS.  Some functions are actually named
58176     something starting with __ and the normal name is an alias.  */
58177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58178 choke me
58179 #else
58180 char (*f) () = $ac_func;
58181 #endif
58182 #ifdef __cplusplus
58183 }
58184 #endif
58185
58186 int
58187 main ()
58188 {
58189 return f != $ac_func;
58190   ;
58191   return 0;
58192 }
58193 _ACEOF
58194 rm -f conftest.$ac_objext conftest$ac_exeext
58195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58196   (eval $ac_link) 2>conftest.er1
58197   ac_status=$?
58198   grep -v '^ *+' conftest.er1 >conftest.err
58199   rm -f conftest.er1
58200   cat conftest.err >&5
58201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58202   (exit $ac_status); } &&
58203          { ac_try='test -z "$ac_c_werror_flag"
58204                          || test ! -s conftest.err'
58205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58206   (eval $ac_try) 2>&5
58207   ac_status=$?
58208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58209   (exit $ac_status); }; } &&
58210          { ac_try='test -s conftest$ac_exeext'
58211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58212   (eval $ac_try) 2>&5
58213   ac_status=$?
58214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58215   (exit $ac_status); }; }; then
58216   eval "$as_ac_var=yes"
58217 else
58218   echo "$as_me: failed program was:" >&5
58219 sed 's/^/| /' conftest.$ac_ext >&5
58220
58221 eval "$as_ac_var=no"
58222 fi
58223 rm -f conftest.err conftest.$ac_objext \
58224       conftest$ac_exeext conftest.$ac_ext
58225 fi
58226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58228 if test `eval echo '${'$as_ac_var'}'` = yes; then
58229   cat >>confdefs.h <<_ACEOF
58230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58231 _ACEOF
58232
58233 fi
58234 done
58235
58236   else
58237
58238   echo "$as_me:$LINENO: checking for _logl declaration" >&5
58239 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58240   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58241     if test "${glibcxx_cv_func__logl_use+set}" = set; then
58242   echo $ECHO_N "(cached) $ECHO_C" >&6
58243 else
58244
58245
58246
58247       ac_ext=cc
58248 ac_cpp='$CXXCPP $CPPFLAGS'
58249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58252
58253       cat >conftest.$ac_ext <<_ACEOF
58254 /* confdefs.h.  */
58255 _ACEOF
58256 cat confdefs.h >>conftest.$ac_ext
58257 cat >>conftest.$ac_ext <<_ACEOF
58258 /* end confdefs.h.  */
58259 #include <math.h>
58260                       #ifdef HAVE_IEEEFP_H
58261                       #include <ieeefp.h>
58262                       #endif
58263
58264 int
58265 main ()
58266 {
58267  _logl(0);
58268   ;
58269   return 0;
58270 }
58271 _ACEOF
58272 rm -f conftest.$ac_objext
58273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58274   (eval $ac_compile) 2>conftest.er1
58275   ac_status=$?
58276   grep -v '^ *+' conftest.er1 >conftest.err
58277   rm -f conftest.er1
58278   cat conftest.err >&5
58279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58280   (exit $ac_status); } &&
58281          { ac_try='test -z "$ac_cxx_werror_flag"
58282                          || test ! -s conftest.err'
58283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58284   (eval $ac_try) 2>&5
58285   ac_status=$?
58286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58287   (exit $ac_status); }; } &&
58288          { ac_try='test -s conftest.$ac_objext'
58289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58290   (eval $ac_try) 2>&5
58291   ac_status=$?
58292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58293   (exit $ac_status); }; }; then
58294   glibcxx_cv_func__logl_use=yes
58295 else
58296   echo "$as_me: failed program was:" >&5
58297 sed 's/^/| /' conftest.$ac_ext >&5
58298
58299 glibcxx_cv_func__logl_use=no
58300 fi
58301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58302       ac_ext=c
58303 ac_cpp='$CPP $CPPFLAGS'
58304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58307
58308
58309 fi
58310
58311   fi
58312   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58313 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58314
58315     if test x$glibcxx_cv_func__logl_use = x"yes"; then
58316
58317 for ac_func in _logl
58318 do
58319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58320 echo "$as_me:$LINENO: checking for $ac_func" >&5
58321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58322 if eval "test \"\${$as_ac_var+set}\" = set"; then
58323   echo $ECHO_N "(cached) $ECHO_C" >&6
58324 else
58325   if test x$gcc_no_link = xyes; then
58326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58328    { (exit 1); exit 1; }; }
58329 fi
58330 cat >conftest.$ac_ext <<_ACEOF
58331 /* confdefs.h.  */
58332 _ACEOF
58333 cat confdefs.h >>conftest.$ac_ext
58334 cat >>conftest.$ac_ext <<_ACEOF
58335 /* end confdefs.h.  */
58336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58338 #define $ac_func innocuous_$ac_func
58339
58340 /* System header to define __stub macros and hopefully few prototypes,
58341     which can conflict with char $ac_func (); below.
58342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58343     <limits.h> exists even on freestanding compilers.  */
58344
58345 #ifdef __STDC__
58346 # include <limits.h>
58347 #else
58348 # include <assert.h>
58349 #endif
58350
58351 #undef $ac_func
58352
58353 /* Override any gcc2 internal prototype to avoid an error.  */
58354 #ifdef __cplusplus
58355 extern "C"
58356 {
58357 #endif
58358 /* We use char because int might match the return type of a gcc2
58359    builtin and then its argument prototype would still apply.  */
58360 char $ac_func ();
58361 /* The GNU C library defines this for functions which it implements
58362     to always fail with ENOSYS.  Some functions are actually named
58363     something starting with __ and the normal name is an alias.  */
58364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58365 choke me
58366 #else
58367 char (*f) () = $ac_func;
58368 #endif
58369 #ifdef __cplusplus
58370 }
58371 #endif
58372
58373 int
58374 main ()
58375 {
58376 return f != $ac_func;
58377   ;
58378   return 0;
58379 }
58380 _ACEOF
58381 rm -f conftest.$ac_objext conftest$ac_exeext
58382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58383   (eval $ac_link) 2>conftest.er1
58384   ac_status=$?
58385   grep -v '^ *+' conftest.er1 >conftest.err
58386   rm -f conftest.er1
58387   cat conftest.err >&5
58388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58389   (exit $ac_status); } &&
58390          { ac_try='test -z "$ac_c_werror_flag"
58391                          || test ! -s conftest.err'
58392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58393   (eval $ac_try) 2>&5
58394   ac_status=$?
58395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58396   (exit $ac_status); }; } &&
58397          { ac_try='test -s conftest$ac_exeext'
58398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58399   (eval $ac_try) 2>&5
58400   ac_status=$?
58401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402   (exit $ac_status); }; }; then
58403   eval "$as_ac_var=yes"
58404 else
58405   echo "$as_me: failed program was:" >&5
58406 sed 's/^/| /' conftest.$ac_ext >&5
58407
58408 eval "$as_ac_var=no"
58409 fi
58410 rm -f conftest.err conftest.$ac_objext \
58411       conftest$ac_exeext conftest.$ac_ext
58412 fi
58413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58415 if test `eval echo '${'$as_ac_var'}'` = yes; then
58416   cat >>confdefs.h <<_ACEOF
58417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58418 _ACEOF
58419
58420 fi
58421 done
58422
58423     fi
58424   fi
58425
58426
58427
58428
58429
58430
58431   echo "$as_me:$LINENO: checking for log10l declaration" >&5
58432 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58433   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58434     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58435   echo $ECHO_N "(cached) $ECHO_C" >&6
58436 else
58437
58438
58439
58440       ac_ext=cc
58441 ac_cpp='$CXXCPP $CPPFLAGS'
58442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58445
58446       cat >conftest.$ac_ext <<_ACEOF
58447 /* confdefs.h.  */
58448 _ACEOF
58449 cat confdefs.h >>conftest.$ac_ext
58450 cat >>conftest.$ac_ext <<_ACEOF
58451 /* end confdefs.h.  */
58452 #include <math.h>
58453                       #ifdef HAVE_IEEEFP_H
58454                       #include <ieeefp.h>
58455                       #endif
58456
58457 int
58458 main ()
58459 {
58460  log10l(0);
58461   ;
58462   return 0;
58463 }
58464 _ACEOF
58465 rm -f conftest.$ac_objext
58466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58467   (eval $ac_compile) 2>conftest.er1
58468   ac_status=$?
58469   grep -v '^ *+' conftest.er1 >conftest.err
58470   rm -f conftest.er1
58471   cat conftest.err >&5
58472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58473   (exit $ac_status); } &&
58474          { ac_try='test -z "$ac_cxx_werror_flag"
58475                          || test ! -s conftest.err'
58476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58477   (eval $ac_try) 2>&5
58478   ac_status=$?
58479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58480   (exit $ac_status); }; } &&
58481          { ac_try='test -s conftest.$ac_objext'
58482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58483   (eval $ac_try) 2>&5
58484   ac_status=$?
58485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58486   (exit $ac_status); }; }; then
58487   glibcxx_cv_func_log10l_use=yes
58488 else
58489   echo "$as_me: failed program was:" >&5
58490 sed 's/^/| /' conftest.$ac_ext >&5
58491
58492 glibcxx_cv_func_log10l_use=no
58493 fi
58494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58495       ac_ext=c
58496 ac_cpp='$CPP $CPPFLAGS'
58497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58500
58501
58502 fi
58503
58504   fi
58505   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58506 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58507
58508   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58509
58510 for ac_func in log10l
58511 do
58512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58513 echo "$as_me:$LINENO: checking for $ac_func" >&5
58514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58515 if eval "test \"\${$as_ac_var+set}\" = set"; then
58516   echo $ECHO_N "(cached) $ECHO_C" >&6
58517 else
58518   if test x$gcc_no_link = xyes; then
58519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58521    { (exit 1); exit 1; }; }
58522 fi
58523 cat >conftest.$ac_ext <<_ACEOF
58524 /* confdefs.h.  */
58525 _ACEOF
58526 cat confdefs.h >>conftest.$ac_ext
58527 cat >>conftest.$ac_ext <<_ACEOF
58528 /* end confdefs.h.  */
58529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58531 #define $ac_func innocuous_$ac_func
58532
58533 /* System header to define __stub macros and hopefully few prototypes,
58534     which can conflict with char $ac_func (); below.
58535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58536     <limits.h> exists even on freestanding compilers.  */
58537
58538 #ifdef __STDC__
58539 # include <limits.h>
58540 #else
58541 # include <assert.h>
58542 #endif
58543
58544 #undef $ac_func
58545
58546 /* Override any gcc2 internal prototype to avoid an error.  */
58547 #ifdef __cplusplus
58548 extern "C"
58549 {
58550 #endif
58551 /* We use char because int might match the return type of a gcc2
58552    builtin and then its argument prototype would still apply.  */
58553 char $ac_func ();
58554 /* The GNU C library defines this for functions which it implements
58555     to always fail with ENOSYS.  Some functions are actually named
58556     something starting with __ and the normal name is an alias.  */
58557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58558 choke me
58559 #else
58560 char (*f) () = $ac_func;
58561 #endif
58562 #ifdef __cplusplus
58563 }
58564 #endif
58565
58566 int
58567 main ()
58568 {
58569 return f != $ac_func;
58570   ;
58571   return 0;
58572 }
58573 _ACEOF
58574 rm -f conftest.$ac_objext conftest$ac_exeext
58575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58576   (eval $ac_link) 2>conftest.er1
58577   ac_status=$?
58578   grep -v '^ *+' conftest.er1 >conftest.err
58579   rm -f conftest.er1
58580   cat conftest.err >&5
58581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58582   (exit $ac_status); } &&
58583          { ac_try='test -z "$ac_c_werror_flag"
58584                          || test ! -s conftest.err'
58585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58586   (eval $ac_try) 2>&5
58587   ac_status=$?
58588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58589   (exit $ac_status); }; } &&
58590          { ac_try='test -s conftest$ac_exeext'
58591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58592   (eval $ac_try) 2>&5
58593   ac_status=$?
58594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58595   (exit $ac_status); }; }; then
58596   eval "$as_ac_var=yes"
58597 else
58598   echo "$as_me: failed program was:" >&5
58599 sed 's/^/| /' conftest.$ac_ext >&5
58600
58601 eval "$as_ac_var=no"
58602 fi
58603 rm -f conftest.err conftest.$ac_objext \
58604       conftest$ac_exeext conftest.$ac_ext
58605 fi
58606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58608 if test `eval echo '${'$as_ac_var'}'` = yes; then
58609   cat >>confdefs.h <<_ACEOF
58610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58611 _ACEOF
58612
58613 fi
58614 done
58615
58616   else
58617
58618   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58619 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58620   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58621     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58622   echo $ECHO_N "(cached) $ECHO_C" >&6
58623 else
58624
58625
58626
58627       ac_ext=cc
58628 ac_cpp='$CXXCPP $CPPFLAGS'
58629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58632
58633       cat >conftest.$ac_ext <<_ACEOF
58634 /* confdefs.h.  */
58635 _ACEOF
58636 cat confdefs.h >>conftest.$ac_ext
58637 cat >>conftest.$ac_ext <<_ACEOF
58638 /* end confdefs.h.  */
58639 #include <math.h>
58640                       #ifdef HAVE_IEEEFP_H
58641                       #include <ieeefp.h>
58642                       #endif
58643
58644 int
58645 main ()
58646 {
58647  _log10l(0);
58648   ;
58649   return 0;
58650 }
58651 _ACEOF
58652 rm -f conftest.$ac_objext
58653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58654   (eval $ac_compile) 2>conftest.er1
58655   ac_status=$?
58656   grep -v '^ *+' conftest.er1 >conftest.err
58657   rm -f conftest.er1
58658   cat conftest.err >&5
58659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58660   (exit $ac_status); } &&
58661          { ac_try='test -z "$ac_cxx_werror_flag"
58662                          || test ! -s conftest.err'
58663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58664   (eval $ac_try) 2>&5
58665   ac_status=$?
58666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58667   (exit $ac_status); }; } &&
58668          { ac_try='test -s conftest.$ac_objext'
58669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58670   (eval $ac_try) 2>&5
58671   ac_status=$?
58672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58673   (exit $ac_status); }; }; then
58674   glibcxx_cv_func__log10l_use=yes
58675 else
58676   echo "$as_me: failed program was:" >&5
58677 sed 's/^/| /' conftest.$ac_ext >&5
58678
58679 glibcxx_cv_func__log10l_use=no
58680 fi
58681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58682       ac_ext=c
58683 ac_cpp='$CPP $CPPFLAGS'
58684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58687
58688
58689 fi
58690
58691   fi
58692   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58693 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58694
58695     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58696
58697 for ac_func in _log10l
58698 do
58699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58700 echo "$as_me:$LINENO: checking for $ac_func" >&5
58701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58702 if eval "test \"\${$as_ac_var+set}\" = set"; then
58703   echo $ECHO_N "(cached) $ECHO_C" >&6
58704 else
58705   if test x$gcc_no_link = xyes; then
58706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58708    { (exit 1); exit 1; }; }
58709 fi
58710 cat >conftest.$ac_ext <<_ACEOF
58711 /* confdefs.h.  */
58712 _ACEOF
58713 cat confdefs.h >>conftest.$ac_ext
58714 cat >>conftest.$ac_ext <<_ACEOF
58715 /* end confdefs.h.  */
58716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58718 #define $ac_func innocuous_$ac_func
58719
58720 /* System header to define __stub macros and hopefully few prototypes,
58721     which can conflict with char $ac_func (); below.
58722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58723     <limits.h> exists even on freestanding compilers.  */
58724
58725 #ifdef __STDC__
58726 # include <limits.h>
58727 #else
58728 # include <assert.h>
58729 #endif
58730
58731 #undef $ac_func
58732
58733 /* Override any gcc2 internal prototype to avoid an error.  */
58734 #ifdef __cplusplus
58735 extern "C"
58736 {
58737 #endif
58738 /* We use char because int might match the return type of a gcc2
58739    builtin and then its argument prototype would still apply.  */
58740 char $ac_func ();
58741 /* The GNU C library defines this for functions which it implements
58742     to always fail with ENOSYS.  Some functions are actually named
58743     something starting with __ and the normal name is an alias.  */
58744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58745 choke me
58746 #else
58747 char (*f) () = $ac_func;
58748 #endif
58749 #ifdef __cplusplus
58750 }
58751 #endif
58752
58753 int
58754 main ()
58755 {
58756 return f != $ac_func;
58757   ;
58758   return 0;
58759 }
58760 _ACEOF
58761 rm -f conftest.$ac_objext conftest$ac_exeext
58762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58763   (eval $ac_link) 2>conftest.er1
58764   ac_status=$?
58765   grep -v '^ *+' conftest.er1 >conftest.err
58766   rm -f conftest.er1
58767   cat conftest.err >&5
58768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58769   (exit $ac_status); } &&
58770          { ac_try='test -z "$ac_c_werror_flag"
58771                          || test ! -s conftest.err'
58772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58773   (eval $ac_try) 2>&5
58774   ac_status=$?
58775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58776   (exit $ac_status); }; } &&
58777          { ac_try='test -s conftest$ac_exeext'
58778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58779   (eval $ac_try) 2>&5
58780   ac_status=$?
58781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58782   (exit $ac_status); }; }; then
58783   eval "$as_ac_var=yes"
58784 else
58785   echo "$as_me: failed program was:" >&5
58786 sed 's/^/| /' conftest.$ac_ext >&5
58787
58788 eval "$as_ac_var=no"
58789 fi
58790 rm -f conftest.err conftest.$ac_objext \
58791       conftest$ac_exeext conftest.$ac_ext
58792 fi
58793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58795 if test `eval echo '${'$as_ac_var'}'` = yes; then
58796   cat >>confdefs.h <<_ACEOF
58797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58798 _ACEOF
58799
58800 fi
58801 done
58802
58803     fi
58804   fi
58805
58806
58807
58808
58809
58810
58811   echo "$as_me:$LINENO: checking for modfl declaration" >&5
58812 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58813   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58814     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58815   echo $ECHO_N "(cached) $ECHO_C" >&6
58816 else
58817
58818
58819
58820       ac_ext=cc
58821 ac_cpp='$CXXCPP $CPPFLAGS'
58822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58825
58826       cat >conftest.$ac_ext <<_ACEOF
58827 /* confdefs.h.  */
58828 _ACEOF
58829 cat confdefs.h >>conftest.$ac_ext
58830 cat >>conftest.$ac_ext <<_ACEOF
58831 /* end confdefs.h.  */
58832 #include <math.h>
58833 int
58834 main ()
58835 {
58836  modfl(0, 0);
58837   ;
58838   return 0;
58839 }
58840 _ACEOF
58841 rm -f conftest.$ac_objext
58842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58843   (eval $ac_compile) 2>conftest.er1
58844   ac_status=$?
58845   grep -v '^ *+' conftest.er1 >conftest.err
58846   rm -f conftest.er1
58847   cat conftest.err >&5
58848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58849   (exit $ac_status); } &&
58850          { ac_try='test -z "$ac_cxx_werror_flag"
58851                          || test ! -s conftest.err'
58852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58853   (eval $ac_try) 2>&5
58854   ac_status=$?
58855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58856   (exit $ac_status); }; } &&
58857          { ac_try='test -s conftest.$ac_objext'
58858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58859   (eval $ac_try) 2>&5
58860   ac_status=$?
58861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58862   (exit $ac_status); }; }; then
58863   glibcxx_cv_func_modfl_use=yes
58864 else
58865   echo "$as_me: failed program was:" >&5
58866 sed 's/^/| /' conftest.$ac_ext >&5
58867
58868 glibcxx_cv_func_modfl_use=no
58869 fi
58870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58871       ac_ext=c
58872 ac_cpp='$CPP $CPPFLAGS'
58873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58876
58877
58878 fi
58879
58880   fi
58881   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58882 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58883
58884   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58885
58886 for ac_func in modfl
58887 do
58888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58889 echo "$as_me:$LINENO: checking for $ac_func" >&5
58890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58891 if eval "test \"\${$as_ac_var+set}\" = set"; then
58892   echo $ECHO_N "(cached) $ECHO_C" >&6
58893 else
58894   if test x$gcc_no_link = xyes; then
58895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58897    { (exit 1); exit 1; }; }
58898 fi
58899 cat >conftest.$ac_ext <<_ACEOF
58900 /* confdefs.h.  */
58901 _ACEOF
58902 cat confdefs.h >>conftest.$ac_ext
58903 cat >>conftest.$ac_ext <<_ACEOF
58904 /* end confdefs.h.  */
58905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58907 #define $ac_func innocuous_$ac_func
58908
58909 /* System header to define __stub macros and hopefully few prototypes,
58910     which can conflict with char $ac_func (); below.
58911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58912     <limits.h> exists even on freestanding compilers.  */
58913
58914 #ifdef __STDC__
58915 # include <limits.h>
58916 #else
58917 # include <assert.h>
58918 #endif
58919
58920 #undef $ac_func
58921
58922 /* Override any gcc2 internal prototype to avoid an error.  */
58923 #ifdef __cplusplus
58924 extern "C"
58925 {
58926 #endif
58927 /* We use char because int might match the return type of a gcc2
58928    builtin and then its argument prototype would still apply.  */
58929 char $ac_func ();
58930 /* The GNU C library defines this for functions which it implements
58931     to always fail with ENOSYS.  Some functions are actually named
58932     something starting with __ and the normal name is an alias.  */
58933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58934 choke me
58935 #else
58936 char (*f) () = $ac_func;
58937 #endif
58938 #ifdef __cplusplus
58939 }
58940 #endif
58941
58942 int
58943 main ()
58944 {
58945 return f != $ac_func;
58946   ;
58947   return 0;
58948 }
58949 _ACEOF
58950 rm -f conftest.$ac_objext conftest$ac_exeext
58951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58952   (eval $ac_link) 2>conftest.er1
58953   ac_status=$?
58954   grep -v '^ *+' conftest.er1 >conftest.err
58955   rm -f conftest.er1
58956   cat conftest.err >&5
58957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58958   (exit $ac_status); } &&
58959          { ac_try='test -z "$ac_c_werror_flag"
58960                          || test ! -s conftest.err'
58961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58962   (eval $ac_try) 2>&5
58963   ac_status=$?
58964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58965   (exit $ac_status); }; } &&
58966          { ac_try='test -s conftest$ac_exeext'
58967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58968   (eval $ac_try) 2>&5
58969   ac_status=$?
58970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58971   (exit $ac_status); }; }; then
58972   eval "$as_ac_var=yes"
58973 else
58974   echo "$as_me: failed program was:" >&5
58975 sed 's/^/| /' conftest.$ac_ext >&5
58976
58977 eval "$as_ac_var=no"
58978 fi
58979 rm -f conftest.err conftest.$ac_objext \
58980       conftest$ac_exeext conftest.$ac_ext
58981 fi
58982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58984 if test `eval echo '${'$as_ac_var'}'` = yes; then
58985   cat >>confdefs.h <<_ACEOF
58986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58987 _ACEOF
58988
58989 fi
58990 done
58991
58992   else
58993
58994   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58995 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58996   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58997     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58998   echo $ECHO_N "(cached) $ECHO_C" >&6
58999 else
59000
59001
59002
59003       ac_ext=cc
59004 ac_cpp='$CXXCPP $CPPFLAGS'
59005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59008
59009       cat >conftest.$ac_ext <<_ACEOF
59010 /* confdefs.h.  */
59011 _ACEOF
59012 cat confdefs.h >>conftest.$ac_ext
59013 cat >>conftest.$ac_ext <<_ACEOF
59014 /* end confdefs.h.  */
59015 #include <math.h>
59016 int
59017 main ()
59018 {
59019  _modfl(0, 0);
59020   ;
59021   return 0;
59022 }
59023 _ACEOF
59024 rm -f conftest.$ac_objext
59025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59026   (eval $ac_compile) 2>conftest.er1
59027   ac_status=$?
59028   grep -v '^ *+' conftest.er1 >conftest.err
59029   rm -f conftest.er1
59030   cat conftest.err >&5
59031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032   (exit $ac_status); } &&
59033          { ac_try='test -z "$ac_cxx_werror_flag"
59034                          || test ! -s conftest.err'
59035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59036   (eval $ac_try) 2>&5
59037   ac_status=$?
59038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59039   (exit $ac_status); }; } &&
59040          { ac_try='test -s conftest.$ac_objext'
59041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59042   (eval $ac_try) 2>&5
59043   ac_status=$?
59044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59045   (exit $ac_status); }; }; then
59046   glibcxx_cv_func__modfl_use=yes
59047 else
59048   echo "$as_me: failed program was:" >&5
59049 sed 's/^/| /' conftest.$ac_ext >&5
59050
59051 glibcxx_cv_func__modfl_use=no
59052 fi
59053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59054       ac_ext=c
59055 ac_cpp='$CPP $CPPFLAGS'
59056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59059
59060
59061 fi
59062
59063   fi
59064   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59065 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59066
59067     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59068
59069 for ac_func in _modfl
59070 do
59071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59072 echo "$as_me:$LINENO: checking for $ac_func" >&5
59073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59074 if eval "test \"\${$as_ac_var+set}\" = set"; then
59075   echo $ECHO_N "(cached) $ECHO_C" >&6
59076 else
59077   if test x$gcc_no_link = xyes; then
59078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59080    { (exit 1); exit 1; }; }
59081 fi
59082 cat >conftest.$ac_ext <<_ACEOF
59083 /* confdefs.h.  */
59084 _ACEOF
59085 cat confdefs.h >>conftest.$ac_ext
59086 cat >>conftest.$ac_ext <<_ACEOF
59087 /* end confdefs.h.  */
59088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59089    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59090 #define $ac_func innocuous_$ac_func
59091
59092 /* System header to define __stub macros and hopefully few prototypes,
59093     which can conflict with char $ac_func (); below.
59094     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59095     <limits.h> exists even on freestanding compilers.  */
59096
59097 #ifdef __STDC__
59098 # include <limits.h>
59099 #else
59100 # include <assert.h>
59101 #endif
59102
59103 #undef $ac_func
59104
59105 /* Override any gcc2 internal prototype to avoid an error.  */
59106 #ifdef __cplusplus
59107 extern "C"
59108 {
59109 #endif
59110 /* We use char because int might match the return type of a gcc2
59111    builtin and then its argument prototype would still apply.  */
59112 char $ac_func ();
59113 /* The GNU C library defines this for functions which it implements
59114     to always fail with ENOSYS.  Some functions are actually named
59115     something starting with __ and the normal name is an alias.  */
59116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59117 choke me
59118 #else
59119 char (*f) () = $ac_func;
59120 #endif
59121 #ifdef __cplusplus
59122 }
59123 #endif
59124
59125 int
59126 main ()
59127 {
59128 return f != $ac_func;
59129   ;
59130   return 0;
59131 }
59132 _ACEOF
59133 rm -f conftest.$ac_objext conftest$ac_exeext
59134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59135   (eval $ac_link) 2>conftest.er1
59136   ac_status=$?
59137   grep -v '^ *+' conftest.er1 >conftest.err
59138   rm -f conftest.er1
59139   cat conftest.err >&5
59140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59141   (exit $ac_status); } &&
59142          { ac_try='test -z "$ac_c_werror_flag"
59143                          || test ! -s conftest.err'
59144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59145   (eval $ac_try) 2>&5
59146   ac_status=$?
59147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59148   (exit $ac_status); }; } &&
59149          { ac_try='test -s conftest$ac_exeext'
59150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59151   (eval $ac_try) 2>&5
59152   ac_status=$?
59153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59154   (exit $ac_status); }; }; then
59155   eval "$as_ac_var=yes"
59156 else
59157   echo "$as_me: failed program was:" >&5
59158 sed 's/^/| /' conftest.$ac_ext >&5
59159
59160 eval "$as_ac_var=no"
59161 fi
59162 rm -f conftest.err conftest.$ac_objext \
59163       conftest$ac_exeext conftest.$ac_ext
59164 fi
59165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59167 if test `eval echo '${'$as_ac_var'}'` = yes; then
59168   cat >>confdefs.h <<_ACEOF
59169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59170 _ACEOF
59171
59172 fi
59173 done
59174
59175     fi
59176   fi
59177
59178
59179
59180
59181
59182
59183   echo "$as_me:$LINENO: checking for powl declaration" >&5
59184 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59185   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59186     if test "${glibcxx_cv_func_powl_use+set}" = set; then
59187   echo $ECHO_N "(cached) $ECHO_C" >&6
59188 else
59189
59190
59191
59192       ac_ext=cc
59193 ac_cpp='$CXXCPP $CPPFLAGS'
59194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59197
59198       cat >conftest.$ac_ext <<_ACEOF
59199 /* confdefs.h.  */
59200 _ACEOF
59201 cat confdefs.h >>conftest.$ac_ext
59202 cat >>conftest.$ac_ext <<_ACEOF
59203 /* end confdefs.h.  */
59204 #include <math.h>
59205 int
59206 main ()
59207 {
59208  powl(0, 0);
59209   ;
59210   return 0;
59211 }
59212 _ACEOF
59213 rm -f conftest.$ac_objext
59214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59215   (eval $ac_compile) 2>conftest.er1
59216   ac_status=$?
59217   grep -v '^ *+' conftest.er1 >conftest.err
59218   rm -f conftest.er1
59219   cat conftest.err >&5
59220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59221   (exit $ac_status); } &&
59222          { ac_try='test -z "$ac_cxx_werror_flag"
59223                          || test ! -s conftest.err'
59224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59225   (eval $ac_try) 2>&5
59226   ac_status=$?
59227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59228   (exit $ac_status); }; } &&
59229          { ac_try='test -s conftest.$ac_objext'
59230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59231   (eval $ac_try) 2>&5
59232   ac_status=$?
59233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59234   (exit $ac_status); }; }; then
59235   glibcxx_cv_func_powl_use=yes
59236 else
59237   echo "$as_me: failed program was:" >&5
59238 sed 's/^/| /' conftest.$ac_ext >&5
59239
59240 glibcxx_cv_func_powl_use=no
59241 fi
59242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59243       ac_ext=c
59244 ac_cpp='$CPP $CPPFLAGS'
59245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59248
59249
59250 fi
59251
59252   fi
59253   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59254 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59255
59256   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59257
59258 for ac_func in powl
59259 do
59260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59261 echo "$as_me:$LINENO: checking for $ac_func" >&5
59262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59263 if eval "test \"\${$as_ac_var+set}\" = set"; then
59264   echo $ECHO_N "(cached) $ECHO_C" >&6
59265 else
59266   if test x$gcc_no_link = xyes; then
59267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59269    { (exit 1); exit 1; }; }
59270 fi
59271 cat >conftest.$ac_ext <<_ACEOF
59272 /* confdefs.h.  */
59273 _ACEOF
59274 cat confdefs.h >>conftest.$ac_ext
59275 cat >>conftest.$ac_ext <<_ACEOF
59276 /* end confdefs.h.  */
59277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59279 #define $ac_func innocuous_$ac_func
59280
59281 /* System header to define __stub macros and hopefully few prototypes,
59282     which can conflict with char $ac_func (); below.
59283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59284     <limits.h> exists even on freestanding compilers.  */
59285
59286 #ifdef __STDC__
59287 # include <limits.h>
59288 #else
59289 # include <assert.h>
59290 #endif
59291
59292 #undef $ac_func
59293
59294 /* Override any gcc2 internal prototype to avoid an error.  */
59295 #ifdef __cplusplus
59296 extern "C"
59297 {
59298 #endif
59299 /* We use char because int might match the return type of a gcc2
59300    builtin and then its argument prototype would still apply.  */
59301 char $ac_func ();
59302 /* The GNU C library defines this for functions which it implements
59303     to always fail with ENOSYS.  Some functions are actually named
59304     something starting with __ and the normal name is an alias.  */
59305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59306 choke me
59307 #else
59308 char (*f) () = $ac_func;
59309 #endif
59310 #ifdef __cplusplus
59311 }
59312 #endif
59313
59314 int
59315 main ()
59316 {
59317 return f != $ac_func;
59318   ;
59319   return 0;
59320 }
59321 _ACEOF
59322 rm -f conftest.$ac_objext conftest$ac_exeext
59323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59324   (eval $ac_link) 2>conftest.er1
59325   ac_status=$?
59326   grep -v '^ *+' conftest.er1 >conftest.err
59327   rm -f conftest.er1
59328   cat conftest.err >&5
59329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59330   (exit $ac_status); } &&
59331          { ac_try='test -z "$ac_c_werror_flag"
59332                          || test ! -s conftest.err'
59333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59334   (eval $ac_try) 2>&5
59335   ac_status=$?
59336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59337   (exit $ac_status); }; } &&
59338          { ac_try='test -s conftest$ac_exeext'
59339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59340   (eval $ac_try) 2>&5
59341   ac_status=$?
59342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59343   (exit $ac_status); }; }; then
59344   eval "$as_ac_var=yes"
59345 else
59346   echo "$as_me: failed program was:" >&5
59347 sed 's/^/| /' conftest.$ac_ext >&5
59348
59349 eval "$as_ac_var=no"
59350 fi
59351 rm -f conftest.err conftest.$ac_objext \
59352       conftest$ac_exeext conftest.$ac_ext
59353 fi
59354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59356 if test `eval echo '${'$as_ac_var'}'` = yes; then
59357   cat >>confdefs.h <<_ACEOF
59358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59359 _ACEOF
59360
59361 fi
59362 done
59363
59364   else
59365
59366   echo "$as_me:$LINENO: checking for _powl declaration" >&5
59367 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59368   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59369     if test "${glibcxx_cv_func__powl_use+set}" = set; then
59370   echo $ECHO_N "(cached) $ECHO_C" >&6
59371 else
59372
59373
59374
59375       ac_ext=cc
59376 ac_cpp='$CXXCPP $CPPFLAGS'
59377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59380
59381       cat >conftest.$ac_ext <<_ACEOF
59382 /* confdefs.h.  */
59383 _ACEOF
59384 cat confdefs.h >>conftest.$ac_ext
59385 cat >>conftest.$ac_ext <<_ACEOF
59386 /* end confdefs.h.  */
59387 #include <math.h>
59388 int
59389 main ()
59390 {
59391  _powl(0, 0);
59392   ;
59393   return 0;
59394 }
59395 _ACEOF
59396 rm -f conftest.$ac_objext
59397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59398   (eval $ac_compile) 2>conftest.er1
59399   ac_status=$?
59400   grep -v '^ *+' conftest.er1 >conftest.err
59401   rm -f conftest.er1
59402   cat conftest.err >&5
59403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59404   (exit $ac_status); } &&
59405          { ac_try='test -z "$ac_cxx_werror_flag"
59406                          || test ! -s conftest.err'
59407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59408   (eval $ac_try) 2>&5
59409   ac_status=$?
59410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59411   (exit $ac_status); }; } &&
59412          { ac_try='test -s conftest.$ac_objext'
59413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59414   (eval $ac_try) 2>&5
59415   ac_status=$?
59416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59417   (exit $ac_status); }; }; then
59418   glibcxx_cv_func__powl_use=yes
59419 else
59420   echo "$as_me: failed program was:" >&5
59421 sed 's/^/| /' conftest.$ac_ext >&5
59422
59423 glibcxx_cv_func__powl_use=no
59424 fi
59425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59426       ac_ext=c
59427 ac_cpp='$CPP $CPPFLAGS'
59428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59431
59432
59433 fi
59434
59435   fi
59436   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59437 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59438
59439     if test x$glibcxx_cv_func__powl_use = x"yes"; then
59440
59441 for ac_func in _powl
59442 do
59443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59444 echo "$as_me:$LINENO: checking for $ac_func" >&5
59445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59446 if eval "test \"\${$as_ac_var+set}\" = set"; then
59447   echo $ECHO_N "(cached) $ECHO_C" >&6
59448 else
59449   if test x$gcc_no_link = xyes; then
59450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59452    { (exit 1); exit 1; }; }
59453 fi
59454 cat >conftest.$ac_ext <<_ACEOF
59455 /* confdefs.h.  */
59456 _ACEOF
59457 cat confdefs.h >>conftest.$ac_ext
59458 cat >>conftest.$ac_ext <<_ACEOF
59459 /* end confdefs.h.  */
59460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59461    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59462 #define $ac_func innocuous_$ac_func
59463
59464 /* System header to define __stub macros and hopefully few prototypes,
59465     which can conflict with char $ac_func (); below.
59466     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59467     <limits.h> exists even on freestanding compilers.  */
59468
59469 #ifdef __STDC__
59470 # include <limits.h>
59471 #else
59472 # include <assert.h>
59473 #endif
59474
59475 #undef $ac_func
59476
59477 /* Override any gcc2 internal prototype to avoid an error.  */
59478 #ifdef __cplusplus
59479 extern "C"
59480 {
59481 #endif
59482 /* We use char because int might match the return type of a gcc2
59483    builtin and then its argument prototype would still apply.  */
59484 char $ac_func ();
59485 /* The GNU C library defines this for functions which it implements
59486     to always fail with ENOSYS.  Some functions are actually named
59487     something starting with __ and the normal name is an alias.  */
59488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59489 choke me
59490 #else
59491 char (*f) () = $ac_func;
59492 #endif
59493 #ifdef __cplusplus
59494 }
59495 #endif
59496
59497 int
59498 main ()
59499 {
59500 return f != $ac_func;
59501   ;
59502   return 0;
59503 }
59504 _ACEOF
59505 rm -f conftest.$ac_objext conftest$ac_exeext
59506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59507   (eval $ac_link) 2>conftest.er1
59508   ac_status=$?
59509   grep -v '^ *+' conftest.er1 >conftest.err
59510   rm -f conftest.er1
59511   cat conftest.err >&5
59512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59513   (exit $ac_status); } &&
59514          { ac_try='test -z "$ac_c_werror_flag"
59515                          || test ! -s conftest.err'
59516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59517   (eval $ac_try) 2>&5
59518   ac_status=$?
59519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59520   (exit $ac_status); }; } &&
59521          { ac_try='test -s conftest$ac_exeext'
59522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59523   (eval $ac_try) 2>&5
59524   ac_status=$?
59525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59526   (exit $ac_status); }; }; then
59527   eval "$as_ac_var=yes"
59528 else
59529   echo "$as_me: failed program was:" >&5
59530 sed 's/^/| /' conftest.$ac_ext >&5
59531
59532 eval "$as_ac_var=no"
59533 fi
59534 rm -f conftest.err conftest.$ac_objext \
59535       conftest$ac_exeext conftest.$ac_ext
59536 fi
59537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59539 if test `eval echo '${'$as_ac_var'}'` = yes; then
59540   cat >>confdefs.h <<_ACEOF
59541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59542 _ACEOF
59543
59544 fi
59545 done
59546
59547     fi
59548   fi
59549
59550
59551
59552
59553
59554
59555   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59556 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59557   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59558     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59559   echo $ECHO_N "(cached) $ECHO_C" >&6
59560 else
59561
59562
59563
59564       ac_ext=cc
59565 ac_cpp='$CXXCPP $CPPFLAGS'
59566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59569
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 #include <math.h>
59577                       #ifdef HAVE_IEEEFP_H
59578                       #include <ieeefp.h>
59579                       #endif
59580
59581 int
59582 main ()
59583 {
59584  sqrtl(0);
59585   ;
59586   return 0;
59587 }
59588 _ACEOF
59589 rm -f conftest.$ac_objext
59590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59591   (eval $ac_compile) 2>conftest.er1
59592   ac_status=$?
59593   grep -v '^ *+' conftest.er1 >conftest.err
59594   rm -f conftest.er1
59595   cat conftest.err >&5
59596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59597   (exit $ac_status); } &&
59598          { ac_try='test -z "$ac_cxx_werror_flag"
59599                          || test ! -s conftest.err'
59600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59601   (eval $ac_try) 2>&5
59602   ac_status=$?
59603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59604   (exit $ac_status); }; } &&
59605          { ac_try='test -s conftest.$ac_objext'
59606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59607   (eval $ac_try) 2>&5
59608   ac_status=$?
59609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59610   (exit $ac_status); }; }; then
59611   glibcxx_cv_func_sqrtl_use=yes
59612 else
59613   echo "$as_me: failed program was:" >&5
59614 sed 's/^/| /' conftest.$ac_ext >&5
59615
59616 glibcxx_cv_func_sqrtl_use=no
59617 fi
59618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59619       ac_ext=c
59620 ac_cpp='$CPP $CPPFLAGS'
59621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59624
59625
59626 fi
59627
59628   fi
59629   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59630 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59631
59632   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59633
59634 for ac_func in sqrtl
59635 do
59636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59637 echo "$as_me:$LINENO: checking for $ac_func" >&5
59638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59639 if eval "test \"\${$as_ac_var+set}\" = set"; then
59640   echo $ECHO_N "(cached) $ECHO_C" >&6
59641 else
59642   if test x$gcc_no_link = xyes; then
59643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59645    { (exit 1); exit 1; }; }
59646 fi
59647 cat >conftest.$ac_ext <<_ACEOF
59648 /* confdefs.h.  */
59649 _ACEOF
59650 cat confdefs.h >>conftest.$ac_ext
59651 cat >>conftest.$ac_ext <<_ACEOF
59652 /* end confdefs.h.  */
59653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59655 #define $ac_func innocuous_$ac_func
59656
59657 /* System header to define __stub macros and hopefully few prototypes,
59658     which can conflict with char $ac_func (); below.
59659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59660     <limits.h> exists even on freestanding compilers.  */
59661
59662 #ifdef __STDC__
59663 # include <limits.h>
59664 #else
59665 # include <assert.h>
59666 #endif
59667
59668 #undef $ac_func
59669
59670 /* Override any gcc2 internal prototype to avoid an error.  */
59671 #ifdef __cplusplus
59672 extern "C"
59673 {
59674 #endif
59675 /* We use char because int might match the return type of a gcc2
59676    builtin and then its argument prototype would still apply.  */
59677 char $ac_func ();
59678 /* The GNU C library defines this for functions which it implements
59679     to always fail with ENOSYS.  Some functions are actually named
59680     something starting with __ and the normal name is an alias.  */
59681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59682 choke me
59683 #else
59684 char (*f) () = $ac_func;
59685 #endif
59686 #ifdef __cplusplus
59687 }
59688 #endif
59689
59690 int
59691 main ()
59692 {
59693 return f != $ac_func;
59694   ;
59695   return 0;
59696 }
59697 _ACEOF
59698 rm -f conftest.$ac_objext conftest$ac_exeext
59699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59700   (eval $ac_link) 2>conftest.er1
59701   ac_status=$?
59702   grep -v '^ *+' conftest.er1 >conftest.err
59703   rm -f conftest.er1
59704   cat conftest.err >&5
59705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59706   (exit $ac_status); } &&
59707          { ac_try='test -z "$ac_c_werror_flag"
59708                          || test ! -s conftest.err'
59709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59710   (eval $ac_try) 2>&5
59711   ac_status=$?
59712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59713   (exit $ac_status); }; } &&
59714          { ac_try='test -s conftest$ac_exeext'
59715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59716   (eval $ac_try) 2>&5
59717   ac_status=$?
59718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59719   (exit $ac_status); }; }; then
59720   eval "$as_ac_var=yes"
59721 else
59722   echo "$as_me: failed program was:" >&5
59723 sed 's/^/| /' conftest.$ac_ext >&5
59724
59725 eval "$as_ac_var=no"
59726 fi
59727 rm -f conftest.err conftest.$ac_objext \
59728       conftest$ac_exeext conftest.$ac_ext
59729 fi
59730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59732 if test `eval echo '${'$as_ac_var'}'` = yes; then
59733   cat >>confdefs.h <<_ACEOF
59734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59735 _ACEOF
59736
59737 fi
59738 done
59739
59740   else
59741
59742   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59743 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59744   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59745     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59746   echo $ECHO_N "(cached) $ECHO_C" >&6
59747 else
59748
59749
59750
59751       ac_ext=cc
59752 ac_cpp='$CXXCPP $CPPFLAGS'
59753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59756
59757       cat >conftest.$ac_ext <<_ACEOF
59758 /* confdefs.h.  */
59759 _ACEOF
59760 cat confdefs.h >>conftest.$ac_ext
59761 cat >>conftest.$ac_ext <<_ACEOF
59762 /* end confdefs.h.  */
59763 #include <math.h>
59764                       #ifdef HAVE_IEEEFP_H
59765                       #include <ieeefp.h>
59766                       #endif
59767
59768 int
59769 main ()
59770 {
59771  _sqrtl(0);
59772   ;
59773   return 0;
59774 }
59775 _ACEOF
59776 rm -f conftest.$ac_objext
59777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59778   (eval $ac_compile) 2>conftest.er1
59779   ac_status=$?
59780   grep -v '^ *+' conftest.er1 >conftest.err
59781   rm -f conftest.er1
59782   cat conftest.err >&5
59783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59784   (exit $ac_status); } &&
59785          { ac_try='test -z "$ac_cxx_werror_flag"
59786                          || test ! -s conftest.err'
59787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59788   (eval $ac_try) 2>&5
59789   ac_status=$?
59790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59791   (exit $ac_status); }; } &&
59792          { ac_try='test -s conftest.$ac_objext'
59793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59794   (eval $ac_try) 2>&5
59795   ac_status=$?
59796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59797   (exit $ac_status); }; }; then
59798   glibcxx_cv_func__sqrtl_use=yes
59799 else
59800   echo "$as_me: failed program was:" >&5
59801 sed 's/^/| /' conftest.$ac_ext >&5
59802
59803 glibcxx_cv_func__sqrtl_use=no
59804 fi
59805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59806       ac_ext=c
59807 ac_cpp='$CPP $CPPFLAGS'
59808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59811
59812
59813 fi
59814
59815   fi
59816   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59817 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59818
59819     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59820
59821 for ac_func in _sqrtl
59822 do
59823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59824 echo "$as_me:$LINENO: checking for $ac_func" >&5
59825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59826 if eval "test \"\${$as_ac_var+set}\" = set"; then
59827   echo $ECHO_N "(cached) $ECHO_C" >&6
59828 else
59829   if test x$gcc_no_link = xyes; then
59830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59832    { (exit 1); exit 1; }; }
59833 fi
59834 cat >conftest.$ac_ext <<_ACEOF
59835 /* confdefs.h.  */
59836 _ACEOF
59837 cat confdefs.h >>conftest.$ac_ext
59838 cat >>conftest.$ac_ext <<_ACEOF
59839 /* end confdefs.h.  */
59840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59842 #define $ac_func innocuous_$ac_func
59843
59844 /* System header to define __stub macros and hopefully few prototypes,
59845     which can conflict with char $ac_func (); below.
59846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59847     <limits.h> exists even on freestanding compilers.  */
59848
59849 #ifdef __STDC__
59850 # include <limits.h>
59851 #else
59852 # include <assert.h>
59853 #endif
59854
59855 #undef $ac_func
59856
59857 /* Override any gcc2 internal prototype to avoid an error.  */
59858 #ifdef __cplusplus
59859 extern "C"
59860 {
59861 #endif
59862 /* We use char because int might match the return type of a gcc2
59863    builtin and then its argument prototype would still apply.  */
59864 char $ac_func ();
59865 /* The GNU C library defines this for functions which it implements
59866     to always fail with ENOSYS.  Some functions are actually named
59867     something starting with __ and the normal name is an alias.  */
59868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59869 choke me
59870 #else
59871 char (*f) () = $ac_func;
59872 #endif
59873 #ifdef __cplusplus
59874 }
59875 #endif
59876
59877 int
59878 main ()
59879 {
59880 return f != $ac_func;
59881   ;
59882   return 0;
59883 }
59884 _ACEOF
59885 rm -f conftest.$ac_objext conftest$ac_exeext
59886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59887   (eval $ac_link) 2>conftest.er1
59888   ac_status=$?
59889   grep -v '^ *+' conftest.er1 >conftest.err
59890   rm -f conftest.er1
59891   cat conftest.err >&5
59892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59893   (exit $ac_status); } &&
59894          { ac_try='test -z "$ac_c_werror_flag"
59895                          || test ! -s conftest.err'
59896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59897   (eval $ac_try) 2>&5
59898   ac_status=$?
59899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59900   (exit $ac_status); }; } &&
59901          { ac_try='test -s conftest$ac_exeext'
59902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59903   (eval $ac_try) 2>&5
59904   ac_status=$?
59905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59906   (exit $ac_status); }; }; then
59907   eval "$as_ac_var=yes"
59908 else
59909   echo "$as_me: failed program was:" >&5
59910 sed 's/^/| /' conftest.$ac_ext >&5
59911
59912 eval "$as_ac_var=no"
59913 fi
59914 rm -f conftest.err conftest.$ac_objext \
59915       conftest$ac_exeext conftest.$ac_ext
59916 fi
59917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59919 if test `eval echo '${'$as_ac_var'}'` = yes; then
59920   cat >>confdefs.h <<_ACEOF
59921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59922 _ACEOF
59923
59924 fi
59925 done
59926
59927     fi
59928   fi
59929
59930
59931
59932
59933
59934
59935   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59936 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59937   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59938     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59939   echo $ECHO_N "(cached) $ECHO_C" >&6
59940 else
59941
59942
59943
59944       ac_ext=cc
59945 ac_cpp='$CXXCPP $CPPFLAGS'
59946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59949
59950       cat >conftest.$ac_ext <<_ACEOF
59951 /* confdefs.h.  */
59952 _ACEOF
59953 cat confdefs.h >>conftest.$ac_ext
59954 cat >>conftest.$ac_ext <<_ACEOF
59955 /* end confdefs.h.  */
59956 #include <math.h>
59957 int
59958 main ()
59959 {
59960  sincosl(0, 0, 0);
59961   ;
59962   return 0;
59963 }
59964 _ACEOF
59965 rm -f conftest.$ac_objext
59966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59967   (eval $ac_compile) 2>conftest.er1
59968   ac_status=$?
59969   grep -v '^ *+' conftest.er1 >conftest.err
59970   rm -f conftest.er1
59971   cat conftest.err >&5
59972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59973   (exit $ac_status); } &&
59974          { ac_try='test -z "$ac_cxx_werror_flag"
59975                          || test ! -s conftest.err'
59976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59977   (eval $ac_try) 2>&5
59978   ac_status=$?
59979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59980   (exit $ac_status); }; } &&
59981          { ac_try='test -s conftest.$ac_objext'
59982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59983   (eval $ac_try) 2>&5
59984   ac_status=$?
59985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59986   (exit $ac_status); }; }; then
59987   glibcxx_cv_func_sincosl_use=yes
59988 else
59989   echo "$as_me: failed program was:" >&5
59990 sed 's/^/| /' conftest.$ac_ext >&5
59991
59992 glibcxx_cv_func_sincosl_use=no
59993 fi
59994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59995       ac_ext=c
59996 ac_cpp='$CPP $CPPFLAGS'
59997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60000
60001
60002 fi
60003
60004   fi
60005   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60006 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60007
60008   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60009
60010 for ac_func in sincosl
60011 do
60012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60013 echo "$as_me:$LINENO: checking for $ac_func" >&5
60014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60015 if eval "test \"\${$as_ac_var+set}\" = set"; then
60016   echo $ECHO_N "(cached) $ECHO_C" >&6
60017 else
60018   if test x$gcc_no_link = xyes; then
60019   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60021    { (exit 1); exit 1; }; }
60022 fi
60023 cat >conftest.$ac_ext <<_ACEOF
60024 /* confdefs.h.  */
60025 _ACEOF
60026 cat confdefs.h >>conftest.$ac_ext
60027 cat >>conftest.$ac_ext <<_ACEOF
60028 /* end confdefs.h.  */
60029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60031 #define $ac_func innocuous_$ac_func
60032
60033 /* System header to define __stub macros and hopefully few prototypes,
60034     which can conflict with char $ac_func (); below.
60035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60036     <limits.h> exists even on freestanding compilers.  */
60037
60038 #ifdef __STDC__
60039 # include <limits.h>
60040 #else
60041 # include <assert.h>
60042 #endif
60043
60044 #undef $ac_func
60045
60046 /* Override any gcc2 internal prototype to avoid an error.  */
60047 #ifdef __cplusplus
60048 extern "C"
60049 {
60050 #endif
60051 /* We use char because int might match the return type of a gcc2
60052    builtin and then its argument prototype would still apply.  */
60053 char $ac_func ();
60054 /* The GNU C library defines this for functions which it implements
60055     to always fail with ENOSYS.  Some functions are actually named
60056     something starting with __ and the normal name is an alias.  */
60057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60058 choke me
60059 #else
60060 char (*f) () = $ac_func;
60061 #endif
60062 #ifdef __cplusplus
60063 }
60064 #endif
60065
60066 int
60067 main ()
60068 {
60069 return f != $ac_func;
60070   ;
60071   return 0;
60072 }
60073 _ACEOF
60074 rm -f conftest.$ac_objext conftest$ac_exeext
60075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60076   (eval $ac_link) 2>conftest.er1
60077   ac_status=$?
60078   grep -v '^ *+' conftest.er1 >conftest.err
60079   rm -f conftest.er1
60080   cat conftest.err >&5
60081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60082   (exit $ac_status); } &&
60083          { ac_try='test -z "$ac_c_werror_flag"
60084                          || test ! -s conftest.err'
60085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60086   (eval $ac_try) 2>&5
60087   ac_status=$?
60088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60089   (exit $ac_status); }; } &&
60090          { ac_try='test -s conftest$ac_exeext'
60091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60092   (eval $ac_try) 2>&5
60093   ac_status=$?
60094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60095   (exit $ac_status); }; }; then
60096   eval "$as_ac_var=yes"
60097 else
60098   echo "$as_me: failed program was:" >&5
60099 sed 's/^/| /' conftest.$ac_ext >&5
60100
60101 eval "$as_ac_var=no"
60102 fi
60103 rm -f conftest.err conftest.$ac_objext \
60104       conftest$ac_exeext conftest.$ac_ext
60105 fi
60106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60108 if test `eval echo '${'$as_ac_var'}'` = yes; then
60109   cat >>confdefs.h <<_ACEOF
60110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60111 _ACEOF
60112
60113 fi
60114 done
60115
60116   else
60117
60118   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60119 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60120   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60121     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60122   echo $ECHO_N "(cached) $ECHO_C" >&6
60123 else
60124
60125
60126
60127       ac_ext=cc
60128 ac_cpp='$CXXCPP $CPPFLAGS'
60129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60132
60133       cat >conftest.$ac_ext <<_ACEOF
60134 /* confdefs.h.  */
60135 _ACEOF
60136 cat confdefs.h >>conftest.$ac_ext
60137 cat >>conftest.$ac_ext <<_ACEOF
60138 /* end confdefs.h.  */
60139 #include <math.h>
60140 int
60141 main ()
60142 {
60143  _sincosl(0, 0, 0);
60144   ;
60145   return 0;
60146 }
60147 _ACEOF
60148 rm -f conftest.$ac_objext
60149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60150   (eval $ac_compile) 2>conftest.er1
60151   ac_status=$?
60152   grep -v '^ *+' conftest.er1 >conftest.err
60153   rm -f conftest.er1
60154   cat conftest.err >&5
60155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60156   (exit $ac_status); } &&
60157          { ac_try='test -z "$ac_cxx_werror_flag"
60158                          || test ! -s conftest.err'
60159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60160   (eval $ac_try) 2>&5
60161   ac_status=$?
60162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60163   (exit $ac_status); }; } &&
60164          { ac_try='test -s conftest.$ac_objext'
60165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60166   (eval $ac_try) 2>&5
60167   ac_status=$?
60168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60169   (exit $ac_status); }; }; then
60170   glibcxx_cv_func__sincosl_use=yes
60171 else
60172   echo "$as_me: failed program was:" >&5
60173 sed 's/^/| /' conftest.$ac_ext >&5
60174
60175 glibcxx_cv_func__sincosl_use=no
60176 fi
60177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60178       ac_ext=c
60179 ac_cpp='$CPP $CPPFLAGS'
60180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60183
60184
60185 fi
60186
60187   fi
60188   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60189 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60190
60191     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60192
60193 for ac_func in _sincosl
60194 do
60195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60196 echo "$as_me:$LINENO: checking for $ac_func" >&5
60197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60198 if eval "test \"\${$as_ac_var+set}\" = set"; then
60199   echo $ECHO_N "(cached) $ECHO_C" >&6
60200 else
60201   if test x$gcc_no_link = xyes; then
60202   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60204    { (exit 1); exit 1; }; }
60205 fi
60206 cat >conftest.$ac_ext <<_ACEOF
60207 /* confdefs.h.  */
60208 _ACEOF
60209 cat confdefs.h >>conftest.$ac_ext
60210 cat >>conftest.$ac_ext <<_ACEOF
60211 /* end confdefs.h.  */
60212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60213    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60214 #define $ac_func innocuous_$ac_func
60215
60216 /* System header to define __stub macros and hopefully few prototypes,
60217     which can conflict with char $ac_func (); below.
60218     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60219     <limits.h> exists even on freestanding compilers.  */
60220
60221 #ifdef __STDC__
60222 # include <limits.h>
60223 #else
60224 # include <assert.h>
60225 #endif
60226
60227 #undef $ac_func
60228
60229 /* Override any gcc2 internal prototype to avoid an error.  */
60230 #ifdef __cplusplus
60231 extern "C"
60232 {
60233 #endif
60234 /* We use char because int might match the return type of a gcc2
60235    builtin and then its argument prototype would still apply.  */
60236 char $ac_func ();
60237 /* The GNU C library defines this for functions which it implements
60238     to always fail with ENOSYS.  Some functions are actually named
60239     something starting with __ and the normal name is an alias.  */
60240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60241 choke me
60242 #else
60243 char (*f) () = $ac_func;
60244 #endif
60245 #ifdef __cplusplus
60246 }
60247 #endif
60248
60249 int
60250 main ()
60251 {
60252 return f != $ac_func;
60253   ;
60254   return 0;
60255 }
60256 _ACEOF
60257 rm -f conftest.$ac_objext conftest$ac_exeext
60258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60259   (eval $ac_link) 2>conftest.er1
60260   ac_status=$?
60261   grep -v '^ *+' conftest.er1 >conftest.err
60262   rm -f conftest.er1
60263   cat conftest.err >&5
60264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60265   (exit $ac_status); } &&
60266          { ac_try='test -z "$ac_c_werror_flag"
60267                          || test ! -s conftest.err'
60268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60269   (eval $ac_try) 2>&5
60270   ac_status=$?
60271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60272   (exit $ac_status); }; } &&
60273          { ac_try='test -s conftest$ac_exeext'
60274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60275   (eval $ac_try) 2>&5
60276   ac_status=$?
60277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60278   (exit $ac_status); }; }; then
60279   eval "$as_ac_var=yes"
60280 else
60281   echo "$as_me: failed program was:" >&5
60282 sed 's/^/| /' conftest.$ac_ext >&5
60283
60284 eval "$as_ac_var=no"
60285 fi
60286 rm -f conftest.err conftest.$ac_objext \
60287       conftest$ac_exeext conftest.$ac_ext
60288 fi
60289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60291 if test `eval echo '${'$as_ac_var'}'` = yes; then
60292   cat >>confdefs.h <<_ACEOF
60293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60294 _ACEOF
60295
60296 fi
60297 done
60298
60299     fi
60300   fi
60301
60302
60303
60304
60305
60306
60307   echo "$as_me:$LINENO: checking for finitel declaration" >&5
60308 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60309   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60310     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60311   echo $ECHO_N "(cached) $ECHO_C" >&6
60312 else
60313
60314
60315
60316       ac_ext=cc
60317 ac_cpp='$CXXCPP $CPPFLAGS'
60318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60321
60322       cat >conftest.$ac_ext <<_ACEOF
60323 /* confdefs.h.  */
60324 _ACEOF
60325 cat confdefs.h >>conftest.$ac_ext
60326 cat >>conftest.$ac_ext <<_ACEOF
60327 /* end confdefs.h.  */
60328 #include <math.h>
60329                       #ifdef HAVE_IEEEFP_H
60330                       #include <ieeefp.h>
60331                       #endif
60332
60333 int
60334 main ()
60335 {
60336  finitel(0);
60337   ;
60338   return 0;
60339 }
60340 _ACEOF
60341 rm -f conftest.$ac_objext
60342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60343   (eval $ac_compile) 2>conftest.er1
60344   ac_status=$?
60345   grep -v '^ *+' conftest.er1 >conftest.err
60346   rm -f conftest.er1
60347   cat conftest.err >&5
60348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60349   (exit $ac_status); } &&
60350          { ac_try='test -z "$ac_cxx_werror_flag"
60351                          || test ! -s conftest.err'
60352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60353   (eval $ac_try) 2>&5
60354   ac_status=$?
60355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60356   (exit $ac_status); }; } &&
60357          { ac_try='test -s conftest.$ac_objext'
60358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60359   (eval $ac_try) 2>&5
60360   ac_status=$?
60361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60362   (exit $ac_status); }; }; then
60363   glibcxx_cv_func_finitel_use=yes
60364 else
60365   echo "$as_me: failed program was:" >&5
60366 sed 's/^/| /' conftest.$ac_ext >&5
60367
60368 glibcxx_cv_func_finitel_use=no
60369 fi
60370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60371       ac_ext=c
60372 ac_cpp='$CPP $CPPFLAGS'
60373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60376
60377
60378 fi
60379
60380   fi
60381   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60382 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60383
60384   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60385
60386 for ac_func in finitel
60387 do
60388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60389 echo "$as_me:$LINENO: checking for $ac_func" >&5
60390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60391 if eval "test \"\${$as_ac_var+set}\" = set"; then
60392   echo $ECHO_N "(cached) $ECHO_C" >&6
60393 else
60394   if test x$gcc_no_link = xyes; then
60395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60397    { (exit 1); exit 1; }; }
60398 fi
60399 cat >conftest.$ac_ext <<_ACEOF
60400 /* confdefs.h.  */
60401 _ACEOF
60402 cat confdefs.h >>conftest.$ac_ext
60403 cat >>conftest.$ac_ext <<_ACEOF
60404 /* end confdefs.h.  */
60405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60406    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60407 #define $ac_func innocuous_$ac_func
60408
60409 /* System header to define __stub macros and hopefully few prototypes,
60410     which can conflict with char $ac_func (); below.
60411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60412     <limits.h> exists even on freestanding compilers.  */
60413
60414 #ifdef __STDC__
60415 # include <limits.h>
60416 #else
60417 # include <assert.h>
60418 #endif
60419
60420 #undef $ac_func
60421
60422 /* Override any gcc2 internal prototype to avoid an error.  */
60423 #ifdef __cplusplus
60424 extern "C"
60425 {
60426 #endif
60427 /* We use char because int might match the return type of a gcc2
60428    builtin and then its argument prototype would still apply.  */
60429 char $ac_func ();
60430 /* The GNU C library defines this for functions which it implements
60431     to always fail with ENOSYS.  Some functions are actually named
60432     something starting with __ and the normal name is an alias.  */
60433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60434 choke me
60435 #else
60436 char (*f) () = $ac_func;
60437 #endif
60438 #ifdef __cplusplus
60439 }
60440 #endif
60441
60442 int
60443 main ()
60444 {
60445 return f != $ac_func;
60446   ;
60447   return 0;
60448 }
60449 _ACEOF
60450 rm -f conftest.$ac_objext conftest$ac_exeext
60451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60452   (eval $ac_link) 2>conftest.er1
60453   ac_status=$?
60454   grep -v '^ *+' conftest.er1 >conftest.err
60455   rm -f conftest.er1
60456   cat conftest.err >&5
60457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60458   (exit $ac_status); } &&
60459          { ac_try='test -z "$ac_c_werror_flag"
60460                          || test ! -s conftest.err'
60461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60462   (eval $ac_try) 2>&5
60463   ac_status=$?
60464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60465   (exit $ac_status); }; } &&
60466          { ac_try='test -s conftest$ac_exeext'
60467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60468   (eval $ac_try) 2>&5
60469   ac_status=$?
60470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60471   (exit $ac_status); }; }; then
60472   eval "$as_ac_var=yes"
60473 else
60474   echo "$as_me: failed program was:" >&5
60475 sed 's/^/| /' conftest.$ac_ext >&5
60476
60477 eval "$as_ac_var=no"
60478 fi
60479 rm -f conftest.err conftest.$ac_objext \
60480       conftest$ac_exeext conftest.$ac_ext
60481 fi
60482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60484 if test `eval echo '${'$as_ac_var'}'` = yes; then
60485   cat >>confdefs.h <<_ACEOF
60486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60487 _ACEOF
60488
60489 fi
60490 done
60491
60492   else
60493
60494   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60495 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60496   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60497     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60498   echo $ECHO_N "(cached) $ECHO_C" >&6
60499 else
60500
60501
60502
60503       ac_ext=cc
60504 ac_cpp='$CXXCPP $CPPFLAGS'
60505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60508
60509       cat >conftest.$ac_ext <<_ACEOF
60510 /* confdefs.h.  */
60511 _ACEOF
60512 cat confdefs.h >>conftest.$ac_ext
60513 cat >>conftest.$ac_ext <<_ACEOF
60514 /* end confdefs.h.  */
60515 #include <math.h>
60516                       #ifdef HAVE_IEEEFP_H
60517                       #include <ieeefp.h>
60518                       #endif
60519
60520 int
60521 main ()
60522 {
60523  _finitel(0);
60524   ;
60525   return 0;
60526 }
60527 _ACEOF
60528 rm -f conftest.$ac_objext
60529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60530   (eval $ac_compile) 2>conftest.er1
60531   ac_status=$?
60532   grep -v '^ *+' conftest.er1 >conftest.err
60533   rm -f conftest.er1
60534   cat conftest.err >&5
60535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60536   (exit $ac_status); } &&
60537          { ac_try='test -z "$ac_cxx_werror_flag"
60538                          || test ! -s conftest.err'
60539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60540   (eval $ac_try) 2>&5
60541   ac_status=$?
60542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60543   (exit $ac_status); }; } &&
60544          { ac_try='test -s conftest.$ac_objext'
60545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60546   (eval $ac_try) 2>&5
60547   ac_status=$?
60548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60549   (exit $ac_status); }; }; then
60550   glibcxx_cv_func__finitel_use=yes
60551 else
60552   echo "$as_me: failed program was:" >&5
60553 sed 's/^/| /' conftest.$ac_ext >&5
60554
60555 glibcxx_cv_func__finitel_use=no
60556 fi
60557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60558       ac_ext=c
60559 ac_cpp='$CPP $CPPFLAGS'
60560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60563
60564
60565 fi
60566
60567   fi
60568   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60569 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60570
60571     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60572
60573 for ac_func in _finitel
60574 do
60575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60576 echo "$as_me:$LINENO: checking for $ac_func" >&5
60577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60578 if eval "test \"\${$as_ac_var+set}\" = set"; then
60579   echo $ECHO_N "(cached) $ECHO_C" >&6
60580 else
60581   if test x$gcc_no_link = xyes; then
60582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60584    { (exit 1); exit 1; }; }
60585 fi
60586 cat >conftest.$ac_ext <<_ACEOF
60587 /* confdefs.h.  */
60588 _ACEOF
60589 cat confdefs.h >>conftest.$ac_ext
60590 cat >>conftest.$ac_ext <<_ACEOF
60591 /* end confdefs.h.  */
60592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60594 #define $ac_func innocuous_$ac_func
60595
60596 /* System header to define __stub macros and hopefully few prototypes,
60597     which can conflict with char $ac_func (); below.
60598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60599     <limits.h> exists even on freestanding compilers.  */
60600
60601 #ifdef __STDC__
60602 # include <limits.h>
60603 #else
60604 # include <assert.h>
60605 #endif
60606
60607 #undef $ac_func
60608
60609 /* Override any gcc2 internal prototype to avoid an error.  */
60610 #ifdef __cplusplus
60611 extern "C"
60612 {
60613 #endif
60614 /* We use char because int might match the return type of a gcc2
60615    builtin and then its argument prototype would still apply.  */
60616 char $ac_func ();
60617 /* The GNU C library defines this for functions which it implements
60618     to always fail with ENOSYS.  Some functions are actually named
60619     something starting with __ and the normal name is an alias.  */
60620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60621 choke me
60622 #else
60623 char (*f) () = $ac_func;
60624 #endif
60625 #ifdef __cplusplus
60626 }
60627 #endif
60628
60629 int
60630 main ()
60631 {
60632 return f != $ac_func;
60633   ;
60634   return 0;
60635 }
60636 _ACEOF
60637 rm -f conftest.$ac_objext conftest$ac_exeext
60638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60639   (eval $ac_link) 2>conftest.er1
60640   ac_status=$?
60641   grep -v '^ *+' conftest.er1 >conftest.err
60642   rm -f conftest.er1
60643   cat conftest.err >&5
60644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645   (exit $ac_status); } &&
60646          { ac_try='test -z "$ac_c_werror_flag"
60647                          || test ! -s conftest.err'
60648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60649   (eval $ac_try) 2>&5
60650   ac_status=$?
60651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60652   (exit $ac_status); }; } &&
60653          { ac_try='test -s conftest$ac_exeext'
60654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60655   (eval $ac_try) 2>&5
60656   ac_status=$?
60657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60658   (exit $ac_status); }; }; then
60659   eval "$as_ac_var=yes"
60660 else
60661   echo "$as_me: failed program was:" >&5
60662 sed 's/^/| /' conftest.$ac_ext >&5
60663
60664 eval "$as_ac_var=no"
60665 fi
60666 rm -f conftest.err conftest.$ac_objext \
60667       conftest$ac_exeext conftest.$ac_ext
60668 fi
60669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60671 if test `eval echo '${'$as_ac_var'}'` = yes; then
60672   cat >>confdefs.h <<_ACEOF
60673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60674 _ACEOF
60675
60676 fi
60677 done
60678
60679     fi
60680   fi
60681
60682
60683
60684
60685
60686   LIBS="$ac_save_LIBS"
60687   CXXFLAGS="$ac_save_CXXFLAGS"
60688
60689
60690
60691   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60692 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60693   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60694     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60695   echo $ECHO_N "(cached) $ECHO_C" >&6
60696 else
60697
60698
60699
60700       ac_ext=cc
60701 ac_cpp='$CXXCPP $CPPFLAGS'
60702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60705
60706       cat >conftest.$ac_ext <<_ACEOF
60707 /* confdefs.h.  */
60708 _ACEOF
60709 cat confdefs.h >>conftest.$ac_ext
60710 cat >>conftest.$ac_ext <<_ACEOF
60711 /* end confdefs.h.  */
60712 #include <math.h>
60713 int
60714 main ()
60715 {
60716  __builtin_abs(0);
60717   ;
60718   return 0;
60719 }
60720 _ACEOF
60721 rm -f conftest.$ac_objext
60722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60723   (eval $ac_compile) 2>conftest.er1
60724   ac_status=$?
60725   grep -v '^ *+' conftest.er1 >conftest.err
60726   rm -f conftest.er1
60727   cat conftest.err >&5
60728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60729   (exit $ac_status); } &&
60730          { ac_try='test -z "$ac_cxx_werror_flag"
60731                          || test ! -s conftest.err'
60732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60733   (eval $ac_try) 2>&5
60734   ac_status=$?
60735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60736   (exit $ac_status); }; } &&
60737          { ac_try='test -s conftest.$ac_objext'
60738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60739   (eval $ac_try) 2>&5
60740   ac_status=$?
60741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742   (exit $ac_status); }; }; then
60743   glibcxx_cv_func___builtin_abs_use=yes
60744 else
60745   echo "$as_me: failed program was:" >&5
60746 sed 's/^/| /' conftest.$ac_ext >&5
60747
60748 glibcxx_cv_func___builtin_abs_use=no
60749 fi
60750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60751       ac_ext=c
60752 ac_cpp='$CPP $CPPFLAGS'
60753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60756
60757
60758 fi
60759
60760   fi
60761   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60762 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60763   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60764     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60765 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60766     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60767       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60768   echo $ECHO_N "(cached) $ECHO_C" >&6
60769 else
60770
60771         if test x$gcc_no_link = xyes; then
60772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60774    { (exit 1); exit 1; }; }
60775 fi
60776 cat >conftest.$ac_ext <<_ACEOF
60777 /* confdefs.h.  */
60778 _ACEOF
60779 cat confdefs.h >>conftest.$ac_ext
60780 cat >>conftest.$ac_ext <<_ACEOF
60781 /* end confdefs.h.  */
60782 #include <math.h>
60783 int
60784 main ()
60785 {
60786  __builtin_abs(0);
60787   ;
60788   return 0;
60789 }
60790 _ACEOF
60791 rm -f conftest.$ac_objext conftest$ac_exeext
60792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60793   (eval $ac_link) 2>conftest.er1
60794   ac_status=$?
60795   grep -v '^ *+' conftest.er1 >conftest.err
60796   rm -f conftest.er1
60797   cat conftest.err >&5
60798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799   (exit $ac_status); } &&
60800          { ac_try='test -z "$ac_c_werror_flag"
60801                          || test ! -s conftest.err'
60802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803   (eval $ac_try) 2>&5
60804   ac_status=$?
60805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806   (exit $ac_status); }; } &&
60807          { ac_try='test -s conftest$ac_exeext'
60808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60809   (eval $ac_try) 2>&5
60810   ac_status=$?
60811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60812   (exit $ac_status); }; }; then
60813   glibcxx_cv_func___builtin_abs_link=yes
60814 else
60815   echo "$as_me: failed program was:" >&5
60816 sed 's/^/| /' conftest.$ac_ext >&5
60817
60818 glibcxx_cv_func___builtin_abs_link=no
60819 fi
60820 rm -f conftest.err conftest.$ac_objext \
60821       conftest$ac_exeext conftest.$ac_ext
60822
60823 fi
60824
60825     fi
60826     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60827 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60828
60829     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60830
60831 cat >>confdefs.h <<\_ACEOF
60832 #define HAVE___BUILTIN_ABS 1
60833 _ACEOF
60834
60835     fi
60836
60837   fi
60838
60839
60840   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60841 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60842   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60843     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60844   echo $ECHO_N "(cached) $ECHO_C" >&6
60845 else
60846
60847
60848
60849       ac_ext=cc
60850 ac_cpp='$CXXCPP $CPPFLAGS'
60851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60854
60855       cat >conftest.$ac_ext <<_ACEOF
60856 /* confdefs.h.  */
60857 _ACEOF
60858 cat confdefs.h >>conftest.$ac_ext
60859 cat >>conftest.$ac_ext <<_ACEOF
60860 /* end confdefs.h.  */
60861 #include <math.h>
60862 int
60863 main ()
60864 {
60865  __builtin_fabsf(0);
60866   ;
60867   return 0;
60868 }
60869 _ACEOF
60870 rm -f conftest.$ac_objext
60871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60872   (eval $ac_compile) 2>conftest.er1
60873   ac_status=$?
60874   grep -v '^ *+' conftest.er1 >conftest.err
60875   rm -f conftest.er1
60876   cat conftest.err >&5
60877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60878   (exit $ac_status); } &&
60879          { ac_try='test -z "$ac_cxx_werror_flag"
60880                          || test ! -s conftest.err'
60881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60882   (eval $ac_try) 2>&5
60883   ac_status=$?
60884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60885   (exit $ac_status); }; } &&
60886          { ac_try='test -s conftest.$ac_objext'
60887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60888   (eval $ac_try) 2>&5
60889   ac_status=$?
60890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60891   (exit $ac_status); }; }; then
60892   glibcxx_cv_func___builtin_fabsf_use=yes
60893 else
60894   echo "$as_me: failed program was:" >&5
60895 sed 's/^/| /' conftest.$ac_ext >&5
60896
60897 glibcxx_cv_func___builtin_fabsf_use=no
60898 fi
60899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60900       ac_ext=c
60901 ac_cpp='$CPP $CPPFLAGS'
60902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60905
60906
60907 fi
60908
60909   fi
60910   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
60911 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
60912   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
60913     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
60914 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
60915     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
60916       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
60917   echo $ECHO_N "(cached) $ECHO_C" >&6
60918 else
60919
60920         if test x$gcc_no_link = xyes; then
60921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60923    { (exit 1); exit 1; }; }
60924 fi
60925 cat >conftest.$ac_ext <<_ACEOF
60926 /* confdefs.h.  */
60927 _ACEOF
60928 cat confdefs.h >>conftest.$ac_ext
60929 cat >>conftest.$ac_ext <<_ACEOF
60930 /* end confdefs.h.  */
60931 #include <math.h>
60932 int
60933 main ()
60934 {
60935  __builtin_fabsf(0);
60936   ;
60937   return 0;
60938 }
60939 _ACEOF
60940 rm -f conftest.$ac_objext conftest$ac_exeext
60941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60942   (eval $ac_link) 2>conftest.er1
60943   ac_status=$?
60944   grep -v '^ *+' conftest.er1 >conftest.err
60945   rm -f conftest.er1
60946   cat conftest.err >&5
60947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60948   (exit $ac_status); } &&
60949          { ac_try='test -z "$ac_c_werror_flag"
60950                          || test ! -s conftest.err'
60951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60952   (eval $ac_try) 2>&5
60953   ac_status=$?
60954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60955   (exit $ac_status); }; } &&
60956          { ac_try='test -s conftest$ac_exeext'
60957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60958   (eval $ac_try) 2>&5
60959   ac_status=$?
60960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60961   (exit $ac_status); }; }; then
60962   glibcxx_cv_func___builtin_fabsf_link=yes
60963 else
60964   echo "$as_me: failed program was:" >&5
60965 sed 's/^/| /' conftest.$ac_ext >&5
60966
60967 glibcxx_cv_func___builtin_fabsf_link=no
60968 fi
60969 rm -f conftest.err conftest.$ac_objext \
60970       conftest$ac_exeext conftest.$ac_ext
60971
60972 fi
60973
60974     fi
60975     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60976 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60977
60978     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60979
60980 cat >>confdefs.h <<\_ACEOF
60981 #define HAVE___BUILTIN_FABSF 1
60982 _ACEOF
60983
60984     fi
60985
60986   fi
60987
60988
60989   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60990 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60991   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60992     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60993   echo $ECHO_N "(cached) $ECHO_C" >&6
60994 else
60995
60996
60997
60998       ac_ext=cc
60999 ac_cpp='$CXXCPP $CPPFLAGS'
61000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61003
61004       cat >conftest.$ac_ext <<_ACEOF
61005 /* confdefs.h.  */
61006 _ACEOF
61007 cat confdefs.h >>conftest.$ac_ext
61008 cat >>conftest.$ac_ext <<_ACEOF
61009 /* end confdefs.h.  */
61010 #include <math.h>
61011 int
61012 main ()
61013 {
61014  __builtin_fabs(0);
61015   ;
61016   return 0;
61017 }
61018 _ACEOF
61019 rm -f conftest.$ac_objext
61020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61021   (eval $ac_compile) 2>conftest.er1
61022   ac_status=$?
61023   grep -v '^ *+' conftest.er1 >conftest.err
61024   rm -f conftest.er1
61025   cat conftest.err >&5
61026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61027   (exit $ac_status); } &&
61028          { ac_try='test -z "$ac_cxx_werror_flag"
61029                          || test ! -s conftest.err'
61030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61031   (eval $ac_try) 2>&5
61032   ac_status=$?
61033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61034   (exit $ac_status); }; } &&
61035          { ac_try='test -s conftest.$ac_objext'
61036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61037   (eval $ac_try) 2>&5
61038   ac_status=$?
61039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61040   (exit $ac_status); }; }; then
61041   glibcxx_cv_func___builtin_fabs_use=yes
61042 else
61043   echo "$as_me: failed program was:" >&5
61044 sed 's/^/| /' conftest.$ac_ext >&5
61045
61046 glibcxx_cv_func___builtin_fabs_use=no
61047 fi
61048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61049       ac_ext=c
61050 ac_cpp='$CPP $CPPFLAGS'
61051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61054
61055
61056 fi
61057
61058   fi
61059   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61060 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61061   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61062     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61063 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61064     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61065       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61066   echo $ECHO_N "(cached) $ECHO_C" >&6
61067 else
61068
61069         if test x$gcc_no_link = xyes; then
61070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61072    { (exit 1); exit 1; }; }
61073 fi
61074 cat >conftest.$ac_ext <<_ACEOF
61075 /* confdefs.h.  */
61076 _ACEOF
61077 cat confdefs.h >>conftest.$ac_ext
61078 cat >>conftest.$ac_ext <<_ACEOF
61079 /* end confdefs.h.  */
61080 #include <math.h>
61081 int
61082 main ()
61083 {
61084  __builtin_fabs(0);
61085   ;
61086   return 0;
61087 }
61088 _ACEOF
61089 rm -f conftest.$ac_objext conftest$ac_exeext
61090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61091   (eval $ac_link) 2>conftest.er1
61092   ac_status=$?
61093   grep -v '^ *+' conftest.er1 >conftest.err
61094   rm -f conftest.er1
61095   cat conftest.err >&5
61096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61097   (exit $ac_status); } &&
61098          { ac_try='test -z "$ac_c_werror_flag"
61099                          || test ! -s conftest.err'
61100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61101   (eval $ac_try) 2>&5
61102   ac_status=$?
61103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61104   (exit $ac_status); }; } &&
61105          { ac_try='test -s conftest$ac_exeext'
61106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61107   (eval $ac_try) 2>&5
61108   ac_status=$?
61109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61110   (exit $ac_status); }; }; then
61111   glibcxx_cv_func___builtin_fabs_link=yes
61112 else
61113   echo "$as_me: failed program was:" >&5
61114 sed 's/^/| /' conftest.$ac_ext >&5
61115
61116 glibcxx_cv_func___builtin_fabs_link=no
61117 fi
61118 rm -f conftest.err conftest.$ac_objext \
61119       conftest$ac_exeext conftest.$ac_ext
61120
61121 fi
61122
61123     fi
61124     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61125 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61126
61127     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61128
61129 cat >>confdefs.h <<\_ACEOF
61130 #define HAVE___BUILTIN_FABS 1
61131 _ACEOF
61132
61133     fi
61134
61135   fi
61136
61137
61138   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61139 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61140   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61141     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61142   echo $ECHO_N "(cached) $ECHO_C" >&6
61143 else
61144
61145
61146
61147       ac_ext=cc
61148 ac_cpp='$CXXCPP $CPPFLAGS'
61149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61152
61153       cat >conftest.$ac_ext <<_ACEOF
61154 /* confdefs.h.  */
61155 _ACEOF
61156 cat confdefs.h >>conftest.$ac_ext
61157 cat >>conftest.$ac_ext <<_ACEOF
61158 /* end confdefs.h.  */
61159 #include <math.h>
61160 int
61161 main ()
61162 {
61163  __builtin_fabsl(0);
61164   ;
61165   return 0;
61166 }
61167 _ACEOF
61168 rm -f conftest.$ac_objext
61169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61170   (eval $ac_compile) 2>conftest.er1
61171   ac_status=$?
61172   grep -v '^ *+' conftest.er1 >conftest.err
61173   rm -f conftest.er1
61174   cat conftest.err >&5
61175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61176   (exit $ac_status); } &&
61177          { ac_try='test -z "$ac_cxx_werror_flag"
61178                          || test ! -s conftest.err'
61179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61180   (eval $ac_try) 2>&5
61181   ac_status=$?
61182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61183   (exit $ac_status); }; } &&
61184          { ac_try='test -s conftest.$ac_objext'
61185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61186   (eval $ac_try) 2>&5
61187   ac_status=$?
61188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61189   (exit $ac_status); }; }; then
61190   glibcxx_cv_func___builtin_fabsl_use=yes
61191 else
61192   echo "$as_me: failed program was:" >&5
61193 sed 's/^/| /' conftest.$ac_ext >&5
61194
61195 glibcxx_cv_func___builtin_fabsl_use=no
61196 fi
61197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61198       ac_ext=c
61199 ac_cpp='$CPP $CPPFLAGS'
61200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61203
61204
61205 fi
61206
61207   fi
61208   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61209 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61210   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61211     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61212 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61213     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61214       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61215   echo $ECHO_N "(cached) $ECHO_C" >&6
61216 else
61217
61218         if test x$gcc_no_link = xyes; then
61219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61221    { (exit 1); exit 1; }; }
61222 fi
61223 cat >conftest.$ac_ext <<_ACEOF
61224 /* confdefs.h.  */
61225 _ACEOF
61226 cat confdefs.h >>conftest.$ac_ext
61227 cat >>conftest.$ac_ext <<_ACEOF
61228 /* end confdefs.h.  */
61229 #include <math.h>
61230 int
61231 main ()
61232 {
61233  __builtin_fabsl(0);
61234   ;
61235   return 0;
61236 }
61237 _ACEOF
61238 rm -f conftest.$ac_objext conftest$ac_exeext
61239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61240   (eval $ac_link) 2>conftest.er1
61241   ac_status=$?
61242   grep -v '^ *+' conftest.er1 >conftest.err
61243   rm -f conftest.er1
61244   cat conftest.err >&5
61245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61246   (exit $ac_status); } &&
61247          { ac_try='test -z "$ac_c_werror_flag"
61248                          || test ! -s conftest.err'
61249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61250   (eval $ac_try) 2>&5
61251   ac_status=$?
61252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61253   (exit $ac_status); }; } &&
61254          { ac_try='test -s conftest$ac_exeext'
61255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61256   (eval $ac_try) 2>&5
61257   ac_status=$?
61258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61259   (exit $ac_status); }; }; then
61260   glibcxx_cv_func___builtin_fabsl_link=yes
61261 else
61262   echo "$as_me: failed program was:" >&5
61263 sed 's/^/| /' conftest.$ac_ext >&5
61264
61265 glibcxx_cv_func___builtin_fabsl_link=no
61266 fi
61267 rm -f conftest.err conftest.$ac_objext \
61268       conftest$ac_exeext conftest.$ac_ext
61269
61270 fi
61271
61272     fi
61273     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61274 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61275
61276     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61277
61278 cat >>confdefs.h <<\_ACEOF
61279 #define HAVE___BUILTIN_FABSL 1
61280 _ACEOF
61281
61282     fi
61283
61284   fi
61285
61286
61287   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61288 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61289   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61290     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61291   echo $ECHO_N "(cached) $ECHO_C" >&6
61292 else
61293
61294
61295
61296       ac_ext=cc
61297 ac_cpp='$CXXCPP $CPPFLAGS'
61298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61301
61302       cat >conftest.$ac_ext <<_ACEOF
61303 /* confdefs.h.  */
61304 _ACEOF
61305 cat confdefs.h >>conftest.$ac_ext
61306 cat >>conftest.$ac_ext <<_ACEOF
61307 /* end confdefs.h.  */
61308 #include <math.h>
61309 int
61310 main ()
61311 {
61312  __builtin_labs(0);
61313   ;
61314   return 0;
61315 }
61316 _ACEOF
61317 rm -f conftest.$ac_objext
61318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61319   (eval $ac_compile) 2>conftest.er1
61320   ac_status=$?
61321   grep -v '^ *+' conftest.er1 >conftest.err
61322   rm -f conftest.er1
61323   cat conftest.err >&5
61324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61325   (exit $ac_status); } &&
61326          { ac_try='test -z "$ac_cxx_werror_flag"
61327                          || test ! -s conftest.err'
61328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61329   (eval $ac_try) 2>&5
61330   ac_status=$?
61331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61332   (exit $ac_status); }; } &&
61333          { ac_try='test -s conftest.$ac_objext'
61334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61335   (eval $ac_try) 2>&5
61336   ac_status=$?
61337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61338   (exit $ac_status); }; }; then
61339   glibcxx_cv_func___builtin_labs_use=yes
61340 else
61341   echo "$as_me: failed program was:" >&5
61342 sed 's/^/| /' conftest.$ac_ext >&5
61343
61344 glibcxx_cv_func___builtin_labs_use=no
61345 fi
61346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61347       ac_ext=c
61348 ac_cpp='$CPP $CPPFLAGS'
61349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61352
61353
61354 fi
61355
61356   fi
61357   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61358 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61359   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61360     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61361 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61362     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61363       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61364   echo $ECHO_N "(cached) $ECHO_C" >&6
61365 else
61366
61367         if test x$gcc_no_link = xyes; then
61368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61370    { (exit 1); exit 1; }; }
61371 fi
61372 cat >conftest.$ac_ext <<_ACEOF
61373 /* confdefs.h.  */
61374 _ACEOF
61375 cat confdefs.h >>conftest.$ac_ext
61376 cat >>conftest.$ac_ext <<_ACEOF
61377 /* end confdefs.h.  */
61378 #include <math.h>
61379 int
61380 main ()
61381 {
61382  __builtin_labs(0);
61383   ;
61384   return 0;
61385 }
61386 _ACEOF
61387 rm -f conftest.$ac_objext conftest$ac_exeext
61388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61389   (eval $ac_link) 2>conftest.er1
61390   ac_status=$?
61391   grep -v '^ *+' conftest.er1 >conftest.err
61392   rm -f conftest.er1
61393   cat conftest.err >&5
61394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61395   (exit $ac_status); } &&
61396          { ac_try='test -z "$ac_c_werror_flag"
61397                          || test ! -s conftest.err'
61398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61399   (eval $ac_try) 2>&5
61400   ac_status=$?
61401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61402   (exit $ac_status); }; } &&
61403          { ac_try='test -s conftest$ac_exeext'
61404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61405   (eval $ac_try) 2>&5
61406   ac_status=$?
61407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61408   (exit $ac_status); }; }; then
61409   glibcxx_cv_func___builtin_labs_link=yes
61410 else
61411   echo "$as_me: failed program was:" >&5
61412 sed 's/^/| /' conftest.$ac_ext >&5
61413
61414 glibcxx_cv_func___builtin_labs_link=no
61415 fi
61416 rm -f conftest.err conftest.$ac_objext \
61417       conftest$ac_exeext conftest.$ac_ext
61418
61419 fi
61420
61421     fi
61422     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61423 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61424
61425     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61426
61427 cat >>confdefs.h <<\_ACEOF
61428 #define HAVE___BUILTIN_LABS 1
61429 _ACEOF
61430
61431     fi
61432
61433   fi
61434
61435
61436
61437   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61438 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61439   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61440     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61441   echo $ECHO_N "(cached) $ECHO_C" >&6
61442 else
61443
61444
61445
61446       ac_ext=cc
61447 ac_cpp='$CXXCPP $CPPFLAGS'
61448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61451
61452       cat >conftest.$ac_ext <<_ACEOF
61453 /* confdefs.h.  */
61454 _ACEOF
61455 cat confdefs.h >>conftest.$ac_ext
61456 cat >>conftest.$ac_ext <<_ACEOF
61457 /* end confdefs.h.  */
61458 #include <math.h>
61459 int
61460 main ()
61461 {
61462  __builtin_sqrtf(0);
61463   ;
61464   return 0;
61465 }
61466 _ACEOF
61467 rm -f conftest.$ac_objext
61468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61469   (eval $ac_compile) 2>conftest.er1
61470   ac_status=$?
61471   grep -v '^ *+' conftest.er1 >conftest.err
61472   rm -f conftest.er1
61473   cat conftest.err >&5
61474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61475   (exit $ac_status); } &&
61476          { ac_try='test -z "$ac_cxx_werror_flag"
61477                          || test ! -s conftest.err'
61478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61479   (eval $ac_try) 2>&5
61480   ac_status=$?
61481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61482   (exit $ac_status); }; } &&
61483          { ac_try='test -s conftest.$ac_objext'
61484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61485   (eval $ac_try) 2>&5
61486   ac_status=$?
61487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61488   (exit $ac_status); }; }; then
61489   glibcxx_cv_func___builtin_sqrtf_use=yes
61490 else
61491   echo "$as_me: failed program was:" >&5
61492 sed 's/^/| /' conftest.$ac_ext >&5
61493
61494 glibcxx_cv_func___builtin_sqrtf_use=no
61495 fi
61496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61497       ac_ext=c
61498 ac_cpp='$CPP $CPPFLAGS'
61499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61502
61503
61504 fi
61505
61506   fi
61507   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61508 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61509   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61510     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61511 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61512     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61513       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61514   echo $ECHO_N "(cached) $ECHO_C" >&6
61515 else
61516
61517         if test x$gcc_no_link = xyes; then
61518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61520    { (exit 1); exit 1; }; }
61521 fi
61522 cat >conftest.$ac_ext <<_ACEOF
61523 /* confdefs.h.  */
61524 _ACEOF
61525 cat confdefs.h >>conftest.$ac_ext
61526 cat >>conftest.$ac_ext <<_ACEOF
61527 /* end confdefs.h.  */
61528 #include <math.h>
61529 int
61530 main ()
61531 {
61532  __builtin_sqrtf(0);
61533   ;
61534   return 0;
61535 }
61536 _ACEOF
61537 rm -f conftest.$ac_objext conftest$ac_exeext
61538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61539   (eval $ac_link) 2>conftest.er1
61540   ac_status=$?
61541   grep -v '^ *+' conftest.er1 >conftest.err
61542   rm -f conftest.er1
61543   cat conftest.err >&5
61544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61545   (exit $ac_status); } &&
61546          { ac_try='test -z "$ac_c_werror_flag"
61547                          || test ! -s conftest.err'
61548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61549   (eval $ac_try) 2>&5
61550   ac_status=$?
61551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552   (exit $ac_status); }; } &&
61553          { ac_try='test -s conftest$ac_exeext'
61554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61555   (eval $ac_try) 2>&5
61556   ac_status=$?
61557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61558   (exit $ac_status); }; }; then
61559   glibcxx_cv_func___builtin_sqrtf_link=yes
61560 else
61561   echo "$as_me: failed program was:" >&5
61562 sed 's/^/| /' conftest.$ac_ext >&5
61563
61564 glibcxx_cv_func___builtin_sqrtf_link=no
61565 fi
61566 rm -f conftest.err conftest.$ac_objext \
61567       conftest$ac_exeext conftest.$ac_ext
61568
61569 fi
61570
61571     fi
61572     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61573 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61574
61575     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61576
61577 cat >>confdefs.h <<\_ACEOF
61578 #define HAVE___BUILTIN_SQRTF 1
61579 _ACEOF
61580
61581     fi
61582
61583   fi
61584
61585
61586   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61587 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61588   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61589     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61590   echo $ECHO_N "(cached) $ECHO_C" >&6
61591 else
61592
61593
61594
61595       ac_ext=cc
61596 ac_cpp='$CXXCPP $CPPFLAGS'
61597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61600
61601       cat >conftest.$ac_ext <<_ACEOF
61602 /* confdefs.h.  */
61603 _ACEOF
61604 cat confdefs.h >>conftest.$ac_ext
61605 cat >>conftest.$ac_ext <<_ACEOF
61606 /* end confdefs.h.  */
61607 #include <math.h>
61608 int
61609 main ()
61610 {
61611  __builtin_sqrt(0);
61612   ;
61613   return 0;
61614 }
61615 _ACEOF
61616 rm -f conftest.$ac_objext
61617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61618   (eval $ac_compile) 2>conftest.er1
61619   ac_status=$?
61620   grep -v '^ *+' conftest.er1 >conftest.err
61621   rm -f conftest.er1
61622   cat conftest.err >&5
61623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61624   (exit $ac_status); } &&
61625          { ac_try='test -z "$ac_cxx_werror_flag"
61626                          || test ! -s conftest.err'
61627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61628   (eval $ac_try) 2>&5
61629   ac_status=$?
61630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61631   (exit $ac_status); }; } &&
61632          { ac_try='test -s conftest.$ac_objext'
61633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61634   (eval $ac_try) 2>&5
61635   ac_status=$?
61636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61637   (exit $ac_status); }; }; then
61638   glibcxx_cv_func___builtin_sqrt_use=yes
61639 else
61640   echo "$as_me: failed program was:" >&5
61641 sed 's/^/| /' conftest.$ac_ext >&5
61642
61643 glibcxx_cv_func___builtin_sqrt_use=no
61644 fi
61645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61646       ac_ext=c
61647 ac_cpp='$CPP $CPPFLAGS'
61648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61651
61652
61653 fi
61654
61655   fi
61656   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61657 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61658   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61659     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61660 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61661     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61662       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61663   echo $ECHO_N "(cached) $ECHO_C" >&6
61664 else
61665
61666         if test x$gcc_no_link = xyes; then
61667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61669    { (exit 1); exit 1; }; }
61670 fi
61671 cat >conftest.$ac_ext <<_ACEOF
61672 /* confdefs.h.  */
61673 _ACEOF
61674 cat confdefs.h >>conftest.$ac_ext
61675 cat >>conftest.$ac_ext <<_ACEOF
61676 /* end confdefs.h.  */
61677 #include <math.h>
61678 int
61679 main ()
61680 {
61681  __builtin_sqrt(0);
61682   ;
61683   return 0;
61684 }
61685 _ACEOF
61686 rm -f conftest.$ac_objext conftest$ac_exeext
61687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61688   (eval $ac_link) 2>conftest.er1
61689   ac_status=$?
61690   grep -v '^ *+' conftest.er1 >conftest.err
61691   rm -f conftest.er1
61692   cat conftest.err >&5
61693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61694   (exit $ac_status); } &&
61695          { ac_try='test -z "$ac_c_werror_flag"
61696                          || test ! -s conftest.err'
61697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61698   (eval $ac_try) 2>&5
61699   ac_status=$?
61700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61701   (exit $ac_status); }; } &&
61702          { ac_try='test -s conftest$ac_exeext'
61703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61704   (eval $ac_try) 2>&5
61705   ac_status=$?
61706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61707   (exit $ac_status); }; }; then
61708   glibcxx_cv_func___builtin_sqrt_link=yes
61709 else
61710   echo "$as_me: failed program was:" >&5
61711 sed 's/^/| /' conftest.$ac_ext >&5
61712
61713 glibcxx_cv_func___builtin_sqrt_link=no
61714 fi
61715 rm -f conftest.err conftest.$ac_objext \
61716       conftest$ac_exeext conftest.$ac_ext
61717
61718 fi
61719
61720     fi
61721     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61722 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61723
61724     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61725
61726 cat >>confdefs.h <<\_ACEOF
61727 #define HAVE___BUILTIN_SQRT 1
61728 _ACEOF
61729
61730     fi
61731
61732   fi
61733
61734
61735   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61736 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61737   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61738     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61739   echo $ECHO_N "(cached) $ECHO_C" >&6
61740 else
61741
61742
61743
61744       ac_ext=cc
61745 ac_cpp='$CXXCPP $CPPFLAGS'
61746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61749
61750       cat >conftest.$ac_ext <<_ACEOF
61751 /* confdefs.h.  */
61752 _ACEOF
61753 cat confdefs.h >>conftest.$ac_ext
61754 cat >>conftest.$ac_ext <<_ACEOF
61755 /* end confdefs.h.  */
61756 #include <math.h>
61757 int
61758 main ()
61759 {
61760  __builtin_sqrtl(0);
61761   ;
61762   return 0;
61763 }
61764 _ACEOF
61765 rm -f conftest.$ac_objext
61766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61767   (eval $ac_compile) 2>conftest.er1
61768   ac_status=$?
61769   grep -v '^ *+' conftest.er1 >conftest.err
61770   rm -f conftest.er1
61771   cat conftest.err >&5
61772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61773   (exit $ac_status); } &&
61774          { ac_try='test -z "$ac_cxx_werror_flag"
61775                          || test ! -s conftest.err'
61776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61777   (eval $ac_try) 2>&5
61778   ac_status=$?
61779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61780   (exit $ac_status); }; } &&
61781          { ac_try='test -s conftest.$ac_objext'
61782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61783   (eval $ac_try) 2>&5
61784   ac_status=$?
61785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61786   (exit $ac_status); }; }; then
61787   glibcxx_cv_func___builtin_sqrtl_use=yes
61788 else
61789   echo "$as_me: failed program was:" >&5
61790 sed 's/^/| /' conftest.$ac_ext >&5
61791
61792 glibcxx_cv_func___builtin_sqrtl_use=no
61793 fi
61794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61795       ac_ext=c
61796 ac_cpp='$CPP $CPPFLAGS'
61797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61800
61801
61802 fi
61803
61804   fi
61805   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61806 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61807   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61808     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61809 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61810     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61811       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61812   echo $ECHO_N "(cached) $ECHO_C" >&6
61813 else
61814
61815         if test x$gcc_no_link = xyes; then
61816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61818    { (exit 1); exit 1; }; }
61819 fi
61820 cat >conftest.$ac_ext <<_ACEOF
61821 /* confdefs.h.  */
61822 _ACEOF
61823 cat confdefs.h >>conftest.$ac_ext
61824 cat >>conftest.$ac_ext <<_ACEOF
61825 /* end confdefs.h.  */
61826 #include <math.h>
61827 int
61828 main ()
61829 {
61830  __builtin_sqrtl(0);
61831   ;
61832   return 0;
61833 }
61834 _ACEOF
61835 rm -f conftest.$ac_objext conftest$ac_exeext
61836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61837   (eval $ac_link) 2>conftest.er1
61838   ac_status=$?
61839   grep -v '^ *+' conftest.er1 >conftest.err
61840   rm -f conftest.er1
61841   cat conftest.err >&5
61842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61843   (exit $ac_status); } &&
61844          { ac_try='test -z "$ac_c_werror_flag"
61845                          || test ! -s conftest.err'
61846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61847   (eval $ac_try) 2>&5
61848   ac_status=$?
61849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61850   (exit $ac_status); }; } &&
61851          { ac_try='test -s conftest$ac_exeext'
61852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61853   (eval $ac_try) 2>&5
61854   ac_status=$?
61855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61856   (exit $ac_status); }; }; then
61857   glibcxx_cv_func___builtin_sqrtl_link=yes
61858 else
61859   echo "$as_me: failed program was:" >&5
61860 sed 's/^/| /' conftest.$ac_ext >&5
61861
61862 glibcxx_cv_func___builtin_sqrtl_link=no
61863 fi
61864 rm -f conftest.err conftest.$ac_objext \
61865       conftest$ac_exeext conftest.$ac_ext
61866
61867 fi
61868
61869     fi
61870     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61871 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61872
61873     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61874
61875 cat >>confdefs.h <<\_ACEOF
61876 #define HAVE___BUILTIN_SQRTL 1
61877 _ACEOF
61878
61879     fi
61880
61881   fi
61882
61883
61884
61885   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
61886 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
61887   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
61888     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
61889   echo $ECHO_N "(cached) $ECHO_C" >&6
61890 else
61891
61892
61893
61894       ac_ext=cc
61895 ac_cpp='$CXXCPP $CPPFLAGS'
61896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61899
61900       cat >conftest.$ac_ext <<_ACEOF
61901 /* confdefs.h.  */
61902 _ACEOF
61903 cat confdefs.h >>conftest.$ac_ext
61904 cat >>conftest.$ac_ext <<_ACEOF
61905 /* end confdefs.h.  */
61906 #include <math.h>
61907 int
61908 main ()
61909 {
61910  __builtin_sinf(0);
61911   ;
61912   return 0;
61913 }
61914 _ACEOF
61915 rm -f conftest.$ac_objext
61916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61917   (eval $ac_compile) 2>conftest.er1
61918   ac_status=$?
61919   grep -v '^ *+' conftest.er1 >conftest.err
61920   rm -f conftest.er1
61921   cat conftest.err >&5
61922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61923   (exit $ac_status); } &&
61924          { ac_try='test -z "$ac_cxx_werror_flag"
61925                          || test ! -s conftest.err'
61926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61927   (eval $ac_try) 2>&5
61928   ac_status=$?
61929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61930   (exit $ac_status); }; } &&
61931          { ac_try='test -s conftest.$ac_objext'
61932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61933   (eval $ac_try) 2>&5
61934   ac_status=$?
61935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61936   (exit $ac_status); }; }; then
61937   glibcxx_cv_func___builtin_sinf_use=yes
61938 else
61939   echo "$as_me: failed program was:" >&5
61940 sed 's/^/| /' conftest.$ac_ext >&5
61941
61942 glibcxx_cv_func___builtin_sinf_use=no
61943 fi
61944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61945       ac_ext=c
61946 ac_cpp='$CPP $CPPFLAGS'
61947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61950
61951
61952 fi
61953
61954   fi
61955   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
61956 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
61957   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
61958     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61959 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61960     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61961       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61962   echo $ECHO_N "(cached) $ECHO_C" >&6
61963 else
61964
61965         if test x$gcc_no_link = xyes; then
61966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61968    { (exit 1); exit 1; }; }
61969 fi
61970 cat >conftest.$ac_ext <<_ACEOF
61971 /* confdefs.h.  */
61972 _ACEOF
61973 cat confdefs.h >>conftest.$ac_ext
61974 cat >>conftest.$ac_ext <<_ACEOF
61975 /* end confdefs.h.  */
61976 #include <math.h>
61977 int
61978 main ()
61979 {
61980  __builtin_sinf(0);
61981   ;
61982   return 0;
61983 }
61984 _ACEOF
61985 rm -f conftest.$ac_objext conftest$ac_exeext
61986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61987   (eval $ac_link) 2>conftest.er1
61988   ac_status=$?
61989   grep -v '^ *+' conftest.er1 >conftest.err
61990   rm -f conftest.er1
61991   cat conftest.err >&5
61992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61993   (exit $ac_status); } &&
61994          { ac_try='test -z "$ac_c_werror_flag"
61995                          || test ! -s conftest.err'
61996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61997   (eval $ac_try) 2>&5
61998   ac_status=$?
61999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62000   (exit $ac_status); }; } &&
62001          { ac_try='test -s conftest$ac_exeext'
62002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62003   (eval $ac_try) 2>&5
62004   ac_status=$?
62005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62006   (exit $ac_status); }; }; then
62007   glibcxx_cv_func___builtin_sinf_link=yes
62008 else
62009   echo "$as_me: failed program was:" >&5
62010 sed 's/^/| /' conftest.$ac_ext >&5
62011
62012 glibcxx_cv_func___builtin_sinf_link=no
62013 fi
62014 rm -f conftest.err conftest.$ac_objext \
62015       conftest$ac_exeext conftest.$ac_ext
62016
62017 fi
62018
62019     fi
62020     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62021 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62022
62023     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62024
62025 cat >>confdefs.h <<\_ACEOF
62026 #define HAVE___BUILTIN_SINF 1
62027 _ACEOF
62028
62029     fi
62030
62031   fi
62032
62033
62034   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62035 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62036   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62037     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62038   echo $ECHO_N "(cached) $ECHO_C" >&6
62039 else
62040
62041
62042
62043       ac_ext=cc
62044 ac_cpp='$CXXCPP $CPPFLAGS'
62045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62048
62049       cat >conftest.$ac_ext <<_ACEOF
62050 /* confdefs.h.  */
62051 _ACEOF
62052 cat confdefs.h >>conftest.$ac_ext
62053 cat >>conftest.$ac_ext <<_ACEOF
62054 /* end confdefs.h.  */
62055 #include <math.h>
62056 int
62057 main ()
62058 {
62059  __builtin_sin(0);
62060   ;
62061   return 0;
62062 }
62063 _ACEOF
62064 rm -f conftest.$ac_objext
62065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62066   (eval $ac_compile) 2>conftest.er1
62067   ac_status=$?
62068   grep -v '^ *+' conftest.er1 >conftest.err
62069   rm -f conftest.er1
62070   cat conftest.err >&5
62071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62072   (exit $ac_status); } &&
62073          { ac_try='test -z "$ac_cxx_werror_flag"
62074                          || test ! -s conftest.err'
62075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62076   (eval $ac_try) 2>&5
62077   ac_status=$?
62078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62079   (exit $ac_status); }; } &&
62080          { ac_try='test -s conftest.$ac_objext'
62081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62082   (eval $ac_try) 2>&5
62083   ac_status=$?
62084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62085   (exit $ac_status); }; }; then
62086   glibcxx_cv_func___builtin_sin_use=yes
62087 else
62088   echo "$as_me: failed program was:" >&5
62089 sed 's/^/| /' conftest.$ac_ext >&5
62090
62091 glibcxx_cv_func___builtin_sin_use=no
62092 fi
62093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62094       ac_ext=c
62095 ac_cpp='$CPP $CPPFLAGS'
62096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62099
62100
62101 fi
62102
62103   fi
62104   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62105 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62106   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62107     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62108 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62109     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62110       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62111   echo $ECHO_N "(cached) $ECHO_C" >&6
62112 else
62113
62114         if test x$gcc_no_link = xyes; then
62115   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62117    { (exit 1); exit 1; }; }
62118 fi
62119 cat >conftest.$ac_ext <<_ACEOF
62120 /* confdefs.h.  */
62121 _ACEOF
62122 cat confdefs.h >>conftest.$ac_ext
62123 cat >>conftest.$ac_ext <<_ACEOF
62124 /* end confdefs.h.  */
62125 #include <math.h>
62126 int
62127 main ()
62128 {
62129  __builtin_sin(0);
62130   ;
62131   return 0;
62132 }
62133 _ACEOF
62134 rm -f conftest.$ac_objext conftest$ac_exeext
62135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62136   (eval $ac_link) 2>conftest.er1
62137   ac_status=$?
62138   grep -v '^ *+' conftest.er1 >conftest.err
62139   rm -f conftest.er1
62140   cat conftest.err >&5
62141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62142   (exit $ac_status); } &&
62143          { ac_try='test -z "$ac_c_werror_flag"
62144                          || test ! -s conftest.err'
62145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62146   (eval $ac_try) 2>&5
62147   ac_status=$?
62148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62149   (exit $ac_status); }; } &&
62150          { ac_try='test -s conftest$ac_exeext'
62151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62152   (eval $ac_try) 2>&5
62153   ac_status=$?
62154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62155   (exit $ac_status); }; }; then
62156   glibcxx_cv_func___builtin_sin_link=yes
62157 else
62158   echo "$as_me: failed program was:" >&5
62159 sed 's/^/| /' conftest.$ac_ext >&5
62160
62161 glibcxx_cv_func___builtin_sin_link=no
62162 fi
62163 rm -f conftest.err conftest.$ac_objext \
62164       conftest$ac_exeext conftest.$ac_ext
62165
62166 fi
62167
62168     fi
62169     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62170 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62171
62172     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62173
62174 cat >>confdefs.h <<\_ACEOF
62175 #define HAVE___BUILTIN_SIN 1
62176 _ACEOF
62177
62178     fi
62179
62180   fi
62181
62182
62183   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62184 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62185   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62186     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62187   echo $ECHO_N "(cached) $ECHO_C" >&6
62188 else
62189
62190
62191
62192       ac_ext=cc
62193 ac_cpp='$CXXCPP $CPPFLAGS'
62194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62197
62198       cat >conftest.$ac_ext <<_ACEOF
62199 /* confdefs.h.  */
62200 _ACEOF
62201 cat confdefs.h >>conftest.$ac_ext
62202 cat >>conftest.$ac_ext <<_ACEOF
62203 /* end confdefs.h.  */
62204 #include <math.h>
62205 int
62206 main ()
62207 {
62208  __builtin_sinl(0);
62209   ;
62210   return 0;
62211 }
62212 _ACEOF
62213 rm -f conftest.$ac_objext
62214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62215   (eval $ac_compile) 2>conftest.er1
62216   ac_status=$?
62217   grep -v '^ *+' conftest.er1 >conftest.err
62218   rm -f conftest.er1
62219   cat conftest.err >&5
62220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62221   (exit $ac_status); } &&
62222          { ac_try='test -z "$ac_cxx_werror_flag"
62223                          || test ! -s conftest.err'
62224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62225   (eval $ac_try) 2>&5
62226   ac_status=$?
62227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62228   (exit $ac_status); }; } &&
62229          { ac_try='test -s conftest.$ac_objext'
62230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62231   (eval $ac_try) 2>&5
62232   ac_status=$?
62233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62234   (exit $ac_status); }; }; then
62235   glibcxx_cv_func___builtin_sinl_use=yes
62236 else
62237   echo "$as_me: failed program was:" >&5
62238 sed 's/^/| /' conftest.$ac_ext >&5
62239
62240 glibcxx_cv_func___builtin_sinl_use=no
62241 fi
62242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62243       ac_ext=c
62244 ac_cpp='$CPP $CPPFLAGS'
62245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62248
62249
62250 fi
62251
62252   fi
62253   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62254 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62255   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62256     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62257 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62258     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62259       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62260   echo $ECHO_N "(cached) $ECHO_C" >&6
62261 else
62262
62263         if test x$gcc_no_link = xyes; then
62264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62266    { (exit 1); exit 1; }; }
62267 fi
62268 cat >conftest.$ac_ext <<_ACEOF
62269 /* confdefs.h.  */
62270 _ACEOF
62271 cat confdefs.h >>conftest.$ac_ext
62272 cat >>conftest.$ac_ext <<_ACEOF
62273 /* end confdefs.h.  */
62274 #include <math.h>
62275 int
62276 main ()
62277 {
62278  __builtin_sinl(0);
62279   ;
62280   return 0;
62281 }
62282 _ACEOF
62283 rm -f conftest.$ac_objext conftest$ac_exeext
62284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62285   (eval $ac_link) 2>conftest.er1
62286   ac_status=$?
62287   grep -v '^ *+' conftest.er1 >conftest.err
62288   rm -f conftest.er1
62289   cat conftest.err >&5
62290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62291   (exit $ac_status); } &&
62292          { ac_try='test -z "$ac_c_werror_flag"
62293                          || test ! -s conftest.err'
62294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62295   (eval $ac_try) 2>&5
62296   ac_status=$?
62297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62298   (exit $ac_status); }; } &&
62299          { ac_try='test -s conftest$ac_exeext'
62300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62301   (eval $ac_try) 2>&5
62302   ac_status=$?
62303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62304   (exit $ac_status); }; }; then
62305   glibcxx_cv_func___builtin_sinl_link=yes
62306 else
62307   echo "$as_me: failed program was:" >&5
62308 sed 's/^/| /' conftest.$ac_ext >&5
62309
62310 glibcxx_cv_func___builtin_sinl_link=no
62311 fi
62312 rm -f conftest.err conftest.$ac_objext \
62313       conftest$ac_exeext conftest.$ac_ext
62314
62315 fi
62316
62317     fi
62318     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62319 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62320
62321     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62322
62323 cat >>confdefs.h <<\_ACEOF
62324 #define HAVE___BUILTIN_SINL 1
62325 _ACEOF
62326
62327     fi
62328
62329   fi
62330
62331
62332
62333   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62334 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62335   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62336     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62337   echo $ECHO_N "(cached) $ECHO_C" >&6
62338 else
62339
62340
62341
62342       ac_ext=cc
62343 ac_cpp='$CXXCPP $CPPFLAGS'
62344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62347
62348       cat >conftest.$ac_ext <<_ACEOF
62349 /* confdefs.h.  */
62350 _ACEOF
62351 cat confdefs.h >>conftest.$ac_ext
62352 cat >>conftest.$ac_ext <<_ACEOF
62353 /* end confdefs.h.  */
62354 #include <math.h>
62355 int
62356 main ()
62357 {
62358  __builtin_cosf(0);
62359   ;
62360   return 0;
62361 }
62362 _ACEOF
62363 rm -f conftest.$ac_objext
62364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62365   (eval $ac_compile) 2>conftest.er1
62366   ac_status=$?
62367   grep -v '^ *+' conftest.er1 >conftest.err
62368   rm -f conftest.er1
62369   cat conftest.err >&5
62370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62371   (exit $ac_status); } &&
62372          { ac_try='test -z "$ac_cxx_werror_flag"
62373                          || test ! -s conftest.err'
62374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62375   (eval $ac_try) 2>&5
62376   ac_status=$?
62377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62378   (exit $ac_status); }; } &&
62379          { ac_try='test -s conftest.$ac_objext'
62380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62381   (eval $ac_try) 2>&5
62382   ac_status=$?
62383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62384   (exit $ac_status); }; }; then
62385   glibcxx_cv_func___builtin_cosf_use=yes
62386 else
62387   echo "$as_me: failed program was:" >&5
62388 sed 's/^/| /' conftest.$ac_ext >&5
62389
62390 glibcxx_cv_func___builtin_cosf_use=no
62391 fi
62392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62393       ac_ext=c
62394 ac_cpp='$CPP $CPPFLAGS'
62395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62398
62399
62400 fi
62401
62402   fi
62403   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62404 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62405   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62406     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62407 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62408     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62409       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62410   echo $ECHO_N "(cached) $ECHO_C" >&6
62411 else
62412
62413         if test x$gcc_no_link = xyes; then
62414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62416    { (exit 1); exit 1; }; }
62417 fi
62418 cat >conftest.$ac_ext <<_ACEOF
62419 /* confdefs.h.  */
62420 _ACEOF
62421 cat confdefs.h >>conftest.$ac_ext
62422 cat >>conftest.$ac_ext <<_ACEOF
62423 /* end confdefs.h.  */
62424 #include <math.h>
62425 int
62426 main ()
62427 {
62428  __builtin_cosf(0);
62429   ;
62430   return 0;
62431 }
62432 _ACEOF
62433 rm -f conftest.$ac_objext conftest$ac_exeext
62434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62435   (eval $ac_link) 2>conftest.er1
62436   ac_status=$?
62437   grep -v '^ *+' conftest.er1 >conftest.err
62438   rm -f conftest.er1
62439   cat conftest.err >&5
62440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62441   (exit $ac_status); } &&
62442          { ac_try='test -z "$ac_c_werror_flag"
62443                          || test ! -s conftest.err'
62444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62445   (eval $ac_try) 2>&5
62446   ac_status=$?
62447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62448   (exit $ac_status); }; } &&
62449          { ac_try='test -s conftest$ac_exeext'
62450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62451   (eval $ac_try) 2>&5
62452   ac_status=$?
62453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62454   (exit $ac_status); }; }; then
62455   glibcxx_cv_func___builtin_cosf_link=yes
62456 else
62457   echo "$as_me: failed program was:" >&5
62458 sed 's/^/| /' conftest.$ac_ext >&5
62459
62460 glibcxx_cv_func___builtin_cosf_link=no
62461 fi
62462 rm -f conftest.err conftest.$ac_objext \
62463       conftest$ac_exeext conftest.$ac_ext
62464
62465 fi
62466
62467     fi
62468     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62469 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62470
62471     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62472
62473 cat >>confdefs.h <<\_ACEOF
62474 #define HAVE___BUILTIN_COSF 1
62475 _ACEOF
62476
62477     fi
62478
62479   fi
62480
62481
62482   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62483 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62484   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62485     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62486   echo $ECHO_N "(cached) $ECHO_C" >&6
62487 else
62488
62489
62490
62491       ac_ext=cc
62492 ac_cpp='$CXXCPP $CPPFLAGS'
62493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62496
62497       cat >conftest.$ac_ext <<_ACEOF
62498 /* confdefs.h.  */
62499 _ACEOF
62500 cat confdefs.h >>conftest.$ac_ext
62501 cat >>conftest.$ac_ext <<_ACEOF
62502 /* end confdefs.h.  */
62503 #include <math.h>
62504 int
62505 main ()
62506 {
62507  __builtin_cos(0);
62508   ;
62509   return 0;
62510 }
62511 _ACEOF
62512 rm -f conftest.$ac_objext
62513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62514   (eval $ac_compile) 2>conftest.er1
62515   ac_status=$?
62516   grep -v '^ *+' conftest.er1 >conftest.err
62517   rm -f conftest.er1
62518   cat conftest.err >&5
62519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62520   (exit $ac_status); } &&
62521          { ac_try='test -z "$ac_cxx_werror_flag"
62522                          || test ! -s conftest.err'
62523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62524   (eval $ac_try) 2>&5
62525   ac_status=$?
62526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62527   (exit $ac_status); }; } &&
62528          { ac_try='test -s conftest.$ac_objext'
62529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62530   (eval $ac_try) 2>&5
62531   ac_status=$?
62532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62533   (exit $ac_status); }; }; then
62534   glibcxx_cv_func___builtin_cos_use=yes
62535 else
62536   echo "$as_me: failed program was:" >&5
62537 sed 's/^/| /' conftest.$ac_ext >&5
62538
62539 glibcxx_cv_func___builtin_cos_use=no
62540 fi
62541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62542       ac_ext=c
62543 ac_cpp='$CPP $CPPFLAGS'
62544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62547
62548
62549 fi
62550
62551   fi
62552   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62553 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62554   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62555     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62556 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62557     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62558       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62559   echo $ECHO_N "(cached) $ECHO_C" >&6
62560 else
62561
62562         if test x$gcc_no_link = xyes; then
62563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62565    { (exit 1); exit 1; }; }
62566 fi
62567 cat >conftest.$ac_ext <<_ACEOF
62568 /* confdefs.h.  */
62569 _ACEOF
62570 cat confdefs.h >>conftest.$ac_ext
62571 cat >>conftest.$ac_ext <<_ACEOF
62572 /* end confdefs.h.  */
62573 #include <math.h>
62574 int
62575 main ()
62576 {
62577  __builtin_cos(0);
62578   ;
62579   return 0;
62580 }
62581 _ACEOF
62582 rm -f conftest.$ac_objext conftest$ac_exeext
62583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62584   (eval $ac_link) 2>conftest.er1
62585   ac_status=$?
62586   grep -v '^ *+' conftest.er1 >conftest.err
62587   rm -f conftest.er1
62588   cat conftest.err >&5
62589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62590   (exit $ac_status); } &&
62591          { ac_try='test -z "$ac_c_werror_flag"
62592                          || test ! -s conftest.err'
62593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62594   (eval $ac_try) 2>&5
62595   ac_status=$?
62596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62597   (exit $ac_status); }; } &&
62598          { ac_try='test -s conftest$ac_exeext'
62599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62600   (eval $ac_try) 2>&5
62601   ac_status=$?
62602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62603   (exit $ac_status); }; }; then
62604   glibcxx_cv_func___builtin_cos_link=yes
62605 else
62606   echo "$as_me: failed program was:" >&5
62607 sed 's/^/| /' conftest.$ac_ext >&5
62608
62609 glibcxx_cv_func___builtin_cos_link=no
62610 fi
62611 rm -f conftest.err conftest.$ac_objext \
62612       conftest$ac_exeext conftest.$ac_ext
62613
62614 fi
62615
62616     fi
62617     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62618 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62619
62620     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62621
62622 cat >>confdefs.h <<\_ACEOF
62623 #define HAVE___BUILTIN_COS 1
62624 _ACEOF
62625
62626     fi
62627
62628   fi
62629
62630
62631   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62632 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62633   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62634     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62635   echo $ECHO_N "(cached) $ECHO_C" >&6
62636 else
62637
62638
62639
62640       ac_ext=cc
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62645
62646       cat >conftest.$ac_ext <<_ACEOF
62647 /* confdefs.h.  */
62648 _ACEOF
62649 cat confdefs.h >>conftest.$ac_ext
62650 cat >>conftest.$ac_ext <<_ACEOF
62651 /* end confdefs.h.  */
62652 #include <math.h>
62653 int
62654 main ()
62655 {
62656  __builtin_cosl(0);
62657   ;
62658   return 0;
62659 }
62660 _ACEOF
62661 rm -f conftest.$ac_objext
62662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62663   (eval $ac_compile) 2>conftest.er1
62664   ac_status=$?
62665   grep -v '^ *+' conftest.er1 >conftest.err
62666   rm -f conftest.er1
62667   cat conftest.err >&5
62668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62669   (exit $ac_status); } &&
62670          { ac_try='test -z "$ac_cxx_werror_flag"
62671                          || test ! -s conftest.err'
62672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62673   (eval $ac_try) 2>&5
62674   ac_status=$?
62675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676   (exit $ac_status); }; } &&
62677          { ac_try='test -s conftest.$ac_objext'
62678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62679   (eval $ac_try) 2>&5
62680   ac_status=$?
62681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62682   (exit $ac_status); }; }; then
62683   glibcxx_cv_func___builtin_cosl_use=yes
62684 else
62685   echo "$as_me: failed program was:" >&5
62686 sed 's/^/| /' conftest.$ac_ext >&5
62687
62688 glibcxx_cv_func___builtin_cosl_use=no
62689 fi
62690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62691       ac_ext=c
62692 ac_cpp='$CPP $CPPFLAGS'
62693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62696
62697
62698 fi
62699
62700   fi
62701   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62702 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62703   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62704     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62705 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62706     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62707       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62708   echo $ECHO_N "(cached) $ECHO_C" >&6
62709 else
62710
62711         if test x$gcc_no_link = xyes; then
62712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62714    { (exit 1); exit 1; }; }
62715 fi
62716 cat >conftest.$ac_ext <<_ACEOF
62717 /* confdefs.h.  */
62718 _ACEOF
62719 cat confdefs.h >>conftest.$ac_ext
62720 cat >>conftest.$ac_ext <<_ACEOF
62721 /* end confdefs.h.  */
62722 #include <math.h>
62723 int
62724 main ()
62725 {
62726  __builtin_cosl(0);
62727   ;
62728   return 0;
62729 }
62730 _ACEOF
62731 rm -f conftest.$ac_objext conftest$ac_exeext
62732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62733   (eval $ac_link) 2>conftest.er1
62734   ac_status=$?
62735   grep -v '^ *+' conftest.er1 >conftest.err
62736   rm -f conftest.er1
62737   cat conftest.err >&5
62738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62739   (exit $ac_status); } &&
62740          { ac_try='test -z "$ac_c_werror_flag"
62741                          || test ! -s conftest.err'
62742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62743   (eval $ac_try) 2>&5
62744   ac_status=$?
62745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62746   (exit $ac_status); }; } &&
62747          { ac_try='test -s conftest$ac_exeext'
62748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62749   (eval $ac_try) 2>&5
62750   ac_status=$?
62751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62752   (exit $ac_status); }; }; then
62753   glibcxx_cv_func___builtin_cosl_link=yes
62754 else
62755   echo "$as_me: failed program was:" >&5
62756 sed 's/^/| /' conftest.$ac_ext >&5
62757
62758 glibcxx_cv_func___builtin_cosl_link=no
62759 fi
62760 rm -f conftest.err conftest.$ac_objext \
62761       conftest$ac_exeext conftest.$ac_ext
62762
62763 fi
62764
62765     fi
62766     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62767 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62768
62769     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62770
62771 cat >>confdefs.h <<\_ACEOF
62772 #define HAVE___BUILTIN_COSL 1
62773 _ACEOF
62774
62775     fi
62776
62777   fi
62778
62779
62780
62781
62782 echo "$as_me:$LINENO: checking for main in -lm" >&5
62783 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62784 if test "${ac_cv_lib_m_main+set}" = set; then
62785   echo $ECHO_N "(cached) $ECHO_C" >&6
62786 else
62787   ac_check_lib_save_LIBS=$LIBS
62788 LIBS="-lm  $LIBS"
62789 if test x$gcc_no_link = xyes; then
62790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62792    { (exit 1); exit 1; }; }
62793 fi
62794 cat >conftest.$ac_ext <<_ACEOF
62795 /* confdefs.h.  */
62796 _ACEOF
62797 cat confdefs.h >>conftest.$ac_ext
62798 cat >>conftest.$ac_ext <<_ACEOF
62799 /* end confdefs.h.  */
62800
62801
62802 int
62803 main ()
62804 {
62805 main ();
62806   ;
62807   return 0;
62808 }
62809 _ACEOF
62810 rm -f conftest.$ac_objext conftest$ac_exeext
62811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62812   (eval $ac_link) 2>conftest.er1
62813   ac_status=$?
62814   grep -v '^ *+' conftest.er1 >conftest.err
62815   rm -f conftest.er1
62816   cat conftest.err >&5
62817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62818   (exit $ac_status); } &&
62819          { ac_try='test -z "$ac_c_werror_flag"
62820                          || test ! -s conftest.err'
62821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62822   (eval $ac_try) 2>&5
62823   ac_status=$?
62824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62825   (exit $ac_status); }; } &&
62826          { ac_try='test -s conftest$ac_exeext'
62827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62828   (eval $ac_try) 2>&5
62829   ac_status=$?
62830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62831   (exit $ac_status); }; }; then
62832   ac_cv_lib_m_main=yes
62833 else
62834   echo "$as_me: failed program was:" >&5
62835 sed 's/^/| /' conftest.$ac_ext >&5
62836
62837 ac_cv_lib_m_main=no
62838 fi
62839 rm -f conftest.err conftest.$ac_objext \
62840       conftest$ac_exeext conftest.$ac_ext
62841 LIBS=$ac_check_lib_save_LIBS
62842 fi
62843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62844 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62845 if test $ac_cv_lib_m_main = yes; then
62846   cat >>confdefs.h <<_ACEOF
62847 #define HAVE_LIBM 1
62848 _ACEOF
62849
62850   LIBS="-lm $LIBS"
62851
62852 fi
62853
62854
62855 for ac_func in copysignf
62856 do
62857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62858 echo "$as_me:$LINENO: checking for $ac_func" >&5
62859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62860 if eval "test \"\${$as_ac_var+set}\" = set"; then
62861   echo $ECHO_N "(cached) $ECHO_C" >&6
62862 else
62863   if test x$gcc_no_link = xyes; then
62864   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62866    { (exit 1); exit 1; }; }
62867 fi
62868 cat >conftest.$ac_ext <<_ACEOF
62869 /* confdefs.h.  */
62870 _ACEOF
62871 cat confdefs.h >>conftest.$ac_ext
62872 cat >>conftest.$ac_ext <<_ACEOF
62873 /* end confdefs.h.  */
62874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62875    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62876 #define $ac_func innocuous_$ac_func
62877
62878 /* System header to define __stub macros and hopefully few prototypes,
62879     which can conflict with char $ac_func (); below.
62880     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62881     <limits.h> exists even on freestanding compilers.  */
62882
62883 #ifdef __STDC__
62884 # include <limits.h>
62885 #else
62886 # include <assert.h>
62887 #endif
62888
62889 #undef $ac_func
62890
62891 /* Override any gcc2 internal prototype to avoid an error.  */
62892 #ifdef __cplusplus
62893 extern "C"
62894 {
62895 #endif
62896 /* We use char because int might match the return type of a gcc2
62897    builtin and then its argument prototype would still apply.  */
62898 char $ac_func ();
62899 /* The GNU C library defines this for functions which it implements
62900     to always fail with ENOSYS.  Some functions are actually named
62901     something starting with __ and the normal name is an alias.  */
62902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62903 choke me
62904 #else
62905 char (*f) () = $ac_func;
62906 #endif
62907 #ifdef __cplusplus
62908 }
62909 #endif
62910
62911 int
62912 main ()
62913 {
62914 return f != $ac_func;
62915   ;
62916   return 0;
62917 }
62918 _ACEOF
62919 rm -f conftest.$ac_objext conftest$ac_exeext
62920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62921   (eval $ac_link) 2>conftest.er1
62922   ac_status=$?
62923   grep -v '^ *+' conftest.er1 >conftest.err
62924   rm -f conftest.er1
62925   cat conftest.err >&5
62926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62927   (exit $ac_status); } &&
62928          { ac_try='test -z "$ac_c_werror_flag"
62929                          || test ! -s conftest.err'
62930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62931   (eval $ac_try) 2>&5
62932   ac_status=$?
62933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62934   (exit $ac_status); }; } &&
62935          { ac_try='test -s conftest$ac_exeext'
62936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62937   (eval $ac_try) 2>&5
62938   ac_status=$?
62939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62940   (exit $ac_status); }; }; then
62941   eval "$as_ac_var=yes"
62942 else
62943   echo "$as_me: failed program was:" >&5
62944 sed 's/^/| /' conftest.$ac_ext >&5
62945
62946 eval "$as_ac_var=no"
62947 fi
62948 rm -f conftest.err conftest.$ac_objext \
62949       conftest$ac_exeext conftest.$ac_ext
62950 fi
62951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62953 if test `eval echo '${'$as_ac_var'}'` = yes; then
62954   cat >>confdefs.h <<_ACEOF
62955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62956 _ACEOF
62957
62958 else
62959   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62960 fi
62961 done
62962
62963
62964
62965 for ac_func in __signbit
62966 do
62967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62968 echo "$as_me:$LINENO: checking for $ac_func" >&5
62969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62970 if eval "test \"\${$as_ac_var+set}\" = set"; then
62971   echo $ECHO_N "(cached) $ECHO_C" >&6
62972 else
62973   if test x$gcc_no_link = xyes; then
62974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62976    { (exit 1); exit 1; }; }
62977 fi
62978 cat >conftest.$ac_ext <<_ACEOF
62979 /* confdefs.h.  */
62980 _ACEOF
62981 cat confdefs.h >>conftest.$ac_ext
62982 cat >>conftest.$ac_ext <<_ACEOF
62983 /* end confdefs.h.  */
62984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62986 #define $ac_func innocuous_$ac_func
62987
62988 /* System header to define __stub macros and hopefully few prototypes,
62989     which can conflict with char $ac_func (); below.
62990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62991     <limits.h> exists even on freestanding compilers.  */
62992
62993 #ifdef __STDC__
62994 # include <limits.h>
62995 #else
62996 # include <assert.h>
62997 #endif
62998
62999 #undef $ac_func
63000
63001 /* Override any gcc2 internal prototype to avoid an error.  */
63002 #ifdef __cplusplus
63003 extern "C"
63004 {
63005 #endif
63006 /* We use char because int might match the return type of a gcc2
63007    builtin and then its argument prototype would still apply.  */
63008 char $ac_func ();
63009 /* The GNU C library defines this for functions which it implements
63010     to always fail with ENOSYS.  Some functions are actually named
63011     something starting with __ and the normal name is an alias.  */
63012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63013 choke me
63014 #else
63015 char (*f) () = $ac_func;
63016 #endif
63017 #ifdef __cplusplus
63018 }
63019 #endif
63020
63021 int
63022 main ()
63023 {
63024 return f != $ac_func;
63025   ;
63026   return 0;
63027 }
63028 _ACEOF
63029 rm -f conftest.$ac_objext conftest$ac_exeext
63030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63031   (eval $ac_link) 2>conftest.er1
63032   ac_status=$?
63033   grep -v '^ *+' conftest.er1 >conftest.err
63034   rm -f conftest.er1
63035   cat conftest.err >&5
63036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63037   (exit $ac_status); } &&
63038          { ac_try='test -z "$ac_c_werror_flag"
63039                          || test ! -s conftest.err'
63040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63041   (eval $ac_try) 2>&5
63042   ac_status=$?
63043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63044   (exit $ac_status); }; } &&
63045          { ac_try='test -s conftest$ac_exeext'
63046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63047   (eval $ac_try) 2>&5
63048   ac_status=$?
63049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63050   (exit $ac_status); }; }; then
63051   eval "$as_ac_var=yes"
63052 else
63053   echo "$as_me: failed program was:" >&5
63054 sed 's/^/| /' conftest.$ac_ext >&5
63055
63056 eval "$as_ac_var=no"
63057 fi
63058 rm -f conftest.err conftest.$ac_objext \
63059       conftest$ac_exeext conftest.$ac_ext
63060 fi
63061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63063 if test `eval echo '${'$as_ac_var'}'` = yes; then
63064   cat >>confdefs.h <<_ACEOF
63065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63066 _ACEOF
63067
63068 else
63069   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63070 fi
63071 done
63072
63073
63074
63075 for ac_func in __signbitf
63076 do
63077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63078 echo "$as_me:$LINENO: checking for $ac_func" >&5
63079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63080 if eval "test \"\${$as_ac_var+set}\" = set"; then
63081   echo $ECHO_N "(cached) $ECHO_C" >&6
63082 else
63083   if test x$gcc_no_link = xyes; then
63084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63086    { (exit 1); exit 1; }; }
63087 fi
63088 cat >conftest.$ac_ext <<_ACEOF
63089 /* confdefs.h.  */
63090 _ACEOF
63091 cat confdefs.h >>conftest.$ac_ext
63092 cat >>conftest.$ac_ext <<_ACEOF
63093 /* end confdefs.h.  */
63094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63096 #define $ac_func innocuous_$ac_func
63097
63098 /* System header to define __stub macros and hopefully few prototypes,
63099     which can conflict with char $ac_func (); below.
63100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63101     <limits.h> exists even on freestanding compilers.  */
63102
63103 #ifdef __STDC__
63104 # include <limits.h>
63105 #else
63106 # include <assert.h>
63107 #endif
63108
63109 #undef $ac_func
63110
63111 /* Override any gcc2 internal prototype to avoid an error.  */
63112 #ifdef __cplusplus
63113 extern "C"
63114 {
63115 #endif
63116 /* We use char because int might match the return type of a gcc2
63117    builtin and then its argument prototype would still apply.  */
63118 char $ac_func ();
63119 /* The GNU C library defines this for functions which it implements
63120     to always fail with ENOSYS.  Some functions are actually named
63121     something starting with __ and the normal name is an alias.  */
63122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63123 choke me
63124 #else
63125 char (*f) () = $ac_func;
63126 #endif
63127 #ifdef __cplusplus
63128 }
63129 #endif
63130
63131 int
63132 main ()
63133 {
63134 return f != $ac_func;
63135   ;
63136   return 0;
63137 }
63138 _ACEOF
63139 rm -f conftest.$ac_objext conftest$ac_exeext
63140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63141   (eval $ac_link) 2>conftest.er1
63142   ac_status=$?
63143   grep -v '^ *+' conftest.er1 >conftest.err
63144   rm -f conftest.er1
63145   cat conftest.err >&5
63146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63147   (exit $ac_status); } &&
63148          { ac_try='test -z "$ac_c_werror_flag"
63149                          || test ! -s conftest.err'
63150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63151   (eval $ac_try) 2>&5
63152   ac_status=$?
63153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63154   (exit $ac_status); }; } &&
63155          { ac_try='test -s conftest$ac_exeext'
63156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63157   (eval $ac_try) 2>&5
63158   ac_status=$?
63159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63160   (exit $ac_status); }; }; then
63161   eval "$as_ac_var=yes"
63162 else
63163   echo "$as_me: failed program was:" >&5
63164 sed 's/^/| /' conftest.$ac_ext >&5
63165
63166 eval "$as_ac_var=no"
63167 fi
63168 rm -f conftest.err conftest.$ac_objext \
63169       conftest$ac_exeext conftest.$ac_ext
63170 fi
63171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63173 if test `eval echo '${'$as_ac_var'}'` = yes; then
63174   cat >>confdefs.h <<_ACEOF
63175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63176 _ACEOF
63177
63178 else
63179   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63180 fi
63181 done
63182
63183
63184           if test x$ac_cv_func_copysignl = x"yes"; then
63185
63186 for ac_func in __signbitl
63187 do
63188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63189 echo "$as_me:$LINENO: checking for $ac_func" >&5
63190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63191 if eval "test \"\${$as_ac_var+set}\" = set"; then
63192   echo $ECHO_N "(cached) $ECHO_C" >&6
63193 else
63194   if test x$gcc_no_link = xyes; then
63195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63197    { (exit 1); exit 1; }; }
63198 fi
63199 cat >conftest.$ac_ext <<_ACEOF
63200 /* confdefs.h.  */
63201 _ACEOF
63202 cat confdefs.h >>conftest.$ac_ext
63203 cat >>conftest.$ac_ext <<_ACEOF
63204 /* end confdefs.h.  */
63205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63207 #define $ac_func innocuous_$ac_func
63208
63209 /* System header to define __stub macros and hopefully few prototypes,
63210     which can conflict with char $ac_func (); below.
63211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63212     <limits.h> exists even on freestanding compilers.  */
63213
63214 #ifdef __STDC__
63215 # include <limits.h>
63216 #else
63217 # include <assert.h>
63218 #endif
63219
63220 #undef $ac_func
63221
63222 /* Override any gcc2 internal prototype to avoid an error.  */
63223 #ifdef __cplusplus
63224 extern "C"
63225 {
63226 #endif
63227 /* We use char because int might match the return type of a gcc2
63228    builtin and then its argument prototype would still apply.  */
63229 char $ac_func ();
63230 /* The GNU C library defines this for functions which it implements
63231     to always fail with ENOSYS.  Some functions are actually named
63232     something starting with __ and the normal name is an alias.  */
63233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63234 choke me
63235 #else
63236 char (*f) () = $ac_func;
63237 #endif
63238 #ifdef __cplusplus
63239 }
63240 #endif
63241
63242 int
63243 main ()
63244 {
63245 return f != $ac_func;
63246   ;
63247   return 0;
63248 }
63249 _ACEOF
63250 rm -f conftest.$ac_objext conftest$ac_exeext
63251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63252   (eval $ac_link) 2>conftest.er1
63253   ac_status=$?
63254   grep -v '^ *+' conftest.er1 >conftest.err
63255   rm -f conftest.er1
63256   cat conftest.err >&5
63257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63258   (exit $ac_status); } &&
63259          { ac_try='test -z "$ac_c_werror_flag"
63260                          || test ! -s conftest.err'
63261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63262   (eval $ac_try) 2>&5
63263   ac_status=$?
63264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63265   (exit $ac_status); }; } &&
63266          { ac_try='test -s conftest$ac_exeext'
63267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63268   (eval $ac_try) 2>&5
63269   ac_status=$?
63270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63271   (exit $ac_status); }; }; then
63272   eval "$as_ac_var=yes"
63273 else
63274   echo "$as_me: failed program was:" >&5
63275 sed 's/^/| /' conftest.$ac_ext >&5
63276
63277 eval "$as_ac_var=no"
63278 fi
63279 rm -f conftest.err conftest.$ac_objext \
63280       conftest$ac_exeext conftest.$ac_ext
63281 fi
63282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63284 if test `eval echo '${'$as_ac_var'}'` = yes; then
63285   cat >>confdefs.h <<_ACEOF
63286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63287 _ACEOF
63288
63289 else
63290   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63291 fi
63292 done
63293
63294   fi
63295
63296   # Used in libmath/Makefile.am.
63297   if test -n "$LIBMATHOBJS"; then
63298     need_libmath=yes
63299   fi
63300
63301
63302
63303   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63304   ac_save_CXXFLAGS="$CXXFLAGS"
63305   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63306
63307
63308   echo "$as_me:$LINENO: checking for strtold declaration" >&5
63309 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63310   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63311     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63312   echo $ECHO_N "(cached) $ECHO_C" >&6
63313 else
63314
63315
63316
63317       ac_ext=cc
63318 ac_cpp='$CXXCPP $CPPFLAGS'
63319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63322
63323       cat >conftest.$ac_ext <<_ACEOF
63324 /* confdefs.h.  */
63325 _ACEOF
63326 cat confdefs.h >>conftest.$ac_ext
63327 cat >>conftest.$ac_ext <<_ACEOF
63328 /* end confdefs.h.  */
63329 #include <stdlib.h>
63330 int
63331 main ()
63332 {
63333  strtold(0, 0);
63334   ;
63335   return 0;
63336 }
63337 _ACEOF
63338 rm -f conftest.$ac_objext
63339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63340   (eval $ac_compile) 2>conftest.er1
63341   ac_status=$?
63342   grep -v '^ *+' conftest.er1 >conftest.err
63343   rm -f conftest.er1
63344   cat conftest.err >&5
63345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63346   (exit $ac_status); } &&
63347          { ac_try='test -z "$ac_cxx_werror_flag"
63348                          || test ! -s conftest.err'
63349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63350   (eval $ac_try) 2>&5
63351   ac_status=$?
63352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63353   (exit $ac_status); }; } &&
63354          { ac_try='test -s conftest.$ac_objext'
63355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63356   (eval $ac_try) 2>&5
63357   ac_status=$?
63358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63359   (exit $ac_status); }; }; then
63360   glibcxx_cv_func_strtold_use=yes
63361 else
63362   echo "$as_me: failed program was:" >&5
63363 sed 's/^/| /' conftest.$ac_ext >&5
63364
63365 glibcxx_cv_func_strtold_use=no
63366 fi
63367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63368       ac_ext=c
63369 ac_cpp='$CPP $CPPFLAGS'
63370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63373
63374
63375 fi
63376
63377   fi
63378   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63379 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63380   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63381
63382 for ac_func in strtold
63383 do
63384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63385 echo "$as_me:$LINENO: checking for $ac_func" >&5
63386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63387 if eval "test \"\${$as_ac_var+set}\" = set"; then
63388   echo $ECHO_N "(cached) $ECHO_C" >&6
63389 else
63390   if test x$gcc_no_link = xyes; then
63391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63393    { (exit 1); exit 1; }; }
63394 fi
63395 cat >conftest.$ac_ext <<_ACEOF
63396 /* confdefs.h.  */
63397 _ACEOF
63398 cat confdefs.h >>conftest.$ac_ext
63399 cat >>conftest.$ac_ext <<_ACEOF
63400 /* end confdefs.h.  */
63401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63403 #define $ac_func innocuous_$ac_func
63404
63405 /* System header to define __stub macros and hopefully few prototypes,
63406     which can conflict with char $ac_func (); below.
63407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63408     <limits.h> exists even on freestanding compilers.  */
63409
63410 #ifdef __STDC__
63411 # include <limits.h>
63412 #else
63413 # include <assert.h>
63414 #endif
63415
63416 #undef $ac_func
63417
63418 /* Override any gcc2 internal prototype to avoid an error.  */
63419 #ifdef __cplusplus
63420 extern "C"
63421 {
63422 #endif
63423 /* We use char because int might match the return type of a gcc2
63424    builtin and then its argument prototype would still apply.  */
63425 char $ac_func ();
63426 /* The GNU C library defines this for functions which it implements
63427     to always fail with ENOSYS.  Some functions are actually named
63428     something starting with __ and the normal name is an alias.  */
63429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63430 choke me
63431 #else
63432 char (*f) () = $ac_func;
63433 #endif
63434 #ifdef __cplusplus
63435 }
63436 #endif
63437
63438 int
63439 main ()
63440 {
63441 return f != $ac_func;
63442   ;
63443   return 0;
63444 }
63445 _ACEOF
63446 rm -f conftest.$ac_objext conftest$ac_exeext
63447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63448   (eval $ac_link) 2>conftest.er1
63449   ac_status=$?
63450   grep -v '^ *+' conftest.er1 >conftest.err
63451   rm -f conftest.er1
63452   cat conftest.err >&5
63453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454   (exit $ac_status); } &&
63455          { ac_try='test -z "$ac_c_werror_flag"
63456                          || test ! -s conftest.err'
63457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63458   (eval $ac_try) 2>&5
63459   ac_status=$?
63460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63461   (exit $ac_status); }; } &&
63462          { ac_try='test -s conftest$ac_exeext'
63463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63464   (eval $ac_try) 2>&5
63465   ac_status=$?
63466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63467   (exit $ac_status); }; }; then
63468   eval "$as_ac_var=yes"
63469 else
63470   echo "$as_me: failed program was:" >&5
63471 sed 's/^/| /' conftest.$ac_ext >&5
63472
63473 eval "$as_ac_var=no"
63474 fi
63475 rm -f conftest.err conftest.$ac_objext \
63476       conftest$ac_exeext conftest.$ac_ext
63477 fi
63478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63480 if test `eval echo '${'$as_ac_var'}'` = yes; then
63481   cat >>confdefs.h <<_ACEOF
63482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63483 _ACEOF
63484
63485 fi
63486 done
63487
63488   fi
63489
63490
63491
63492
63493
63494   echo "$as_me:$LINENO: checking for strtof declaration" >&5
63495 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63496   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63497     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63498   echo $ECHO_N "(cached) $ECHO_C" >&6
63499 else
63500
63501
63502
63503       ac_ext=cc
63504 ac_cpp='$CXXCPP $CPPFLAGS'
63505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63508
63509       cat >conftest.$ac_ext <<_ACEOF
63510 /* confdefs.h.  */
63511 _ACEOF
63512 cat confdefs.h >>conftest.$ac_ext
63513 cat >>conftest.$ac_ext <<_ACEOF
63514 /* end confdefs.h.  */
63515 #include <stdlib.h>
63516 int
63517 main ()
63518 {
63519  strtof(0, 0);
63520   ;
63521   return 0;
63522 }
63523 _ACEOF
63524 rm -f conftest.$ac_objext
63525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63526   (eval $ac_compile) 2>conftest.er1
63527   ac_status=$?
63528   grep -v '^ *+' conftest.er1 >conftest.err
63529   rm -f conftest.er1
63530   cat conftest.err >&5
63531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63532   (exit $ac_status); } &&
63533          { ac_try='test -z "$ac_cxx_werror_flag"
63534                          || test ! -s conftest.err'
63535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63536   (eval $ac_try) 2>&5
63537   ac_status=$?
63538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63539   (exit $ac_status); }; } &&
63540          { ac_try='test -s conftest.$ac_objext'
63541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63542   (eval $ac_try) 2>&5
63543   ac_status=$?
63544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63545   (exit $ac_status); }; }; then
63546   glibcxx_cv_func_strtof_use=yes
63547 else
63548   echo "$as_me: failed program was:" >&5
63549 sed 's/^/| /' conftest.$ac_ext >&5
63550
63551 glibcxx_cv_func_strtof_use=no
63552 fi
63553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63554       ac_ext=c
63555 ac_cpp='$CPP $CPPFLAGS'
63556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63559
63560
63561 fi
63562
63563   fi
63564   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63565 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63566   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63567
63568 for ac_func in strtof
63569 do
63570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63571 echo "$as_me:$LINENO: checking for $ac_func" >&5
63572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63573 if eval "test \"\${$as_ac_var+set}\" = set"; then
63574   echo $ECHO_N "(cached) $ECHO_C" >&6
63575 else
63576   if test x$gcc_no_link = xyes; then
63577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63579    { (exit 1); exit 1; }; }
63580 fi
63581 cat >conftest.$ac_ext <<_ACEOF
63582 /* confdefs.h.  */
63583 _ACEOF
63584 cat confdefs.h >>conftest.$ac_ext
63585 cat >>conftest.$ac_ext <<_ACEOF
63586 /* end confdefs.h.  */
63587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63589 #define $ac_func innocuous_$ac_func
63590
63591 /* System header to define __stub macros and hopefully few prototypes,
63592     which can conflict with char $ac_func (); below.
63593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63594     <limits.h> exists even on freestanding compilers.  */
63595
63596 #ifdef __STDC__
63597 # include <limits.h>
63598 #else
63599 # include <assert.h>
63600 #endif
63601
63602 #undef $ac_func
63603
63604 /* Override any gcc2 internal prototype to avoid an error.  */
63605 #ifdef __cplusplus
63606 extern "C"
63607 {
63608 #endif
63609 /* We use char because int might match the return type of a gcc2
63610    builtin and then its argument prototype would still apply.  */
63611 char $ac_func ();
63612 /* The GNU C library defines this for functions which it implements
63613     to always fail with ENOSYS.  Some functions are actually named
63614     something starting with __ and the normal name is an alias.  */
63615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63616 choke me
63617 #else
63618 char (*f) () = $ac_func;
63619 #endif
63620 #ifdef __cplusplus
63621 }
63622 #endif
63623
63624 int
63625 main ()
63626 {
63627 return f != $ac_func;
63628   ;
63629   return 0;
63630 }
63631 _ACEOF
63632 rm -f conftest.$ac_objext conftest$ac_exeext
63633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63634   (eval $ac_link) 2>conftest.er1
63635   ac_status=$?
63636   grep -v '^ *+' conftest.er1 >conftest.err
63637   rm -f conftest.er1
63638   cat conftest.err >&5
63639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63640   (exit $ac_status); } &&
63641          { ac_try='test -z "$ac_c_werror_flag"
63642                          || test ! -s conftest.err'
63643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63644   (eval $ac_try) 2>&5
63645   ac_status=$?
63646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63647   (exit $ac_status); }; } &&
63648          { ac_try='test -s conftest$ac_exeext'
63649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63650   (eval $ac_try) 2>&5
63651   ac_status=$?
63652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63653   (exit $ac_status); }; }; then
63654   eval "$as_ac_var=yes"
63655 else
63656   echo "$as_me: failed program was:" >&5
63657 sed 's/^/| /' conftest.$ac_ext >&5
63658
63659 eval "$as_ac_var=no"
63660 fi
63661 rm -f conftest.err conftest.$ac_objext \
63662       conftest$ac_exeext conftest.$ac_ext
63663 fi
63664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63666 if test `eval echo '${'$as_ac_var'}'` = yes; then
63667   cat >>confdefs.h <<_ACEOF
63668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63669 _ACEOF
63670
63671 fi
63672 done
63673
63674   fi
63675
63676
63677
63678
63679
63680   CXXFLAGS="$ac_save_CXXFLAGS"
63681
63682
63683   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63684 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63685   if test "${glibcxx_cv_S_ISREG+set}" = set; then
63686   echo $ECHO_N "(cached) $ECHO_C" >&6
63687 else
63688
63689     if test x$gcc_no_link = xyes; then
63690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63692    { (exit 1); exit 1; }; }
63693 fi
63694 cat >conftest.$ac_ext <<_ACEOF
63695 /* confdefs.h.  */
63696 _ACEOF
63697 cat confdefs.h >>conftest.$ac_ext
63698 cat >>conftest.$ac_ext <<_ACEOF
63699 /* end confdefs.h.  */
63700 #include <sys/stat.h>
63701 int
63702 main ()
63703 {
63704 struct stat buffer;
63705        fstat(0, &buffer);
63706        S_ISREG(buffer.st_mode);
63707   ;
63708   return 0;
63709 }
63710 _ACEOF
63711 rm -f conftest.$ac_objext conftest$ac_exeext
63712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63713   (eval $ac_link) 2>conftest.er1
63714   ac_status=$?
63715   grep -v '^ *+' conftest.er1 >conftest.err
63716   rm -f conftest.er1
63717   cat conftest.err >&5
63718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63719   (exit $ac_status); } &&
63720          { ac_try='test -z "$ac_c_werror_flag"
63721                          || test ! -s conftest.err'
63722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63723   (eval $ac_try) 2>&5
63724   ac_status=$?
63725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63726   (exit $ac_status); }; } &&
63727          { ac_try='test -s conftest$ac_exeext'
63728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63729   (eval $ac_try) 2>&5
63730   ac_status=$?
63731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63732   (exit $ac_status); }; }; then
63733   glibcxx_cv_S_ISREG=yes
63734 else
63735   echo "$as_me: failed program was:" >&5
63736 sed 's/^/| /' conftest.$ac_ext >&5
63737
63738 glibcxx_cv_S_ISREG=no
63739 fi
63740 rm -f conftest.err conftest.$ac_objext \
63741       conftest$ac_exeext conftest.$ac_ext
63742
63743 fi
63744
63745   if test "${glibcxx_cv_S_IFREG+set}" = set; then
63746   echo $ECHO_N "(cached) $ECHO_C" >&6
63747 else
63748
63749     if test x$gcc_no_link = xyes; then
63750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63752    { (exit 1); exit 1; }; }
63753 fi
63754 cat >conftest.$ac_ext <<_ACEOF
63755 /* confdefs.h.  */
63756 _ACEOF
63757 cat confdefs.h >>conftest.$ac_ext
63758 cat >>conftest.$ac_ext <<_ACEOF
63759 /* end confdefs.h.  */
63760 #include <sys/stat.h>
63761 int
63762 main ()
63763 {
63764 struct stat buffer;
63765        fstat(0, &buffer);
63766        S_IFREG & buffer.st_mode;
63767   ;
63768   return 0;
63769 }
63770 _ACEOF
63771 rm -f conftest.$ac_objext conftest$ac_exeext
63772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63773   (eval $ac_link) 2>conftest.er1
63774   ac_status=$?
63775   grep -v '^ *+' conftest.er1 >conftest.err
63776   rm -f conftest.er1
63777   cat conftest.err >&5
63778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63779   (exit $ac_status); } &&
63780          { ac_try='test -z "$ac_c_werror_flag"
63781                          || test ! -s conftest.err'
63782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63783   (eval $ac_try) 2>&5
63784   ac_status=$?
63785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786   (exit $ac_status); }; } &&
63787          { ac_try='test -s conftest$ac_exeext'
63788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63789   (eval $ac_try) 2>&5
63790   ac_status=$?
63791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63792   (exit $ac_status); }; }; then
63793   glibcxx_cv_S_IFREG=yes
63794 else
63795   echo "$as_me: failed program was:" >&5
63796 sed 's/^/| /' conftest.$ac_ext >&5
63797
63798 glibcxx_cv_S_IFREG=no
63799 fi
63800 rm -f conftest.err conftest.$ac_objext \
63801       conftest$ac_exeext conftest.$ac_ext
63802
63803 fi
63804
63805   res=no
63806   if test $glibcxx_cv_S_ISREG = yes; then
63807
63808 cat >>confdefs.h <<\_ACEOF
63809 #define HAVE_S_ISREG 1
63810 _ACEOF
63811
63812     res=S_ISREG
63813   elif test $glibcxx_cv_S_IFREG = yes; then
63814
63815 cat >>confdefs.h <<\_ACEOF
63816 #define HAVE_S_IFREG 1
63817 _ACEOF
63818
63819     res=S_IFREG
63820   fi
63821   echo "$as_me:$LINENO: result: $res" >&5
63822 echo "${ECHO_T}$res" >&6
63823
63824     cat >>confdefs.h <<\_ACEOF
63825 #define HAVE_SIGSETJMP 1
63826 _ACEOF
63827
63828     cat >>confdefs.h <<\_ACEOF
63829 #define HAVE_GETPAGESIZE 1
63830 _ACEOF
63831
63832     cat >>confdefs.h <<\_ACEOF
63833 #define HAVE_WRITEV 1
63834 _ACEOF
63835
63836     cat >>confdefs.h <<\_ACEOF
63837 #define HAVE_INT64_T 1
63838 _ACEOF
63839
63840
63841     cat >>confdefs.h <<\_ACEOF
63842 #define HAVE_LIBM 1
63843 _ACEOF
63844
63845     cat >>confdefs.h <<\_ACEOF
63846 #define HAVE_COPYSIGN 1
63847 _ACEOF
63848
63849     cat >>confdefs.h <<\_ACEOF
63850 #define HAVE_FINITE 1
63851 _ACEOF
63852
63853     cat >>confdefs.h <<\_ACEOF
63854 #define HAVE_HYPOT 1
63855 _ACEOF
63856
63857     cat >>confdefs.h <<\_ACEOF
63858 #define HAVE_ISNAN 1
63859 _ACEOF
63860
63861     cat >>confdefs.h <<\_ACEOF
63862 #define HAVE_ISINF 1
63863 _ACEOF
63864
63865
63866     cat >>confdefs.h <<\_ACEOF
63867 #define HAVE_LDEXPF 1
63868 _ACEOF
63869
63870     cat >>confdefs.h <<\_ACEOF
63871 #define HAVE_MODF 1
63872 _ACEOF
63873
63874     cat >>confdefs.h <<\_ACEOF
63875 #define HAVE_SQRTF 1
63876 _ACEOF
63877
63878     ;;
63879
63880   *-darwin*)
63881     # Darwin versions vary, but the linker should work in a cross environment,
63882     # so we just check for all the features here.
63883     # Check for available headers.
63884
63885
63886
63887
63888
63889
63890
63891
63892
63893
63894
63895
63896
63897 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
63898     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
63899     sys/types.h
63900 do
63901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63903   echo "$as_me:$LINENO: checking for $ac_header" >&5
63904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63906   echo $ECHO_N "(cached) $ECHO_C" >&6
63907 fi
63908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63910 else
63911   # Is the header compilable?
63912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63914 cat >conftest.$ac_ext <<_ACEOF
63915 /* confdefs.h.  */
63916 _ACEOF
63917 cat confdefs.h >>conftest.$ac_ext
63918 cat >>conftest.$ac_ext <<_ACEOF
63919 /* end confdefs.h.  */
63920 $ac_includes_default
63921 #include <$ac_header>
63922 _ACEOF
63923 rm -f conftest.$ac_objext
63924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63925   (eval $ac_compile) 2>conftest.er1
63926   ac_status=$?
63927   grep -v '^ *+' conftest.er1 >conftest.err
63928   rm -f conftest.er1
63929   cat conftest.err >&5
63930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63931   (exit $ac_status); } &&
63932          { ac_try='test -z "$ac_c_werror_flag"
63933                          || test ! -s conftest.err'
63934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63935   (eval $ac_try) 2>&5
63936   ac_status=$?
63937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63938   (exit $ac_status); }; } &&
63939          { ac_try='test -s conftest.$ac_objext'
63940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63941   (eval $ac_try) 2>&5
63942   ac_status=$?
63943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63944   (exit $ac_status); }; }; then
63945   ac_header_compiler=yes
63946 else
63947   echo "$as_me: failed program was:" >&5
63948 sed 's/^/| /' conftest.$ac_ext >&5
63949
63950 ac_header_compiler=no
63951 fi
63952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63954 echo "${ECHO_T}$ac_header_compiler" >&6
63955
63956 # Is the header present?
63957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63959 cat >conftest.$ac_ext <<_ACEOF
63960 /* confdefs.h.  */
63961 _ACEOF
63962 cat confdefs.h >>conftest.$ac_ext
63963 cat >>conftest.$ac_ext <<_ACEOF
63964 /* end confdefs.h.  */
63965 #include <$ac_header>
63966 _ACEOF
63967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63968   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63969   ac_status=$?
63970   grep -v '^ *+' conftest.er1 >conftest.err
63971   rm -f conftest.er1
63972   cat conftest.err >&5
63973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63974   (exit $ac_status); } >/dev/null; then
63975   if test -s conftest.err; then
63976     ac_cpp_err=$ac_c_preproc_warn_flag
63977     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63978   else
63979     ac_cpp_err=
63980   fi
63981 else
63982   ac_cpp_err=yes
63983 fi
63984 if test -z "$ac_cpp_err"; then
63985   ac_header_preproc=yes
63986 else
63987   echo "$as_me: failed program was:" >&5
63988 sed 's/^/| /' conftest.$ac_ext >&5
63989
63990   ac_header_preproc=no
63991 fi
63992 rm -f conftest.err conftest.$ac_ext
63993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63994 echo "${ECHO_T}$ac_header_preproc" >&6
63995
63996 # So?  What about this header?
63997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63998   yes:no: )
63999     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64001     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64003     ac_header_preproc=yes
64004     ;;
64005   no:yes:* )
64006     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64008     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
64009 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
64010     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64012     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
64013 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
64014     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64016     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64018     (
64019       cat <<\_ASBOX
64020 ## ----------------------------------------- ##
64021 ## Report this to the package-unused lists.  ##
64022 ## ----------------------------------------- ##
64023 _ASBOX
64024     ) |
64025       sed "s/^/$as_me: WARNING:     /" >&2
64026     ;;
64027 esac
64028 echo "$as_me:$LINENO: checking for $ac_header" >&5
64029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64031   echo $ECHO_N "(cached) $ECHO_C" >&6
64032 else
64033   eval "$as_ac_Header=\$ac_header_preproc"
64034 fi
64035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64037
64038 fi
64039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64040   cat >>confdefs.h <<_ACEOF
64041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64042 _ACEOF
64043
64044 fi
64045
64046 done
64047
64048
64049     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64050
64051   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64052   ac_save_CXXFLAGS="$CXXFLAGS"
64053   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64054
64055     echo "$as_me:$LINENO: checking for sin in -lm" >&5
64056 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64057 if test "${ac_cv_lib_m_sin+set}" = set; then
64058   echo $ECHO_N "(cached) $ECHO_C" >&6
64059 else
64060   ac_check_lib_save_LIBS=$LIBS
64061 LIBS="-lm  $LIBS"
64062 if test x$gcc_no_link = xyes; then
64063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64065    { (exit 1); exit 1; }; }
64066 fi
64067 cat >conftest.$ac_ext <<_ACEOF
64068 /* confdefs.h.  */
64069 _ACEOF
64070 cat confdefs.h >>conftest.$ac_ext
64071 cat >>conftest.$ac_ext <<_ACEOF
64072 /* end confdefs.h.  */
64073
64074 /* Override any gcc2 internal prototype to avoid an error.  */
64075 #ifdef __cplusplus
64076 extern "C"
64077 #endif
64078 /* We use char because int might match the return type of a gcc2
64079    builtin and then its argument prototype would still apply.  */
64080 char sin ();
64081 int
64082 main ()
64083 {
64084 sin ();
64085   ;
64086   return 0;
64087 }
64088 _ACEOF
64089 rm -f conftest.$ac_objext conftest$ac_exeext
64090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64091   (eval $ac_link) 2>conftest.er1
64092   ac_status=$?
64093   grep -v '^ *+' conftest.er1 >conftest.err
64094   rm -f conftest.er1
64095   cat conftest.err >&5
64096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64097   (exit $ac_status); } &&
64098          { ac_try='test -z "$ac_c_werror_flag"
64099                          || test ! -s conftest.err'
64100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64101   (eval $ac_try) 2>&5
64102   ac_status=$?
64103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64104   (exit $ac_status); }; } &&
64105          { ac_try='test -s conftest$ac_exeext'
64106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64107   (eval $ac_try) 2>&5
64108   ac_status=$?
64109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64110   (exit $ac_status); }; }; then
64111   ac_cv_lib_m_sin=yes
64112 else
64113   echo "$as_me: failed program was:" >&5
64114 sed 's/^/| /' conftest.$ac_ext >&5
64115
64116 ac_cv_lib_m_sin=no
64117 fi
64118 rm -f conftest.err conftest.$ac_objext \
64119       conftest$ac_exeext conftest.$ac_ext
64120 LIBS=$ac_check_lib_save_LIBS
64121 fi
64122 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64123 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64124 if test $ac_cv_lib_m_sin = yes; then
64125   libm="-lm"
64126 fi
64127
64128   ac_save_LIBS="$LIBS"
64129   LIBS="$LIBS $libm"
64130
64131
64132
64133   echo "$as_me:$LINENO: checking for isinf declaration" >&5
64134 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64135   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64136     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64137   echo $ECHO_N "(cached) $ECHO_C" >&6
64138 else
64139
64140
64141
64142       ac_ext=cc
64143 ac_cpp='$CXXCPP $CPPFLAGS'
64144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64147
64148       cat >conftest.$ac_ext <<_ACEOF
64149 /* confdefs.h.  */
64150 _ACEOF
64151 cat confdefs.h >>conftest.$ac_ext
64152 cat >>conftest.$ac_ext <<_ACEOF
64153 /* end confdefs.h.  */
64154 #include <math.h>
64155                       #ifdef HAVE_IEEEFP_H
64156                       #include <ieeefp.h>
64157                       #endif
64158
64159 int
64160 main ()
64161 {
64162  isinf(0);
64163   ;
64164   return 0;
64165 }
64166 _ACEOF
64167 rm -f conftest.$ac_objext
64168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64169   (eval $ac_compile) 2>conftest.er1
64170   ac_status=$?
64171   grep -v '^ *+' conftest.er1 >conftest.err
64172   rm -f conftest.er1
64173   cat conftest.err >&5
64174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64175   (exit $ac_status); } &&
64176          { ac_try='test -z "$ac_cxx_werror_flag"
64177                          || test ! -s conftest.err'
64178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64179   (eval $ac_try) 2>&5
64180   ac_status=$?
64181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64182   (exit $ac_status); }; } &&
64183          { ac_try='test -s conftest.$ac_objext'
64184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64185   (eval $ac_try) 2>&5
64186   ac_status=$?
64187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64188   (exit $ac_status); }; }; then
64189   glibcxx_cv_func_isinf_use=yes
64190 else
64191   echo "$as_me: failed program was:" >&5
64192 sed 's/^/| /' conftest.$ac_ext >&5
64193
64194 glibcxx_cv_func_isinf_use=no
64195 fi
64196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64197       ac_ext=c
64198 ac_cpp='$CPP $CPPFLAGS'
64199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64202
64203
64204 fi
64205
64206   fi
64207   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64208 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64209
64210   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64211
64212 for ac_func in isinf
64213 do
64214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64215 echo "$as_me:$LINENO: checking for $ac_func" >&5
64216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64217 if eval "test \"\${$as_ac_var+set}\" = set"; then
64218   echo $ECHO_N "(cached) $ECHO_C" >&6
64219 else
64220   if test x$gcc_no_link = xyes; then
64221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64223    { (exit 1); exit 1; }; }
64224 fi
64225 cat >conftest.$ac_ext <<_ACEOF
64226 /* confdefs.h.  */
64227 _ACEOF
64228 cat confdefs.h >>conftest.$ac_ext
64229 cat >>conftest.$ac_ext <<_ACEOF
64230 /* end confdefs.h.  */
64231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64233 #define $ac_func innocuous_$ac_func
64234
64235 /* System header to define __stub macros and hopefully few prototypes,
64236     which can conflict with char $ac_func (); below.
64237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64238     <limits.h> exists even on freestanding compilers.  */
64239
64240 #ifdef __STDC__
64241 # include <limits.h>
64242 #else
64243 # include <assert.h>
64244 #endif
64245
64246 #undef $ac_func
64247
64248 /* Override any gcc2 internal prototype to avoid an error.  */
64249 #ifdef __cplusplus
64250 extern "C"
64251 {
64252 #endif
64253 /* We use char because int might match the return type of a gcc2
64254    builtin and then its argument prototype would still apply.  */
64255 char $ac_func ();
64256 /* The GNU C library defines this for functions which it implements
64257     to always fail with ENOSYS.  Some functions are actually named
64258     something starting with __ and the normal name is an alias.  */
64259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64260 choke me
64261 #else
64262 char (*f) () = $ac_func;
64263 #endif
64264 #ifdef __cplusplus
64265 }
64266 #endif
64267
64268 int
64269 main ()
64270 {
64271 return f != $ac_func;
64272   ;
64273   return 0;
64274 }
64275 _ACEOF
64276 rm -f conftest.$ac_objext conftest$ac_exeext
64277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64278   (eval $ac_link) 2>conftest.er1
64279   ac_status=$?
64280   grep -v '^ *+' conftest.er1 >conftest.err
64281   rm -f conftest.er1
64282   cat conftest.err >&5
64283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64284   (exit $ac_status); } &&
64285          { ac_try='test -z "$ac_c_werror_flag"
64286                          || test ! -s conftest.err'
64287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64288   (eval $ac_try) 2>&5
64289   ac_status=$?
64290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64291   (exit $ac_status); }; } &&
64292          { ac_try='test -s conftest$ac_exeext'
64293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64294   (eval $ac_try) 2>&5
64295   ac_status=$?
64296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64297   (exit $ac_status); }; }; then
64298   eval "$as_ac_var=yes"
64299 else
64300   echo "$as_me: failed program was:" >&5
64301 sed 's/^/| /' conftest.$ac_ext >&5
64302
64303 eval "$as_ac_var=no"
64304 fi
64305 rm -f conftest.err conftest.$ac_objext \
64306       conftest$ac_exeext conftest.$ac_ext
64307 fi
64308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64310 if test `eval echo '${'$as_ac_var'}'` = yes; then
64311   cat >>confdefs.h <<_ACEOF
64312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64313 _ACEOF
64314
64315 fi
64316 done
64317
64318   else
64319
64320   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64321 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64322   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64323     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64324   echo $ECHO_N "(cached) $ECHO_C" >&6
64325 else
64326
64327
64328
64329       ac_ext=cc
64330 ac_cpp='$CXXCPP $CPPFLAGS'
64331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64334
64335       cat >conftest.$ac_ext <<_ACEOF
64336 /* confdefs.h.  */
64337 _ACEOF
64338 cat confdefs.h >>conftest.$ac_ext
64339 cat >>conftest.$ac_ext <<_ACEOF
64340 /* end confdefs.h.  */
64341 #include <math.h>
64342                       #ifdef HAVE_IEEEFP_H
64343                       #include <ieeefp.h>
64344                       #endif
64345
64346 int
64347 main ()
64348 {
64349  _isinf(0);
64350   ;
64351   return 0;
64352 }
64353 _ACEOF
64354 rm -f conftest.$ac_objext
64355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64356   (eval $ac_compile) 2>conftest.er1
64357   ac_status=$?
64358   grep -v '^ *+' conftest.er1 >conftest.err
64359   rm -f conftest.er1
64360   cat conftest.err >&5
64361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64362   (exit $ac_status); } &&
64363          { ac_try='test -z "$ac_cxx_werror_flag"
64364                          || test ! -s conftest.err'
64365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64366   (eval $ac_try) 2>&5
64367   ac_status=$?
64368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64369   (exit $ac_status); }; } &&
64370          { ac_try='test -s conftest.$ac_objext'
64371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64372   (eval $ac_try) 2>&5
64373   ac_status=$?
64374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64375   (exit $ac_status); }; }; then
64376   glibcxx_cv_func__isinf_use=yes
64377 else
64378   echo "$as_me: failed program was:" >&5
64379 sed 's/^/| /' conftest.$ac_ext >&5
64380
64381 glibcxx_cv_func__isinf_use=no
64382 fi
64383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64384       ac_ext=c
64385 ac_cpp='$CPP $CPPFLAGS'
64386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64389
64390
64391 fi
64392
64393   fi
64394   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64395 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64396
64397     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64398
64399 for ac_func in _isinf
64400 do
64401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64402 echo "$as_me:$LINENO: checking for $ac_func" >&5
64403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64404 if eval "test \"\${$as_ac_var+set}\" = set"; then
64405   echo $ECHO_N "(cached) $ECHO_C" >&6
64406 else
64407   if test x$gcc_no_link = xyes; then
64408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64410    { (exit 1); exit 1; }; }
64411 fi
64412 cat >conftest.$ac_ext <<_ACEOF
64413 /* confdefs.h.  */
64414 _ACEOF
64415 cat confdefs.h >>conftest.$ac_ext
64416 cat >>conftest.$ac_ext <<_ACEOF
64417 /* end confdefs.h.  */
64418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64420 #define $ac_func innocuous_$ac_func
64421
64422 /* System header to define __stub macros and hopefully few prototypes,
64423     which can conflict with char $ac_func (); below.
64424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64425     <limits.h> exists even on freestanding compilers.  */
64426
64427 #ifdef __STDC__
64428 # include <limits.h>
64429 #else
64430 # include <assert.h>
64431 #endif
64432
64433 #undef $ac_func
64434
64435 /* Override any gcc2 internal prototype to avoid an error.  */
64436 #ifdef __cplusplus
64437 extern "C"
64438 {
64439 #endif
64440 /* We use char because int might match the return type of a gcc2
64441    builtin and then its argument prototype would still apply.  */
64442 char $ac_func ();
64443 /* The GNU C library defines this for functions which it implements
64444     to always fail with ENOSYS.  Some functions are actually named
64445     something starting with __ and the normal name is an alias.  */
64446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64447 choke me
64448 #else
64449 char (*f) () = $ac_func;
64450 #endif
64451 #ifdef __cplusplus
64452 }
64453 #endif
64454
64455 int
64456 main ()
64457 {
64458 return f != $ac_func;
64459   ;
64460   return 0;
64461 }
64462 _ACEOF
64463 rm -f conftest.$ac_objext conftest$ac_exeext
64464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64465   (eval $ac_link) 2>conftest.er1
64466   ac_status=$?
64467   grep -v '^ *+' conftest.er1 >conftest.err
64468   rm -f conftest.er1
64469   cat conftest.err >&5
64470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64471   (exit $ac_status); } &&
64472          { ac_try='test -z "$ac_c_werror_flag"
64473                          || test ! -s conftest.err'
64474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64475   (eval $ac_try) 2>&5
64476   ac_status=$?
64477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64478   (exit $ac_status); }; } &&
64479          { ac_try='test -s conftest$ac_exeext'
64480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64481   (eval $ac_try) 2>&5
64482   ac_status=$?
64483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64484   (exit $ac_status); }; }; then
64485   eval "$as_ac_var=yes"
64486 else
64487   echo "$as_me: failed program was:" >&5
64488 sed 's/^/| /' conftest.$ac_ext >&5
64489
64490 eval "$as_ac_var=no"
64491 fi
64492 rm -f conftest.err conftest.$ac_objext \
64493       conftest$ac_exeext conftest.$ac_ext
64494 fi
64495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64497 if test `eval echo '${'$as_ac_var'}'` = yes; then
64498   cat >>confdefs.h <<_ACEOF
64499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64500 _ACEOF
64501
64502 fi
64503 done
64504
64505     fi
64506   fi
64507
64508
64509
64510
64511
64512
64513   echo "$as_me:$LINENO: checking for isnan declaration" >&5
64514 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64515   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64516     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64517   echo $ECHO_N "(cached) $ECHO_C" >&6
64518 else
64519
64520
64521
64522       ac_ext=cc
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64527
64528       cat >conftest.$ac_ext <<_ACEOF
64529 /* confdefs.h.  */
64530 _ACEOF
64531 cat confdefs.h >>conftest.$ac_ext
64532 cat >>conftest.$ac_ext <<_ACEOF
64533 /* end confdefs.h.  */
64534 #include <math.h>
64535                       #ifdef HAVE_IEEEFP_H
64536                       #include <ieeefp.h>
64537                       #endif
64538
64539 int
64540 main ()
64541 {
64542  isnan(0);
64543   ;
64544   return 0;
64545 }
64546 _ACEOF
64547 rm -f conftest.$ac_objext
64548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64549   (eval $ac_compile) 2>conftest.er1
64550   ac_status=$?
64551   grep -v '^ *+' conftest.er1 >conftest.err
64552   rm -f conftest.er1
64553   cat conftest.err >&5
64554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64555   (exit $ac_status); } &&
64556          { ac_try='test -z "$ac_cxx_werror_flag"
64557                          || test ! -s conftest.err'
64558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64559   (eval $ac_try) 2>&5
64560   ac_status=$?
64561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64562   (exit $ac_status); }; } &&
64563          { ac_try='test -s conftest.$ac_objext'
64564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64565   (eval $ac_try) 2>&5
64566   ac_status=$?
64567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64568   (exit $ac_status); }; }; then
64569   glibcxx_cv_func_isnan_use=yes
64570 else
64571   echo "$as_me: failed program was:" >&5
64572 sed 's/^/| /' conftest.$ac_ext >&5
64573
64574 glibcxx_cv_func_isnan_use=no
64575 fi
64576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64577       ac_ext=c
64578 ac_cpp='$CPP $CPPFLAGS'
64579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64582
64583
64584 fi
64585
64586   fi
64587   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64588 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64589
64590   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64591
64592 for ac_func in isnan
64593 do
64594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64595 echo "$as_me:$LINENO: checking for $ac_func" >&5
64596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64597 if eval "test \"\${$as_ac_var+set}\" = set"; then
64598   echo $ECHO_N "(cached) $ECHO_C" >&6
64599 else
64600   if test x$gcc_no_link = xyes; then
64601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64603    { (exit 1); exit 1; }; }
64604 fi
64605 cat >conftest.$ac_ext <<_ACEOF
64606 /* confdefs.h.  */
64607 _ACEOF
64608 cat confdefs.h >>conftest.$ac_ext
64609 cat >>conftest.$ac_ext <<_ACEOF
64610 /* end confdefs.h.  */
64611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64613 #define $ac_func innocuous_$ac_func
64614
64615 /* System header to define __stub macros and hopefully few prototypes,
64616     which can conflict with char $ac_func (); below.
64617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64618     <limits.h> exists even on freestanding compilers.  */
64619
64620 #ifdef __STDC__
64621 # include <limits.h>
64622 #else
64623 # include <assert.h>
64624 #endif
64625
64626 #undef $ac_func
64627
64628 /* Override any gcc2 internal prototype to avoid an error.  */
64629 #ifdef __cplusplus
64630 extern "C"
64631 {
64632 #endif
64633 /* We use char because int might match the return type of a gcc2
64634    builtin and then its argument prototype would still apply.  */
64635 char $ac_func ();
64636 /* The GNU C library defines this for functions which it implements
64637     to always fail with ENOSYS.  Some functions are actually named
64638     something starting with __ and the normal name is an alias.  */
64639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64640 choke me
64641 #else
64642 char (*f) () = $ac_func;
64643 #endif
64644 #ifdef __cplusplus
64645 }
64646 #endif
64647
64648 int
64649 main ()
64650 {
64651 return f != $ac_func;
64652   ;
64653   return 0;
64654 }
64655 _ACEOF
64656 rm -f conftest.$ac_objext conftest$ac_exeext
64657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64658   (eval $ac_link) 2>conftest.er1
64659   ac_status=$?
64660   grep -v '^ *+' conftest.er1 >conftest.err
64661   rm -f conftest.er1
64662   cat conftest.err >&5
64663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64664   (exit $ac_status); } &&
64665          { ac_try='test -z "$ac_c_werror_flag"
64666                          || test ! -s conftest.err'
64667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64668   (eval $ac_try) 2>&5
64669   ac_status=$?
64670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64671   (exit $ac_status); }; } &&
64672          { ac_try='test -s conftest$ac_exeext'
64673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64674   (eval $ac_try) 2>&5
64675   ac_status=$?
64676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64677   (exit $ac_status); }; }; then
64678   eval "$as_ac_var=yes"
64679 else
64680   echo "$as_me: failed program was:" >&5
64681 sed 's/^/| /' conftest.$ac_ext >&5
64682
64683 eval "$as_ac_var=no"
64684 fi
64685 rm -f conftest.err conftest.$ac_objext \
64686       conftest$ac_exeext conftest.$ac_ext
64687 fi
64688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64690 if test `eval echo '${'$as_ac_var'}'` = yes; then
64691   cat >>confdefs.h <<_ACEOF
64692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64693 _ACEOF
64694
64695 fi
64696 done
64697
64698   else
64699
64700   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64701 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64702   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64703     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64704   echo $ECHO_N "(cached) $ECHO_C" >&6
64705 else
64706
64707
64708
64709       ac_ext=cc
64710 ac_cpp='$CXXCPP $CPPFLAGS'
64711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64714
64715       cat >conftest.$ac_ext <<_ACEOF
64716 /* confdefs.h.  */
64717 _ACEOF
64718 cat confdefs.h >>conftest.$ac_ext
64719 cat >>conftest.$ac_ext <<_ACEOF
64720 /* end confdefs.h.  */
64721 #include <math.h>
64722                       #ifdef HAVE_IEEEFP_H
64723                       #include <ieeefp.h>
64724                       #endif
64725
64726 int
64727 main ()
64728 {
64729  _isnan(0);
64730   ;
64731   return 0;
64732 }
64733 _ACEOF
64734 rm -f conftest.$ac_objext
64735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64736   (eval $ac_compile) 2>conftest.er1
64737   ac_status=$?
64738   grep -v '^ *+' conftest.er1 >conftest.err
64739   rm -f conftest.er1
64740   cat conftest.err >&5
64741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64742   (exit $ac_status); } &&
64743          { ac_try='test -z "$ac_cxx_werror_flag"
64744                          || test ! -s conftest.err'
64745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64746   (eval $ac_try) 2>&5
64747   ac_status=$?
64748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64749   (exit $ac_status); }; } &&
64750          { ac_try='test -s conftest.$ac_objext'
64751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64752   (eval $ac_try) 2>&5
64753   ac_status=$?
64754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64755   (exit $ac_status); }; }; then
64756   glibcxx_cv_func__isnan_use=yes
64757 else
64758   echo "$as_me: failed program was:" >&5
64759 sed 's/^/| /' conftest.$ac_ext >&5
64760
64761 glibcxx_cv_func__isnan_use=no
64762 fi
64763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64764       ac_ext=c
64765 ac_cpp='$CPP $CPPFLAGS'
64766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64769
64770
64771 fi
64772
64773   fi
64774   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64775 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64776
64777     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64778
64779 for ac_func in _isnan
64780 do
64781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64782 echo "$as_me:$LINENO: checking for $ac_func" >&5
64783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64784 if eval "test \"\${$as_ac_var+set}\" = set"; then
64785   echo $ECHO_N "(cached) $ECHO_C" >&6
64786 else
64787   if test x$gcc_no_link = xyes; then
64788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64790    { (exit 1); exit 1; }; }
64791 fi
64792 cat >conftest.$ac_ext <<_ACEOF
64793 /* confdefs.h.  */
64794 _ACEOF
64795 cat confdefs.h >>conftest.$ac_ext
64796 cat >>conftest.$ac_ext <<_ACEOF
64797 /* end confdefs.h.  */
64798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64800 #define $ac_func innocuous_$ac_func
64801
64802 /* System header to define __stub macros and hopefully few prototypes,
64803     which can conflict with char $ac_func (); below.
64804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64805     <limits.h> exists even on freestanding compilers.  */
64806
64807 #ifdef __STDC__
64808 # include <limits.h>
64809 #else
64810 # include <assert.h>
64811 #endif
64812
64813 #undef $ac_func
64814
64815 /* Override any gcc2 internal prototype to avoid an error.  */
64816 #ifdef __cplusplus
64817 extern "C"
64818 {
64819 #endif
64820 /* We use char because int might match the return type of a gcc2
64821    builtin and then its argument prototype would still apply.  */
64822 char $ac_func ();
64823 /* The GNU C library defines this for functions which it implements
64824     to always fail with ENOSYS.  Some functions are actually named
64825     something starting with __ and the normal name is an alias.  */
64826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64827 choke me
64828 #else
64829 char (*f) () = $ac_func;
64830 #endif
64831 #ifdef __cplusplus
64832 }
64833 #endif
64834
64835 int
64836 main ()
64837 {
64838 return f != $ac_func;
64839   ;
64840   return 0;
64841 }
64842 _ACEOF
64843 rm -f conftest.$ac_objext conftest$ac_exeext
64844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64845   (eval $ac_link) 2>conftest.er1
64846   ac_status=$?
64847   grep -v '^ *+' conftest.er1 >conftest.err
64848   rm -f conftest.er1
64849   cat conftest.err >&5
64850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64851   (exit $ac_status); } &&
64852          { ac_try='test -z "$ac_c_werror_flag"
64853                          || test ! -s conftest.err'
64854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64855   (eval $ac_try) 2>&5
64856   ac_status=$?
64857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64858   (exit $ac_status); }; } &&
64859          { ac_try='test -s conftest$ac_exeext'
64860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64861   (eval $ac_try) 2>&5
64862   ac_status=$?
64863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64864   (exit $ac_status); }; }; then
64865   eval "$as_ac_var=yes"
64866 else
64867   echo "$as_me: failed program was:" >&5
64868 sed 's/^/| /' conftest.$ac_ext >&5
64869
64870 eval "$as_ac_var=no"
64871 fi
64872 rm -f conftest.err conftest.$ac_objext \
64873       conftest$ac_exeext conftest.$ac_ext
64874 fi
64875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64877 if test `eval echo '${'$as_ac_var'}'` = yes; then
64878   cat >>confdefs.h <<_ACEOF
64879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64880 _ACEOF
64881
64882 fi
64883 done
64884
64885     fi
64886   fi
64887
64888
64889
64890
64891
64892
64893   echo "$as_me:$LINENO: checking for finite declaration" >&5
64894 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
64895   if test x${glibcxx_cv_func_finite_use+set} != xset; then
64896     if test "${glibcxx_cv_func_finite_use+set}" = set; then
64897   echo $ECHO_N "(cached) $ECHO_C" >&6
64898 else
64899
64900
64901
64902       ac_ext=cc
64903 ac_cpp='$CXXCPP $CPPFLAGS'
64904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64907
64908       cat >conftest.$ac_ext <<_ACEOF
64909 /* confdefs.h.  */
64910 _ACEOF
64911 cat confdefs.h >>conftest.$ac_ext
64912 cat >>conftest.$ac_ext <<_ACEOF
64913 /* end confdefs.h.  */
64914 #include <math.h>
64915                       #ifdef HAVE_IEEEFP_H
64916                       #include <ieeefp.h>
64917                       #endif
64918
64919 int
64920 main ()
64921 {
64922  finite(0);
64923   ;
64924   return 0;
64925 }
64926 _ACEOF
64927 rm -f conftest.$ac_objext
64928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64929   (eval $ac_compile) 2>conftest.er1
64930   ac_status=$?
64931   grep -v '^ *+' conftest.er1 >conftest.err
64932   rm -f conftest.er1
64933   cat conftest.err >&5
64934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64935   (exit $ac_status); } &&
64936          { ac_try='test -z "$ac_cxx_werror_flag"
64937                          || test ! -s conftest.err'
64938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64939   (eval $ac_try) 2>&5
64940   ac_status=$?
64941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64942   (exit $ac_status); }; } &&
64943          { ac_try='test -s conftest.$ac_objext'
64944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64945   (eval $ac_try) 2>&5
64946   ac_status=$?
64947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64948   (exit $ac_status); }; }; then
64949   glibcxx_cv_func_finite_use=yes
64950 else
64951   echo "$as_me: failed program was:" >&5
64952 sed 's/^/| /' conftest.$ac_ext >&5
64953
64954 glibcxx_cv_func_finite_use=no
64955 fi
64956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64957       ac_ext=c
64958 ac_cpp='$CPP $CPPFLAGS'
64959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64962
64963
64964 fi
64965
64966   fi
64967   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64968 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64969
64970   if test x$glibcxx_cv_func_finite_use = x"yes"; then
64971
64972 for ac_func in finite
64973 do
64974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64975 echo "$as_me:$LINENO: checking for $ac_func" >&5
64976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64977 if eval "test \"\${$as_ac_var+set}\" = set"; then
64978   echo $ECHO_N "(cached) $ECHO_C" >&6
64979 else
64980   if test x$gcc_no_link = xyes; then
64981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64983    { (exit 1); exit 1; }; }
64984 fi
64985 cat >conftest.$ac_ext <<_ACEOF
64986 /* confdefs.h.  */
64987 _ACEOF
64988 cat confdefs.h >>conftest.$ac_ext
64989 cat >>conftest.$ac_ext <<_ACEOF
64990 /* end confdefs.h.  */
64991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64993 #define $ac_func innocuous_$ac_func
64994
64995 /* System header to define __stub macros and hopefully few prototypes,
64996     which can conflict with char $ac_func (); below.
64997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64998     <limits.h> exists even on freestanding compilers.  */
64999
65000 #ifdef __STDC__
65001 # include <limits.h>
65002 #else
65003 # include <assert.h>
65004 #endif
65005
65006 #undef $ac_func
65007
65008 /* Override any gcc2 internal prototype to avoid an error.  */
65009 #ifdef __cplusplus
65010 extern "C"
65011 {
65012 #endif
65013 /* We use char because int might match the return type of a gcc2
65014    builtin and then its argument prototype would still apply.  */
65015 char $ac_func ();
65016 /* The GNU C library defines this for functions which it implements
65017     to always fail with ENOSYS.  Some functions are actually named
65018     something starting with __ and the normal name is an alias.  */
65019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65020 choke me
65021 #else
65022 char (*f) () = $ac_func;
65023 #endif
65024 #ifdef __cplusplus
65025 }
65026 #endif
65027
65028 int
65029 main ()
65030 {
65031 return f != $ac_func;
65032   ;
65033   return 0;
65034 }
65035 _ACEOF
65036 rm -f conftest.$ac_objext conftest$ac_exeext
65037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65038   (eval $ac_link) 2>conftest.er1
65039   ac_status=$?
65040   grep -v '^ *+' conftest.er1 >conftest.err
65041   rm -f conftest.er1
65042   cat conftest.err >&5
65043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65044   (exit $ac_status); } &&
65045          { ac_try='test -z "$ac_c_werror_flag"
65046                          || test ! -s conftest.err'
65047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65048   (eval $ac_try) 2>&5
65049   ac_status=$?
65050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65051   (exit $ac_status); }; } &&
65052          { ac_try='test -s conftest$ac_exeext'
65053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65054   (eval $ac_try) 2>&5
65055   ac_status=$?
65056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65057   (exit $ac_status); }; }; then
65058   eval "$as_ac_var=yes"
65059 else
65060   echo "$as_me: failed program was:" >&5
65061 sed 's/^/| /' conftest.$ac_ext >&5
65062
65063 eval "$as_ac_var=no"
65064 fi
65065 rm -f conftest.err conftest.$ac_objext \
65066       conftest$ac_exeext conftest.$ac_ext
65067 fi
65068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65070 if test `eval echo '${'$as_ac_var'}'` = yes; then
65071   cat >>confdefs.h <<_ACEOF
65072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65073 _ACEOF
65074
65075 fi
65076 done
65077
65078   else
65079
65080   echo "$as_me:$LINENO: checking for _finite declaration" >&5
65081 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65082   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65083     if test "${glibcxx_cv_func__finite_use+set}" = set; then
65084   echo $ECHO_N "(cached) $ECHO_C" >&6
65085 else
65086
65087
65088
65089       ac_ext=cc
65090 ac_cpp='$CXXCPP $CPPFLAGS'
65091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65094
65095       cat >conftest.$ac_ext <<_ACEOF
65096 /* confdefs.h.  */
65097 _ACEOF
65098 cat confdefs.h >>conftest.$ac_ext
65099 cat >>conftest.$ac_ext <<_ACEOF
65100 /* end confdefs.h.  */
65101 #include <math.h>
65102                       #ifdef HAVE_IEEEFP_H
65103                       #include <ieeefp.h>
65104                       #endif
65105
65106 int
65107 main ()
65108 {
65109  _finite(0);
65110   ;
65111   return 0;
65112 }
65113 _ACEOF
65114 rm -f conftest.$ac_objext
65115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65116   (eval $ac_compile) 2>conftest.er1
65117   ac_status=$?
65118   grep -v '^ *+' conftest.er1 >conftest.err
65119   rm -f conftest.er1
65120   cat conftest.err >&5
65121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65122   (exit $ac_status); } &&
65123          { ac_try='test -z "$ac_cxx_werror_flag"
65124                          || test ! -s conftest.err'
65125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65126   (eval $ac_try) 2>&5
65127   ac_status=$?
65128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65129   (exit $ac_status); }; } &&
65130          { ac_try='test -s conftest.$ac_objext'
65131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65132   (eval $ac_try) 2>&5
65133   ac_status=$?
65134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65135   (exit $ac_status); }; }; then
65136   glibcxx_cv_func__finite_use=yes
65137 else
65138   echo "$as_me: failed program was:" >&5
65139 sed 's/^/| /' conftest.$ac_ext >&5
65140
65141 glibcxx_cv_func__finite_use=no
65142 fi
65143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65144       ac_ext=c
65145 ac_cpp='$CPP $CPPFLAGS'
65146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65149
65150
65151 fi
65152
65153   fi
65154   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65155 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65156
65157     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65158
65159 for ac_func in _finite
65160 do
65161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65162 echo "$as_me:$LINENO: checking for $ac_func" >&5
65163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65164 if eval "test \"\${$as_ac_var+set}\" = set"; then
65165   echo $ECHO_N "(cached) $ECHO_C" >&6
65166 else
65167   if test x$gcc_no_link = xyes; then
65168   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65170    { (exit 1); exit 1; }; }
65171 fi
65172 cat >conftest.$ac_ext <<_ACEOF
65173 /* confdefs.h.  */
65174 _ACEOF
65175 cat confdefs.h >>conftest.$ac_ext
65176 cat >>conftest.$ac_ext <<_ACEOF
65177 /* end confdefs.h.  */
65178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65180 #define $ac_func innocuous_$ac_func
65181
65182 /* System header to define __stub macros and hopefully few prototypes,
65183     which can conflict with char $ac_func (); below.
65184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65185     <limits.h> exists even on freestanding compilers.  */
65186
65187 #ifdef __STDC__
65188 # include <limits.h>
65189 #else
65190 # include <assert.h>
65191 #endif
65192
65193 #undef $ac_func
65194
65195 /* Override any gcc2 internal prototype to avoid an error.  */
65196 #ifdef __cplusplus
65197 extern "C"
65198 {
65199 #endif
65200 /* We use char because int might match the return type of a gcc2
65201    builtin and then its argument prototype would still apply.  */
65202 char $ac_func ();
65203 /* The GNU C library defines this for functions which it implements
65204     to always fail with ENOSYS.  Some functions are actually named
65205     something starting with __ and the normal name is an alias.  */
65206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65207 choke me
65208 #else
65209 char (*f) () = $ac_func;
65210 #endif
65211 #ifdef __cplusplus
65212 }
65213 #endif
65214
65215 int
65216 main ()
65217 {
65218 return f != $ac_func;
65219   ;
65220   return 0;
65221 }
65222 _ACEOF
65223 rm -f conftest.$ac_objext conftest$ac_exeext
65224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65225   (eval $ac_link) 2>conftest.er1
65226   ac_status=$?
65227   grep -v '^ *+' conftest.er1 >conftest.err
65228   rm -f conftest.er1
65229   cat conftest.err >&5
65230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65231   (exit $ac_status); } &&
65232          { ac_try='test -z "$ac_c_werror_flag"
65233                          || test ! -s conftest.err'
65234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65235   (eval $ac_try) 2>&5
65236   ac_status=$?
65237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65238   (exit $ac_status); }; } &&
65239          { ac_try='test -s conftest$ac_exeext'
65240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65241   (eval $ac_try) 2>&5
65242   ac_status=$?
65243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65244   (exit $ac_status); }; }; then
65245   eval "$as_ac_var=yes"
65246 else
65247   echo "$as_me: failed program was:" >&5
65248 sed 's/^/| /' conftest.$ac_ext >&5
65249
65250 eval "$as_ac_var=no"
65251 fi
65252 rm -f conftest.err conftest.$ac_objext \
65253       conftest$ac_exeext conftest.$ac_ext
65254 fi
65255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65257 if test `eval echo '${'$as_ac_var'}'` = yes; then
65258   cat >>confdefs.h <<_ACEOF
65259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65260 _ACEOF
65261
65262 fi
65263 done
65264
65265     fi
65266   fi
65267
65268
65269
65270
65271
65272
65273   echo "$as_me:$LINENO: checking for copysign declaration" >&5
65274 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65275   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65276     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65277   echo $ECHO_N "(cached) $ECHO_C" >&6
65278 else
65279
65280
65281
65282       ac_ext=cc
65283 ac_cpp='$CXXCPP $CPPFLAGS'
65284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65287
65288       cat >conftest.$ac_ext <<_ACEOF
65289 /* confdefs.h.  */
65290 _ACEOF
65291 cat confdefs.h >>conftest.$ac_ext
65292 cat >>conftest.$ac_ext <<_ACEOF
65293 /* end confdefs.h.  */
65294 #include <math.h>
65295 int
65296 main ()
65297 {
65298  copysign(0, 0);
65299   ;
65300   return 0;
65301 }
65302 _ACEOF
65303 rm -f conftest.$ac_objext
65304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65305   (eval $ac_compile) 2>conftest.er1
65306   ac_status=$?
65307   grep -v '^ *+' conftest.er1 >conftest.err
65308   rm -f conftest.er1
65309   cat conftest.err >&5
65310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65311   (exit $ac_status); } &&
65312          { ac_try='test -z "$ac_cxx_werror_flag"
65313                          || test ! -s conftest.err'
65314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65315   (eval $ac_try) 2>&5
65316   ac_status=$?
65317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65318   (exit $ac_status); }; } &&
65319          { ac_try='test -s conftest.$ac_objext'
65320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65321   (eval $ac_try) 2>&5
65322   ac_status=$?
65323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65324   (exit $ac_status); }; }; then
65325   glibcxx_cv_func_copysign_use=yes
65326 else
65327   echo "$as_me: failed program was:" >&5
65328 sed 's/^/| /' conftest.$ac_ext >&5
65329
65330 glibcxx_cv_func_copysign_use=no
65331 fi
65332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65333       ac_ext=c
65334 ac_cpp='$CPP $CPPFLAGS'
65335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65338
65339
65340 fi
65341
65342   fi
65343   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65344 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65345
65346   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65347
65348 for ac_func in copysign
65349 do
65350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65351 echo "$as_me:$LINENO: checking for $ac_func" >&5
65352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65353 if eval "test \"\${$as_ac_var+set}\" = set"; then
65354   echo $ECHO_N "(cached) $ECHO_C" >&6
65355 else
65356   if test x$gcc_no_link = xyes; then
65357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65359    { (exit 1); exit 1; }; }
65360 fi
65361 cat >conftest.$ac_ext <<_ACEOF
65362 /* confdefs.h.  */
65363 _ACEOF
65364 cat confdefs.h >>conftest.$ac_ext
65365 cat >>conftest.$ac_ext <<_ACEOF
65366 /* end confdefs.h.  */
65367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65369 #define $ac_func innocuous_$ac_func
65370
65371 /* System header to define __stub macros and hopefully few prototypes,
65372     which can conflict with char $ac_func (); below.
65373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65374     <limits.h> exists even on freestanding compilers.  */
65375
65376 #ifdef __STDC__
65377 # include <limits.h>
65378 #else
65379 # include <assert.h>
65380 #endif
65381
65382 #undef $ac_func
65383
65384 /* Override any gcc2 internal prototype to avoid an error.  */
65385 #ifdef __cplusplus
65386 extern "C"
65387 {
65388 #endif
65389 /* We use char because int might match the return type of a gcc2
65390    builtin and then its argument prototype would still apply.  */
65391 char $ac_func ();
65392 /* The GNU C library defines this for functions which it implements
65393     to always fail with ENOSYS.  Some functions are actually named
65394     something starting with __ and the normal name is an alias.  */
65395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65396 choke me
65397 #else
65398 char (*f) () = $ac_func;
65399 #endif
65400 #ifdef __cplusplus
65401 }
65402 #endif
65403
65404 int
65405 main ()
65406 {
65407 return f != $ac_func;
65408   ;
65409   return 0;
65410 }
65411 _ACEOF
65412 rm -f conftest.$ac_objext conftest$ac_exeext
65413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65414   (eval $ac_link) 2>conftest.er1
65415   ac_status=$?
65416   grep -v '^ *+' conftest.er1 >conftest.err
65417   rm -f conftest.er1
65418   cat conftest.err >&5
65419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65420   (exit $ac_status); } &&
65421          { ac_try='test -z "$ac_c_werror_flag"
65422                          || test ! -s conftest.err'
65423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65424   (eval $ac_try) 2>&5
65425   ac_status=$?
65426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65427   (exit $ac_status); }; } &&
65428          { ac_try='test -s conftest$ac_exeext'
65429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65430   (eval $ac_try) 2>&5
65431   ac_status=$?
65432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65433   (exit $ac_status); }; }; then
65434   eval "$as_ac_var=yes"
65435 else
65436   echo "$as_me: failed program was:" >&5
65437 sed 's/^/| /' conftest.$ac_ext >&5
65438
65439 eval "$as_ac_var=no"
65440 fi
65441 rm -f conftest.err conftest.$ac_objext \
65442       conftest$ac_exeext conftest.$ac_ext
65443 fi
65444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65446 if test `eval echo '${'$as_ac_var'}'` = yes; then
65447   cat >>confdefs.h <<_ACEOF
65448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65449 _ACEOF
65450
65451 fi
65452 done
65453
65454   else
65455
65456   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65457 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65458   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65459     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65460   echo $ECHO_N "(cached) $ECHO_C" >&6
65461 else
65462
65463
65464
65465       ac_ext=cc
65466 ac_cpp='$CXXCPP $CPPFLAGS'
65467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65470
65471       cat >conftest.$ac_ext <<_ACEOF
65472 /* confdefs.h.  */
65473 _ACEOF
65474 cat confdefs.h >>conftest.$ac_ext
65475 cat >>conftest.$ac_ext <<_ACEOF
65476 /* end confdefs.h.  */
65477 #include <math.h>
65478 int
65479 main ()
65480 {
65481  _copysign(0, 0);
65482   ;
65483   return 0;
65484 }
65485 _ACEOF
65486 rm -f conftest.$ac_objext
65487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65488   (eval $ac_compile) 2>conftest.er1
65489   ac_status=$?
65490   grep -v '^ *+' conftest.er1 >conftest.err
65491   rm -f conftest.er1
65492   cat conftest.err >&5
65493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65494   (exit $ac_status); } &&
65495          { ac_try='test -z "$ac_cxx_werror_flag"
65496                          || test ! -s conftest.err'
65497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65498   (eval $ac_try) 2>&5
65499   ac_status=$?
65500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65501   (exit $ac_status); }; } &&
65502          { ac_try='test -s conftest.$ac_objext'
65503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65504   (eval $ac_try) 2>&5
65505   ac_status=$?
65506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65507   (exit $ac_status); }; }; then
65508   glibcxx_cv_func__copysign_use=yes
65509 else
65510   echo "$as_me: failed program was:" >&5
65511 sed 's/^/| /' conftest.$ac_ext >&5
65512
65513 glibcxx_cv_func__copysign_use=no
65514 fi
65515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65516       ac_ext=c
65517 ac_cpp='$CPP $CPPFLAGS'
65518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65521
65522
65523 fi
65524
65525   fi
65526   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65527 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65528
65529     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65530
65531 for ac_func in _copysign
65532 do
65533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65534 echo "$as_me:$LINENO: checking for $ac_func" >&5
65535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65536 if eval "test \"\${$as_ac_var+set}\" = set"; then
65537   echo $ECHO_N "(cached) $ECHO_C" >&6
65538 else
65539   if test x$gcc_no_link = xyes; then
65540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65542    { (exit 1); exit 1; }; }
65543 fi
65544 cat >conftest.$ac_ext <<_ACEOF
65545 /* confdefs.h.  */
65546 _ACEOF
65547 cat confdefs.h >>conftest.$ac_ext
65548 cat >>conftest.$ac_ext <<_ACEOF
65549 /* end confdefs.h.  */
65550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65552 #define $ac_func innocuous_$ac_func
65553
65554 /* System header to define __stub macros and hopefully few prototypes,
65555     which can conflict with char $ac_func (); below.
65556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65557     <limits.h> exists even on freestanding compilers.  */
65558
65559 #ifdef __STDC__
65560 # include <limits.h>
65561 #else
65562 # include <assert.h>
65563 #endif
65564
65565 #undef $ac_func
65566
65567 /* Override any gcc2 internal prototype to avoid an error.  */
65568 #ifdef __cplusplus
65569 extern "C"
65570 {
65571 #endif
65572 /* We use char because int might match the return type of a gcc2
65573    builtin and then its argument prototype would still apply.  */
65574 char $ac_func ();
65575 /* The GNU C library defines this for functions which it implements
65576     to always fail with ENOSYS.  Some functions are actually named
65577     something starting with __ and the normal name is an alias.  */
65578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65579 choke me
65580 #else
65581 char (*f) () = $ac_func;
65582 #endif
65583 #ifdef __cplusplus
65584 }
65585 #endif
65586
65587 int
65588 main ()
65589 {
65590 return f != $ac_func;
65591   ;
65592   return 0;
65593 }
65594 _ACEOF
65595 rm -f conftest.$ac_objext conftest$ac_exeext
65596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65597   (eval $ac_link) 2>conftest.er1
65598   ac_status=$?
65599   grep -v '^ *+' conftest.er1 >conftest.err
65600   rm -f conftest.er1
65601   cat conftest.err >&5
65602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65603   (exit $ac_status); } &&
65604          { ac_try='test -z "$ac_c_werror_flag"
65605                          || test ! -s conftest.err'
65606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65607   (eval $ac_try) 2>&5
65608   ac_status=$?
65609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65610   (exit $ac_status); }; } &&
65611          { ac_try='test -s conftest$ac_exeext'
65612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65613   (eval $ac_try) 2>&5
65614   ac_status=$?
65615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65616   (exit $ac_status); }; }; then
65617   eval "$as_ac_var=yes"
65618 else
65619   echo "$as_me: failed program was:" >&5
65620 sed 's/^/| /' conftest.$ac_ext >&5
65621
65622 eval "$as_ac_var=no"
65623 fi
65624 rm -f conftest.err conftest.$ac_objext \
65625       conftest$ac_exeext conftest.$ac_ext
65626 fi
65627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65629 if test `eval echo '${'$as_ac_var'}'` = yes; then
65630   cat >>confdefs.h <<_ACEOF
65631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65632 _ACEOF
65633
65634 fi
65635 done
65636
65637     fi
65638   fi
65639
65640
65641
65642
65643
65644
65645   echo "$as_me:$LINENO: checking for sincos declaration" >&5
65646 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65647   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65648     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65649   echo $ECHO_N "(cached) $ECHO_C" >&6
65650 else
65651
65652
65653
65654       ac_ext=cc
65655 ac_cpp='$CXXCPP $CPPFLAGS'
65656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65659
65660       cat >conftest.$ac_ext <<_ACEOF
65661 /* confdefs.h.  */
65662 _ACEOF
65663 cat confdefs.h >>conftest.$ac_ext
65664 cat >>conftest.$ac_ext <<_ACEOF
65665 /* end confdefs.h.  */
65666 #include <math.h>
65667 int
65668 main ()
65669 {
65670  sincos(0, 0, 0);
65671   ;
65672   return 0;
65673 }
65674 _ACEOF
65675 rm -f conftest.$ac_objext
65676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65677   (eval $ac_compile) 2>conftest.er1
65678   ac_status=$?
65679   grep -v '^ *+' conftest.er1 >conftest.err
65680   rm -f conftest.er1
65681   cat conftest.err >&5
65682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65683   (exit $ac_status); } &&
65684          { ac_try='test -z "$ac_cxx_werror_flag"
65685                          || test ! -s conftest.err'
65686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65687   (eval $ac_try) 2>&5
65688   ac_status=$?
65689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65690   (exit $ac_status); }; } &&
65691          { ac_try='test -s conftest.$ac_objext'
65692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65693   (eval $ac_try) 2>&5
65694   ac_status=$?
65695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65696   (exit $ac_status); }; }; then
65697   glibcxx_cv_func_sincos_use=yes
65698 else
65699   echo "$as_me: failed program was:" >&5
65700 sed 's/^/| /' conftest.$ac_ext >&5
65701
65702 glibcxx_cv_func_sincos_use=no
65703 fi
65704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65705       ac_ext=c
65706 ac_cpp='$CPP $CPPFLAGS'
65707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65710
65711
65712 fi
65713
65714   fi
65715   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65716 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65717
65718   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65719
65720 for ac_func in sincos
65721 do
65722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65723 echo "$as_me:$LINENO: checking for $ac_func" >&5
65724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65725 if eval "test \"\${$as_ac_var+set}\" = set"; then
65726   echo $ECHO_N "(cached) $ECHO_C" >&6
65727 else
65728   if test x$gcc_no_link = xyes; then
65729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65731    { (exit 1); exit 1; }; }
65732 fi
65733 cat >conftest.$ac_ext <<_ACEOF
65734 /* confdefs.h.  */
65735 _ACEOF
65736 cat confdefs.h >>conftest.$ac_ext
65737 cat >>conftest.$ac_ext <<_ACEOF
65738 /* end confdefs.h.  */
65739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65741 #define $ac_func innocuous_$ac_func
65742
65743 /* System header to define __stub macros and hopefully few prototypes,
65744     which can conflict with char $ac_func (); below.
65745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65746     <limits.h> exists even on freestanding compilers.  */
65747
65748 #ifdef __STDC__
65749 # include <limits.h>
65750 #else
65751 # include <assert.h>
65752 #endif
65753
65754 #undef $ac_func
65755
65756 /* Override any gcc2 internal prototype to avoid an error.  */
65757 #ifdef __cplusplus
65758 extern "C"
65759 {
65760 #endif
65761 /* We use char because int might match the return type of a gcc2
65762    builtin and then its argument prototype would still apply.  */
65763 char $ac_func ();
65764 /* The GNU C library defines this for functions which it implements
65765     to always fail with ENOSYS.  Some functions are actually named
65766     something starting with __ and the normal name is an alias.  */
65767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65768 choke me
65769 #else
65770 char (*f) () = $ac_func;
65771 #endif
65772 #ifdef __cplusplus
65773 }
65774 #endif
65775
65776 int
65777 main ()
65778 {
65779 return f != $ac_func;
65780   ;
65781   return 0;
65782 }
65783 _ACEOF
65784 rm -f conftest.$ac_objext conftest$ac_exeext
65785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65786   (eval $ac_link) 2>conftest.er1
65787   ac_status=$?
65788   grep -v '^ *+' conftest.er1 >conftest.err
65789   rm -f conftest.er1
65790   cat conftest.err >&5
65791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65792   (exit $ac_status); } &&
65793          { ac_try='test -z "$ac_c_werror_flag"
65794                          || test ! -s conftest.err'
65795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65796   (eval $ac_try) 2>&5
65797   ac_status=$?
65798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65799   (exit $ac_status); }; } &&
65800          { ac_try='test -s conftest$ac_exeext'
65801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65802   (eval $ac_try) 2>&5
65803   ac_status=$?
65804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65805   (exit $ac_status); }; }; then
65806   eval "$as_ac_var=yes"
65807 else
65808   echo "$as_me: failed program was:" >&5
65809 sed 's/^/| /' conftest.$ac_ext >&5
65810
65811 eval "$as_ac_var=no"
65812 fi
65813 rm -f conftest.err conftest.$ac_objext \
65814       conftest$ac_exeext conftest.$ac_ext
65815 fi
65816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65818 if test `eval echo '${'$as_ac_var'}'` = yes; then
65819   cat >>confdefs.h <<_ACEOF
65820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65821 _ACEOF
65822
65823 fi
65824 done
65825
65826   else
65827
65828   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65829 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65830   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65831     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65832   echo $ECHO_N "(cached) $ECHO_C" >&6
65833 else
65834
65835
65836
65837       ac_ext=cc
65838 ac_cpp='$CXXCPP $CPPFLAGS'
65839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65842
65843       cat >conftest.$ac_ext <<_ACEOF
65844 /* confdefs.h.  */
65845 _ACEOF
65846 cat confdefs.h >>conftest.$ac_ext
65847 cat >>conftest.$ac_ext <<_ACEOF
65848 /* end confdefs.h.  */
65849 #include <math.h>
65850 int
65851 main ()
65852 {
65853  _sincos(0, 0, 0);
65854   ;
65855   return 0;
65856 }
65857 _ACEOF
65858 rm -f conftest.$ac_objext
65859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65860   (eval $ac_compile) 2>conftest.er1
65861   ac_status=$?
65862   grep -v '^ *+' conftest.er1 >conftest.err
65863   rm -f conftest.er1
65864   cat conftest.err >&5
65865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65866   (exit $ac_status); } &&
65867          { ac_try='test -z "$ac_cxx_werror_flag"
65868                          || test ! -s conftest.err'
65869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65870   (eval $ac_try) 2>&5
65871   ac_status=$?
65872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65873   (exit $ac_status); }; } &&
65874          { ac_try='test -s conftest.$ac_objext'
65875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65876   (eval $ac_try) 2>&5
65877   ac_status=$?
65878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65879   (exit $ac_status); }; }; then
65880   glibcxx_cv_func__sincos_use=yes
65881 else
65882   echo "$as_me: failed program was:" >&5
65883 sed 's/^/| /' conftest.$ac_ext >&5
65884
65885 glibcxx_cv_func__sincos_use=no
65886 fi
65887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65888       ac_ext=c
65889 ac_cpp='$CPP $CPPFLAGS'
65890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65893
65894
65895 fi
65896
65897   fi
65898   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
65899 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
65900
65901     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65902
65903 for ac_func in _sincos
65904 do
65905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65906 echo "$as_me:$LINENO: checking for $ac_func" >&5
65907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65908 if eval "test \"\${$as_ac_var+set}\" = set"; then
65909   echo $ECHO_N "(cached) $ECHO_C" >&6
65910 else
65911   if test x$gcc_no_link = xyes; then
65912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65914    { (exit 1); exit 1; }; }
65915 fi
65916 cat >conftest.$ac_ext <<_ACEOF
65917 /* confdefs.h.  */
65918 _ACEOF
65919 cat confdefs.h >>conftest.$ac_ext
65920 cat >>conftest.$ac_ext <<_ACEOF
65921 /* end confdefs.h.  */
65922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65924 #define $ac_func innocuous_$ac_func
65925
65926 /* System header to define __stub macros and hopefully few prototypes,
65927     which can conflict with char $ac_func (); below.
65928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65929     <limits.h> exists even on freestanding compilers.  */
65930
65931 #ifdef __STDC__
65932 # include <limits.h>
65933 #else
65934 # include <assert.h>
65935 #endif
65936
65937 #undef $ac_func
65938
65939 /* Override any gcc2 internal prototype to avoid an error.  */
65940 #ifdef __cplusplus
65941 extern "C"
65942 {
65943 #endif
65944 /* We use char because int might match the return type of a gcc2
65945    builtin and then its argument prototype would still apply.  */
65946 char $ac_func ();
65947 /* The GNU C library defines this for functions which it implements
65948     to always fail with ENOSYS.  Some functions are actually named
65949     something starting with __ and the normal name is an alias.  */
65950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65951 choke me
65952 #else
65953 char (*f) () = $ac_func;
65954 #endif
65955 #ifdef __cplusplus
65956 }
65957 #endif
65958
65959 int
65960 main ()
65961 {
65962 return f != $ac_func;
65963   ;
65964   return 0;
65965 }
65966 _ACEOF
65967 rm -f conftest.$ac_objext conftest$ac_exeext
65968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65969   (eval $ac_link) 2>conftest.er1
65970   ac_status=$?
65971   grep -v '^ *+' conftest.er1 >conftest.err
65972   rm -f conftest.er1
65973   cat conftest.err >&5
65974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65975   (exit $ac_status); } &&
65976          { ac_try='test -z "$ac_c_werror_flag"
65977                          || test ! -s conftest.err'
65978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65979   (eval $ac_try) 2>&5
65980   ac_status=$?
65981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65982   (exit $ac_status); }; } &&
65983          { ac_try='test -s conftest$ac_exeext'
65984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65985   (eval $ac_try) 2>&5
65986   ac_status=$?
65987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65988   (exit $ac_status); }; }; then
65989   eval "$as_ac_var=yes"
65990 else
65991   echo "$as_me: failed program was:" >&5
65992 sed 's/^/| /' conftest.$ac_ext >&5
65993
65994 eval "$as_ac_var=no"
65995 fi
65996 rm -f conftest.err conftest.$ac_objext \
65997       conftest$ac_exeext conftest.$ac_ext
65998 fi
65999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66001 if test `eval echo '${'$as_ac_var'}'` = yes; then
66002   cat >>confdefs.h <<_ACEOF
66003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66004 _ACEOF
66005
66006 fi
66007 done
66008
66009     fi
66010   fi
66011
66012
66013
66014
66015
66016
66017   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66018 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66019   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66020     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66021   echo $ECHO_N "(cached) $ECHO_C" >&6
66022 else
66023
66024
66025
66026       ac_ext=cc
66027 ac_cpp='$CXXCPP $CPPFLAGS'
66028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66031
66032       cat >conftest.$ac_ext <<_ACEOF
66033 /* confdefs.h.  */
66034 _ACEOF
66035 cat confdefs.h >>conftest.$ac_ext
66036 cat >>conftest.$ac_ext <<_ACEOF
66037 /* end confdefs.h.  */
66038 #include <math.h>
66039                       #ifdef HAVE_IEEEFP_H
66040                       #include <ieeefp.h>
66041                       #endif
66042
66043 int
66044 main ()
66045 {
66046  fpclass(0);
66047   ;
66048   return 0;
66049 }
66050 _ACEOF
66051 rm -f conftest.$ac_objext
66052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66053   (eval $ac_compile) 2>conftest.er1
66054   ac_status=$?
66055   grep -v '^ *+' conftest.er1 >conftest.err
66056   rm -f conftest.er1
66057   cat conftest.err >&5
66058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66059   (exit $ac_status); } &&
66060          { ac_try='test -z "$ac_cxx_werror_flag"
66061                          || test ! -s conftest.err'
66062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66063   (eval $ac_try) 2>&5
66064   ac_status=$?
66065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66066   (exit $ac_status); }; } &&
66067          { ac_try='test -s conftest.$ac_objext'
66068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66069   (eval $ac_try) 2>&5
66070   ac_status=$?
66071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66072   (exit $ac_status); }; }; then
66073   glibcxx_cv_func_fpclass_use=yes
66074 else
66075   echo "$as_me: failed program was:" >&5
66076 sed 's/^/| /' conftest.$ac_ext >&5
66077
66078 glibcxx_cv_func_fpclass_use=no
66079 fi
66080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66081       ac_ext=c
66082 ac_cpp='$CPP $CPPFLAGS'
66083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66086
66087
66088 fi
66089
66090   fi
66091   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66092 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66093
66094   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66095
66096 for ac_func in fpclass
66097 do
66098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66099 echo "$as_me:$LINENO: checking for $ac_func" >&5
66100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66101 if eval "test \"\${$as_ac_var+set}\" = set"; then
66102   echo $ECHO_N "(cached) $ECHO_C" >&6
66103 else
66104   if test x$gcc_no_link = xyes; then
66105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66107    { (exit 1); exit 1; }; }
66108 fi
66109 cat >conftest.$ac_ext <<_ACEOF
66110 /* confdefs.h.  */
66111 _ACEOF
66112 cat confdefs.h >>conftest.$ac_ext
66113 cat >>conftest.$ac_ext <<_ACEOF
66114 /* end confdefs.h.  */
66115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66116    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66117 #define $ac_func innocuous_$ac_func
66118
66119 /* System header to define __stub macros and hopefully few prototypes,
66120     which can conflict with char $ac_func (); below.
66121     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66122     <limits.h> exists even on freestanding compilers.  */
66123
66124 #ifdef __STDC__
66125 # include <limits.h>
66126 #else
66127 # include <assert.h>
66128 #endif
66129
66130 #undef $ac_func
66131
66132 /* Override any gcc2 internal prototype to avoid an error.  */
66133 #ifdef __cplusplus
66134 extern "C"
66135 {
66136 #endif
66137 /* We use char because int might match the return type of a gcc2
66138    builtin and then its argument prototype would still apply.  */
66139 char $ac_func ();
66140 /* The GNU C library defines this for functions which it implements
66141     to always fail with ENOSYS.  Some functions are actually named
66142     something starting with __ and the normal name is an alias.  */
66143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66144 choke me
66145 #else
66146 char (*f) () = $ac_func;
66147 #endif
66148 #ifdef __cplusplus
66149 }
66150 #endif
66151
66152 int
66153 main ()
66154 {
66155 return f != $ac_func;
66156   ;
66157   return 0;
66158 }
66159 _ACEOF
66160 rm -f conftest.$ac_objext conftest$ac_exeext
66161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66162   (eval $ac_link) 2>conftest.er1
66163   ac_status=$?
66164   grep -v '^ *+' conftest.er1 >conftest.err
66165   rm -f conftest.er1
66166   cat conftest.err >&5
66167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66168   (exit $ac_status); } &&
66169          { ac_try='test -z "$ac_c_werror_flag"
66170                          || test ! -s conftest.err'
66171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66172   (eval $ac_try) 2>&5
66173   ac_status=$?
66174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66175   (exit $ac_status); }; } &&
66176          { ac_try='test -s conftest$ac_exeext'
66177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66178   (eval $ac_try) 2>&5
66179   ac_status=$?
66180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66181   (exit $ac_status); }; }; then
66182   eval "$as_ac_var=yes"
66183 else
66184   echo "$as_me: failed program was:" >&5
66185 sed 's/^/| /' conftest.$ac_ext >&5
66186
66187 eval "$as_ac_var=no"
66188 fi
66189 rm -f conftest.err conftest.$ac_objext \
66190       conftest$ac_exeext conftest.$ac_ext
66191 fi
66192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66194 if test `eval echo '${'$as_ac_var'}'` = yes; then
66195   cat >>confdefs.h <<_ACEOF
66196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66197 _ACEOF
66198
66199 fi
66200 done
66201
66202   else
66203
66204   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66205 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66206   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66207     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66208   echo $ECHO_N "(cached) $ECHO_C" >&6
66209 else
66210
66211
66212
66213       ac_ext=cc
66214 ac_cpp='$CXXCPP $CPPFLAGS'
66215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66218
66219       cat >conftest.$ac_ext <<_ACEOF
66220 /* confdefs.h.  */
66221 _ACEOF
66222 cat confdefs.h >>conftest.$ac_ext
66223 cat >>conftest.$ac_ext <<_ACEOF
66224 /* end confdefs.h.  */
66225 #include <math.h>
66226                       #ifdef HAVE_IEEEFP_H
66227                       #include <ieeefp.h>
66228                       #endif
66229
66230 int
66231 main ()
66232 {
66233  _fpclass(0);
66234   ;
66235   return 0;
66236 }
66237 _ACEOF
66238 rm -f conftest.$ac_objext
66239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66240   (eval $ac_compile) 2>conftest.er1
66241   ac_status=$?
66242   grep -v '^ *+' conftest.er1 >conftest.err
66243   rm -f conftest.er1
66244   cat conftest.err >&5
66245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66246   (exit $ac_status); } &&
66247          { ac_try='test -z "$ac_cxx_werror_flag"
66248                          || test ! -s conftest.err'
66249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66250   (eval $ac_try) 2>&5
66251   ac_status=$?
66252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66253   (exit $ac_status); }; } &&
66254          { ac_try='test -s conftest.$ac_objext'
66255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66256   (eval $ac_try) 2>&5
66257   ac_status=$?
66258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66259   (exit $ac_status); }; }; then
66260   glibcxx_cv_func__fpclass_use=yes
66261 else
66262   echo "$as_me: failed program was:" >&5
66263 sed 's/^/| /' conftest.$ac_ext >&5
66264
66265 glibcxx_cv_func__fpclass_use=no
66266 fi
66267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66268       ac_ext=c
66269 ac_cpp='$CPP $CPPFLAGS'
66270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66273
66274
66275 fi
66276
66277   fi
66278   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66279 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66280
66281     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66282
66283 for ac_func in _fpclass
66284 do
66285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66286 echo "$as_me:$LINENO: checking for $ac_func" >&5
66287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66288 if eval "test \"\${$as_ac_var+set}\" = set"; then
66289   echo $ECHO_N "(cached) $ECHO_C" >&6
66290 else
66291   if test x$gcc_no_link = xyes; then
66292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66294    { (exit 1); exit 1; }; }
66295 fi
66296 cat >conftest.$ac_ext <<_ACEOF
66297 /* confdefs.h.  */
66298 _ACEOF
66299 cat confdefs.h >>conftest.$ac_ext
66300 cat >>conftest.$ac_ext <<_ACEOF
66301 /* end confdefs.h.  */
66302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66304 #define $ac_func innocuous_$ac_func
66305
66306 /* System header to define __stub macros and hopefully few prototypes,
66307     which can conflict with char $ac_func (); below.
66308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66309     <limits.h> exists even on freestanding compilers.  */
66310
66311 #ifdef __STDC__
66312 # include <limits.h>
66313 #else
66314 # include <assert.h>
66315 #endif
66316
66317 #undef $ac_func
66318
66319 /* Override any gcc2 internal prototype to avoid an error.  */
66320 #ifdef __cplusplus
66321 extern "C"
66322 {
66323 #endif
66324 /* We use char because int might match the return type of a gcc2
66325    builtin and then its argument prototype would still apply.  */
66326 char $ac_func ();
66327 /* The GNU C library defines this for functions which it implements
66328     to always fail with ENOSYS.  Some functions are actually named
66329     something starting with __ and the normal name is an alias.  */
66330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66331 choke me
66332 #else
66333 char (*f) () = $ac_func;
66334 #endif
66335 #ifdef __cplusplus
66336 }
66337 #endif
66338
66339 int
66340 main ()
66341 {
66342 return f != $ac_func;
66343   ;
66344   return 0;
66345 }
66346 _ACEOF
66347 rm -f conftest.$ac_objext conftest$ac_exeext
66348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66349   (eval $ac_link) 2>conftest.er1
66350   ac_status=$?
66351   grep -v '^ *+' conftest.er1 >conftest.err
66352   rm -f conftest.er1
66353   cat conftest.err >&5
66354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66355   (exit $ac_status); } &&
66356          { ac_try='test -z "$ac_c_werror_flag"
66357                          || test ! -s conftest.err'
66358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66359   (eval $ac_try) 2>&5
66360   ac_status=$?
66361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66362   (exit $ac_status); }; } &&
66363          { ac_try='test -s conftest$ac_exeext'
66364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66365   (eval $ac_try) 2>&5
66366   ac_status=$?
66367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66368   (exit $ac_status); }; }; then
66369   eval "$as_ac_var=yes"
66370 else
66371   echo "$as_me: failed program was:" >&5
66372 sed 's/^/| /' conftest.$ac_ext >&5
66373
66374 eval "$as_ac_var=no"
66375 fi
66376 rm -f conftest.err conftest.$ac_objext \
66377       conftest$ac_exeext conftest.$ac_ext
66378 fi
66379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66381 if test `eval echo '${'$as_ac_var'}'` = yes; then
66382   cat >>confdefs.h <<_ACEOF
66383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66384 _ACEOF
66385
66386 fi
66387 done
66388
66389     fi
66390   fi
66391
66392
66393
66394
66395
66396
66397   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66398 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66399   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66400     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66401   echo $ECHO_N "(cached) $ECHO_C" >&6
66402 else
66403
66404
66405
66406       ac_ext=cc
66407 ac_cpp='$CXXCPP $CPPFLAGS'
66408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66411
66412       cat >conftest.$ac_ext <<_ACEOF
66413 /* confdefs.h.  */
66414 _ACEOF
66415 cat confdefs.h >>conftest.$ac_ext
66416 cat >>conftest.$ac_ext <<_ACEOF
66417 /* end confdefs.h.  */
66418 #include <math.h>
66419                       #ifdef HAVE_IEEEFP_H
66420                       #include <ieeefp.h>
66421                       #endif
66422
66423 int
66424 main ()
66425 {
66426  qfpclass(0);
66427   ;
66428   return 0;
66429 }
66430 _ACEOF
66431 rm -f conftest.$ac_objext
66432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66433   (eval $ac_compile) 2>conftest.er1
66434   ac_status=$?
66435   grep -v '^ *+' conftest.er1 >conftest.err
66436   rm -f conftest.er1
66437   cat conftest.err >&5
66438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66439   (exit $ac_status); } &&
66440          { ac_try='test -z "$ac_cxx_werror_flag"
66441                          || test ! -s conftest.err'
66442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66443   (eval $ac_try) 2>&5
66444   ac_status=$?
66445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66446   (exit $ac_status); }; } &&
66447          { ac_try='test -s conftest.$ac_objext'
66448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66449   (eval $ac_try) 2>&5
66450   ac_status=$?
66451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66452   (exit $ac_status); }; }; then
66453   glibcxx_cv_func_qfpclass_use=yes
66454 else
66455   echo "$as_me: failed program was:" >&5
66456 sed 's/^/| /' conftest.$ac_ext >&5
66457
66458 glibcxx_cv_func_qfpclass_use=no
66459 fi
66460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66461       ac_ext=c
66462 ac_cpp='$CPP $CPPFLAGS'
66463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66466
66467
66468 fi
66469
66470   fi
66471   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66472 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66473
66474   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66475
66476 for ac_func in qfpclass
66477 do
66478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66479 echo "$as_me:$LINENO: checking for $ac_func" >&5
66480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66481 if eval "test \"\${$as_ac_var+set}\" = set"; then
66482   echo $ECHO_N "(cached) $ECHO_C" >&6
66483 else
66484   if test x$gcc_no_link = xyes; then
66485   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66487    { (exit 1); exit 1; }; }
66488 fi
66489 cat >conftest.$ac_ext <<_ACEOF
66490 /* confdefs.h.  */
66491 _ACEOF
66492 cat confdefs.h >>conftest.$ac_ext
66493 cat >>conftest.$ac_ext <<_ACEOF
66494 /* end confdefs.h.  */
66495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66496    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66497 #define $ac_func innocuous_$ac_func
66498
66499 /* System header to define __stub macros and hopefully few prototypes,
66500     which can conflict with char $ac_func (); below.
66501     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66502     <limits.h> exists even on freestanding compilers.  */
66503
66504 #ifdef __STDC__
66505 # include <limits.h>
66506 #else
66507 # include <assert.h>
66508 #endif
66509
66510 #undef $ac_func
66511
66512 /* Override any gcc2 internal prototype to avoid an error.  */
66513 #ifdef __cplusplus
66514 extern "C"
66515 {
66516 #endif
66517 /* We use char because int might match the return type of a gcc2
66518    builtin and then its argument prototype would still apply.  */
66519 char $ac_func ();
66520 /* The GNU C library defines this for functions which it implements
66521     to always fail with ENOSYS.  Some functions are actually named
66522     something starting with __ and the normal name is an alias.  */
66523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66524 choke me
66525 #else
66526 char (*f) () = $ac_func;
66527 #endif
66528 #ifdef __cplusplus
66529 }
66530 #endif
66531
66532 int
66533 main ()
66534 {
66535 return f != $ac_func;
66536   ;
66537   return 0;
66538 }
66539 _ACEOF
66540 rm -f conftest.$ac_objext conftest$ac_exeext
66541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66542   (eval $ac_link) 2>conftest.er1
66543   ac_status=$?
66544   grep -v '^ *+' conftest.er1 >conftest.err
66545   rm -f conftest.er1
66546   cat conftest.err >&5
66547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66548   (exit $ac_status); } &&
66549          { ac_try='test -z "$ac_c_werror_flag"
66550                          || test ! -s conftest.err'
66551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66552   (eval $ac_try) 2>&5
66553   ac_status=$?
66554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66555   (exit $ac_status); }; } &&
66556          { ac_try='test -s conftest$ac_exeext'
66557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66558   (eval $ac_try) 2>&5
66559   ac_status=$?
66560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66561   (exit $ac_status); }; }; then
66562   eval "$as_ac_var=yes"
66563 else
66564   echo "$as_me: failed program was:" >&5
66565 sed 's/^/| /' conftest.$ac_ext >&5
66566
66567 eval "$as_ac_var=no"
66568 fi
66569 rm -f conftest.err conftest.$ac_objext \
66570       conftest$ac_exeext conftest.$ac_ext
66571 fi
66572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66574 if test `eval echo '${'$as_ac_var'}'` = yes; then
66575   cat >>confdefs.h <<_ACEOF
66576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66577 _ACEOF
66578
66579 fi
66580 done
66581
66582   else
66583
66584   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66585 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66586   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66587     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66588   echo $ECHO_N "(cached) $ECHO_C" >&6
66589 else
66590
66591
66592
66593       ac_ext=cc
66594 ac_cpp='$CXXCPP $CPPFLAGS'
66595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66598
66599       cat >conftest.$ac_ext <<_ACEOF
66600 /* confdefs.h.  */
66601 _ACEOF
66602 cat confdefs.h >>conftest.$ac_ext
66603 cat >>conftest.$ac_ext <<_ACEOF
66604 /* end confdefs.h.  */
66605 #include <math.h>
66606                       #ifdef HAVE_IEEEFP_H
66607                       #include <ieeefp.h>
66608                       #endif
66609
66610 int
66611 main ()
66612 {
66613  _qfpclass(0);
66614   ;
66615   return 0;
66616 }
66617 _ACEOF
66618 rm -f conftest.$ac_objext
66619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66620   (eval $ac_compile) 2>conftest.er1
66621   ac_status=$?
66622   grep -v '^ *+' conftest.er1 >conftest.err
66623   rm -f conftest.er1
66624   cat conftest.err >&5
66625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66626   (exit $ac_status); } &&
66627          { ac_try='test -z "$ac_cxx_werror_flag"
66628                          || test ! -s conftest.err'
66629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66630   (eval $ac_try) 2>&5
66631   ac_status=$?
66632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66633   (exit $ac_status); }; } &&
66634          { ac_try='test -s conftest.$ac_objext'
66635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66636   (eval $ac_try) 2>&5
66637   ac_status=$?
66638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66639   (exit $ac_status); }; }; then
66640   glibcxx_cv_func__qfpclass_use=yes
66641 else
66642   echo "$as_me: failed program was:" >&5
66643 sed 's/^/| /' conftest.$ac_ext >&5
66644
66645 glibcxx_cv_func__qfpclass_use=no
66646 fi
66647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66648       ac_ext=c
66649 ac_cpp='$CPP $CPPFLAGS'
66650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66653
66654
66655 fi
66656
66657   fi
66658   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66659 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66660
66661     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66662
66663 for ac_func in _qfpclass
66664 do
66665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66666 echo "$as_me:$LINENO: checking for $ac_func" >&5
66667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66668 if eval "test \"\${$as_ac_var+set}\" = set"; then
66669   echo $ECHO_N "(cached) $ECHO_C" >&6
66670 else
66671   if test x$gcc_no_link = xyes; then
66672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66674    { (exit 1); exit 1; }; }
66675 fi
66676 cat >conftest.$ac_ext <<_ACEOF
66677 /* confdefs.h.  */
66678 _ACEOF
66679 cat confdefs.h >>conftest.$ac_ext
66680 cat >>conftest.$ac_ext <<_ACEOF
66681 /* end confdefs.h.  */
66682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66683    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66684 #define $ac_func innocuous_$ac_func
66685
66686 /* System header to define __stub macros and hopefully few prototypes,
66687     which can conflict with char $ac_func (); below.
66688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66689     <limits.h> exists even on freestanding compilers.  */
66690
66691 #ifdef __STDC__
66692 # include <limits.h>
66693 #else
66694 # include <assert.h>
66695 #endif
66696
66697 #undef $ac_func
66698
66699 /* Override any gcc2 internal prototype to avoid an error.  */
66700 #ifdef __cplusplus
66701 extern "C"
66702 {
66703 #endif
66704 /* We use char because int might match the return type of a gcc2
66705    builtin and then its argument prototype would still apply.  */
66706 char $ac_func ();
66707 /* The GNU C library defines this for functions which it implements
66708     to always fail with ENOSYS.  Some functions are actually named
66709     something starting with __ and the normal name is an alias.  */
66710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66711 choke me
66712 #else
66713 char (*f) () = $ac_func;
66714 #endif
66715 #ifdef __cplusplus
66716 }
66717 #endif
66718
66719 int
66720 main ()
66721 {
66722 return f != $ac_func;
66723   ;
66724   return 0;
66725 }
66726 _ACEOF
66727 rm -f conftest.$ac_objext conftest$ac_exeext
66728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66729   (eval $ac_link) 2>conftest.er1
66730   ac_status=$?
66731   grep -v '^ *+' conftest.er1 >conftest.err
66732   rm -f conftest.er1
66733   cat conftest.err >&5
66734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66735   (exit $ac_status); } &&
66736          { ac_try='test -z "$ac_c_werror_flag"
66737                          || test ! -s conftest.err'
66738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66739   (eval $ac_try) 2>&5
66740   ac_status=$?
66741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66742   (exit $ac_status); }; } &&
66743          { ac_try='test -s conftest$ac_exeext'
66744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66745   (eval $ac_try) 2>&5
66746   ac_status=$?
66747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66748   (exit $ac_status); }; }; then
66749   eval "$as_ac_var=yes"
66750 else
66751   echo "$as_me: failed program was:" >&5
66752 sed 's/^/| /' conftest.$ac_ext >&5
66753
66754 eval "$as_ac_var=no"
66755 fi
66756 rm -f conftest.err conftest.$ac_objext \
66757       conftest$ac_exeext conftest.$ac_ext
66758 fi
66759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66761 if test `eval echo '${'$as_ac_var'}'` = yes; then
66762   cat >>confdefs.h <<_ACEOF
66763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66764 _ACEOF
66765
66766 fi
66767 done
66768
66769     fi
66770   fi
66771
66772
66773
66774
66775
66776
66777   echo "$as_me:$LINENO: checking for hypot declaration" >&5
66778 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66779   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66780     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66781   echo $ECHO_N "(cached) $ECHO_C" >&6
66782 else
66783
66784
66785
66786       ac_ext=cc
66787 ac_cpp='$CXXCPP $CPPFLAGS'
66788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66791
66792       cat >conftest.$ac_ext <<_ACEOF
66793 /* confdefs.h.  */
66794 _ACEOF
66795 cat confdefs.h >>conftest.$ac_ext
66796 cat >>conftest.$ac_ext <<_ACEOF
66797 /* end confdefs.h.  */
66798 #include <math.h>
66799 int
66800 main ()
66801 {
66802  hypot(0, 0);
66803   ;
66804   return 0;
66805 }
66806 _ACEOF
66807 rm -f conftest.$ac_objext
66808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66809   (eval $ac_compile) 2>conftest.er1
66810   ac_status=$?
66811   grep -v '^ *+' conftest.er1 >conftest.err
66812   rm -f conftest.er1
66813   cat conftest.err >&5
66814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66815   (exit $ac_status); } &&
66816          { ac_try='test -z "$ac_cxx_werror_flag"
66817                          || test ! -s conftest.err'
66818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66819   (eval $ac_try) 2>&5
66820   ac_status=$?
66821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66822   (exit $ac_status); }; } &&
66823          { ac_try='test -s conftest.$ac_objext'
66824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66825   (eval $ac_try) 2>&5
66826   ac_status=$?
66827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66828   (exit $ac_status); }; }; then
66829   glibcxx_cv_func_hypot_use=yes
66830 else
66831   echo "$as_me: failed program was:" >&5
66832 sed 's/^/| /' conftest.$ac_ext >&5
66833
66834 glibcxx_cv_func_hypot_use=no
66835 fi
66836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66837       ac_ext=c
66838 ac_cpp='$CPP $CPPFLAGS'
66839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66842
66843
66844 fi
66845
66846   fi
66847   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66848 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66849
66850   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66851
66852 for ac_func in hypot
66853 do
66854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66855 echo "$as_me:$LINENO: checking for $ac_func" >&5
66856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66857 if eval "test \"\${$as_ac_var+set}\" = set"; then
66858   echo $ECHO_N "(cached) $ECHO_C" >&6
66859 else
66860   if test x$gcc_no_link = xyes; then
66861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66863    { (exit 1); exit 1; }; }
66864 fi
66865 cat >conftest.$ac_ext <<_ACEOF
66866 /* confdefs.h.  */
66867 _ACEOF
66868 cat confdefs.h >>conftest.$ac_ext
66869 cat >>conftest.$ac_ext <<_ACEOF
66870 /* end confdefs.h.  */
66871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66873 #define $ac_func innocuous_$ac_func
66874
66875 /* System header to define __stub macros and hopefully few prototypes,
66876     which can conflict with char $ac_func (); below.
66877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66878     <limits.h> exists even on freestanding compilers.  */
66879
66880 #ifdef __STDC__
66881 # include <limits.h>
66882 #else
66883 # include <assert.h>
66884 #endif
66885
66886 #undef $ac_func
66887
66888 /* Override any gcc2 internal prototype to avoid an error.  */
66889 #ifdef __cplusplus
66890 extern "C"
66891 {
66892 #endif
66893 /* We use char because int might match the return type of a gcc2
66894    builtin and then its argument prototype would still apply.  */
66895 char $ac_func ();
66896 /* The GNU C library defines this for functions which it implements
66897     to always fail with ENOSYS.  Some functions are actually named
66898     something starting with __ and the normal name is an alias.  */
66899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66900 choke me
66901 #else
66902 char (*f) () = $ac_func;
66903 #endif
66904 #ifdef __cplusplus
66905 }
66906 #endif
66907
66908 int
66909 main ()
66910 {
66911 return f != $ac_func;
66912   ;
66913   return 0;
66914 }
66915 _ACEOF
66916 rm -f conftest.$ac_objext conftest$ac_exeext
66917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66918   (eval $ac_link) 2>conftest.er1
66919   ac_status=$?
66920   grep -v '^ *+' conftest.er1 >conftest.err
66921   rm -f conftest.er1
66922   cat conftest.err >&5
66923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66924   (exit $ac_status); } &&
66925          { ac_try='test -z "$ac_c_werror_flag"
66926                          || test ! -s conftest.err'
66927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66928   (eval $ac_try) 2>&5
66929   ac_status=$?
66930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66931   (exit $ac_status); }; } &&
66932          { ac_try='test -s conftest$ac_exeext'
66933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66934   (eval $ac_try) 2>&5
66935   ac_status=$?
66936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66937   (exit $ac_status); }; }; then
66938   eval "$as_ac_var=yes"
66939 else
66940   echo "$as_me: failed program was:" >&5
66941 sed 's/^/| /' conftest.$ac_ext >&5
66942
66943 eval "$as_ac_var=no"
66944 fi
66945 rm -f conftest.err conftest.$ac_objext \
66946       conftest$ac_exeext conftest.$ac_ext
66947 fi
66948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66950 if test `eval echo '${'$as_ac_var'}'` = yes; then
66951   cat >>confdefs.h <<_ACEOF
66952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66953 _ACEOF
66954
66955 fi
66956 done
66957
66958   else
66959
66960   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66961 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66962   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66963     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66964   echo $ECHO_N "(cached) $ECHO_C" >&6
66965 else
66966
66967
66968
66969       ac_ext=cc
66970 ac_cpp='$CXXCPP $CPPFLAGS'
66971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66974
66975       cat >conftest.$ac_ext <<_ACEOF
66976 /* confdefs.h.  */
66977 _ACEOF
66978 cat confdefs.h >>conftest.$ac_ext
66979 cat >>conftest.$ac_ext <<_ACEOF
66980 /* end confdefs.h.  */
66981 #include <math.h>
66982 int
66983 main ()
66984 {
66985  _hypot(0, 0);
66986   ;
66987   return 0;
66988 }
66989 _ACEOF
66990 rm -f conftest.$ac_objext
66991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66992   (eval $ac_compile) 2>conftest.er1
66993   ac_status=$?
66994   grep -v '^ *+' conftest.er1 >conftest.err
66995   rm -f conftest.er1
66996   cat conftest.err >&5
66997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66998   (exit $ac_status); } &&
66999          { ac_try='test -z "$ac_cxx_werror_flag"
67000                          || test ! -s conftest.err'
67001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67002   (eval $ac_try) 2>&5
67003   ac_status=$?
67004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67005   (exit $ac_status); }; } &&
67006          { ac_try='test -s conftest.$ac_objext'
67007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67008   (eval $ac_try) 2>&5
67009   ac_status=$?
67010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67011   (exit $ac_status); }; }; then
67012   glibcxx_cv_func__hypot_use=yes
67013 else
67014   echo "$as_me: failed program was:" >&5
67015 sed 's/^/| /' conftest.$ac_ext >&5
67016
67017 glibcxx_cv_func__hypot_use=no
67018 fi
67019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67020       ac_ext=c
67021 ac_cpp='$CPP $CPPFLAGS'
67022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67025
67026
67027 fi
67028
67029   fi
67030   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67031 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67032
67033     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67034
67035 for ac_func in _hypot
67036 do
67037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67038 echo "$as_me:$LINENO: checking for $ac_func" >&5
67039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67040 if eval "test \"\${$as_ac_var+set}\" = set"; then
67041   echo $ECHO_N "(cached) $ECHO_C" >&6
67042 else
67043   if test x$gcc_no_link = xyes; then
67044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67046    { (exit 1); exit 1; }; }
67047 fi
67048 cat >conftest.$ac_ext <<_ACEOF
67049 /* confdefs.h.  */
67050 _ACEOF
67051 cat confdefs.h >>conftest.$ac_ext
67052 cat >>conftest.$ac_ext <<_ACEOF
67053 /* end confdefs.h.  */
67054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67055    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67056 #define $ac_func innocuous_$ac_func
67057
67058 /* System header to define __stub macros and hopefully few prototypes,
67059     which can conflict with char $ac_func (); below.
67060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67061     <limits.h> exists even on freestanding compilers.  */
67062
67063 #ifdef __STDC__
67064 # include <limits.h>
67065 #else
67066 # include <assert.h>
67067 #endif
67068
67069 #undef $ac_func
67070
67071 /* Override any gcc2 internal prototype to avoid an error.  */
67072 #ifdef __cplusplus
67073 extern "C"
67074 {
67075 #endif
67076 /* We use char because int might match the return type of a gcc2
67077    builtin and then its argument prototype would still apply.  */
67078 char $ac_func ();
67079 /* The GNU C library defines this for functions which it implements
67080     to always fail with ENOSYS.  Some functions are actually named
67081     something starting with __ and the normal name is an alias.  */
67082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67083 choke me
67084 #else
67085 char (*f) () = $ac_func;
67086 #endif
67087 #ifdef __cplusplus
67088 }
67089 #endif
67090
67091 int
67092 main ()
67093 {
67094 return f != $ac_func;
67095   ;
67096   return 0;
67097 }
67098 _ACEOF
67099 rm -f conftest.$ac_objext conftest$ac_exeext
67100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67101   (eval $ac_link) 2>conftest.er1
67102   ac_status=$?
67103   grep -v '^ *+' conftest.er1 >conftest.err
67104   rm -f conftest.er1
67105   cat conftest.err >&5
67106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67107   (exit $ac_status); } &&
67108          { ac_try='test -z "$ac_c_werror_flag"
67109                          || test ! -s conftest.err'
67110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67111   (eval $ac_try) 2>&5
67112   ac_status=$?
67113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67114   (exit $ac_status); }; } &&
67115          { ac_try='test -s conftest$ac_exeext'
67116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67117   (eval $ac_try) 2>&5
67118   ac_status=$?
67119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67120   (exit $ac_status); }; }; then
67121   eval "$as_ac_var=yes"
67122 else
67123   echo "$as_me: failed program was:" >&5
67124 sed 's/^/| /' conftest.$ac_ext >&5
67125
67126 eval "$as_ac_var=no"
67127 fi
67128 rm -f conftest.err conftest.$ac_objext \
67129       conftest$ac_exeext conftest.$ac_ext
67130 fi
67131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67133 if test `eval echo '${'$as_ac_var'}'` = yes; then
67134   cat >>confdefs.h <<_ACEOF
67135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67136 _ACEOF
67137
67138 fi
67139 done
67140
67141     fi
67142   fi
67143
67144
67145
67146
67147
67148
67149     echo "$as_me:$LINENO: checking for float trig functions" >&5
67150 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67151   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67152   echo $ECHO_N "(cached) $ECHO_C" >&6
67153 else
67154
67155
67156
67157     ac_ext=cc
67158 ac_cpp='$CXXCPP $CPPFLAGS'
67159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67162
67163     cat >conftest.$ac_ext <<_ACEOF
67164 /* confdefs.h.  */
67165 _ACEOF
67166 cat confdefs.h >>conftest.$ac_ext
67167 cat >>conftest.$ac_ext <<_ACEOF
67168 /* end confdefs.h.  */
67169 #include <math.h>
67170 int
67171 main ()
67172 {
67173 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67174   ;
67175   return 0;
67176 }
67177 _ACEOF
67178 rm -f conftest.$ac_objext
67179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67180   (eval $ac_compile) 2>conftest.er1
67181   ac_status=$?
67182   grep -v '^ *+' conftest.er1 >conftest.err
67183   rm -f conftest.er1
67184   cat conftest.err >&5
67185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67186   (exit $ac_status); } &&
67187          { ac_try='test -z "$ac_cxx_werror_flag"
67188                          || test ! -s conftest.err'
67189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67190   (eval $ac_try) 2>&5
67191   ac_status=$?
67192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67193   (exit $ac_status); }; } &&
67194          { ac_try='test -s conftest.$ac_objext'
67195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67196   (eval $ac_try) 2>&5
67197   ac_status=$?
67198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67199   (exit $ac_status); }; }; then
67200   glibcxx_cv_func_float_trig_use=yes
67201 else
67202   echo "$as_me: failed program was:" >&5
67203 sed 's/^/| /' conftest.$ac_ext >&5
67204
67205 glibcxx_cv_func_float_trig_use=no
67206 fi
67207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67208     ac_ext=c
67209 ac_cpp='$CPP $CPPFLAGS'
67210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67213
67214 fi
67215
67216   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67217 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67218   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67219
67220
67221
67222
67223
67224
67225
67226
67227
67228 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67229 do
67230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67231 echo "$as_me:$LINENO: checking for $ac_func" >&5
67232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67233 if eval "test \"\${$as_ac_var+set}\" = set"; then
67234   echo $ECHO_N "(cached) $ECHO_C" >&6
67235 else
67236   if test x$gcc_no_link = xyes; then
67237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67239    { (exit 1); exit 1; }; }
67240 fi
67241 cat >conftest.$ac_ext <<_ACEOF
67242 /* confdefs.h.  */
67243 _ACEOF
67244 cat confdefs.h >>conftest.$ac_ext
67245 cat >>conftest.$ac_ext <<_ACEOF
67246 /* end confdefs.h.  */
67247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67249 #define $ac_func innocuous_$ac_func
67250
67251 /* System header to define __stub macros and hopefully few prototypes,
67252     which can conflict with char $ac_func (); below.
67253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67254     <limits.h> exists even on freestanding compilers.  */
67255
67256 #ifdef __STDC__
67257 # include <limits.h>
67258 #else
67259 # include <assert.h>
67260 #endif
67261
67262 #undef $ac_func
67263
67264 /* Override any gcc2 internal prototype to avoid an error.  */
67265 #ifdef __cplusplus
67266 extern "C"
67267 {
67268 #endif
67269 /* We use char because int might match the return type of a gcc2
67270    builtin and then its argument prototype would still apply.  */
67271 char $ac_func ();
67272 /* The GNU C library defines this for functions which it implements
67273     to always fail with ENOSYS.  Some functions are actually named
67274     something starting with __ and the normal name is an alias.  */
67275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67276 choke me
67277 #else
67278 char (*f) () = $ac_func;
67279 #endif
67280 #ifdef __cplusplus
67281 }
67282 #endif
67283
67284 int
67285 main ()
67286 {
67287 return f != $ac_func;
67288   ;
67289   return 0;
67290 }
67291 _ACEOF
67292 rm -f conftest.$ac_objext conftest$ac_exeext
67293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67294   (eval $ac_link) 2>conftest.er1
67295   ac_status=$?
67296   grep -v '^ *+' conftest.er1 >conftest.err
67297   rm -f conftest.er1
67298   cat conftest.err >&5
67299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67300   (exit $ac_status); } &&
67301          { ac_try='test -z "$ac_c_werror_flag"
67302                          || test ! -s conftest.err'
67303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67304   (eval $ac_try) 2>&5
67305   ac_status=$?
67306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67307   (exit $ac_status); }; } &&
67308          { ac_try='test -s conftest$ac_exeext'
67309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67310   (eval $ac_try) 2>&5
67311   ac_status=$?
67312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67313   (exit $ac_status); }; }; then
67314   eval "$as_ac_var=yes"
67315 else
67316   echo "$as_me: failed program was:" >&5
67317 sed 's/^/| /' conftest.$ac_ext >&5
67318
67319 eval "$as_ac_var=no"
67320 fi
67321 rm -f conftest.err conftest.$ac_objext \
67322       conftest$ac_exeext conftest.$ac_ext
67323 fi
67324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67326 if test `eval echo '${'$as_ac_var'}'` = yes; then
67327   cat >>confdefs.h <<_ACEOF
67328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67329 _ACEOF
67330
67331 fi
67332 done
67333
67334   else
67335     echo "$as_me:$LINENO: checking for _float trig functions" >&5
67336 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67337     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67338   echo $ECHO_N "(cached) $ECHO_C" >&6
67339 else
67340
67341
67342
67343       ac_ext=cc
67344 ac_cpp='$CXXCPP $CPPFLAGS'
67345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67348
67349       cat >conftest.$ac_ext <<_ACEOF
67350 /* confdefs.h.  */
67351 _ACEOF
67352 cat confdefs.h >>conftest.$ac_ext
67353 cat >>conftest.$ac_ext <<_ACEOF
67354 /* end confdefs.h.  */
67355 #include <math.h>
67356 int
67357 main ()
67358 {
67359 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67360   ;
67361   return 0;
67362 }
67363 _ACEOF
67364 rm -f conftest.$ac_objext
67365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67366   (eval $ac_compile) 2>conftest.er1
67367   ac_status=$?
67368   grep -v '^ *+' conftest.er1 >conftest.err
67369   rm -f conftest.er1
67370   cat conftest.err >&5
67371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67372   (exit $ac_status); } &&
67373          { ac_try='test -z "$ac_cxx_werror_flag"
67374                          || test ! -s conftest.err'
67375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67376   (eval $ac_try) 2>&5
67377   ac_status=$?
67378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67379   (exit $ac_status); }; } &&
67380          { ac_try='test -s conftest.$ac_objext'
67381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67382   (eval $ac_try) 2>&5
67383   ac_status=$?
67384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67385   (exit $ac_status); }; }; then
67386   glibcxx_cv_func__float_trig_use=yes
67387 else
67388   echo "$as_me: failed program was:" >&5
67389 sed 's/^/| /' conftest.$ac_ext >&5
67390
67391 glibcxx_cv_func__float_trig_use=no
67392 fi
67393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67394       ac_ext=c
67395 ac_cpp='$CPP $CPPFLAGS'
67396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67399
67400 fi
67401
67402     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67403 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67404     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67405
67406
67407
67408
67409
67410
67411
67412
67413
67414 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
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
67529
67530
67531
67532
67533
67534
67535
67536     echo "$as_me:$LINENO: checking for float round functions" >&5
67537 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67538   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67539   echo $ECHO_N "(cached) $ECHO_C" >&6
67540 else
67541
67542
67543
67544     ac_ext=cc
67545 ac_cpp='$CXXCPP $CPPFLAGS'
67546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67549
67550     cat >conftest.$ac_ext <<_ACEOF
67551 /* confdefs.h.  */
67552 _ACEOF
67553 cat confdefs.h >>conftest.$ac_ext
67554 cat >>conftest.$ac_ext <<_ACEOF
67555 /* end confdefs.h.  */
67556 #include <math.h>
67557 int
67558 main ()
67559 {
67560 ceilf (0); floorf (0);
67561   ;
67562   return 0;
67563 }
67564 _ACEOF
67565 rm -f conftest.$ac_objext
67566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67567   (eval $ac_compile) 2>conftest.er1
67568   ac_status=$?
67569   grep -v '^ *+' conftest.er1 >conftest.err
67570   rm -f conftest.er1
67571   cat conftest.err >&5
67572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67573   (exit $ac_status); } &&
67574          { ac_try='test -z "$ac_cxx_werror_flag"
67575                          || test ! -s conftest.err'
67576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67577   (eval $ac_try) 2>&5
67578   ac_status=$?
67579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67580   (exit $ac_status); }; } &&
67581          { ac_try='test -s conftest.$ac_objext'
67582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67583   (eval $ac_try) 2>&5
67584   ac_status=$?
67585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67586   (exit $ac_status); }; }; then
67587   glibcxx_cv_func_float_round_use=yes
67588 else
67589   echo "$as_me: failed program was:" >&5
67590 sed 's/^/| /' conftest.$ac_ext >&5
67591
67592 glibcxx_cv_func_float_round_use=no
67593 fi
67594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67595     ac_ext=c
67596 ac_cpp='$CPP $CPPFLAGS'
67597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67600
67601 fi
67602
67603   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67604 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67605   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67606
67607
67608 for ac_func in ceilf floorf
67609 do
67610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67611 echo "$as_me:$LINENO: checking for $ac_func" >&5
67612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67613 if eval "test \"\${$as_ac_var+set}\" = set"; then
67614   echo $ECHO_N "(cached) $ECHO_C" >&6
67615 else
67616   if test x$gcc_no_link = xyes; then
67617   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67619    { (exit 1); exit 1; }; }
67620 fi
67621 cat >conftest.$ac_ext <<_ACEOF
67622 /* confdefs.h.  */
67623 _ACEOF
67624 cat confdefs.h >>conftest.$ac_ext
67625 cat >>conftest.$ac_ext <<_ACEOF
67626 /* end confdefs.h.  */
67627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67628    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67629 #define $ac_func innocuous_$ac_func
67630
67631 /* System header to define __stub macros and hopefully few prototypes,
67632     which can conflict with char $ac_func (); below.
67633     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67634     <limits.h> exists even on freestanding compilers.  */
67635
67636 #ifdef __STDC__
67637 # include <limits.h>
67638 #else
67639 # include <assert.h>
67640 #endif
67641
67642 #undef $ac_func
67643
67644 /* Override any gcc2 internal prototype to avoid an error.  */
67645 #ifdef __cplusplus
67646 extern "C"
67647 {
67648 #endif
67649 /* We use char because int might match the return type of a gcc2
67650    builtin and then its argument prototype would still apply.  */
67651 char $ac_func ();
67652 /* The GNU C library defines this for functions which it implements
67653     to always fail with ENOSYS.  Some functions are actually named
67654     something starting with __ and the normal name is an alias.  */
67655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67656 choke me
67657 #else
67658 char (*f) () = $ac_func;
67659 #endif
67660 #ifdef __cplusplus
67661 }
67662 #endif
67663
67664 int
67665 main ()
67666 {
67667 return f != $ac_func;
67668   ;
67669   return 0;
67670 }
67671 _ACEOF
67672 rm -f conftest.$ac_objext conftest$ac_exeext
67673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67674   (eval $ac_link) 2>conftest.er1
67675   ac_status=$?
67676   grep -v '^ *+' conftest.er1 >conftest.err
67677   rm -f conftest.er1
67678   cat conftest.err >&5
67679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67680   (exit $ac_status); } &&
67681          { ac_try='test -z "$ac_c_werror_flag"
67682                          || test ! -s conftest.err'
67683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67684   (eval $ac_try) 2>&5
67685   ac_status=$?
67686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67687   (exit $ac_status); }; } &&
67688          { ac_try='test -s conftest$ac_exeext'
67689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67690   (eval $ac_try) 2>&5
67691   ac_status=$?
67692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67693   (exit $ac_status); }; }; then
67694   eval "$as_ac_var=yes"
67695 else
67696   echo "$as_me: failed program was:" >&5
67697 sed 's/^/| /' conftest.$ac_ext >&5
67698
67699 eval "$as_ac_var=no"
67700 fi
67701 rm -f conftest.err conftest.$ac_objext \
67702       conftest$ac_exeext conftest.$ac_ext
67703 fi
67704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67706 if test `eval echo '${'$as_ac_var'}'` = yes; then
67707   cat >>confdefs.h <<_ACEOF
67708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67709 _ACEOF
67710
67711 fi
67712 done
67713
67714   else
67715     echo "$as_me:$LINENO: checking for _float round functions" >&5
67716 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67717     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67718   echo $ECHO_N "(cached) $ECHO_C" >&6
67719 else
67720
67721
67722
67723       ac_ext=cc
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67728
67729       cat >conftest.$ac_ext <<_ACEOF
67730 /* confdefs.h.  */
67731 _ACEOF
67732 cat confdefs.h >>conftest.$ac_ext
67733 cat >>conftest.$ac_ext <<_ACEOF
67734 /* end confdefs.h.  */
67735 #include <math.h>
67736 int
67737 main ()
67738 {
67739 _ceilf (0); _floorf (0);
67740   ;
67741   return 0;
67742 }
67743 _ACEOF
67744 rm -f conftest.$ac_objext
67745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67746   (eval $ac_compile) 2>conftest.er1
67747   ac_status=$?
67748   grep -v '^ *+' conftest.er1 >conftest.err
67749   rm -f conftest.er1
67750   cat conftest.err >&5
67751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67752   (exit $ac_status); } &&
67753          { ac_try='test -z "$ac_cxx_werror_flag"
67754                          || test ! -s conftest.err'
67755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67756   (eval $ac_try) 2>&5
67757   ac_status=$?
67758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759   (exit $ac_status); }; } &&
67760          { ac_try='test -s conftest.$ac_objext'
67761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67762   (eval $ac_try) 2>&5
67763   ac_status=$?
67764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67765   (exit $ac_status); }; }; then
67766   glibcxx_cv_func__float_round_use=yes
67767 else
67768   echo "$as_me: failed program was:" >&5
67769 sed 's/^/| /' conftest.$ac_ext >&5
67770
67771 glibcxx_cv_func__float_round_use=no
67772 fi
67773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67774       ac_ext=c
67775 ac_cpp='$CPP $CPPFLAGS'
67776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67779
67780 fi
67781
67782     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67783 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67784     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67785
67786
67787 for ac_func in _ceilf _floorf
67788 do
67789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67790 echo "$as_me:$LINENO: checking for $ac_func" >&5
67791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67792 if eval "test \"\${$as_ac_var+set}\" = set"; then
67793   echo $ECHO_N "(cached) $ECHO_C" >&6
67794 else
67795   if test x$gcc_no_link = xyes; then
67796   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67798    { (exit 1); exit 1; }; }
67799 fi
67800 cat >conftest.$ac_ext <<_ACEOF
67801 /* confdefs.h.  */
67802 _ACEOF
67803 cat confdefs.h >>conftest.$ac_ext
67804 cat >>conftest.$ac_ext <<_ACEOF
67805 /* end confdefs.h.  */
67806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67807    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67808 #define $ac_func innocuous_$ac_func
67809
67810 /* System header to define __stub macros and hopefully few prototypes,
67811     which can conflict with char $ac_func (); below.
67812     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67813     <limits.h> exists even on freestanding compilers.  */
67814
67815 #ifdef __STDC__
67816 # include <limits.h>
67817 #else
67818 # include <assert.h>
67819 #endif
67820
67821 #undef $ac_func
67822
67823 /* Override any gcc2 internal prototype to avoid an error.  */
67824 #ifdef __cplusplus
67825 extern "C"
67826 {
67827 #endif
67828 /* We use char because int might match the return type of a gcc2
67829    builtin and then its argument prototype would still apply.  */
67830 char $ac_func ();
67831 /* The GNU C library defines this for functions which it implements
67832     to always fail with ENOSYS.  Some functions are actually named
67833     something starting with __ and the normal name is an alias.  */
67834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67835 choke me
67836 #else
67837 char (*f) () = $ac_func;
67838 #endif
67839 #ifdef __cplusplus
67840 }
67841 #endif
67842
67843 int
67844 main ()
67845 {
67846 return f != $ac_func;
67847   ;
67848   return 0;
67849 }
67850 _ACEOF
67851 rm -f conftest.$ac_objext conftest$ac_exeext
67852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67853   (eval $ac_link) 2>conftest.er1
67854   ac_status=$?
67855   grep -v '^ *+' conftest.er1 >conftest.err
67856   rm -f conftest.er1
67857   cat conftest.err >&5
67858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67859   (exit $ac_status); } &&
67860          { ac_try='test -z "$ac_c_werror_flag"
67861                          || test ! -s conftest.err'
67862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67863   (eval $ac_try) 2>&5
67864   ac_status=$?
67865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67866   (exit $ac_status); }; } &&
67867          { ac_try='test -s conftest$ac_exeext'
67868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67869   (eval $ac_try) 2>&5
67870   ac_status=$?
67871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67872   (exit $ac_status); }; }; then
67873   eval "$as_ac_var=yes"
67874 else
67875   echo "$as_me: failed program was:" >&5
67876 sed 's/^/| /' conftest.$ac_ext >&5
67877
67878 eval "$as_ac_var=no"
67879 fi
67880 rm -f conftest.err conftest.$ac_objext \
67881       conftest$ac_exeext conftest.$ac_ext
67882 fi
67883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67885 if test `eval echo '${'$as_ac_var'}'` = yes; then
67886   cat >>confdefs.h <<_ACEOF
67887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67888 _ACEOF
67889
67890 fi
67891 done
67892
67893     fi
67894   fi
67895
67896
67897
67898
67899
67900
67901
67902
67903   echo "$as_me:$LINENO: checking for expf declaration" >&5
67904 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
67905   if test x${glibcxx_cv_func_expf_use+set} != xset; then
67906     if test "${glibcxx_cv_func_expf_use+set}" = set; then
67907   echo $ECHO_N "(cached) $ECHO_C" >&6
67908 else
67909
67910
67911
67912       ac_ext=cc
67913 ac_cpp='$CXXCPP $CPPFLAGS'
67914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67917
67918       cat >conftest.$ac_ext <<_ACEOF
67919 /* confdefs.h.  */
67920 _ACEOF
67921 cat confdefs.h >>conftest.$ac_ext
67922 cat >>conftest.$ac_ext <<_ACEOF
67923 /* end confdefs.h.  */
67924 #include <math.h>
67925                       #ifdef HAVE_IEEEFP_H
67926                       #include <ieeefp.h>
67927                       #endif
67928
67929 int
67930 main ()
67931 {
67932  expf(0);
67933   ;
67934   return 0;
67935 }
67936 _ACEOF
67937 rm -f conftest.$ac_objext
67938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67939   (eval $ac_compile) 2>conftest.er1
67940   ac_status=$?
67941   grep -v '^ *+' conftest.er1 >conftest.err
67942   rm -f conftest.er1
67943   cat conftest.err >&5
67944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67945   (exit $ac_status); } &&
67946          { ac_try='test -z "$ac_cxx_werror_flag"
67947                          || test ! -s conftest.err'
67948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67949   (eval $ac_try) 2>&5
67950   ac_status=$?
67951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67952   (exit $ac_status); }; } &&
67953          { ac_try='test -s conftest.$ac_objext'
67954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67955   (eval $ac_try) 2>&5
67956   ac_status=$?
67957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67958   (exit $ac_status); }; }; then
67959   glibcxx_cv_func_expf_use=yes
67960 else
67961   echo "$as_me: failed program was:" >&5
67962 sed 's/^/| /' conftest.$ac_ext >&5
67963
67964 glibcxx_cv_func_expf_use=no
67965 fi
67966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67967       ac_ext=c
67968 ac_cpp='$CPP $CPPFLAGS'
67969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67972
67973
67974 fi
67975
67976   fi
67977   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67978 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67979
67980   if test x$glibcxx_cv_func_expf_use = x"yes"; then
67981
67982 for ac_func in expf
67983 do
67984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67985 echo "$as_me:$LINENO: checking for $ac_func" >&5
67986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67987 if eval "test \"\${$as_ac_var+set}\" = set"; then
67988   echo $ECHO_N "(cached) $ECHO_C" >&6
67989 else
67990   if test x$gcc_no_link = xyes; then
67991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67993    { (exit 1); exit 1; }; }
67994 fi
67995 cat >conftest.$ac_ext <<_ACEOF
67996 /* confdefs.h.  */
67997 _ACEOF
67998 cat confdefs.h >>conftest.$ac_ext
67999 cat >>conftest.$ac_ext <<_ACEOF
68000 /* end confdefs.h.  */
68001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68003 #define $ac_func innocuous_$ac_func
68004
68005 /* System header to define __stub macros and hopefully few prototypes,
68006     which can conflict with char $ac_func (); below.
68007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68008     <limits.h> exists even on freestanding compilers.  */
68009
68010 #ifdef __STDC__
68011 # include <limits.h>
68012 #else
68013 # include <assert.h>
68014 #endif
68015
68016 #undef $ac_func
68017
68018 /* Override any gcc2 internal prototype to avoid an error.  */
68019 #ifdef __cplusplus
68020 extern "C"
68021 {
68022 #endif
68023 /* We use char because int might match the return type of a gcc2
68024    builtin and then its argument prototype would still apply.  */
68025 char $ac_func ();
68026 /* The GNU C library defines this for functions which it implements
68027     to always fail with ENOSYS.  Some functions are actually named
68028     something starting with __ and the normal name is an alias.  */
68029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68030 choke me
68031 #else
68032 char (*f) () = $ac_func;
68033 #endif
68034 #ifdef __cplusplus
68035 }
68036 #endif
68037
68038 int
68039 main ()
68040 {
68041 return f != $ac_func;
68042   ;
68043   return 0;
68044 }
68045 _ACEOF
68046 rm -f conftest.$ac_objext conftest$ac_exeext
68047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68048   (eval $ac_link) 2>conftest.er1
68049   ac_status=$?
68050   grep -v '^ *+' conftest.er1 >conftest.err
68051   rm -f conftest.er1
68052   cat conftest.err >&5
68053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68054   (exit $ac_status); } &&
68055          { ac_try='test -z "$ac_c_werror_flag"
68056                          || test ! -s conftest.err'
68057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68058   (eval $ac_try) 2>&5
68059   ac_status=$?
68060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68061   (exit $ac_status); }; } &&
68062          { ac_try='test -s conftest$ac_exeext'
68063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68064   (eval $ac_try) 2>&5
68065   ac_status=$?
68066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68067   (exit $ac_status); }; }; then
68068   eval "$as_ac_var=yes"
68069 else
68070   echo "$as_me: failed program was:" >&5
68071 sed 's/^/| /' conftest.$ac_ext >&5
68072
68073 eval "$as_ac_var=no"
68074 fi
68075 rm -f conftest.err conftest.$ac_objext \
68076       conftest$ac_exeext conftest.$ac_ext
68077 fi
68078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68080 if test `eval echo '${'$as_ac_var'}'` = yes; then
68081   cat >>confdefs.h <<_ACEOF
68082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68083 _ACEOF
68084
68085 fi
68086 done
68087
68088   else
68089
68090   echo "$as_me:$LINENO: checking for _expf declaration" >&5
68091 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68092   if test x${glibcxx_cv_func__expf_use+set} != xset; then
68093     if test "${glibcxx_cv_func__expf_use+set}" = set; then
68094   echo $ECHO_N "(cached) $ECHO_C" >&6
68095 else
68096
68097
68098
68099       ac_ext=cc
68100 ac_cpp='$CXXCPP $CPPFLAGS'
68101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68104
68105       cat >conftest.$ac_ext <<_ACEOF
68106 /* confdefs.h.  */
68107 _ACEOF
68108 cat confdefs.h >>conftest.$ac_ext
68109 cat >>conftest.$ac_ext <<_ACEOF
68110 /* end confdefs.h.  */
68111 #include <math.h>
68112                       #ifdef HAVE_IEEEFP_H
68113                       #include <ieeefp.h>
68114                       #endif
68115
68116 int
68117 main ()
68118 {
68119  _expf(0);
68120   ;
68121   return 0;
68122 }
68123 _ACEOF
68124 rm -f conftest.$ac_objext
68125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68126   (eval $ac_compile) 2>conftest.er1
68127   ac_status=$?
68128   grep -v '^ *+' conftest.er1 >conftest.err
68129   rm -f conftest.er1
68130   cat conftest.err >&5
68131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68132   (exit $ac_status); } &&
68133          { ac_try='test -z "$ac_cxx_werror_flag"
68134                          || test ! -s conftest.err'
68135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68136   (eval $ac_try) 2>&5
68137   ac_status=$?
68138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68139   (exit $ac_status); }; } &&
68140          { ac_try='test -s conftest.$ac_objext'
68141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68142   (eval $ac_try) 2>&5
68143   ac_status=$?
68144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68145   (exit $ac_status); }; }; then
68146   glibcxx_cv_func__expf_use=yes
68147 else
68148   echo "$as_me: failed program was:" >&5
68149 sed 's/^/| /' conftest.$ac_ext >&5
68150
68151 glibcxx_cv_func__expf_use=no
68152 fi
68153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68154       ac_ext=c
68155 ac_cpp='$CPP $CPPFLAGS'
68156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68159
68160
68161 fi
68162
68163   fi
68164   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68165 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68166
68167     if test x$glibcxx_cv_func__expf_use = x"yes"; then
68168
68169 for ac_func in _expf
68170 do
68171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68172 echo "$as_me:$LINENO: checking for $ac_func" >&5
68173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68174 if eval "test \"\${$as_ac_var+set}\" = set"; then
68175   echo $ECHO_N "(cached) $ECHO_C" >&6
68176 else
68177   if test x$gcc_no_link = xyes; then
68178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68180    { (exit 1); exit 1; }; }
68181 fi
68182 cat >conftest.$ac_ext <<_ACEOF
68183 /* confdefs.h.  */
68184 _ACEOF
68185 cat confdefs.h >>conftest.$ac_ext
68186 cat >>conftest.$ac_ext <<_ACEOF
68187 /* end confdefs.h.  */
68188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68190 #define $ac_func innocuous_$ac_func
68191
68192 /* System header to define __stub macros and hopefully few prototypes,
68193     which can conflict with char $ac_func (); below.
68194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68195     <limits.h> exists even on freestanding compilers.  */
68196
68197 #ifdef __STDC__
68198 # include <limits.h>
68199 #else
68200 # include <assert.h>
68201 #endif
68202
68203 #undef $ac_func
68204
68205 /* Override any gcc2 internal prototype to avoid an error.  */
68206 #ifdef __cplusplus
68207 extern "C"
68208 {
68209 #endif
68210 /* We use char because int might match the return type of a gcc2
68211    builtin and then its argument prototype would still apply.  */
68212 char $ac_func ();
68213 /* The GNU C library defines this for functions which it implements
68214     to always fail with ENOSYS.  Some functions are actually named
68215     something starting with __ and the normal name is an alias.  */
68216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68217 choke me
68218 #else
68219 char (*f) () = $ac_func;
68220 #endif
68221 #ifdef __cplusplus
68222 }
68223 #endif
68224
68225 int
68226 main ()
68227 {
68228 return f != $ac_func;
68229   ;
68230   return 0;
68231 }
68232 _ACEOF
68233 rm -f conftest.$ac_objext conftest$ac_exeext
68234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68235   (eval $ac_link) 2>conftest.er1
68236   ac_status=$?
68237   grep -v '^ *+' conftest.er1 >conftest.err
68238   rm -f conftest.er1
68239   cat conftest.err >&5
68240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68241   (exit $ac_status); } &&
68242          { ac_try='test -z "$ac_c_werror_flag"
68243                          || test ! -s conftest.err'
68244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68245   (eval $ac_try) 2>&5
68246   ac_status=$?
68247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68248   (exit $ac_status); }; } &&
68249          { ac_try='test -s conftest$ac_exeext'
68250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68251   (eval $ac_try) 2>&5
68252   ac_status=$?
68253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68254   (exit $ac_status); }; }; then
68255   eval "$as_ac_var=yes"
68256 else
68257   echo "$as_me: failed program was:" >&5
68258 sed 's/^/| /' conftest.$ac_ext >&5
68259
68260 eval "$as_ac_var=no"
68261 fi
68262 rm -f conftest.err conftest.$ac_objext \
68263       conftest$ac_exeext conftest.$ac_ext
68264 fi
68265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68267 if test `eval echo '${'$as_ac_var'}'` = yes; then
68268   cat >>confdefs.h <<_ACEOF
68269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68270 _ACEOF
68271
68272 fi
68273 done
68274
68275     fi
68276   fi
68277
68278
68279
68280
68281
68282
68283   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68284 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68285   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68286     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68287   echo $ECHO_N "(cached) $ECHO_C" >&6
68288 else
68289
68290
68291
68292       ac_ext=cc
68293 ac_cpp='$CXXCPP $CPPFLAGS'
68294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68297
68298       cat >conftest.$ac_ext <<_ACEOF
68299 /* confdefs.h.  */
68300 _ACEOF
68301 cat confdefs.h >>conftest.$ac_ext
68302 cat >>conftest.$ac_ext <<_ACEOF
68303 /* end confdefs.h.  */
68304 #include <math.h>
68305                       #ifdef HAVE_IEEEFP_H
68306                       #include <ieeefp.h>
68307                       #endif
68308
68309 int
68310 main ()
68311 {
68312  isnanf(0);
68313   ;
68314   return 0;
68315 }
68316 _ACEOF
68317 rm -f conftest.$ac_objext
68318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68319   (eval $ac_compile) 2>conftest.er1
68320   ac_status=$?
68321   grep -v '^ *+' conftest.er1 >conftest.err
68322   rm -f conftest.er1
68323   cat conftest.err >&5
68324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68325   (exit $ac_status); } &&
68326          { ac_try='test -z "$ac_cxx_werror_flag"
68327                          || test ! -s conftest.err'
68328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68329   (eval $ac_try) 2>&5
68330   ac_status=$?
68331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68332   (exit $ac_status); }; } &&
68333          { ac_try='test -s conftest.$ac_objext'
68334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68335   (eval $ac_try) 2>&5
68336   ac_status=$?
68337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68338   (exit $ac_status); }; }; then
68339   glibcxx_cv_func_isnanf_use=yes
68340 else
68341   echo "$as_me: failed program was:" >&5
68342 sed 's/^/| /' conftest.$ac_ext >&5
68343
68344 glibcxx_cv_func_isnanf_use=no
68345 fi
68346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68347       ac_ext=c
68348 ac_cpp='$CPP $CPPFLAGS'
68349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68352
68353
68354 fi
68355
68356   fi
68357   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68358 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68359
68360   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68361
68362 for ac_func in isnanf
68363 do
68364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68365 echo "$as_me:$LINENO: checking for $ac_func" >&5
68366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68367 if eval "test \"\${$as_ac_var+set}\" = set"; then
68368   echo $ECHO_N "(cached) $ECHO_C" >&6
68369 else
68370   if test x$gcc_no_link = xyes; then
68371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68373    { (exit 1); exit 1; }; }
68374 fi
68375 cat >conftest.$ac_ext <<_ACEOF
68376 /* confdefs.h.  */
68377 _ACEOF
68378 cat confdefs.h >>conftest.$ac_ext
68379 cat >>conftest.$ac_ext <<_ACEOF
68380 /* end confdefs.h.  */
68381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68383 #define $ac_func innocuous_$ac_func
68384
68385 /* System header to define __stub macros and hopefully few prototypes,
68386     which can conflict with char $ac_func (); below.
68387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68388     <limits.h> exists even on freestanding compilers.  */
68389
68390 #ifdef __STDC__
68391 # include <limits.h>
68392 #else
68393 # include <assert.h>
68394 #endif
68395
68396 #undef $ac_func
68397
68398 /* Override any gcc2 internal prototype to avoid an error.  */
68399 #ifdef __cplusplus
68400 extern "C"
68401 {
68402 #endif
68403 /* We use char because int might match the return type of a gcc2
68404    builtin and then its argument prototype would still apply.  */
68405 char $ac_func ();
68406 /* The GNU C library defines this for functions which it implements
68407     to always fail with ENOSYS.  Some functions are actually named
68408     something starting with __ and the normal name is an alias.  */
68409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68410 choke me
68411 #else
68412 char (*f) () = $ac_func;
68413 #endif
68414 #ifdef __cplusplus
68415 }
68416 #endif
68417
68418 int
68419 main ()
68420 {
68421 return f != $ac_func;
68422   ;
68423   return 0;
68424 }
68425 _ACEOF
68426 rm -f conftest.$ac_objext conftest$ac_exeext
68427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68428   (eval $ac_link) 2>conftest.er1
68429   ac_status=$?
68430   grep -v '^ *+' conftest.er1 >conftest.err
68431   rm -f conftest.er1
68432   cat conftest.err >&5
68433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68434   (exit $ac_status); } &&
68435          { ac_try='test -z "$ac_c_werror_flag"
68436                          || test ! -s conftest.err'
68437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68438   (eval $ac_try) 2>&5
68439   ac_status=$?
68440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68441   (exit $ac_status); }; } &&
68442          { ac_try='test -s conftest$ac_exeext'
68443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68444   (eval $ac_try) 2>&5
68445   ac_status=$?
68446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68447   (exit $ac_status); }; }; then
68448   eval "$as_ac_var=yes"
68449 else
68450   echo "$as_me: failed program was:" >&5
68451 sed 's/^/| /' conftest.$ac_ext >&5
68452
68453 eval "$as_ac_var=no"
68454 fi
68455 rm -f conftest.err conftest.$ac_objext \
68456       conftest$ac_exeext conftest.$ac_ext
68457 fi
68458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68460 if test `eval echo '${'$as_ac_var'}'` = yes; then
68461   cat >>confdefs.h <<_ACEOF
68462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68463 _ACEOF
68464
68465 fi
68466 done
68467
68468   else
68469
68470   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68471 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68472   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68473     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68474   echo $ECHO_N "(cached) $ECHO_C" >&6
68475 else
68476
68477
68478
68479       ac_ext=cc
68480 ac_cpp='$CXXCPP $CPPFLAGS'
68481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68484
68485       cat >conftest.$ac_ext <<_ACEOF
68486 /* confdefs.h.  */
68487 _ACEOF
68488 cat confdefs.h >>conftest.$ac_ext
68489 cat >>conftest.$ac_ext <<_ACEOF
68490 /* end confdefs.h.  */
68491 #include <math.h>
68492                       #ifdef HAVE_IEEEFP_H
68493                       #include <ieeefp.h>
68494                       #endif
68495
68496 int
68497 main ()
68498 {
68499  _isnanf(0);
68500   ;
68501   return 0;
68502 }
68503 _ACEOF
68504 rm -f conftest.$ac_objext
68505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68506   (eval $ac_compile) 2>conftest.er1
68507   ac_status=$?
68508   grep -v '^ *+' conftest.er1 >conftest.err
68509   rm -f conftest.er1
68510   cat conftest.err >&5
68511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68512   (exit $ac_status); } &&
68513          { ac_try='test -z "$ac_cxx_werror_flag"
68514                          || test ! -s conftest.err'
68515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68516   (eval $ac_try) 2>&5
68517   ac_status=$?
68518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68519   (exit $ac_status); }; } &&
68520          { ac_try='test -s conftest.$ac_objext'
68521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68522   (eval $ac_try) 2>&5
68523   ac_status=$?
68524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68525   (exit $ac_status); }; }; then
68526   glibcxx_cv_func__isnanf_use=yes
68527 else
68528   echo "$as_me: failed program was:" >&5
68529 sed 's/^/| /' conftest.$ac_ext >&5
68530
68531 glibcxx_cv_func__isnanf_use=no
68532 fi
68533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68534       ac_ext=c
68535 ac_cpp='$CPP $CPPFLAGS'
68536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68539
68540
68541 fi
68542
68543   fi
68544   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68545 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68546
68547     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68548
68549 for ac_func in _isnanf
68550 do
68551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68552 echo "$as_me:$LINENO: checking for $ac_func" >&5
68553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68554 if eval "test \"\${$as_ac_var+set}\" = set"; then
68555   echo $ECHO_N "(cached) $ECHO_C" >&6
68556 else
68557   if test x$gcc_no_link = xyes; then
68558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68560    { (exit 1); exit 1; }; }
68561 fi
68562 cat >conftest.$ac_ext <<_ACEOF
68563 /* confdefs.h.  */
68564 _ACEOF
68565 cat confdefs.h >>conftest.$ac_ext
68566 cat >>conftest.$ac_ext <<_ACEOF
68567 /* end confdefs.h.  */
68568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68570 #define $ac_func innocuous_$ac_func
68571
68572 /* System header to define __stub macros and hopefully few prototypes,
68573     which can conflict with char $ac_func (); below.
68574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68575     <limits.h> exists even on freestanding compilers.  */
68576
68577 #ifdef __STDC__
68578 # include <limits.h>
68579 #else
68580 # include <assert.h>
68581 #endif
68582
68583 #undef $ac_func
68584
68585 /* Override any gcc2 internal prototype to avoid an error.  */
68586 #ifdef __cplusplus
68587 extern "C"
68588 {
68589 #endif
68590 /* We use char because int might match the return type of a gcc2
68591    builtin and then its argument prototype would still apply.  */
68592 char $ac_func ();
68593 /* The GNU C library defines this for functions which it implements
68594     to always fail with ENOSYS.  Some functions are actually named
68595     something starting with __ and the normal name is an alias.  */
68596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68597 choke me
68598 #else
68599 char (*f) () = $ac_func;
68600 #endif
68601 #ifdef __cplusplus
68602 }
68603 #endif
68604
68605 int
68606 main ()
68607 {
68608 return f != $ac_func;
68609   ;
68610   return 0;
68611 }
68612 _ACEOF
68613 rm -f conftest.$ac_objext conftest$ac_exeext
68614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68615   (eval $ac_link) 2>conftest.er1
68616   ac_status=$?
68617   grep -v '^ *+' conftest.er1 >conftest.err
68618   rm -f conftest.er1
68619   cat conftest.err >&5
68620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68621   (exit $ac_status); } &&
68622          { ac_try='test -z "$ac_c_werror_flag"
68623                          || test ! -s conftest.err'
68624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68625   (eval $ac_try) 2>&5
68626   ac_status=$?
68627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68628   (exit $ac_status); }; } &&
68629          { ac_try='test -s conftest$ac_exeext'
68630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68631   (eval $ac_try) 2>&5
68632   ac_status=$?
68633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68634   (exit $ac_status); }; }; then
68635   eval "$as_ac_var=yes"
68636 else
68637   echo "$as_me: failed program was:" >&5
68638 sed 's/^/| /' conftest.$ac_ext >&5
68639
68640 eval "$as_ac_var=no"
68641 fi
68642 rm -f conftest.err conftest.$ac_objext \
68643       conftest$ac_exeext conftest.$ac_ext
68644 fi
68645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68647 if test `eval echo '${'$as_ac_var'}'` = yes; then
68648   cat >>confdefs.h <<_ACEOF
68649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68650 _ACEOF
68651
68652 fi
68653 done
68654
68655     fi
68656   fi
68657
68658
68659
68660
68661
68662
68663   echo "$as_me:$LINENO: checking for isinff declaration" >&5
68664 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68665   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68666     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68667   echo $ECHO_N "(cached) $ECHO_C" >&6
68668 else
68669
68670
68671
68672       ac_ext=cc
68673 ac_cpp='$CXXCPP $CPPFLAGS'
68674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68677
68678       cat >conftest.$ac_ext <<_ACEOF
68679 /* confdefs.h.  */
68680 _ACEOF
68681 cat confdefs.h >>conftest.$ac_ext
68682 cat >>conftest.$ac_ext <<_ACEOF
68683 /* end confdefs.h.  */
68684 #include <math.h>
68685                       #ifdef HAVE_IEEEFP_H
68686                       #include <ieeefp.h>
68687                       #endif
68688
68689 int
68690 main ()
68691 {
68692  isinff(0);
68693   ;
68694   return 0;
68695 }
68696 _ACEOF
68697 rm -f conftest.$ac_objext
68698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68699   (eval $ac_compile) 2>conftest.er1
68700   ac_status=$?
68701   grep -v '^ *+' conftest.er1 >conftest.err
68702   rm -f conftest.er1
68703   cat conftest.err >&5
68704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68705   (exit $ac_status); } &&
68706          { ac_try='test -z "$ac_cxx_werror_flag"
68707                          || test ! -s conftest.err'
68708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68709   (eval $ac_try) 2>&5
68710   ac_status=$?
68711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68712   (exit $ac_status); }; } &&
68713          { ac_try='test -s conftest.$ac_objext'
68714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68715   (eval $ac_try) 2>&5
68716   ac_status=$?
68717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68718   (exit $ac_status); }; }; then
68719   glibcxx_cv_func_isinff_use=yes
68720 else
68721   echo "$as_me: failed program was:" >&5
68722 sed 's/^/| /' conftest.$ac_ext >&5
68723
68724 glibcxx_cv_func_isinff_use=no
68725 fi
68726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68727       ac_ext=c
68728 ac_cpp='$CPP $CPPFLAGS'
68729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68732
68733
68734 fi
68735
68736   fi
68737   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68738 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68739
68740   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68741
68742 for ac_func in isinff
68743 do
68744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68745 echo "$as_me:$LINENO: checking for $ac_func" >&5
68746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68747 if eval "test \"\${$as_ac_var+set}\" = set"; then
68748   echo $ECHO_N "(cached) $ECHO_C" >&6
68749 else
68750   if test x$gcc_no_link = xyes; then
68751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68753    { (exit 1); exit 1; }; }
68754 fi
68755 cat >conftest.$ac_ext <<_ACEOF
68756 /* confdefs.h.  */
68757 _ACEOF
68758 cat confdefs.h >>conftest.$ac_ext
68759 cat >>conftest.$ac_ext <<_ACEOF
68760 /* end confdefs.h.  */
68761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68763 #define $ac_func innocuous_$ac_func
68764
68765 /* System header to define __stub macros and hopefully few prototypes,
68766     which can conflict with char $ac_func (); below.
68767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68768     <limits.h> exists even on freestanding compilers.  */
68769
68770 #ifdef __STDC__
68771 # include <limits.h>
68772 #else
68773 # include <assert.h>
68774 #endif
68775
68776 #undef $ac_func
68777
68778 /* Override any gcc2 internal prototype to avoid an error.  */
68779 #ifdef __cplusplus
68780 extern "C"
68781 {
68782 #endif
68783 /* We use char because int might match the return type of a gcc2
68784    builtin and then its argument prototype would still apply.  */
68785 char $ac_func ();
68786 /* The GNU C library defines this for functions which it implements
68787     to always fail with ENOSYS.  Some functions are actually named
68788     something starting with __ and the normal name is an alias.  */
68789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68790 choke me
68791 #else
68792 char (*f) () = $ac_func;
68793 #endif
68794 #ifdef __cplusplus
68795 }
68796 #endif
68797
68798 int
68799 main ()
68800 {
68801 return f != $ac_func;
68802   ;
68803   return 0;
68804 }
68805 _ACEOF
68806 rm -f conftest.$ac_objext conftest$ac_exeext
68807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68808   (eval $ac_link) 2>conftest.er1
68809   ac_status=$?
68810   grep -v '^ *+' conftest.er1 >conftest.err
68811   rm -f conftest.er1
68812   cat conftest.err >&5
68813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68814   (exit $ac_status); } &&
68815          { ac_try='test -z "$ac_c_werror_flag"
68816                          || test ! -s conftest.err'
68817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68818   (eval $ac_try) 2>&5
68819   ac_status=$?
68820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68821   (exit $ac_status); }; } &&
68822          { ac_try='test -s conftest$ac_exeext'
68823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68824   (eval $ac_try) 2>&5
68825   ac_status=$?
68826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68827   (exit $ac_status); }; }; then
68828   eval "$as_ac_var=yes"
68829 else
68830   echo "$as_me: failed program was:" >&5
68831 sed 's/^/| /' conftest.$ac_ext >&5
68832
68833 eval "$as_ac_var=no"
68834 fi
68835 rm -f conftest.err conftest.$ac_objext \
68836       conftest$ac_exeext conftest.$ac_ext
68837 fi
68838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68840 if test `eval echo '${'$as_ac_var'}'` = yes; then
68841   cat >>confdefs.h <<_ACEOF
68842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68843 _ACEOF
68844
68845 fi
68846 done
68847
68848   else
68849
68850   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68851 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68852   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68853     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68854   echo $ECHO_N "(cached) $ECHO_C" >&6
68855 else
68856
68857
68858
68859       ac_ext=cc
68860 ac_cpp='$CXXCPP $CPPFLAGS'
68861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68864
68865       cat >conftest.$ac_ext <<_ACEOF
68866 /* confdefs.h.  */
68867 _ACEOF
68868 cat confdefs.h >>conftest.$ac_ext
68869 cat >>conftest.$ac_ext <<_ACEOF
68870 /* end confdefs.h.  */
68871 #include <math.h>
68872                       #ifdef HAVE_IEEEFP_H
68873                       #include <ieeefp.h>
68874                       #endif
68875
68876 int
68877 main ()
68878 {
68879  _isinff(0);
68880   ;
68881   return 0;
68882 }
68883 _ACEOF
68884 rm -f conftest.$ac_objext
68885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68886   (eval $ac_compile) 2>conftest.er1
68887   ac_status=$?
68888   grep -v '^ *+' conftest.er1 >conftest.err
68889   rm -f conftest.er1
68890   cat conftest.err >&5
68891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68892   (exit $ac_status); } &&
68893          { ac_try='test -z "$ac_cxx_werror_flag"
68894                          || test ! -s conftest.err'
68895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68896   (eval $ac_try) 2>&5
68897   ac_status=$?
68898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68899   (exit $ac_status); }; } &&
68900          { ac_try='test -s conftest.$ac_objext'
68901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68902   (eval $ac_try) 2>&5
68903   ac_status=$?
68904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68905   (exit $ac_status); }; }; then
68906   glibcxx_cv_func__isinff_use=yes
68907 else
68908   echo "$as_me: failed program was:" >&5
68909 sed 's/^/| /' conftest.$ac_ext >&5
68910
68911 glibcxx_cv_func__isinff_use=no
68912 fi
68913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68914       ac_ext=c
68915 ac_cpp='$CPP $CPPFLAGS'
68916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68919
68920
68921 fi
68922
68923   fi
68924   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
68925 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
68926
68927     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68928
68929 for ac_func in _isinff
68930 do
68931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68932 echo "$as_me:$LINENO: checking for $ac_func" >&5
68933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68934 if eval "test \"\${$as_ac_var+set}\" = set"; then
68935   echo $ECHO_N "(cached) $ECHO_C" >&6
68936 else
68937   if test x$gcc_no_link = xyes; then
68938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68940    { (exit 1); exit 1; }; }
68941 fi
68942 cat >conftest.$ac_ext <<_ACEOF
68943 /* confdefs.h.  */
68944 _ACEOF
68945 cat confdefs.h >>conftest.$ac_ext
68946 cat >>conftest.$ac_ext <<_ACEOF
68947 /* end confdefs.h.  */
68948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68950 #define $ac_func innocuous_$ac_func
68951
68952 /* System header to define __stub macros and hopefully few prototypes,
68953     which can conflict with char $ac_func (); below.
68954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68955     <limits.h> exists even on freestanding compilers.  */
68956
68957 #ifdef __STDC__
68958 # include <limits.h>
68959 #else
68960 # include <assert.h>
68961 #endif
68962
68963 #undef $ac_func
68964
68965 /* Override any gcc2 internal prototype to avoid an error.  */
68966 #ifdef __cplusplus
68967 extern "C"
68968 {
68969 #endif
68970 /* We use char because int might match the return type of a gcc2
68971    builtin and then its argument prototype would still apply.  */
68972 char $ac_func ();
68973 /* The GNU C library defines this for functions which it implements
68974     to always fail with ENOSYS.  Some functions are actually named
68975     something starting with __ and the normal name is an alias.  */
68976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68977 choke me
68978 #else
68979 char (*f) () = $ac_func;
68980 #endif
68981 #ifdef __cplusplus
68982 }
68983 #endif
68984
68985 int
68986 main ()
68987 {
68988 return f != $ac_func;
68989   ;
68990   return 0;
68991 }
68992 _ACEOF
68993 rm -f conftest.$ac_objext conftest$ac_exeext
68994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68995   (eval $ac_link) 2>conftest.er1
68996   ac_status=$?
68997   grep -v '^ *+' conftest.er1 >conftest.err
68998   rm -f conftest.er1
68999   cat conftest.err >&5
69000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69001   (exit $ac_status); } &&
69002          { ac_try='test -z "$ac_c_werror_flag"
69003                          || test ! -s conftest.err'
69004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69005   (eval $ac_try) 2>&5
69006   ac_status=$?
69007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69008   (exit $ac_status); }; } &&
69009          { ac_try='test -s conftest$ac_exeext'
69010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69011   (eval $ac_try) 2>&5
69012   ac_status=$?
69013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69014   (exit $ac_status); }; }; then
69015   eval "$as_ac_var=yes"
69016 else
69017   echo "$as_me: failed program was:" >&5
69018 sed 's/^/| /' conftest.$ac_ext >&5
69019
69020 eval "$as_ac_var=no"
69021 fi
69022 rm -f conftest.err conftest.$ac_objext \
69023       conftest$ac_exeext conftest.$ac_ext
69024 fi
69025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69027 if test `eval echo '${'$as_ac_var'}'` = yes; then
69028   cat >>confdefs.h <<_ACEOF
69029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69030 _ACEOF
69031
69032 fi
69033 done
69034
69035     fi
69036   fi
69037
69038
69039
69040
69041
69042
69043   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69044 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69045   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69046     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69047   echo $ECHO_N "(cached) $ECHO_C" >&6
69048 else
69049
69050
69051
69052       ac_ext=cc
69053 ac_cpp='$CXXCPP $CPPFLAGS'
69054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69057
69058       cat >conftest.$ac_ext <<_ACEOF
69059 /* confdefs.h.  */
69060 _ACEOF
69061 cat confdefs.h >>conftest.$ac_ext
69062 cat >>conftest.$ac_ext <<_ACEOF
69063 /* end confdefs.h.  */
69064 #include <math.h>
69065 int
69066 main ()
69067 {
69068  atan2f(0, 0);
69069   ;
69070   return 0;
69071 }
69072 _ACEOF
69073 rm -f conftest.$ac_objext
69074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69075   (eval $ac_compile) 2>conftest.er1
69076   ac_status=$?
69077   grep -v '^ *+' conftest.er1 >conftest.err
69078   rm -f conftest.er1
69079   cat conftest.err >&5
69080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69081   (exit $ac_status); } &&
69082          { ac_try='test -z "$ac_cxx_werror_flag"
69083                          || test ! -s conftest.err'
69084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69085   (eval $ac_try) 2>&5
69086   ac_status=$?
69087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69088   (exit $ac_status); }; } &&
69089          { ac_try='test -s conftest.$ac_objext'
69090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69091   (eval $ac_try) 2>&5
69092   ac_status=$?
69093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69094   (exit $ac_status); }; }; then
69095   glibcxx_cv_func_atan2f_use=yes
69096 else
69097   echo "$as_me: failed program was:" >&5
69098 sed 's/^/| /' conftest.$ac_ext >&5
69099
69100 glibcxx_cv_func_atan2f_use=no
69101 fi
69102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69103       ac_ext=c
69104 ac_cpp='$CPP $CPPFLAGS'
69105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69108
69109
69110 fi
69111
69112   fi
69113   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69114 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69115
69116   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69117
69118 for ac_func in atan2f
69119 do
69120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69121 echo "$as_me:$LINENO: checking for $ac_func" >&5
69122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69123 if eval "test \"\${$as_ac_var+set}\" = set"; then
69124   echo $ECHO_N "(cached) $ECHO_C" >&6
69125 else
69126   if test x$gcc_no_link = xyes; then
69127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69129    { (exit 1); exit 1; }; }
69130 fi
69131 cat >conftest.$ac_ext <<_ACEOF
69132 /* confdefs.h.  */
69133 _ACEOF
69134 cat confdefs.h >>conftest.$ac_ext
69135 cat >>conftest.$ac_ext <<_ACEOF
69136 /* end confdefs.h.  */
69137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69139 #define $ac_func innocuous_$ac_func
69140
69141 /* System header to define __stub macros and hopefully few prototypes,
69142     which can conflict with char $ac_func (); below.
69143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69144     <limits.h> exists even on freestanding compilers.  */
69145
69146 #ifdef __STDC__
69147 # include <limits.h>
69148 #else
69149 # include <assert.h>
69150 #endif
69151
69152 #undef $ac_func
69153
69154 /* Override any gcc2 internal prototype to avoid an error.  */
69155 #ifdef __cplusplus
69156 extern "C"
69157 {
69158 #endif
69159 /* We use char because int might match the return type of a gcc2
69160    builtin and then its argument prototype would still apply.  */
69161 char $ac_func ();
69162 /* The GNU C library defines this for functions which it implements
69163     to always fail with ENOSYS.  Some functions are actually named
69164     something starting with __ and the normal name is an alias.  */
69165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69166 choke me
69167 #else
69168 char (*f) () = $ac_func;
69169 #endif
69170 #ifdef __cplusplus
69171 }
69172 #endif
69173
69174 int
69175 main ()
69176 {
69177 return f != $ac_func;
69178   ;
69179   return 0;
69180 }
69181 _ACEOF
69182 rm -f conftest.$ac_objext conftest$ac_exeext
69183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69184   (eval $ac_link) 2>conftest.er1
69185   ac_status=$?
69186   grep -v '^ *+' conftest.er1 >conftest.err
69187   rm -f conftest.er1
69188   cat conftest.err >&5
69189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69190   (exit $ac_status); } &&
69191          { ac_try='test -z "$ac_c_werror_flag"
69192                          || test ! -s conftest.err'
69193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69194   (eval $ac_try) 2>&5
69195   ac_status=$?
69196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69197   (exit $ac_status); }; } &&
69198          { ac_try='test -s conftest$ac_exeext'
69199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69200   (eval $ac_try) 2>&5
69201   ac_status=$?
69202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69203   (exit $ac_status); }; }; then
69204   eval "$as_ac_var=yes"
69205 else
69206   echo "$as_me: failed program was:" >&5
69207 sed 's/^/| /' conftest.$ac_ext >&5
69208
69209 eval "$as_ac_var=no"
69210 fi
69211 rm -f conftest.err conftest.$ac_objext \
69212       conftest$ac_exeext conftest.$ac_ext
69213 fi
69214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69216 if test `eval echo '${'$as_ac_var'}'` = yes; then
69217   cat >>confdefs.h <<_ACEOF
69218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69219 _ACEOF
69220
69221 fi
69222 done
69223
69224   else
69225
69226   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69227 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69228   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69229     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69230   echo $ECHO_N "(cached) $ECHO_C" >&6
69231 else
69232
69233
69234
69235       ac_ext=cc
69236 ac_cpp='$CXXCPP $CPPFLAGS'
69237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69240
69241       cat >conftest.$ac_ext <<_ACEOF
69242 /* confdefs.h.  */
69243 _ACEOF
69244 cat confdefs.h >>conftest.$ac_ext
69245 cat >>conftest.$ac_ext <<_ACEOF
69246 /* end confdefs.h.  */
69247 #include <math.h>
69248 int
69249 main ()
69250 {
69251  _atan2f(0, 0);
69252   ;
69253   return 0;
69254 }
69255 _ACEOF
69256 rm -f conftest.$ac_objext
69257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69258   (eval $ac_compile) 2>conftest.er1
69259   ac_status=$?
69260   grep -v '^ *+' conftest.er1 >conftest.err
69261   rm -f conftest.er1
69262   cat conftest.err >&5
69263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69264   (exit $ac_status); } &&
69265          { ac_try='test -z "$ac_cxx_werror_flag"
69266                          || test ! -s conftest.err'
69267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69268   (eval $ac_try) 2>&5
69269   ac_status=$?
69270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69271   (exit $ac_status); }; } &&
69272          { ac_try='test -s conftest.$ac_objext'
69273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69274   (eval $ac_try) 2>&5
69275   ac_status=$?
69276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69277   (exit $ac_status); }; }; then
69278   glibcxx_cv_func__atan2f_use=yes
69279 else
69280   echo "$as_me: failed program was:" >&5
69281 sed 's/^/| /' conftest.$ac_ext >&5
69282
69283 glibcxx_cv_func__atan2f_use=no
69284 fi
69285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69286       ac_ext=c
69287 ac_cpp='$CPP $CPPFLAGS'
69288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69291
69292
69293 fi
69294
69295   fi
69296   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69297 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69298
69299     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69300
69301 for ac_func in _atan2f
69302 do
69303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69304 echo "$as_me:$LINENO: checking for $ac_func" >&5
69305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69306 if eval "test \"\${$as_ac_var+set}\" = set"; then
69307   echo $ECHO_N "(cached) $ECHO_C" >&6
69308 else
69309   if test x$gcc_no_link = xyes; then
69310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69312    { (exit 1); exit 1; }; }
69313 fi
69314 cat >conftest.$ac_ext <<_ACEOF
69315 /* confdefs.h.  */
69316 _ACEOF
69317 cat confdefs.h >>conftest.$ac_ext
69318 cat >>conftest.$ac_ext <<_ACEOF
69319 /* end confdefs.h.  */
69320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69322 #define $ac_func innocuous_$ac_func
69323
69324 /* System header to define __stub macros and hopefully few prototypes,
69325     which can conflict with char $ac_func (); below.
69326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69327     <limits.h> exists even on freestanding compilers.  */
69328
69329 #ifdef __STDC__
69330 # include <limits.h>
69331 #else
69332 # include <assert.h>
69333 #endif
69334
69335 #undef $ac_func
69336
69337 /* Override any gcc2 internal prototype to avoid an error.  */
69338 #ifdef __cplusplus
69339 extern "C"
69340 {
69341 #endif
69342 /* We use char because int might match the return type of a gcc2
69343    builtin and then its argument prototype would still apply.  */
69344 char $ac_func ();
69345 /* The GNU C library defines this for functions which it implements
69346     to always fail with ENOSYS.  Some functions are actually named
69347     something starting with __ and the normal name is an alias.  */
69348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69349 choke me
69350 #else
69351 char (*f) () = $ac_func;
69352 #endif
69353 #ifdef __cplusplus
69354 }
69355 #endif
69356
69357 int
69358 main ()
69359 {
69360 return f != $ac_func;
69361   ;
69362   return 0;
69363 }
69364 _ACEOF
69365 rm -f conftest.$ac_objext conftest$ac_exeext
69366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69367   (eval $ac_link) 2>conftest.er1
69368   ac_status=$?
69369   grep -v '^ *+' conftest.er1 >conftest.err
69370   rm -f conftest.er1
69371   cat conftest.err >&5
69372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69373   (exit $ac_status); } &&
69374          { ac_try='test -z "$ac_c_werror_flag"
69375                          || test ! -s conftest.err'
69376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69377   (eval $ac_try) 2>&5
69378   ac_status=$?
69379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69380   (exit $ac_status); }; } &&
69381          { ac_try='test -s conftest$ac_exeext'
69382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69383   (eval $ac_try) 2>&5
69384   ac_status=$?
69385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69386   (exit $ac_status); }; }; then
69387   eval "$as_ac_var=yes"
69388 else
69389   echo "$as_me: failed program was:" >&5
69390 sed 's/^/| /' conftest.$ac_ext >&5
69391
69392 eval "$as_ac_var=no"
69393 fi
69394 rm -f conftest.err conftest.$ac_objext \
69395       conftest$ac_exeext conftest.$ac_ext
69396 fi
69397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69399 if test `eval echo '${'$as_ac_var'}'` = yes; then
69400   cat >>confdefs.h <<_ACEOF
69401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69402 _ACEOF
69403
69404 fi
69405 done
69406
69407     fi
69408   fi
69409
69410
69411
69412
69413
69414
69415   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69416 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69417   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69418     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69419   echo $ECHO_N "(cached) $ECHO_C" >&6
69420 else
69421
69422
69423
69424       ac_ext=cc
69425 ac_cpp='$CXXCPP $CPPFLAGS'
69426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69429
69430       cat >conftest.$ac_ext <<_ACEOF
69431 /* confdefs.h.  */
69432 _ACEOF
69433 cat confdefs.h >>conftest.$ac_ext
69434 cat >>conftest.$ac_ext <<_ACEOF
69435 /* end confdefs.h.  */
69436 #include <math.h>
69437                       #ifdef HAVE_IEEEFP_H
69438                       #include <ieeefp.h>
69439                       #endif
69440
69441 int
69442 main ()
69443 {
69444  fabsf(0);
69445   ;
69446   return 0;
69447 }
69448 _ACEOF
69449 rm -f conftest.$ac_objext
69450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69451   (eval $ac_compile) 2>conftest.er1
69452   ac_status=$?
69453   grep -v '^ *+' conftest.er1 >conftest.err
69454   rm -f conftest.er1
69455   cat conftest.err >&5
69456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69457   (exit $ac_status); } &&
69458          { ac_try='test -z "$ac_cxx_werror_flag"
69459                          || test ! -s conftest.err'
69460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69461   (eval $ac_try) 2>&5
69462   ac_status=$?
69463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69464   (exit $ac_status); }; } &&
69465          { ac_try='test -s conftest.$ac_objext'
69466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69467   (eval $ac_try) 2>&5
69468   ac_status=$?
69469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69470   (exit $ac_status); }; }; then
69471   glibcxx_cv_func_fabsf_use=yes
69472 else
69473   echo "$as_me: failed program was:" >&5
69474 sed 's/^/| /' conftest.$ac_ext >&5
69475
69476 glibcxx_cv_func_fabsf_use=no
69477 fi
69478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69479       ac_ext=c
69480 ac_cpp='$CPP $CPPFLAGS'
69481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69484
69485
69486 fi
69487
69488   fi
69489   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69490 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69491
69492   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69493
69494 for ac_func in fabsf
69495 do
69496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69497 echo "$as_me:$LINENO: checking for $ac_func" >&5
69498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69499 if eval "test \"\${$as_ac_var+set}\" = set"; then
69500   echo $ECHO_N "(cached) $ECHO_C" >&6
69501 else
69502   if test x$gcc_no_link = xyes; then
69503   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69505    { (exit 1); exit 1; }; }
69506 fi
69507 cat >conftest.$ac_ext <<_ACEOF
69508 /* confdefs.h.  */
69509 _ACEOF
69510 cat confdefs.h >>conftest.$ac_ext
69511 cat >>conftest.$ac_ext <<_ACEOF
69512 /* end confdefs.h.  */
69513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69514    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69515 #define $ac_func innocuous_$ac_func
69516
69517 /* System header to define __stub macros and hopefully few prototypes,
69518     which can conflict with char $ac_func (); below.
69519     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69520     <limits.h> exists even on freestanding compilers.  */
69521
69522 #ifdef __STDC__
69523 # include <limits.h>
69524 #else
69525 # include <assert.h>
69526 #endif
69527
69528 #undef $ac_func
69529
69530 /* Override any gcc2 internal prototype to avoid an error.  */
69531 #ifdef __cplusplus
69532 extern "C"
69533 {
69534 #endif
69535 /* We use char because int might match the return type of a gcc2
69536    builtin and then its argument prototype would still apply.  */
69537 char $ac_func ();
69538 /* The GNU C library defines this for functions which it implements
69539     to always fail with ENOSYS.  Some functions are actually named
69540     something starting with __ and the normal name is an alias.  */
69541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69542 choke me
69543 #else
69544 char (*f) () = $ac_func;
69545 #endif
69546 #ifdef __cplusplus
69547 }
69548 #endif
69549
69550 int
69551 main ()
69552 {
69553 return f != $ac_func;
69554   ;
69555   return 0;
69556 }
69557 _ACEOF
69558 rm -f conftest.$ac_objext conftest$ac_exeext
69559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69560   (eval $ac_link) 2>conftest.er1
69561   ac_status=$?
69562   grep -v '^ *+' conftest.er1 >conftest.err
69563   rm -f conftest.er1
69564   cat conftest.err >&5
69565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69566   (exit $ac_status); } &&
69567          { ac_try='test -z "$ac_c_werror_flag"
69568                          || test ! -s conftest.err'
69569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69570   (eval $ac_try) 2>&5
69571   ac_status=$?
69572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69573   (exit $ac_status); }; } &&
69574          { ac_try='test -s conftest$ac_exeext'
69575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69576   (eval $ac_try) 2>&5
69577   ac_status=$?
69578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69579   (exit $ac_status); }; }; then
69580   eval "$as_ac_var=yes"
69581 else
69582   echo "$as_me: failed program was:" >&5
69583 sed 's/^/| /' conftest.$ac_ext >&5
69584
69585 eval "$as_ac_var=no"
69586 fi
69587 rm -f conftest.err conftest.$ac_objext \
69588       conftest$ac_exeext conftest.$ac_ext
69589 fi
69590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69592 if test `eval echo '${'$as_ac_var'}'` = yes; then
69593   cat >>confdefs.h <<_ACEOF
69594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69595 _ACEOF
69596
69597 fi
69598 done
69599
69600   else
69601
69602   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69603 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69604   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69605     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69606   echo $ECHO_N "(cached) $ECHO_C" >&6
69607 else
69608
69609
69610
69611       ac_ext=cc
69612 ac_cpp='$CXXCPP $CPPFLAGS'
69613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69616
69617       cat >conftest.$ac_ext <<_ACEOF
69618 /* confdefs.h.  */
69619 _ACEOF
69620 cat confdefs.h >>conftest.$ac_ext
69621 cat >>conftest.$ac_ext <<_ACEOF
69622 /* end confdefs.h.  */
69623 #include <math.h>
69624                       #ifdef HAVE_IEEEFP_H
69625                       #include <ieeefp.h>
69626                       #endif
69627
69628 int
69629 main ()
69630 {
69631  _fabsf(0);
69632   ;
69633   return 0;
69634 }
69635 _ACEOF
69636 rm -f conftest.$ac_objext
69637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69638   (eval $ac_compile) 2>conftest.er1
69639   ac_status=$?
69640   grep -v '^ *+' conftest.er1 >conftest.err
69641   rm -f conftest.er1
69642   cat conftest.err >&5
69643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69644   (exit $ac_status); } &&
69645          { ac_try='test -z "$ac_cxx_werror_flag"
69646                          || test ! -s conftest.err'
69647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69648   (eval $ac_try) 2>&5
69649   ac_status=$?
69650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69651   (exit $ac_status); }; } &&
69652          { ac_try='test -s conftest.$ac_objext'
69653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69654   (eval $ac_try) 2>&5
69655   ac_status=$?
69656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69657   (exit $ac_status); }; }; then
69658   glibcxx_cv_func__fabsf_use=yes
69659 else
69660   echo "$as_me: failed program was:" >&5
69661 sed 's/^/| /' conftest.$ac_ext >&5
69662
69663 glibcxx_cv_func__fabsf_use=no
69664 fi
69665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69666       ac_ext=c
69667 ac_cpp='$CPP $CPPFLAGS'
69668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69671
69672
69673 fi
69674
69675   fi
69676   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69677 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69678
69679     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69680
69681 for ac_func in _fabsf
69682 do
69683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69684 echo "$as_me:$LINENO: checking for $ac_func" >&5
69685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69686 if eval "test \"\${$as_ac_var+set}\" = set"; then
69687   echo $ECHO_N "(cached) $ECHO_C" >&6
69688 else
69689   if test x$gcc_no_link = xyes; then
69690   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69692    { (exit 1); exit 1; }; }
69693 fi
69694 cat >conftest.$ac_ext <<_ACEOF
69695 /* confdefs.h.  */
69696 _ACEOF
69697 cat confdefs.h >>conftest.$ac_ext
69698 cat >>conftest.$ac_ext <<_ACEOF
69699 /* end confdefs.h.  */
69700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69702 #define $ac_func innocuous_$ac_func
69703
69704 /* System header to define __stub macros and hopefully few prototypes,
69705     which can conflict with char $ac_func (); below.
69706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69707     <limits.h> exists even on freestanding compilers.  */
69708
69709 #ifdef __STDC__
69710 # include <limits.h>
69711 #else
69712 # include <assert.h>
69713 #endif
69714
69715 #undef $ac_func
69716
69717 /* Override any gcc2 internal prototype to avoid an error.  */
69718 #ifdef __cplusplus
69719 extern "C"
69720 {
69721 #endif
69722 /* We use char because int might match the return type of a gcc2
69723    builtin and then its argument prototype would still apply.  */
69724 char $ac_func ();
69725 /* The GNU C library defines this for functions which it implements
69726     to always fail with ENOSYS.  Some functions are actually named
69727     something starting with __ and the normal name is an alias.  */
69728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69729 choke me
69730 #else
69731 char (*f) () = $ac_func;
69732 #endif
69733 #ifdef __cplusplus
69734 }
69735 #endif
69736
69737 int
69738 main ()
69739 {
69740 return f != $ac_func;
69741   ;
69742   return 0;
69743 }
69744 _ACEOF
69745 rm -f conftest.$ac_objext conftest$ac_exeext
69746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69747   (eval $ac_link) 2>conftest.er1
69748   ac_status=$?
69749   grep -v '^ *+' conftest.er1 >conftest.err
69750   rm -f conftest.er1
69751   cat conftest.err >&5
69752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69753   (exit $ac_status); } &&
69754          { ac_try='test -z "$ac_c_werror_flag"
69755                          || test ! -s conftest.err'
69756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69757   (eval $ac_try) 2>&5
69758   ac_status=$?
69759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69760   (exit $ac_status); }; } &&
69761          { ac_try='test -s conftest$ac_exeext'
69762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69763   (eval $ac_try) 2>&5
69764   ac_status=$?
69765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69766   (exit $ac_status); }; }; then
69767   eval "$as_ac_var=yes"
69768 else
69769   echo "$as_me: failed program was:" >&5
69770 sed 's/^/| /' conftest.$ac_ext >&5
69771
69772 eval "$as_ac_var=no"
69773 fi
69774 rm -f conftest.err conftest.$ac_objext \
69775       conftest$ac_exeext conftest.$ac_ext
69776 fi
69777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69779 if test `eval echo '${'$as_ac_var'}'` = yes; then
69780   cat >>confdefs.h <<_ACEOF
69781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69782 _ACEOF
69783
69784 fi
69785 done
69786
69787     fi
69788   fi
69789
69790
69791
69792
69793
69794
69795   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69796 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69797   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69798     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69799   echo $ECHO_N "(cached) $ECHO_C" >&6
69800 else
69801
69802
69803
69804       ac_ext=cc
69805 ac_cpp='$CXXCPP $CPPFLAGS'
69806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69809
69810       cat >conftest.$ac_ext <<_ACEOF
69811 /* confdefs.h.  */
69812 _ACEOF
69813 cat confdefs.h >>conftest.$ac_ext
69814 cat >>conftest.$ac_ext <<_ACEOF
69815 /* end confdefs.h.  */
69816 #include <math.h>
69817 int
69818 main ()
69819 {
69820  fmodf(0, 0);
69821   ;
69822   return 0;
69823 }
69824 _ACEOF
69825 rm -f conftest.$ac_objext
69826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69827   (eval $ac_compile) 2>conftest.er1
69828   ac_status=$?
69829   grep -v '^ *+' conftest.er1 >conftest.err
69830   rm -f conftest.er1
69831   cat conftest.err >&5
69832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69833   (exit $ac_status); } &&
69834          { ac_try='test -z "$ac_cxx_werror_flag"
69835                          || test ! -s conftest.err'
69836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69837   (eval $ac_try) 2>&5
69838   ac_status=$?
69839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69840   (exit $ac_status); }; } &&
69841          { ac_try='test -s conftest.$ac_objext'
69842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69843   (eval $ac_try) 2>&5
69844   ac_status=$?
69845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69846   (exit $ac_status); }; }; then
69847   glibcxx_cv_func_fmodf_use=yes
69848 else
69849   echo "$as_me: failed program was:" >&5
69850 sed 's/^/| /' conftest.$ac_ext >&5
69851
69852 glibcxx_cv_func_fmodf_use=no
69853 fi
69854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69855       ac_ext=c
69856 ac_cpp='$CPP $CPPFLAGS'
69857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69860
69861
69862 fi
69863
69864   fi
69865   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69866 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69867
69868   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69869
69870 for ac_func in fmodf
69871 do
69872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69873 echo "$as_me:$LINENO: checking for $ac_func" >&5
69874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69875 if eval "test \"\${$as_ac_var+set}\" = set"; then
69876   echo $ECHO_N "(cached) $ECHO_C" >&6
69877 else
69878   if test x$gcc_no_link = xyes; then
69879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69881    { (exit 1); exit 1; }; }
69882 fi
69883 cat >conftest.$ac_ext <<_ACEOF
69884 /* confdefs.h.  */
69885 _ACEOF
69886 cat confdefs.h >>conftest.$ac_ext
69887 cat >>conftest.$ac_ext <<_ACEOF
69888 /* end confdefs.h.  */
69889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69891 #define $ac_func innocuous_$ac_func
69892
69893 /* System header to define __stub macros and hopefully few prototypes,
69894     which can conflict with char $ac_func (); below.
69895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69896     <limits.h> exists even on freestanding compilers.  */
69897
69898 #ifdef __STDC__
69899 # include <limits.h>
69900 #else
69901 # include <assert.h>
69902 #endif
69903
69904 #undef $ac_func
69905
69906 /* Override any gcc2 internal prototype to avoid an error.  */
69907 #ifdef __cplusplus
69908 extern "C"
69909 {
69910 #endif
69911 /* We use char because int might match the return type of a gcc2
69912    builtin and then its argument prototype would still apply.  */
69913 char $ac_func ();
69914 /* The GNU C library defines this for functions which it implements
69915     to always fail with ENOSYS.  Some functions are actually named
69916     something starting with __ and the normal name is an alias.  */
69917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69918 choke me
69919 #else
69920 char (*f) () = $ac_func;
69921 #endif
69922 #ifdef __cplusplus
69923 }
69924 #endif
69925
69926 int
69927 main ()
69928 {
69929 return f != $ac_func;
69930   ;
69931   return 0;
69932 }
69933 _ACEOF
69934 rm -f conftest.$ac_objext conftest$ac_exeext
69935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69936   (eval $ac_link) 2>conftest.er1
69937   ac_status=$?
69938   grep -v '^ *+' conftest.er1 >conftest.err
69939   rm -f conftest.er1
69940   cat conftest.err >&5
69941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69942   (exit $ac_status); } &&
69943          { ac_try='test -z "$ac_c_werror_flag"
69944                          || test ! -s conftest.err'
69945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69946   (eval $ac_try) 2>&5
69947   ac_status=$?
69948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69949   (exit $ac_status); }; } &&
69950          { ac_try='test -s conftest$ac_exeext'
69951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69952   (eval $ac_try) 2>&5
69953   ac_status=$?
69954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69955   (exit $ac_status); }; }; then
69956   eval "$as_ac_var=yes"
69957 else
69958   echo "$as_me: failed program was:" >&5
69959 sed 's/^/| /' conftest.$ac_ext >&5
69960
69961 eval "$as_ac_var=no"
69962 fi
69963 rm -f conftest.err conftest.$ac_objext \
69964       conftest$ac_exeext conftest.$ac_ext
69965 fi
69966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69968 if test `eval echo '${'$as_ac_var'}'` = yes; then
69969   cat >>confdefs.h <<_ACEOF
69970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69971 _ACEOF
69972
69973 fi
69974 done
69975
69976   else
69977
69978   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69979 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69980   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69981     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69982   echo $ECHO_N "(cached) $ECHO_C" >&6
69983 else
69984
69985
69986
69987       ac_ext=cc
69988 ac_cpp='$CXXCPP $CPPFLAGS'
69989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69992
69993       cat >conftest.$ac_ext <<_ACEOF
69994 /* confdefs.h.  */
69995 _ACEOF
69996 cat confdefs.h >>conftest.$ac_ext
69997 cat >>conftest.$ac_ext <<_ACEOF
69998 /* end confdefs.h.  */
69999 #include <math.h>
70000 int
70001 main ()
70002 {
70003  _fmodf(0, 0);
70004   ;
70005   return 0;
70006 }
70007 _ACEOF
70008 rm -f conftest.$ac_objext
70009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70010   (eval $ac_compile) 2>conftest.er1
70011   ac_status=$?
70012   grep -v '^ *+' conftest.er1 >conftest.err
70013   rm -f conftest.er1
70014   cat conftest.err >&5
70015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70016   (exit $ac_status); } &&
70017          { ac_try='test -z "$ac_cxx_werror_flag"
70018                          || test ! -s conftest.err'
70019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70020   (eval $ac_try) 2>&5
70021   ac_status=$?
70022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70023   (exit $ac_status); }; } &&
70024          { ac_try='test -s conftest.$ac_objext'
70025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70026   (eval $ac_try) 2>&5
70027   ac_status=$?
70028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70029   (exit $ac_status); }; }; then
70030   glibcxx_cv_func__fmodf_use=yes
70031 else
70032   echo "$as_me: failed program was:" >&5
70033 sed 's/^/| /' conftest.$ac_ext >&5
70034
70035 glibcxx_cv_func__fmodf_use=no
70036 fi
70037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70038       ac_ext=c
70039 ac_cpp='$CPP $CPPFLAGS'
70040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70043
70044
70045 fi
70046
70047   fi
70048   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70049 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70050
70051     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70052
70053 for ac_func in _fmodf
70054 do
70055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70056 echo "$as_me:$LINENO: checking for $ac_func" >&5
70057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70058 if eval "test \"\${$as_ac_var+set}\" = set"; then
70059   echo $ECHO_N "(cached) $ECHO_C" >&6
70060 else
70061   if test x$gcc_no_link = xyes; then
70062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70064    { (exit 1); exit 1; }; }
70065 fi
70066 cat >conftest.$ac_ext <<_ACEOF
70067 /* confdefs.h.  */
70068 _ACEOF
70069 cat confdefs.h >>conftest.$ac_ext
70070 cat >>conftest.$ac_ext <<_ACEOF
70071 /* end confdefs.h.  */
70072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70073    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70074 #define $ac_func innocuous_$ac_func
70075
70076 /* System header to define __stub macros and hopefully few prototypes,
70077     which can conflict with char $ac_func (); below.
70078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70079     <limits.h> exists even on freestanding compilers.  */
70080
70081 #ifdef __STDC__
70082 # include <limits.h>
70083 #else
70084 # include <assert.h>
70085 #endif
70086
70087 #undef $ac_func
70088
70089 /* Override any gcc2 internal prototype to avoid an error.  */
70090 #ifdef __cplusplus
70091 extern "C"
70092 {
70093 #endif
70094 /* We use char because int might match the return type of a gcc2
70095    builtin and then its argument prototype would still apply.  */
70096 char $ac_func ();
70097 /* The GNU C library defines this for functions which it implements
70098     to always fail with ENOSYS.  Some functions are actually named
70099     something starting with __ and the normal name is an alias.  */
70100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70101 choke me
70102 #else
70103 char (*f) () = $ac_func;
70104 #endif
70105 #ifdef __cplusplus
70106 }
70107 #endif
70108
70109 int
70110 main ()
70111 {
70112 return f != $ac_func;
70113   ;
70114   return 0;
70115 }
70116 _ACEOF
70117 rm -f conftest.$ac_objext conftest$ac_exeext
70118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70119   (eval $ac_link) 2>conftest.er1
70120   ac_status=$?
70121   grep -v '^ *+' conftest.er1 >conftest.err
70122   rm -f conftest.er1
70123   cat conftest.err >&5
70124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70125   (exit $ac_status); } &&
70126          { ac_try='test -z "$ac_c_werror_flag"
70127                          || test ! -s conftest.err'
70128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70129   (eval $ac_try) 2>&5
70130   ac_status=$?
70131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70132   (exit $ac_status); }; } &&
70133          { ac_try='test -s conftest$ac_exeext'
70134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70135   (eval $ac_try) 2>&5
70136   ac_status=$?
70137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70138   (exit $ac_status); }; }; then
70139   eval "$as_ac_var=yes"
70140 else
70141   echo "$as_me: failed program was:" >&5
70142 sed 's/^/| /' conftest.$ac_ext >&5
70143
70144 eval "$as_ac_var=no"
70145 fi
70146 rm -f conftest.err conftest.$ac_objext \
70147       conftest$ac_exeext conftest.$ac_ext
70148 fi
70149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70151 if test `eval echo '${'$as_ac_var'}'` = yes; then
70152   cat >>confdefs.h <<_ACEOF
70153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70154 _ACEOF
70155
70156 fi
70157 done
70158
70159     fi
70160   fi
70161
70162
70163
70164
70165
70166
70167   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70168 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70169   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70170     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70171   echo $ECHO_N "(cached) $ECHO_C" >&6
70172 else
70173
70174
70175
70176       ac_ext=cc
70177 ac_cpp='$CXXCPP $CPPFLAGS'
70178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70181
70182       cat >conftest.$ac_ext <<_ACEOF
70183 /* confdefs.h.  */
70184 _ACEOF
70185 cat confdefs.h >>conftest.$ac_ext
70186 cat >>conftest.$ac_ext <<_ACEOF
70187 /* end confdefs.h.  */
70188 #include <math.h>
70189 int
70190 main ()
70191 {
70192  frexpf(0, 0);
70193   ;
70194   return 0;
70195 }
70196 _ACEOF
70197 rm -f conftest.$ac_objext
70198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70199   (eval $ac_compile) 2>conftest.er1
70200   ac_status=$?
70201   grep -v '^ *+' conftest.er1 >conftest.err
70202   rm -f conftest.er1
70203   cat conftest.err >&5
70204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70205   (exit $ac_status); } &&
70206          { ac_try='test -z "$ac_cxx_werror_flag"
70207                          || test ! -s conftest.err'
70208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70209   (eval $ac_try) 2>&5
70210   ac_status=$?
70211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70212   (exit $ac_status); }; } &&
70213          { ac_try='test -s conftest.$ac_objext'
70214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70215   (eval $ac_try) 2>&5
70216   ac_status=$?
70217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70218   (exit $ac_status); }; }; then
70219   glibcxx_cv_func_frexpf_use=yes
70220 else
70221   echo "$as_me: failed program was:" >&5
70222 sed 's/^/| /' conftest.$ac_ext >&5
70223
70224 glibcxx_cv_func_frexpf_use=no
70225 fi
70226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70227       ac_ext=c
70228 ac_cpp='$CPP $CPPFLAGS'
70229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70232
70233
70234 fi
70235
70236   fi
70237   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70238 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70239
70240   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70241
70242 for ac_func in frexpf
70243 do
70244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70245 echo "$as_me:$LINENO: checking for $ac_func" >&5
70246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70247 if eval "test \"\${$as_ac_var+set}\" = set"; then
70248   echo $ECHO_N "(cached) $ECHO_C" >&6
70249 else
70250   if test x$gcc_no_link = xyes; then
70251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70253    { (exit 1); exit 1; }; }
70254 fi
70255 cat >conftest.$ac_ext <<_ACEOF
70256 /* confdefs.h.  */
70257 _ACEOF
70258 cat confdefs.h >>conftest.$ac_ext
70259 cat >>conftest.$ac_ext <<_ACEOF
70260 /* end confdefs.h.  */
70261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70262    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70263 #define $ac_func innocuous_$ac_func
70264
70265 /* System header to define __stub macros and hopefully few prototypes,
70266     which can conflict with char $ac_func (); below.
70267     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70268     <limits.h> exists even on freestanding compilers.  */
70269
70270 #ifdef __STDC__
70271 # include <limits.h>
70272 #else
70273 # include <assert.h>
70274 #endif
70275
70276 #undef $ac_func
70277
70278 /* Override any gcc2 internal prototype to avoid an error.  */
70279 #ifdef __cplusplus
70280 extern "C"
70281 {
70282 #endif
70283 /* We use char because int might match the return type of a gcc2
70284    builtin and then its argument prototype would still apply.  */
70285 char $ac_func ();
70286 /* The GNU C library defines this for functions which it implements
70287     to always fail with ENOSYS.  Some functions are actually named
70288     something starting with __ and the normal name is an alias.  */
70289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70290 choke me
70291 #else
70292 char (*f) () = $ac_func;
70293 #endif
70294 #ifdef __cplusplus
70295 }
70296 #endif
70297
70298 int
70299 main ()
70300 {
70301 return f != $ac_func;
70302   ;
70303   return 0;
70304 }
70305 _ACEOF
70306 rm -f conftest.$ac_objext conftest$ac_exeext
70307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70308   (eval $ac_link) 2>conftest.er1
70309   ac_status=$?
70310   grep -v '^ *+' conftest.er1 >conftest.err
70311   rm -f conftest.er1
70312   cat conftest.err >&5
70313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70314   (exit $ac_status); } &&
70315          { ac_try='test -z "$ac_c_werror_flag"
70316                          || test ! -s conftest.err'
70317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70318   (eval $ac_try) 2>&5
70319   ac_status=$?
70320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70321   (exit $ac_status); }; } &&
70322          { ac_try='test -s conftest$ac_exeext'
70323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70324   (eval $ac_try) 2>&5
70325   ac_status=$?
70326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70327   (exit $ac_status); }; }; then
70328   eval "$as_ac_var=yes"
70329 else
70330   echo "$as_me: failed program was:" >&5
70331 sed 's/^/| /' conftest.$ac_ext >&5
70332
70333 eval "$as_ac_var=no"
70334 fi
70335 rm -f conftest.err conftest.$ac_objext \
70336       conftest$ac_exeext conftest.$ac_ext
70337 fi
70338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70340 if test `eval echo '${'$as_ac_var'}'` = yes; then
70341   cat >>confdefs.h <<_ACEOF
70342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70343 _ACEOF
70344
70345 fi
70346 done
70347
70348   else
70349
70350   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70351 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70352   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70353     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70354   echo $ECHO_N "(cached) $ECHO_C" >&6
70355 else
70356
70357
70358
70359       ac_ext=cc
70360 ac_cpp='$CXXCPP $CPPFLAGS'
70361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70364
70365       cat >conftest.$ac_ext <<_ACEOF
70366 /* confdefs.h.  */
70367 _ACEOF
70368 cat confdefs.h >>conftest.$ac_ext
70369 cat >>conftest.$ac_ext <<_ACEOF
70370 /* end confdefs.h.  */
70371 #include <math.h>
70372 int
70373 main ()
70374 {
70375  _frexpf(0, 0);
70376   ;
70377   return 0;
70378 }
70379 _ACEOF
70380 rm -f conftest.$ac_objext
70381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70382   (eval $ac_compile) 2>conftest.er1
70383   ac_status=$?
70384   grep -v '^ *+' conftest.er1 >conftest.err
70385   rm -f conftest.er1
70386   cat conftest.err >&5
70387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70388   (exit $ac_status); } &&
70389          { ac_try='test -z "$ac_cxx_werror_flag"
70390                          || test ! -s conftest.err'
70391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70392   (eval $ac_try) 2>&5
70393   ac_status=$?
70394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70395   (exit $ac_status); }; } &&
70396          { ac_try='test -s conftest.$ac_objext'
70397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70398   (eval $ac_try) 2>&5
70399   ac_status=$?
70400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70401   (exit $ac_status); }; }; then
70402   glibcxx_cv_func__frexpf_use=yes
70403 else
70404   echo "$as_me: failed program was:" >&5
70405 sed 's/^/| /' conftest.$ac_ext >&5
70406
70407 glibcxx_cv_func__frexpf_use=no
70408 fi
70409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70410       ac_ext=c
70411 ac_cpp='$CPP $CPPFLAGS'
70412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70415
70416
70417 fi
70418
70419   fi
70420   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70421 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70422
70423     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70424
70425 for ac_func in _frexpf
70426 do
70427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70428 echo "$as_me:$LINENO: checking for $ac_func" >&5
70429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70430 if eval "test \"\${$as_ac_var+set}\" = set"; then
70431   echo $ECHO_N "(cached) $ECHO_C" >&6
70432 else
70433   if test x$gcc_no_link = xyes; then
70434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70436    { (exit 1); exit 1; }; }
70437 fi
70438 cat >conftest.$ac_ext <<_ACEOF
70439 /* confdefs.h.  */
70440 _ACEOF
70441 cat confdefs.h >>conftest.$ac_ext
70442 cat >>conftest.$ac_ext <<_ACEOF
70443 /* end confdefs.h.  */
70444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70445    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70446 #define $ac_func innocuous_$ac_func
70447
70448 /* System header to define __stub macros and hopefully few prototypes,
70449     which can conflict with char $ac_func (); below.
70450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70451     <limits.h> exists even on freestanding compilers.  */
70452
70453 #ifdef __STDC__
70454 # include <limits.h>
70455 #else
70456 # include <assert.h>
70457 #endif
70458
70459 #undef $ac_func
70460
70461 /* Override any gcc2 internal prototype to avoid an error.  */
70462 #ifdef __cplusplus
70463 extern "C"
70464 {
70465 #endif
70466 /* We use char because int might match the return type of a gcc2
70467    builtin and then its argument prototype would still apply.  */
70468 char $ac_func ();
70469 /* The GNU C library defines this for functions which it implements
70470     to always fail with ENOSYS.  Some functions are actually named
70471     something starting with __ and the normal name is an alias.  */
70472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70473 choke me
70474 #else
70475 char (*f) () = $ac_func;
70476 #endif
70477 #ifdef __cplusplus
70478 }
70479 #endif
70480
70481 int
70482 main ()
70483 {
70484 return f != $ac_func;
70485   ;
70486   return 0;
70487 }
70488 _ACEOF
70489 rm -f conftest.$ac_objext conftest$ac_exeext
70490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70491   (eval $ac_link) 2>conftest.er1
70492   ac_status=$?
70493   grep -v '^ *+' conftest.er1 >conftest.err
70494   rm -f conftest.er1
70495   cat conftest.err >&5
70496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70497   (exit $ac_status); } &&
70498          { ac_try='test -z "$ac_c_werror_flag"
70499                          || test ! -s conftest.err'
70500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70501   (eval $ac_try) 2>&5
70502   ac_status=$?
70503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70504   (exit $ac_status); }; } &&
70505          { ac_try='test -s conftest$ac_exeext'
70506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70507   (eval $ac_try) 2>&5
70508   ac_status=$?
70509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70510   (exit $ac_status); }; }; then
70511   eval "$as_ac_var=yes"
70512 else
70513   echo "$as_me: failed program was:" >&5
70514 sed 's/^/| /' conftest.$ac_ext >&5
70515
70516 eval "$as_ac_var=no"
70517 fi
70518 rm -f conftest.err conftest.$ac_objext \
70519       conftest$ac_exeext conftest.$ac_ext
70520 fi
70521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70523 if test `eval echo '${'$as_ac_var'}'` = yes; then
70524   cat >>confdefs.h <<_ACEOF
70525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70526 _ACEOF
70527
70528 fi
70529 done
70530
70531     fi
70532   fi
70533
70534
70535
70536
70537
70538
70539   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70540 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70541   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70542     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70543   echo $ECHO_N "(cached) $ECHO_C" >&6
70544 else
70545
70546
70547
70548       ac_ext=cc
70549 ac_cpp='$CXXCPP $CPPFLAGS'
70550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70553
70554       cat >conftest.$ac_ext <<_ACEOF
70555 /* confdefs.h.  */
70556 _ACEOF
70557 cat confdefs.h >>conftest.$ac_ext
70558 cat >>conftest.$ac_ext <<_ACEOF
70559 /* end confdefs.h.  */
70560 #include <math.h>
70561 int
70562 main ()
70563 {
70564  hypotf(0, 0);
70565   ;
70566   return 0;
70567 }
70568 _ACEOF
70569 rm -f conftest.$ac_objext
70570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70571   (eval $ac_compile) 2>conftest.er1
70572   ac_status=$?
70573   grep -v '^ *+' conftest.er1 >conftest.err
70574   rm -f conftest.er1
70575   cat conftest.err >&5
70576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70577   (exit $ac_status); } &&
70578          { ac_try='test -z "$ac_cxx_werror_flag"
70579                          || test ! -s conftest.err'
70580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70581   (eval $ac_try) 2>&5
70582   ac_status=$?
70583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70584   (exit $ac_status); }; } &&
70585          { ac_try='test -s conftest.$ac_objext'
70586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70587   (eval $ac_try) 2>&5
70588   ac_status=$?
70589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70590   (exit $ac_status); }; }; then
70591   glibcxx_cv_func_hypotf_use=yes
70592 else
70593   echo "$as_me: failed program was:" >&5
70594 sed 's/^/| /' conftest.$ac_ext >&5
70595
70596 glibcxx_cv_func_hypotf_use=no
70597 fi
70598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70599       ac_ext=c
70600 ac_cpp='$CPP $CPPFLAGS'
70601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70604
70605
70606 fi
70607
70608   fi
70609   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70610 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70611
70612   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70613
70614 for ac_func in hypotf
70615 do
70616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70617 echo "$as_me:$LINENO: checking for $ac_func" >&5
70618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70619 if eval "test \"\${$as_ac_var+set}\" = set"; then
70620   echo $ECHO_N "(cached) $ECHO_C" >&6
70621 else
70622   if test x$gcc_no_link = xyes; then
70623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70625    { (exit 1); exit 1; }; }
70626 fi
70627 cat >conftest.$ac_ext <<_ACEOF
70628 /* confdefs.h.  */
70629 _ACEOF
70630 cat confdefs.h >>conftest.$ac_ext
70631 cat >>conftest.$ac_ext <<_ACEOF
70632 /* end confdefs.h.  */
70633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70634    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70635 #define $ac_func innocuous_$ac_func
70636
70637 /* System header to define __stub macros and hopefully few prototypes,
70638     which can conflict with char $ac_func (); below.
70639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70640     <limits.h> exists even on freestanding compilers.  */
70641
70642 #ifdef __STDC__
70643 # include <limits.h>
70644 #else
70645 # include <assert.h>
70646 #endif
70647
70648 #undef $ac_func
70649
70650 /* Override any gcc2 internal prototype to avoid an error.  */
70651 #ifdef __cplusplus
70652 extern "C"
70653 {
70654 #endif
70655 /* We use char because int might match the return type of a gcc2
70656    builtin and then its argument prototype would still apply.  */
70657 char $ac_func ();
70658 /* The GNU C library defines this for functions which it implements
70659     to always fail with ENOSYS.  Some functions are actually named
70660     something starting with __ and the normal name is an alias.  */
70661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70662 choke me
70663 #else
70664 char (*f) () = $ac_func;
70665 #endif
70666 #ifdef __cplusplus
70667 }
70668 #endif
70669
70670 int
70671 main ()
70672 {
70673 return f != $ac_func;
70674   ;
70675   return 0;
70676 }
70677 _ACEOF
70678 rm -f conftest.$ac_objext conftest$ac_exeext
70679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70680   (eval $ac_link) 2>conftest.er1
70681   ac_status=$?
70682   grep -v '^ *+' conftest.er1 >conftest.err
70683   rm -f conftest.er1
70684   cat conftest.err >&5
70685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70686   (exit $ac_status); } &&
70687          { ac_try='test -z "$ac_c_werror_flag"
70688                          || test ! -s conftest.err'
70689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70690   (eval $ac_try) 2>&5
70691   ac_status=$?
70692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70693   (exit $ac_status); }; } &&
70694          { ac_try='test -s conftest$ac_exeext'
70695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70696   (eval $ac_try) 2>&5
70697   ac_status=$?
70698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70699   (exit $ac_status); }; }; then
70700   eval "$as_ac_var=yes"
70701 else
70702   echo "$as_me: failed program was:" >&5
70703 sed 's/^/| /' conftest.$ac_ext >&5
70704
70705 eval "$as_ac_var=no"
70706 fi
70707 rm -f conftest.err conftest.$ac_objext \
70708       conftest$ac_exeext conftest.$ac_ext
70709 fi
70710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70712 if test `eval echo '${'$as_ac_var'}'` = yes; then
70713   cat >>confdefs.h <<_ACEOF
70714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70715 _ACEOF
70716
70717 fi
70718 done
70719
70720   else
70721
70722   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70723 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70724   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70725     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70726   echo $ECHO_N "(cached) $ECHO_C" >&6
70727 else
70728
70729
70730
70731       ac_ext=cc
70732 ac_cpp='$CXXCPP $CPPFLAGS'
70733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70736
70737       cat >conftest.$ac_ext <<_ACEOF
70738 /* confdefs.h.  */
70739 _ACEOF
70740 cat confdefs.h >>conftest.$ac_ext
70741 cat >>conftest.$ac_ext <<_ACEOF
70742 /* end confdefs.h.  */
70743 #include <math.h>
70744 int
70745 main ()
70746 {
70747  _hypotf(0, 0);
70748   ;
70749   return 0;
70750 }
70751 _ACEOF
70752 rm -f conftest.$ac_objext
70753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70754   (eval $ac_compile) 2>conftest.er1
70755   ac_status=$?
70756   grep -v '^ *+' conftest.er1 >conftest.err
70757   rm -f conftest.er1
70758   cat conftest.err >&5
70759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70760   (exit $ac_status); } &&
70761          { ac_try='test -z "$ac_cxx_werror_flag"
70762                          || test ! -s conftest.err'
70763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70764   (eval $ac_try) 2>&5
70765   ac_status=$?
70766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70767   (exit $ac_status); }; } &&
70768          { ac_try='test -s conftest.$ac_objext'
70769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70770   (eval $ac_try) 2>&5
70771   ac_status=$?
70772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70773   (exit $ac_status); }; }; then
70774   glibcxx_cv_func__hypotf_use=yes
70775 else
70776   echo "$as_me: failed program was:" >&5
70777 sed 's/^/| /' conftest.$ac_ext >&5
70778
70779 glibcxx_cv_func__hypotf_use=no
70780 fi
70781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70782       ac_ext=c
70783 ac_cpp='$CPP $CPPFLAGS'
70784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70787
70788
70789 fi
70790
70791   fi
70792   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70793 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70794
70795     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70796
70797 for ac_func in _hypotf
70798 do
70799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70800 echo "$as_me:$LINENO: checking for $ac_func" >&5
70801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70802 if eval "test \"\${$as_ac_var+set}\" = set"; then
70803   echo $ECHO_N "(cached) $ECHO_C" >&6
70804 else
70805   if test x$gcc_no_link = xyes; then
70806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70808    { (exit 1); exit 1; }; }
70809 fi
70810 cat >conftest.$ac_ext <<_ACEOF
70811 /* confdefs.h.  */
70812 _ACEOF
70813 cat confdefs.h >>conftest.$ac_ext
70814 cat >>conftest.$ac_ext <<_ACEOF
70815 /* end confdefs.h.  */
70816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70818 #define $ac_func innocuous_$ac_func
70819
70820 /* System header to define __stub macros and hopefully few prototypes,
70821     which can conflict with char $ac_func (); below.
70822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70823     <limits.h> exists even on freestanding compilers.  */
70824
70825 #ifdef __STDC__
70826 # include <limits.h>
70827 #else
70828 # include <assert.h>
70829 #endif
70830
70831 #undef $ac_func
70832
70833 /* Override any gcc2 internal prototype to avoid an error.  */
70834 #ifdef __cplusplus
70835 extern "C"
70836 {
70837 #endif
70838 /* We use char because int might match the return type of a gcc2
70839    builtin and then its argument prototype would still apply.  */
70840 char $ac_func ();
70841 /* The GNU C library defines this for functions which it implements
70842     to always fail with ENOSYS.  Some functions are actually named
70843     something starting with __ and the normal name is an alias.  */
70844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70845 choke me
70846 #else
70847 char (*f) () = $ac_func;
70848 #endif
70849 #ifdef __cplusplus
70850 }
70851 #endif
70852
70853 int
70854 main ()
70855 {
70856 return f != $ac_func;
70857   ;
70858   return 0;
70859 }
70860 _ACEOF
70861 rm -f conftest.$ac_objext conftest$ac_exeext
70862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70863   (eval $ac_link) 2>conftest.er1
70864   ac_status=$?
70865   grep -v '^ *+' conftest.er1 >conftest.err
70866   rm -f conftest.er1
70867   cat conftest.err >&5
70868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70869   (exit $ac_status); } &&
70870          { ac_try='test -z "$ac_c_werror_flag"
70871                          || test ! -s conftest.err'
70872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70873   (eval $ac_try) 2>&5
70874   ac_status=$?
70875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70876   (exit $ac_status); }; } &&
70877          { ac_try='test -s conftest$ac_exeext'
70878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70879   (eval $ac_try) 2>&5
70880   ac_status=$?
70881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70882   (exit $ac_status); }; }; then
70883   eval "$as_ac_var=yes"
70884 else
70885   echo "$as_me: failed program was:" >&5
70886 sed 's/^/| /' conftest.$ac_ext >&5
70887
70888 eval "$as_ac_var=no"
70889 fi
70890 rm -f conftest.err conftest.$ac_objext \
70891       conftest$ac_exeext conftest.$ac_ext
70892 fi
70893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70895 if test `eval echo '${'$as_ac_var'}'` = yes; then
70896   cat >>confdefs.h <<_ACEOF
70897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70898 _ACEOF
70899
70900 fi
70901 done
70902
70903     fi
70904   fi
70905
70906
70907
70908
70909
70910
70911   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
70912 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
70913   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
70914     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
70915   echo $ECHO_N "(cached) $ECHO_C" >&6
70916 else
70917
70918
70919
70920       ac_ext=cc
70921 ac_cpp='$CXXCPP $CPPFLAGS'
70922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70925
70926       cat >conftest.$ac_ext <<_ACEOF
70927 /* confdefs.h.  */
70928 _ACEOF
70929 cat confdefs.h >>conftest.$ac_ext
70930 cat >>conftest.$ac_ext <<_ACEOF
70931 /* end confdefs.h.  */
70932 #include <math.h>
70933 int
70934 main ()
70935 {
70936  ldexpf(0, 0);
70937   ;
70938   return 0;
70939 }
70940 _ACEOF
70941 rm -f conftest.$ac_objext
70942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70943   (eval $ac_compile) 2>conftest.er1
70944   ac_status=$?
70945   grep -v '^ *+' conftest.er1 >conftest.err
70946   rm -f conftest.er1
70947   cat conftest.err >&5
70948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70949   (exit $ac_status); } &&
70950          { ac_try='test -z "$ac_cxx_werror_flag"
70951                          || test ! -s conftest.err'
70952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70953   (eval $ac_try) 2>&5
70954   ac_status=$?
70955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70956   (exit $ac_status); }; } &&
70957          { ac_try='test -s conftest.$ac_objext'
70958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70959   (eval $ac_try) 2>&5
70960   ac_status=$?
70961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70962   (exit $ac_status); }; }; then
70963   glibcxx_cv_func_ldexpf_use=yes
70964 else
70965   echo "$as_me: failed program was:" >&5
70966 sed 's/^/| /' conftest.$ac_ext >&5
70967
70968 glibcxx_cv_func_ldexpf_use=no
70969 fi
70970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70971       ac_ext=c
70972 ac_cpp='$CPP $CPPFLAGS'
70973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70976
70977
70978 fi
70979
70980   fi
70981   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70982 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70983
70984   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70985
70986 for ac_func in ldexpf
70987 do
70988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70989 echo "$as_me:$LINENO: checking for $ac_func" >&5
70990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70991 if eval "test \"\${$as_ac_var+set}\" = set"; then
70992   echo $ECHO_N "(cached) $ECHO_C" >&6
70993 else
70994   if test x$gcc_no_link = xyes; then
70995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70997    { (exit 1); exit 1; }; }
70998 fi
70999 cat >conftest.$ac_ext <<_ACEOF
71000 /* confdefs.h.  */
71001 _ACEOF
71002 cat confdefs.h >>conftest.$ac_ext
71003 cat >>conftest.$ac_ext <<_ACEOF
71004 /* end confdefs.h.  */
71005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71006    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71007 #define $ac_func innocuous_$ac_func
71008
71009 /* System header to define __stub macros and hopefully few prototypes,
71010     which can conflict with char $ac_func (); below.
71011     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71012     <limits.h> exists even on freestanding compilers.  */
71013
71014 #ifdef __STDC__
71015 # include <limits.h>
71016 #else
71017 # include <assert.h>
71018 #endif
71019
71020 #undef $ac_func
71021
71022 /* Override any gcc2 internal prototype to avoid an error.  */
71023 #ifdef __cplusplus
71024 extern "C"
71025 {
71026 #endif
71027 /* We use char because int might match the return type of a gcc2
71028    builtin and then its argument prototype would still apply.  */
71029 char $ac_func ();
71030 /* The GNU C library defines this for functions which it implements
71031     to always fail with ENOSYS.  Some functions are actually named
71032     something starting with __ and the normal name is an alias.  */
71033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71034 choke me
71035 #else
71036 char (*f) () = $ac_func;
71037 #endif
71038 #ifdef __cplusplus
71039 }
71040 #endif
71041
71042 int
71043 main ()
71044 {
71045 return f != $ac_func;
71046   ;
71047   return 0;
71048 }
71049 _ACEOF
71050 rm -f conftest.$ac_objext conftest$ac_exeext
71051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71052   (eval $ac_link) 2>conftest.er1
71053   ac_status=$?
71054   grep -v '^ *+' conftest.er1 >conftest.err
71055   rm -f conftest.er1
71056   cat conftest.err >&5
71057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71058   (exit $ac_status); } &&
71059          { ac_try='test -z "$ac_c_werror_flag"
71060                          || test ! -s conftest.err'
71061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71062   (eval $ac_try) 2>&5
71063   ac_status=$?
71064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71065   (exit $ac_status); }; } &&
71066          { ac_try='test -s conftest$ac_exeext'
71067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71068   (eval $ac_try) 2>&5
71069   ac_status=$?
71070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71071   (exit $ac_status); }; }; then
71072   eval "$as_ac_var=yes"
71073 else
71074   echo "$as_me: failed program was:" >&5
71075 sed 's/^/| /' conftest.$ac_ext >&5
71076
71077 eval "$as_ac_var=no"
71078 fi
71079 rm -f conftest.err conftest.$ac_objext \
71080       conftest$ac_exeext conftest.$ac_ext
71081 fi
71082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71084 if test `eval echo '${'$as_ac_var'}'` = yes; then
71085   cat >>confdefs.h <<_ACEOF
71086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71087 _ACEOF
71088
71089 fi
71090 done
71091
71092   else
71093
71094   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71095 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71096   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71097     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71098   echo $ECHO_N "(cached) $ECHO_C" >&6
71099 else
71100
71101
71102
71103       ac_ext=cc
71104 ac_cpp='$CXXCPP $CPPFLAGS'
71105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71108
71109       cat >conftest.$ac_ext <<_ACEOF
71110 /* confdefs.h.  */
71111 _ACEOF
71112 cat confdefs.h >>conftest.$ac_ext
71113 cat >>conftest.$ac_ext <<_ACEOF
71114 /* end confdefs.h.  */
71115 #include <math.h>
71116 int
71117 main ()
71118 {
71119  _ldexpf(0, 0);
71120   ;
71121   return 0;
71122 }
71123 _ACEOF
71124 rm -f conftest.$ac_objext
71125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71126   (eval $ac_compile) 2>conftest.er1
71127   ac_status=$?
71128   grep -v '^ *+' conftest.er1 >conftest.err
71129   rm -f conftest.er1
71130   cat conftest.err >&5
71131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71132   (exit $ac_status); } &&
71133          { ac_try='test -z "$ac_cxx_werror_flag"
71134                          || test ! -s conftest.err'
71135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71136   (eval $ac_try) 2>&5
71137   ac_status=$?
71138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71139   (exit $ac_status); }; } &&
71140          { ac_try='test -s conftest.$ac_objext'
71141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71142   (eval $ac_try) 2>&5
71143   ac_status=$?
71144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71145   (exit $ac_status); }; }; then
71146   glibcxx_cv_func__ldexpf_use=yes
71147 else
71148   echo "$as_me: failed program was:" >&5
71149 sed 's/^/| /' conftest.$ac_ext >&5
71150
71151 glibcxx_cv_func__ldexpf_use=no
71152 fi
71153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71154       ac_ext=c
71155 ac_cpp='$CPP $CPPFLAGS'
71156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71159
71160
71161 fi
71162
71163   fi
71164   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71165 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71166
71167     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71168
71169 for ac_func in _ldexpf
71170 do
71171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71172 echo "$as_me:$LINENO: checking for $ac_func" >&5
71173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71174 if eval "test \"\${$as_ac_var+set}\" = set"; then
71175   echo $ECHO_N "(cached) $ECHO_C" >&6
71176 else
71177   if test x$gcc_no_link = xyes; then
71178   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71180    { (exit 1); exit 1; }; }
71181 fi
71182 cat >conftest.$ac_ext <<_ACEOF
71183 /* confdefs.h.  */
71184 _ACEOF
71185 cat confdefs.h >>conftest.$ac_ext
71186 cat >>conftest.$ac_ext <<_ACEOF
71187 /* end confdefs.h.  */
71188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71189    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71190 #define $ac_func innocuous_$ac_func
71191
71192 /* System header to define __stub macros and hopefully few prototypes,
71193     which can conflict with char $ac_func (); below.
71194     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71195     <limits.h> exists even on freestanding compilers.  */
71196
71197 #ifdef __STDC__
71198 # include <limits.h>
71199 #else
71200 # include <assert.h>
71201 #endif
71202
71203 #undef $ac_func
71204
71205 /* Override any gcc2 internal prototype to avoid an error.  */
71206 #ifdef __cplusplus
71207 extern "C"
71208 {
71209 #endif
71210 /* We use char because int might match the return type of a gcc2
71211    builtin and then its argument prototype would still apply.  */
71212 char $ac_func ();
71213 /* The GNU C library defines this for functions which it implements
71214     to always fail with ENOSYS.  Some functions are actually named
71215     something starting with __ and the normal name is an alias.  */
71216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71217 choke me
71218 #else
71219 char (*f) () = $ac_func;
71220 #endif
71221 #ifdef __cplusplus
71222 }
71223 #endif
71224
71225 int
71226 main ()
71227 {
71228 return f != $ac_func;
71229   ;
71230   return 0;
71231 }
71232 _ACEOF
71233 rm -f conftest.$ac_objext conftest$ac_exeext
71234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71235   (eval $ac_link) 2>conftest.er1
71236   ac_status=$?
71237   grep -v '^ *+' conftest.er1 >conftest.err
71238   rm -f conftest.er1
71239   cat conftest.err >&5
71240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71241   (exit $ac_status); } &&
71242          { ac_try='test -z "$ac_c_werror_flag"
71243                          || test ! -s conftest.err'
71244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71245   (eval $ac_try) 2>&5
71246   ac_status=$?
71247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71248   (exit $ac_status); }; } &&
71249          { ac_try='test -s conftest$ac_exeext'
71250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71251   (eval $ac_try) 2>&5
71252   ac_status=$?
71253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254   (exit $ac_status); }; }; then
71255   eval "$as_ac_var=yes"
71256 else
71257   echo "$as_me: failed program was:" >&5
71258 sed 's/^/| /' conftest.$ac_ext >&5
71259
71260 eval "$as_ac_var=no"
71261 fi
71262 rm -f conftest.err conftest.$ac_objext \
71263       conftest$ac_exeext conftest.$ac_ext
71264 fi
71265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71267 if test `eval echo '${'$as_ac_var'}'` = yes; then
71268   cat >>confdefs.h <<_ACEOF
71269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71270 _ACEOF
71271
71272 fi
71273 done
71274
71275     fi
71276   fi
71277
71278
71279
71280
71281
71282
71283   echo "$as_me:$LINENO: checking for logf declaration" >&5
71284 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71285   if test x${glibcxx_cv_func_logf_use+set} != xset; then
71286     if test "${glibcxx_cv_func_logf_use+set}" = set; then
71287   echo $ECHO_N "(cached) $ECHO_C" >&6
71288 else
71289
71290
71291
71292       ac_ext=cc
71293 ac_cpp='$CXXCPP $CPPFLAGS'
71294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71297
71298       cat >conftest.$ac_ext <<_ACEOF
71299 /* confdefs.h.  */
71300 _ACEOF
71301 cat confdefs.h >>conftest.$ac_ext
71302 cat >>conftest.$ac_ext <<_ACEOF
71303 /* end confdefs.h.  */
71304 #include <math.h>
71305                       #ifdef HAVE_IEEEFP_H
71306                       #include <ieeefp.h>
71307                       #endif
71308
71309 int
71310 main ()
71311 {
71312  logf(0);
71313   ;
71314   return 0;
71315 }
71316 _ACEOF
71317 rm -f conftest.$ac_objext
71318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71319   (eval $ac_compile) 2>conftest.er1
71320   ac_status=$?
71321   grep -v '^ *+' conftest.er1 >conftest.err
71322   rm -f conftest.er1
71323   cat conftest.err >&5
71324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71325   (exit $ac_status); } &&
71326          { ac_try='test -z "$ac_cxx_werror_flag"
71327                          || test ! -s conftest.err'
71328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71329   (eval $ac_try) 2>&5
71330   ac_status=$?
71331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71332   (exit $ac_status); }; } &&
71333          { ac_try='test -s conftest.$ac_objext'
71334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71335   (eval $ac_try) 2>&5
71336   ac_status=$?
71337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71338   (exit $ac_status); }; }; then
71339   glibcxx_cv_func_logf_use=yes
71340 else
71341   echo "$as_me: failed program was:" >&5
71342 sed 's/^/| /' conftest.$ac_ext >&5
71343
71344 glibcxx_cv_func_logf_use=no
71345 fi
71346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71347       ac_ext=c
71348 ac_cpp='$CPP $CPPFLAGS'
71349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71352
71353
71354 fi
71355
71356   fi
71357   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71358 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71359
71360   if test x$glibcxx_cv_func_logf_use = x"yes"; then
71361
71362 for ac_func in logf
71363 do
71364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71365 echo "$as_me:$LINENO: checking for $ac_func" >&5
71366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71367 if eval "test \"\${$as_ac_var+set}\" = set"; then
71368   echo $ECHO_N "(cached) $ECHO_C" >&6
71369 else
71370   if test x$gcc_no_link = xyes; then
71371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71373    { (exit 1); exit 1; }; }
71374 fi
71375 cat >conftest.$ac_ext <<_ACEOF
71376 /* confdefs.h.  */
71377 _ACEOF
71378 cat confdefs.h >>conftest.$ac_ext
71379 cat >>conftest.$ac_ext <<_ACEOF
71380 /* end confdefs.h.  */
71381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71383 #define $ac_func innocuous_$ac_func
71384
71385 /* System header to define __stub macros and hopefully few prototypes,
71386     which can conflict with char $ac_func (); below.
71387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71388     <limits.h> exists even on freestanding compilers.  */
71389
71390 #ifdef __STDC__
71391 # include <limits.h>
71392 #else
71393 # include <assert.h>
71394 #endif
71395
71396 #undef $ac_func
71397
71398 /* Override any gcc2 internal prototype to avoid an error.  */
71399 #ifdef __cplusplus
71400 extern "C"
71401 {
71402 #endif
71403 /* We use char because int might match the return type of a gcc2
71404    builtin and then its argument prototype would still apply.  */
71405 char $ac_func ();
71406 /* The GNU C library defines this for functions which it implements
71407     to always fail with ENOSYS.  Some functions are actually named
71408     something starting with __ and the normal name is an alias.  */
71409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71410 choke me
71411 #else
71412 char (*f) () = $ac_func;
71413 #endif
71414 #ifdef __cplusplus
71415 }
71416 #endif
71417
71418 int
71419 main ()
71420 {
71421 return f != $ac_func;
71422   ;
71423   return 0;
71424 }
71425 _ACEOF
71426 rm -f conftest.$ac_objext conftest$ac_exeext
71427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71428   (eval $ac_link) 2>conftest.er1
71429   ac_status=$?
71430   grep -v '^ *+' conftest.er1 >conftest.err
71431   rm -f conftest.er1
71432   cat conftest.err >&5
71433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71434   (exit $ac_status); } &&
71435          { ac_try='test -z "$ac_c_werror_flag"
71436                          || test ! -s conftest.err'
71437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71438   (eval $ac_try) 2>&5
71439   ac_status=$?
71440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71441   (exit $ac_status); }; } &&
71442          { ac_try='test -s conftest$ac_exeext'
71443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71444   (eval $ac_try) 2>&5
71445   ac_status=$?
71446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71447   (exit $ac_status); }; }; then
71448   eval "$as_ac_var=yes"
71449 else
71450   echo "$as_me: failed program was:" >&5
71451 sed 's/^/| /' conftest.$ac_ext >&5
71452
71453 eval "$as_ac_var=no"
71454 fi
71455 rm -f conftest.err conftest.$ac_objext \
71456       conftest$ac_exeext conftest.$ac_ext
71457 fi
71458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71460 if test `eval echo '${'$as_ac_var'}'` = yes; then
71461   cat >>confdefs.h <<_ACEOF
71462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71463 _ACEOF
71464
71465 fi
71466 done
71467
71468   else
71469
71470   echo "$as_me:$LINENO: checking for _logf declaration" >&5
71471 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71472   if test x${glibcxx_cv_func__logf_use+set} != xset; then
71473     if test "${glibcxx_cv_func__logf_use+set}" = set; then
71474   echo $ECHO_N "(cached) $ECHO_C" >&6
71475 else
71476
71477
71478
71479       ac_ext=cc
71480 ac_cpp='$CXXCPP $CPPFLAGS'
71481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71484
71485       cat >conftest.$ac_ext <<_ACEOF
71486 /* confdefs.h.  */
71487 _ACEOF
71488 cat confdefs.h >>conftest.$ac_ext
71489 cat >>conftest.$ac_ext <<_ACEOF
71490 /* end confdefs.h.  */
71491 #include <math.h>
71492                       #ifdef HAVE_IEEEFP_H
71493                       #include <ieeefp.h>
71494                       #endif
71495
71496 int
71497 main ()
71498 {
71499  _logf(0);
71500   ;
71501   return 0;
71502 }
71503 _ACEOF
71504 rm -f conftest.$ac_objext
71505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71506   (eval $ac_compile) 2>conftest.er1
71507   ac_status=$?
71508   grep -v '^ *+' conftest.er1 >conftest.err
71509   rm -f conftest.er1
71510   cat conftest.err >&5
71511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71512   (exit $ac_status); } &&
71513          { ac_try='test -z "$ac_cxx_werror_flag"
71514                          || test ! -s conftest.err'
71515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71516   (eval $ac_try) 2>&5
71517   ac_status=$?
71518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71519   (exit $ac_status); }; } &&
71520          { ac_try='test -s conftest.$ac_objext'
71521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71522   (eval $ac_try) 2>&5
71523   ac_status=$?
71524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71525   (exit $ac_status); }; }; then
71526   glibcxx_cv_func__logf_use=yes
71527 else
71528   echo "$as_me: failed program was:" >&5
71529 sed 's/^/| /' conftest.$ac_ext >&5
71530
71531 glibcxx_cv_func__logf_use=no
71532 fi
71533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71534       ac_ext=c
71535 ac_cpp='$CPP $CPPFLAGS'
71536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71539
71540
71541 fi
71542
71543   fi
71544   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71545 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71546
71547     if test x$glibcxx_cv_func__logf_use = x"yes"; then
71548
71549 for ac_func in _logf
71550 do
71551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71552 echo "$as_me:$LINENO: checking for $ac_func" >&5
71553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71554 if eval "test \"\${$as_ac_var+set}\" = set"; then
71555   echo $ECHO_N "(cached) $ECHO_C" >&6
71556 else
71557   if test x$gcc_no_link = xyes; then
71558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71560    { (exit 1); exit 1; }; }
71561 fi
71562 cat >conftest.$ac_ext <<_ACEOF
71563 /* confdefs.h.  */
71564 _ACEOF
71565 cat confdefs.h >>conftest.$ac_ext
71566 cat >>conftest.$ac_ext <<_ACEOF
71567 /* end confdefs.h.  */
71568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71570 #define $ac_func innocuous_$ac_func
71571
71572 /* System header to define __stub macros and hopefully few prototypes,
71573     which can conflict with char $ac_func (); below.
71574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71575     <limits.h> exists even on freestanding compilers.  */
71576
71577 #ifdef __STDC__
71578 # include <limits.h>
71579 #else
71580 # include <assert.h>
71581 #endif
71582
71583 #undef $ac_func
71584
71585 /* Override any gcc2 internal prototype to avoid an error.  */
71586 #ifdef __cplusplus
71587 extern "C"
71588 {
71589 #endif
71590 /* We use char because int might match the return type of a gcc2
71591    builtin and then its argument prototype would still apply.  */
71592 char $ac_func ();
71593 /* The GNU C library defines this for functions which it implements
71594     to always fail with ENOSYS.  Some functions are actually named
71595     something starting with __ and the normal name is an alias.  */
71596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71597 choke me
71598 #else
71599 char (*f) () = $ac_func;
71600 #endif
71601 #ifdef __cplusplus
71602 }
71603 #endif
71604
71605 int
71606 main ()
71607 {
71608 return f != $ac_func;
71609   ;
71610   return 0;
71611 }
71612 _ACEOF
71613 rm -f conftest.$ac_objext conftest$ac_exeext
71614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71615   (eval $ac_link) 2>conftest.er1
71616   ac_status=$?
71617   grep -v '^ *+' conftest.er1 >conftest.err
71618   rm -f conftest.er1
71619   cat conftest.err >&5
71620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71621   (exit $ac_status); } &&
71622          { ac_try='test -z "$ac_c_werror_flag"
71623                          || test ! -s conftest.err'
71624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71625   (eval $ac_try) 2>&5
71626   ac_status=$?
71627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71628   (exit $ac_status); }; } &&
71629          { ac_try='test -s conftest$ac_exeext'
71630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71631   (eval $ac_try) 2>&5
71632   ac_status=$?
71633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71634   (exit $ac_status); }; }; then
71635   eval "$as_ac_var=yes"
71636 else
71637   echo "$as_me: failed program was:" >&5
71638 sed 's/^/| /' conftest.$ac_ext >&5
71639
71640 eval "$as_ac_var=no"
71641 fi
71642 rm -f conftest.err conftest.$ac_objext \
71643       conftest$ac_exeext conftest.$ac_ext
71644 fi
71645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71647 if test `eval echo '${'$as_ac_var'}'` = yes; then
71648   cat >>confdefs.h <<_ACEOF
71649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71650 _ACEOF
71651
71652 fi
71653 done
71654
71655     fi
71656   fi
71657
71658
71659
71660
71661
71662
71663   echo "$as_me:$LINENO: checking for log10f declaration" >&5
71664 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71665   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71666     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71667   echo $ECHO_N "(cached) $ECHO_C" >&6
71668 else
71669
71670
71671
71672       ac_ext=cc
71673 ac_cpp='$CXXCPP $CPPFLAGS'
71674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71677
71678       cat >conftest.$ac_ext <<_ACEOF
71679 /* confdefs.h.  */
71680 _ACEOF
71681 cat confdefs.h >>conftest.$ac_ext
71682 cat >>conftest.$ac_ext <<_ACEOF
71683 /* end confdefs.h.  */
71684 #include <math.h>
71685                       #ifdef HAVE_IEEEFP_H
71686                       #include <ieeefp.h>
71687                       #endif
71688
71689 int
71690 main ()
71691 {
71692  log10f(0);
71693   ;
71694   return 0;
71695 }
71696 _ACEOF
71697 rm -f conftest.$ac_objext
71698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71699   (eval $ac_compile) 2>conftest.er1
71700   ac_status=$?
71701   grep -v '^ *+' conftest.er1 >conftest.err
71702   rm -f conftest.er1
71703   cat conftest.err >&5
71704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71705   (exit $ac_status); } &&
71706          { ac_try='test -z "$ac_cxx_werror_flag"
71707                          || test ! -s conftest.err'
71708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71709   (eval $ac_try) 2>&5
71710   ac_status=$?
71711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71712   (exit $ac_status); }; } &&
71713          { ac_try='test -s conftest.$ac_objext'
71714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71715   (eval $ac_try) 2>&5
71716   ac_status=$?
71717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71718   (exit $ac_status); }; }; then
71719   glibcxx_cv_func_log10f_use=yes
71720 else
71721   echo "$as_me: failed program was:" >&5
71722 sed 's/^/| /' conftest.$ac_ext >&5
71723
71724 glibcxx_cv_func_log10f_use=no
71725 fi
71726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71727       ac_ext=c
71728 ac_cpp='$CPP $CPPFLAGS'
71729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71732
71733
71734 fi
71735
71736   fi
71737   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71738 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71739
71740   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71741
71742 for ac_func in log10f
71743 do
71744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71745 echo "$as_me:$LINENO: checking for $ac_func" >&5
71746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71747 if eval "test \"\${$as_ac_var+set}\" = set"; then
71748   echo $ECHO_N "(cached) $ECHO_C" >&6
71749 else
71750   if test x$gcc_no_link = xyes; then
71751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71753    { (exit 1); exit 1; }; }
71754 fi
71755 cat >conftest.$ac_ext <<_ACEOF
71756 /* confdefs.h.  */
71757 _ACEOF
71758 cat confdefs.h >>conftest.$ac_ext
71759 cat >>conftest.$ac_ext <<_ACEOF
71760 /* end confdefs.h.  */
71761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71763 #define $ac_func innocuous_$ac_func
71764
71765 /* System header to define __stub macros and hopefully few prototypes,
71766     which can conflict with char $ac_func (); below.
71767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71768     <limits.h> exists even on freestanding compilers.  */
71769
71770 #ifdef __STDC__
71771 # include <limits.h>
71772 #else
71773 # include <assert.h>
71774 #endif
71775
71776 #undef $ac_func
71777
71778 /* Override any gcc2 internal prototype to avoid an error.  */
71779 #ifdef __cplusplus
71780 extern "C"
71781 {
71782 #endif
71783 /* We use char because int might match the return type of a gcc2
71784    builtin and then its argument prototype would still apply.  */
71785 char $ac_func ();
71786 /* The GNU C library defines this for functions which it implements
71787     to always fail with ENOSYS.  Some functions are actually named
71788     something starting with __ and the normal name is an alias.  */
71789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71790 choke me
71791 #else
71792 char (*f) () = $ac_func;
71793 #endif
71794 #ifdef __cplusplus
71795 }
71796 #endif
71797
71798 int
71799 main ()
71800 {
71801 return f != $ac_func;
71802   ;
71803   return 0;
71804 }
71805 _ACEOF
71806 rm -f conftest.$ac_objext conftest$ac_exeext
71807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71808   (eval $ac_link) 2>conftest.er1
71809   ac_status=$?
71810   grep -v '^ *+' conftest.er1 >conftest.err
71811   rm -f conftest.er1
71812   cat conftest.err >&5
71813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71814   (exit $ac_status); } &&
71815          { ac_try='test -z "$ac_c_werror_flag"
71816                          || test ! -s conftest.err'
71817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71818   (eval $ac_try) 2>&5
71819   ac_status=$?
71820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71821   (exit $ac_status); }; } &&
71822          { ac_try='test -s conftest$ac_exeext'
71823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71824   (eval $ac_try) 2>&5
71825   ac_status=$?
71826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71827   (exit $ac_status); }; }; then
71828   eval "$as_ac_var=yes"
71829 else
71830   echo "$as_me: failed program was:" >&5
71831 sed 's/^/| /' conftest.$ac_ext >&5
71832
71833 eval "$as_ac_var=no"
71834 fi
71835 rm -f conftest.err conftest.$ac_objext \
71836       conftest$ac_exeext conftest.$ac_ext
71837 fi
71838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71840 if test `eval echo '${'$as_ac_var'}'` = yes; then
71841   cat >>confdefs.h <<_ACEOF
71842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71843 _ACEOF
71844
71845 fi
71846 done
71847
71848   else
71849
71850   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71851 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71852   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71853     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71854   echo $ECHO_N "(cached) $ECHO_C" >&6
71855 else
71856
71857
71858
71859       ac_ext=cc
71860 ac_cpp='$CXXCPP $CPPFLAGS'
71861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71864
71865       cat >conftest.$ac_ext <<_ACEOF
71866 /* confdefs.h.  */
71867 _ACEOF
71868 cat confdefs.h >>conftest.$ac_ext
71869 cat >>conftest.$ac_ext <<_ACEOF
71870 /* end confdefs.h.  */
71871 #include <math.h>
71872                       #ifdef HAVE_IEEEFP_H
71873                       #include <ieeefp.h>
71874                       #endif
71875
71876 int
71877 main ()
71878 {
71879  _log10f(0);
71880   ;
71881   return 0;
71882 }
71883 _ACEOF
71884 rm -f conftest.$ac_objext
71885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71886   (eval $ac_compile) 2>conftest.er1
71887   ac_status=$?
71888   grep -v '^ *+' conftest.er1 >conftest.err
71889   rm -f conftest.er1
71890   cat conftest.err >&5
71891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71892   (exit $ac_status); } &&
71893          { ac_try='test -z "$ac_cxx_werror_flag"
71894                          || test ! -s conftest.err'
71895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71896   (eval $ac_try) 2>&5
71897   ac_status=$?
71898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71899   (exit $ac_status); }; } &&
71900          { ac_try='test -s conftest.$ac_objext'
71901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71902   (eval $ac_try) 2>&5
71903   ac_status=$?
71904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71905   (exit $ac_status); }; }; then
71906   glibcxx_cv_func__log10f_use=yes
71907 else
71908   echo "$as_me: failed program was:" >&5
71909 sed 's/^/| /' conftest.$ac_ext >&5
71910
71911 glibcxx_cv_func__log10f_use=no
71912 fi
71913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71914       ac_ext=c
71915 ac_cpp='$CPP $CPPFLAGS'
71916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71919
71920
71921 fi
71922
71923   fi
71924   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
71925 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
71926
71927     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
71928
71929 for ac_func in _log10f
71930 do
71931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71932 echo "$as_me:$LINENO: checking for $ac_func" >&5
71933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71934 if eval "test \"\${$as_ac_var+set}\" = set"; then
71935   echo $ECHO_N "(cached) $ECHO_C" >&6
71936 else
71937   if test x$gcc_no_link = xyes; then
71938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71940    { (exit 1); exit 1; }; }
71941 fi
71942 cat >conftest.$ac_ext <<_ACEOF
71943 /* confdefs.h.  */
71944 _ACEOF
71945 cat confdefs.h >>conftest.$ac_ext
71946 cat >>conftest.$ac_ext <<_ACEOF
71947 /* end confdefs.h.  */
71948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71950 #define $ac_func innocuous_$ac_func
71951
71952 /* System header to define __stub macros and hopefully few prototypes,
71953     which can conflict with char $ac_func (); below.
71954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71955     <limits.h> exists even on freestanding compilers.  */
71956
71957 #ifdef __STDC__
71958 # include <limits.h>
71959 #else
71960 # include <assert.h>
71961 #endif
71962
71963 #undef $ac_func
71964
71965 /* Override any gcc2 internal prototype to avoid an error.  */
71966 #ifdef __cplusplus
71967 extern "C"
71968 {
71969 #endif
71970 /* We use char because int might match the return type of a gcc2
71971    builtin and then its argument prototype would still apply.  */
71972 char $ac_func ();
71973 /* The GNU C library defines this for functions which it implements
71974     to always fail with ENOSYS.  Some functions are actually named
71975     something starting with __ and the normal name is an alias.  */
71976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71977 choke me
71978 #else
71979 char (*f) () = $ac_func;
71980 #endif
71981 #ifdef __cplusplus
71982 }
71983 #endif
71984
71985 int
71986 main ()
71987 {
71988 return f != $ac_func;
71989   ;
71990   return 0;
71991 }
71992 _ACEOF
71993 rm -f conftest.$ac_objext conftest$ac_exeext
71994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71995   (eval $ac_link) 2>conftest.er1
71996   ac_status=$?
71997   grep -v '^ *+' conftest.er1 >conftest.err
71998   rm -f conftest.er1
71999   cat conftest.err >&5
72000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72001   (exit $ac_status); } &&
72002          { ac_try='test -z "$ac_c_werror_flag"
72003                          || test ! -s conftest.err'
72004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72005   (eval $ac_try) 2>&5
72006   ac_status=$?
72007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72008   (exit $ac_status); }; } &&
72009          { ac_try='test -s conftest$ac_exeext'
72010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72011   (eval $ac_try) 2>&5
72012   ac_status=$?
72013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72014   (exit $ac_status); }; }; then
72015   eval "$as_ac_var=yes"
72016 else
72017   echo "$as_me: failed program was:" >&5
72018 sed 's/^/| /' conftest.$ac_ext >&5
72019
72020 eval "$as_ac_var=no"
72021 fi
72022 rm -f conftest.err conftest.$ac_objext \
72023       conftest$ac_exeext conftest.$ac_ext
72024 fi
72025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72027 if test `eval echo '${'$as_ac_var'}'` = yes; then
72028   cat >>confdefs.h <<_ACEOF
72029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72030 _ACEOF
72031
72032 fi
72033 done
72034
72035     fi
72036   fi
72037
72038
72039
72040
72041
72042
72043   echo "$as_me:$LINENO: checking for modff declaration" >&5
72044 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72045   if test x${glibcxx_cv_func_modff_use+set} != xset; then
72046     if test "${glibcxx_cv_func_modff_use+set}" = set; then
72047   echo $ECHO_N "(cached) $ECHO_C" >&6
72048 else
72049
72050
72051
72052       ac_ext=cc
72053 ac_cpp='$CXXCPP $CPPFLAGS'
72054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72057
72058       cat >conftest.$ac_ext <<_ACEOF
72059 /* confdefs.h.  */
72060 _ACEOF
72061 cat confdefs.h >>conftest.$ac_ext
72062 cat >>conftest.$ac_ext <<_ACEOF
72063 /* end confdefs.h.  */
72064 #include <math.h>
72065 int
72066 main ()
72067 {
72068  modff(0, 0);
72069   ;
72070   return 0;
72071 }
72072 _ACEOF
72073 rm -f conftest.$ac_objext
72074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72075   (eval $ac_compile) 2>conftest.er1
72076   ac_status=$?
72077   grep -v '^ *+' conftest.er1 >conftest.err
72078   rm -f conftest.er1
72079   cat conftest.err >&5
72080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72081   (exit $ac_status); } &&
72082          { ac_try='test -z "$ac_cxx_werror_flag"
72083                          || test ! -s conftest.err'
72084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72085   (eval $ac_try) 2>&5
72086   ac_status=$?
72087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72088   (exit $ac_status); }; } &&
72089          { ac_try='test -s conftest.$ac_objext'
72090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72091   (eval $ac_try) 2>&5
72092   ac_status=$?
72093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72094   (exit $ac_status); }; }; then
72095   glibcxx_cv_func_modff_use=yes
72096 else
72097   echo "$as_me: failed program was:" >&5
72098 sed 's/^/| /' conftest.$ac_ext >&5
72099
72100 glibcxx_cv_func_modff_use=no
72101 fi
72102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72103       ac_ext=c
72104 ac_cpp='$CPP $CPPFLAGS'
72105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72108
72109
72110 fi
72111
72112   fi
72113   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72114 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72115
72116   if test x$glibcxx_cv_func_modff_use = x"yes"; then
72117
72118 for ac_func in modff
72119 do
72120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72121 echo "$as_me:$LINENO: checking for $ac_func" >&5
72122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72123 if eval "test \"\${$as_ac_var+set}\" = set"; then
72124   echo $ECHO_N "(cached) $ECHO_C" >&6
72125 else
72126   if test x$gcc_no_link = xyes; then
72127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72129    { (exit 1); exit 1; }; }
72130 fi
72131 cat >conftest.$ac_ext <<_ACEOF
72132 /* confdefs.h.  */
72133 _ACEOF
72134 cat confdefs.h >>conftest.$ac_ext
72135 cat >>conftest.$ac_ext <<_ACEOF
72136 /* end confdefs.h.  */
72137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72139 #define $ac_func innocuous_$ac_func
72140
72141 /* System header to define __stub macros and hopefully few prototypes,
72142     which can conflict with char $ac_func (); below.
72143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72144     <limits.h> exists even on freestanding compilers.  */
72145
72146 #ifdef __STDC__
72147 # include <limits.h>
72148 #else
72149 # include <assert.h>
72150 #endif
72151
72152 #undef $ac_func
72153
72154 /* Override any gcc2 internal prototype to avoid an error.  */
72155 #ifdef __cplusplus
72156 extern "C"
72157 {
72158 #endif
72159 /* We use char because int might match the return type of a gcc2
72160    builtin and then its argument prototype would still apply.  */
72161 char $ac_func ();
72162 /* The GNU C library defines this for functions which it implements
72163     to always fail with ENOSYS.  Some functions are actually named
72164     something starting with __ and the normal name is an alias.  */
72165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72166 choke me
72167 #else
72168 char (*f) () = $ac_func;
72169 #endif
72170 #ifdef __cplusplus
72171 }
72172 #endif
72173
72174 int
72175 main ()
72176 {
72177 return f != $ac_func;
72178   ;
72179   return 0;
72180 }
72181 _ACEOF
72182 rm -f conftest.$ac_objext conftest$ac_exeext
72183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72184   (eval $ac_link) 2>conftest.er1
72185   ac_status=$?
72186   grep -v '^ *+' conftest.er1 >conftest.err
72187   rm -f conftest.er1
72188   cat conftest.err >&5
72189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72190   (exit $ac_status); } &&
72191          { ac_try='test -z "$ac_c_werror_flag"
72192                          || test ! -s conftest.err'
72193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72194   (eval $ac_try) 2>&5
72195   ac_status=$?
72196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72197   (exit $ac_status); }; } &&
72198          { ac_try='test -s conftest$ac_exeext'
72199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72200   (eval $ac_try) 2>&5
72201   ac_status=$?
72202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72203   (exit $ac_status); }; }; then
72204   eval "$as_ac_var=yes"
72205 else
72206   echo "$as_me: failed program was:" >&5
72207 sed 's/^/| /' conftest.$ac_ext >&5
72208
72209 eval "$as_ac_var=no"
72210 fi
72211 rm -f conftest.err conftest.$ac_objext \
72212       conftest$ac_exeext conftest.$ac_ext
72213 fi
72214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72216 if test `eval echo '${'$as_ac_var'}'` = yes; then
72217   cat >>confdefs.h <<_ACEOF
72218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72219 _ACEOF
72220
72221 fi
72222 done
72223
72224   else
72225
72226   echo "$as_me:$LINENO: checking for _modff declaration" >&5
72227 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72228   if test x${glibcxx_cv_func__modff_use+set} != xset; then
72229     if test "${glibcxx_cv_func__modff_use+set}" = set; then
72230   echo $ECHO_N "(cached) $ECHO_C" >&6
72231 else
72232
72233
72234
72235       ac_ext=cc
72236 ac_cpp='$CXXCPP $CPPFLAGS'
72237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72240
72241       cat >conftest.$ac_ext <<_ACEOF
72242 /* confdefs.h.  */
72243 _ACEOF
72244 cat confdefs.h >>conftest.$ac_ext
72245 cat >>conftest.$ac_ext <<_ACEOF
72246 /* end confdefs.h.  */
72247 #include <math.h>
72248 int
72249 main ()
72250 {
72251  _modff(0, 0);
72252   ;
72253   return 0;
72254 }
72255 _ACEOF
72256 rm -f conftest.$ac_objext
72257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72258   (eval $ac_compile) 2>conftest.er1
72259   ac_status=$?
72260   grep -v '^ *+' conftest.er1 >conftest.err
72261   rm -f conftest.er1
72262   cat conftest.err >&5
72263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72264   (exit $ac_status); } &&
72265          { ac_try='test -z "$ac_cxx_werror_flag"
72266                          || test ! -s conftest.err'
72267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72268   (eval $ac_try) 2>&5
72269   ac_status=$?
72270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72271   (exit $ac_status); }; } &&
72272          { ac_try='test -s conftest.$ac_objext'
72273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72274   (eval $ac_try) 2>&5
72275   ac_status=$?
72276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72277   (exit $ac_status); }; }; then
72278   glibcxx_cv_func__modff_use=yes
72279 else
72280   echo "$as_me: failed program was:" >&5
72281 sed 's/^/| /' conftest.$ac_ext >&5
72282
72283 glibcxx_cv_func__modff_use=no
72284 fi
72285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72286       ac_ext=c
72287 ac_cpp='$CPP $CPPFLAGS'
72288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72291
72292
72293 fi
72294
72295   fi
72296   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72297 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72298
72299     if test x$glibcxx_cv_func__modff_use = x"yes"; then
72300
72301 for ac_func in _modff
72302 do
72303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72304 echo "$as_me:$LINENO: checking for $ac_func" >&5
72305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72306 if eval "test \"\${$as_ac_var+set}\" = set"; then
72307   echo $ECHO_N "(cached) $ECHO_C" >&6
72308 else
72309   if test x$gcc_no_link = xyes; then
72310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72312    { (exit 1); exit 1; }; }
72313 fi
72314 cat >conftest.$ac_ext <<_ACEOF
72315 /* confdefs.h.  */
72316 _ACEOF
72317 cat confdefs.h >>conftest.$ac_ext
72318 cat >>conftest.$ac_ext <<_ACEOF
72319 /* end confdefs.h.  */
72320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72322 #define $ac_func innocuous_$ac_func
72323
72324 /* System header to define __stub macros and hopefully few prototypes,
72325     which can conflict with char $ac_func (); below.
72326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72327     <limits.h> exists even on freestanding compilers.  */
72328
72329 #ifdef __STDC__
72330 # include <limits.h>
72331 #else
72332 # include <assert.h>
72333 #endif
72334
72335 #undef $ac_func
72336
72337 /* Override any gcc2 internal prototype to avoid an error.  */
72338 #ifdef __cplusplus
72339 extern "C"
72340 {
72341 #endif
72342 /* We use char because int might match the return type of a gcc2
72343    builtin and then its argument prototype would still apply.  */
72344 char $ac_func ();
72345 /* The GNU C library defines this for functions which it implements
72346     to always fail with ENOSYS.  Some functions are actually named
72347     something starting with __ and the normal name is an alias.  */
72348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72349 choke me
72350 #else
72351 char (*f) () = $ac_func;
72352 #endif
72353 #ifdef __cplusplus
72354 }
72355 #endif
72356
72357 int
72358 main ()
72359 {
72360 return f != $ac_func;
72361   ;
72362   return 0;
72363 }
72364 _ACEOF
72365 rm -f conftest.$ac_objext conftest$ac_exeext
72366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72367   (eval $ac_link) 2>conftest.er1
72368   ac_status=$?
72369   grep -v '^ *+' conftest.er1 >conftest.err
72370   rm -f conftest.er1
72371   cat conftest.err >&5
72372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373   (exit $ac_status); } &&
72374          { ac_try='test -z "$ac_c_werror_flag"
72375                          || test ! -s conftest.err'
72376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72377   (eval $ac_try) 2>&5
72378   ac_status=$?
72379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380   (exit $ac_status); }; } &&
72381          { ac_try='test -s conftest$ac_exeext'
72382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72383   (eval $ac_try) 2>&5
72384   ac_status=$?
72385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72386   (exit $ac_status); }; }; then
72387   eval "$as_ac_var=yes"
72388 else
72389   echo "$as_me: failed program was:" >&5
72390 sed 's/^/| /' conftest.$ac_ext >&5
72391
72392 eval "$as_ac_var=no"
72393 fi
72394 rm -f conftest.err conftest.$ac_objext \
72395       conftest$ac_exeext conftest.$ac_ext
72396 fi
72397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72399 if test `eval echo '${'$as_ac_var'}'` = yes; then
72400   cat >>confdefs.h <<_ACEOF
72401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72402 _ACEOF
72403
72404 fi
72405 done
72406
72407     fi
72408   fi
72409
72410
72411
72412
72413
72414
72415   echo "$as_me:$LINENO: checking for modf declaration" >&5
72416 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72417   if test x${glibcxx_cv_func_modf_use+set} != xset; then
72418     if test "${glibcxx_cv_func_modf_use+set}" = set; then
72419   echo $ECHO_N "(cached) $ECHO_C" >&6
72420 else
72421
72422
72423
72424       ac_ext=cc
72425 ac_cpp='$CXXCPP $CPPFLAGS'
72426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72429
72430       cat >conftest.$ac_ext <<_ACEOF
72431 /* confdefs.h.  */
72432 _ACEOF
72433 cat confdefs.h >>conftest.$ac_ext
72434 cat >>conftest.$ac_ext <<_ACEOF
72435 /* end confdefs.h.  */
72436 #include <math.h>
72437 int
72438 main ()
72439 {
72440  modf(0, 0);
72441   ;
72442   return 0;
72443 }
72444 _ACEOF
72445 rm -f conftest.$ac_objext
72446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72447   (eval $ac_compile) 2>conftest.er1
72448   ac_status=$?
72449   grep -v '^ *+' conftest.er1 >conftest.err
72450   rm -f conftest.er1
72451   cat conftest.err >&5
72452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72453   (exit $ac_status); } &&
72454          { ac_try='test -z "$ac_cxx_werror_flag"
72455                          || test ! -s conftest.err'
72456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72457   (eval $ac_try) 2>&5
72458   ac_status=$?
72459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72460   (exit $ac_status); }; } &&
72461          { ac_try='test -s conftest.$ac_objext'
72462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72463   (eval $ac_try) 2>&5
72464   ac_status=$?
72465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72466   (exit $ac_status); }; }; then
72467   glibcxx_cv_func_modf_use=yes
72468 else
72469   echo "$as_me: failed program was:" >&5
72470 sed 's/^/| /' conftest.$ac_ext >&5
72471
72472 glibcxx_cv_func_modf_use=no
72473 fi
72474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72475       ac_ext=c
72476 ac_cpp='$CPP $CPPFLAGS'
72477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72480
72481
72482 fi
72483
72484   fi
72485   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72486 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72487
72488   if test x$glibcxx_cv_func_modf_use = x"yes"; then
72489
72490 for ac_func in modf
72491 do
72492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72493 echo "$as_me:$LINENO: checking for $ac_func" >&5
72494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72495 if eval "test \"\${$as_ac_var+set}\" = set"; then
72496   echo $ECHO_N "(cached) $ECHO_C" >&6
72497 else
72498   if test x$gcc_no_link = xyes; then
72499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72501    { (exit 1); exit 1; }; }
72502 fi
72503 cat >conftest.$ac_ext <<_ACEOF
72504 /* confdefs.h.  */
72505 _ACEOF
72506 cat confdefs.h >>conftest.$ac_ext
72507 cat >>conftest.$ac_ext <<_ACEOF
72508 /* end confdefs.h.  */
72509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72511 #define $ac_func innocuous_$ac_func
72512
72513 /* System header to define __stub macros and hopefully few prototypes,
72514     which can conflict with char $ac_func (); below.
72515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72516     <limits.h> exists even on freestanding compilers.  */
72517
72518 #ifdef __STDC__
72519 # include <limits.h>
72520 #else
72521 # include <assert.h>
72522 #endif
72523
72524 #undef $ac_func
72525
72526 /* Override any gcc2 internal prototype to avoid an error.  */
72527 #ifdef __cplusplus
72528 extern "C"
72529 {
72530 #endif
72531 /* We use char because int might match the return type of a gcc2
72532    builtin and then its argument prototype would still apply.  */
72533 char $ac_func ();
72534 /* The GNU C library defines this for functions which it implements
72535     to always fail with ENOSYS.  Some functions are actually named
72536     something starting with __ and the normal name is an alias.  */
72537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72538 choke me
72539 #else
72540 char (*f) () = $ac_func;
72541 #endif
72542 #ifdef __cplusplus
72543 }
72544 #endif
72545
72546 int
72547 main ()
72548 {
72549 return f != $ac_func;
72550   ;
72551   return 0;
72552 }
72553 _ACEOF
72554 rm -f conftest.$ac_objext conftest$ac_exeext
72555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72556   (eval $ac_link) 2>conftest.er1
72557   ac_status=$?
72558   grep -v '^ *+' conftest.er1 >conftest.err
72559   rm -f conftest.er1
72560   cat conftest.err >&5
72561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562   (exit $ac_status); } &&
72563          { ac_try='test -z "$ac_c_werror_flag"
72564                          || test ! -s conftest.err'
72565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72566   (eval $ac_try) 2>&5
72567   ac_status=$?
72568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72569   (exit $ac_status); }; } &&
72570          { ac_try='test -s conftest$ac_exeext'
72571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72572   (eval $ac_try) 2>&5
72573   ac_status=$?
72574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72575   (exit $ac_status); }; }; then
72576   eval "$as_ac_var=yes"
72577 else
72578   echo "$as_me: failed program was:" >&5
72579 sed 's/^/| /' conftest.$ac_ext >&5
72580
72581 eval "$as_ac_var=no"
72582 fi
72583 rm -f conftest.err conftest.$ac_objext \
72584       conftest$ac_exeext conftest.$ac_ext
72585 fi
72586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72588 if test `eval echo '${'$as_ac_var'}'` = yes; then
72589   cat >>confdefs.h <<_ACEOF
72590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72591 _ACEOF
72592
72593 fi
72594 done
72595
72596   else
72597
72598   echo "$as_me:$LINENO: checking for _modf declaration" >&5
72599 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72600   if test x${glibcxx_cv_func__modf_use+set} != xset; then
72601     if test "${glibcxx_cv_func__modf_use+set}" = set; then
72602   echo $ECHO_N "(cached) $ECHO_C" >&6
72603 else
72604
72605
72606
72607       ac_ext=cc
72608 ac_cpp='$CXXCPP $CPPFLAGS'
72609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72612
72613       cat >conftest.$ac_ext <<_ACEOF
72614 /* confdefs.h.  */
72615 _ACEOF
72616 cat confdefs.h >>conftest.$ac_ext
72617 cat >>conftest.$ac_ext <<_ACEOF
72618 /* end confdefs.h.  */
72619 #include <math.h>
72620 int
72621 main ()
72622 {
72623  _modf(0, 0);
72624   ;
72625   return 0;
72626 }
72627 _ACEOF
72628 rm -f conftest.$ac_objext
72629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72630   (eval $ac_compile) 2>conftest.er1
72631   ac_status=$?
72632   grep -v '^ *+' conftest.er1 >conftest.err
72633   rm -f conftest.er1
72634   cat conftest.err >&5
72635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72636   (exit $ac_status); } &&
72637          { ac_try='test -z "$ac_cxx_werror_flag"
72638                          || test ! -s conftest.err'
72639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72640   (eval $ac_try) 2>&5
72641   ac_status=$?
72642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72643   (exit $ac_status); }; } &&
72644          { ac_try='test -s conftest.$ac_objext'
72645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72646   (eval $ac_try) 2>&5
72647   ac_status=$?
72648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72649   (exit $ac_status); }; }; then
72650   glibcxx_cv_func__modf_use=yes
72651 else
72652   echo "$as_me: failed program was:" >&5
72653 sed 's/^/| /' conftest.$ac_ext >&5
72654
72655 glibcxx_cv_func__modf_use=no
72656 fi
72657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72658       ac_ext=c
72659 ac_cpp='$CPP $CPPFLAGS'
72660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72663
72664
72665 fi
72666
72667   fi
72668   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72669 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72670
72671     if test x$glibcxx_cv_func__modf_use = x"yes"; then
72672
72673 for ac_func in _modf
72674 do
72675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72676 echo "$as_me:$LINENO: checking for $ac_func" >&5
72677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72678 if eval "test \"\${$as_ac_var+set}\" = set"; then
72679   echo $ECHO_N "(cached) $ECHO_C" >&6
72680 else
72681   if test x$gcc_no_link = xyes; then
72682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72684    { (exit 1); exit 1; }; }
72685 fi
72686 cat >conftest.$ac_ext <<_ACEOF
72687 /* confdefs.h.  */
72688 _ACEOF
72689 cat confdefs.h >>conftest.$ac_ext
72690 cat >>conftest.$ac_ext <<_ACEOF
72691 /* end confdefs.h.  */
72692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72693    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72694 #define $ac_func innocuous_$ac_func
72695
72696 /* System header to define __stub macros and hopefully few prototypes,
72697     which can conflict with char $ac_func (); below.
72698     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72699     <limits.h> exists even on freestanding compilers.  */
72700
72701 #ifdef __STDC__
72702 # include <limits.h>
72703 #else
72704 # include <assert.h>
72705 #endif
72706
72707 #undef $ac_func
72708
72709 /* Override any gcc2 internal prototype to avoid an error.  */
72710 #ifdef __cplusplus
72711 extern "C"
72712 {
72713 #endif
72714 /* We use char because int might match the return type of a gcc2
72715    builtin and then its argument prototype would still apply.  */
72716 char $ac_func ();
72717 /* The GNU C library defines this for functions which it implements
72718     to always fail with ENOSYS.  Some functions are actually named
72719     something starting with __ and the normal name is an alias.  */
72720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72721 choke me
72722 #else
72723 char (*f) () = $ac_func;
72724 #endif
72725 #ifdef __cplusplus
72726 }
72727 #endif
72728
72729 int
72730 main ()
72731 {
72732 return f != $ac_func;
72733   ;
72734   return 0;
72735 }
72736 _ACEOF
72737 rm -f conftest.$ac_objext conftest$ac_exeext
72738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72739   (eval $ac_link) 2>conftest.er1
72740   ac_status=$?
72741   grep -v '^ *+' conftest.er1 >conftest.err
72742   rm -f conftest.er1
72743   cat conftest.err >&5
72744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72745   (exit $ac_status); } &&
72746          { ac_try='test -z "$ac_c_werror_flag"
72747                          || test ! -s conftest.err'
72748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72749   (eval $ac_try) 2>&5
72750   ac_status=$?
72751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72752   (exit $ac_status); }; } &&
72753          { ac_try='test -s conftest$ac_exeext'
72754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72755   (eval $ac_try) 2>&5
72756   ac_status=$?
72757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758   (exit $ac_status); }; }; then
72759   eval "$as_ac_var=yes"
72760 else
72761   echo "$as_me: failed program was:" >&5
72762 sed 's/^/| /' conftest.$ac_ext >&5
72763
72764 eval "$as_ac_var=no"
72765 fi
72766 rm -f conftest.err conftest.$ac_objext \
72767       conftest$ac_exeext conftest.$ac_ext
72768 fi
72769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72771 if test `eval echo '${'$as_ac_var'}'` = yes; then
72772   cat >>confdefs.h <<_ACEOF
72773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72774 _ACEOF
72775
72776 fi
72777 done
72778
72779     fi
72780   fi
72781
72782
72783
72784
72785
72786
72787   echo "$as_me:$LINENO: checking for powf declaration" >&5
72788 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72789   if test x${glibcxx_cv_func_powf_use+set} != xset; then
72790     if test "${glibcxx_cv_func_powf_use+set}" = set; then
72791   echo $ECHO_N "(cached) $ECHO_C" >&6
72792 else
72793
72794
72795
72796       ac_ext=cc
72797 ac_cpp='$CXXCPP $CPPFLAGS'
72798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72801
72802       cat >conftest.$ac_ext <<_ACEOF
72803 /* confdefs.h.  */
72804 _ACEOF
72805 cat confdefs.h >>conftest.$ac_ext
72806 cat >>conftest.$ac_ext <<_ACEOF
72807 /* end confdefs.h.  */
72808 #include <math.h>
72809 int
72810 main ()
72811 {
72812  powf(0, 0);
72813   ;
72814   return 0;
72815 }
72816 _ACEOF
72817 rm -f conftest.$ac_objext
72818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72819   (eval $ac_compile) 2>conftest.er1
72820   ac_status=$?
72821   grep -v '^ *+' conftest.er1 >conftest.err
72822   rm -f conftest.er1
72823   cat conftest.err >&5
72824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72825   (exit $ac_status); } &&
72826          { ac_try='test -z "$ac_cxx_werror_flag"
72827                          || test ! -s conftest.err'
72828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72829   (eval $ac_try) 2>&5
72830   ac_status=$?
72831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72832   (exit $ac_status); }; } &&
72833          { ac_try='test -s conftest.$ac_objext'
72834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72835   (eval $ac_try) 2>&5
72836   ac_status=$?
72837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72838   (exit $ac_status); }; }; then
72839   glibcxx_cv_func_powf_use=yes
72840 else
72841   echo "$as_me: failed program was:" >&5
72842 sed 's/^/| /' conftest.$ac_ext >&5
72843
72844 glibcxx_cv_func_powf_use=no
72845 fi
72846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72847       ac_ext=c
72848 ac_cpp='$CPP $CPPFLAGS'
72849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72852
72853
72854 fi
72855
72856   fi
72857   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72858 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72859
72860   if test x$glibcxx_cv_func_powf_use = x"yes"; then
72861
72862 for ac_func in powf
72863 do
72864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72865 echo "$as_me:$LINENO: checking for $ac_func" >&5
72866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72867 if eval "test \"\${$as_ac_var+set}\" = set"; then
72868   echo $ECHO_N "(cached) $ECHO_C" >&6
72869 else
72870   if test x$gcc_no_link = xyes; then
72871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72873    { (exit 1); exit 1; }; }
72874 fi
72875 cat >conftest.$ac_ext <<_ACEOF
72876 /* confdefs.h.  */
72877 _ACEOF
72878 cat confdefs.h >>conftest.$ac_ext
72879 cat >>conftest.$ac_ext <<_ACEOF
72880 /* end confdefs.h.  */
72881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72883 #define $ac_func innocuous_$ac_func
72884
72885 /* System header to define __stub macros and hopefully few prototypes,
72886     which can conflict with char $ac_func (); below.
72887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72888     <limits.h> exists even on freestanding compilers.  */
72889
72890 #ifdef __STDC__
72891 # include <limits.h>
72892 #else
72893 # include <assert.h>
72894 #endif
72895
72896 #undef $ac_func
72897
72898 /* Override any gcc2 internal prototype to avoid an error.  */
72899 #ifdef __cplusplus
72900 extern "C"
72901 {
72902 #endif
72903 /* We use char because int might match the return type of a gcc2
72904    builtin and then its argument prototype would still apply.  */
72905 char $ac_func ();
72906 /* The GNU C library defines this for functions which it implements
72907     to always fail with ENOSYS.  Some functions are actually named
72908     something starting with __ and the normal name is an alias.  */
72909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72910 choke me
72911 #else
72912 char (*f) () = $ac_func;
72913 #endif
72914 #ifdef __cplusplus
72915 }
72916 #endif
72917
72918 int
72919 main ()
72920 {
72921 return f != $ac_func;
72922   ;
72923   return 0;
72924 }
72925 _ACEOF
72926 rm -f conftest.$ac_objext conftest$ac_exeext
72927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72928   (eval $ac_link) 2>conftest.er1
72929   ac_status=$?
72930   grep -v '^ *+' conftest.er1 >conftest.err
72931   rm -f conftest.er1
72932   cat conftest.err >&5
72933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72934   (exit $ac_status); } &&
72935          { ac_try='test -z "$ac_c_werror_flag"
72936                          || test ! -s conftest.err'
72937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72938   (eval $ac_try) 2>&5
72939   ac_status=$?
72940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72941   (exit $ac_status); }; } &&
72942          { ac_try='test -s conftest$ac_exeext'
72943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72944   (eval $ac_try) 2>&5
72945   ac_status=$?
72946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72947   (exit $ac_status); }; }; then
72948   eval "$as_ac_var=yes"
72949 else
72950   echo "$as_me: failed program was:" >&5
72951 sed 's/^/| /' conftest.$ac_ext >&5
72952
72953 eval "$as_ac_var=no"
72954 fi
72955 rm -f conftest.err conftest.$ac_objext \
72956       conftest$ac_exeext conftest.$ac_ext
72957 fi
72958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72960 if test `eval echo '${'$as_ac_var'}'` = yes; then
72961   cat >>confdefs.h <<_ACEOF
72962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72963 _ACEOF
72964
72965 fi
72966 done
72967
72968   else
72969
72970   echo "$as_me:$LINENO: checking for _powf declaration" >&5
72971 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72972   if test x${glibcxx_cv_func__powf_use+set} != xset; then
72973     if test "${glibcxx_cv_func__powf_use+set}" = set; then
72974   echo $ECHO_N "(cached) $ECHO_C" >&6
72975 else
72976
72977
72978
72979       ac_ext=cc
72980 ac_cpp='$CXXCPP $CPPFLAGS'
72981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72984
72985       cat >conftest.$ac_ext <<_ACEOF
72986 /* confdefs.h.  */
72987 _ACEOF
72988 cat confdefs.h >>conftest.$ac_ext
72989 cat >>conftest.$ac_ext <<_ACEOF
72990 /* end confdefs.h.  */
72991 #include <math.h>
72992 int
72993 main ()
72994 {
72995  _powf(0, 0);
72996   ;
72997   return 0;
72998 }
72999 _ACEOF
73000 rm -f conftest.$ac_objext
73001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73002   (eval $ac_compile) 2>conftest.er1
73003   ac_status=$?
73004   grep -v '^ *+' conftest.er1 >conftest.err
73005   rm -f conftest.er1
73006   cat conftest.err >&5
73007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73008   (exit $ac_status); } &&
73009          { ac_try='test -z "$ac_cxx_werror_flag"
73010                          || test ! -s conftest.err'
73011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73012   (eval $ac_try) 2>&5
73013   ac_status=$?
73014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73015   (exit $ac_status); }; } &&
73016          { ac_try='test -s conftest.$ac_objext'
73017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73018   (eval $ac_try) 2>&5
73019   ac_status=$?
73020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73021   (exit $ac_status); }; }; then
73022   glibcxx_cv_func__powf_use=yes
73023 else
73024   echo "$as_me: failed program was:" >&5
73025 sed 's/^/| /' conftest.$ac_ext >&5
73026
73027 glibcxx_cv_func__powf_use=no
73028 fi
73029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73030       ac_ext=c
73031 ac_cpp='$CPP $CPPFLAGS'
73032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73035
73036
73037 fi
73038
73039   fi
73040   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73041 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73042
73043     if test x$glibcxx_cv_func__powf_use = x"yes"; then
73044
73045 for ac_func in _powf
73046 do
73047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73048 echo "$as_me:$LINENO: checking for $ac_func" >&5
73049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73050 if eval "test \"\${$as_ac_var+set}\" = set"; then
73051   echo $ECHO_N "(cached) $ECHO_C" >&6
73052 else
73053   if test x$gcc_no_link = xyes; then
73054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73056    { (exit 1); exit 1; }; }
73057 fi
73058 cat >conftest.$ac_ext <<_ACEOF
73059 /* confdefs.h.  */
73060 _ACEOF
73061 cat confdefs.h >>conftest.$ac_ext
73062 cat >>conftest.$ac_ext <<_ACEOF
73063 /* end confdefs.h.  */
73064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73066 #define $ac_func innocuous_$ac_func
73067
73068 /* System header to define __stub macros and hopefully few prototypes,
73069     which can conflict with char $ac_func (); below.
73070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73071     <limits.h> exists even on freestanding compilers.  */
73072
73073 #ifdef __STDC__
73074 # include <limits.h>
73075 #else
73076 # include <assert.h>
73077 #endif
73078
73079 #undef $ac_func
73080
73081 /* Override any gcc2 internal prototype to avoid an error.  */
73082 #ifdef __cplusplus
73083 extern "C"
73084 {
73085 #endif
73086 /* We use char because int might match the return type of a gcc2
73087    builtin and then its argument prototype would still apply.  */
73088 char $ac_func ();
73089 /* The GNU C library defines this for functions which it implements
73090     to always fail with ENOSYS.  Some functions are actually named
73091     something starting with __ and the normal name is an alias.  */
73092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73093 choke me
73094 #else
73095 char (*f) () = $ac_func;
73096 #endif
73097 #ifdef __cplusplus
73098 }
73099 #endif
73100
73101 int
73102 main ()
73103 {
73104 return f != $ac_func;
73105   ;
73106   return 0;
73107 }
73108 _ACEOF
73109 rm -f conftest.$ac_objext conftest$ac_exeext
73110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73111   (eval $ac_link) 2>conftest.er1
73112   ac_status=$?
73113   grep -v '^ *+' conftest.er1 >conftest.err
73114   rm -f conftest.er1
73115   cat conftest.err >&5
73116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73117   (exit $ac_status); } &&
73118          { ac_try='test -z "$ac_c_werror_flag"
73119                          || test ! -s conftest.err'
73120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73121   (eval $ac_try) 2>&5
73122   ac_status=$?
73123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73124   (exit $ac_status); }; } &&
73125          { ac_try='test -s conftest$ac_exeext'
73126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73127   (eval $ac_try) 2>&5
73128   ac_status=$?
73129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73130   (exit $ac_status); }; }; then
73131   eval "$as_ac_var=yes"
73132 else
73133   echo "$as_me: failed program was:" >&5
73134 sed 's/^/| /' conftest.$ac_ext >&5
73135
73136 eval "$as_ac_var=no"
73137 fi
73138 rm -f conftest.err conftest.$ac_objext \
73139       conftest$ac_exeext conftest.$ac_ext
73140 fi
73141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73143 if test `eval echo '${'$as_ac_var'}'` = yes; then
73144   cat >>confdefs.h <<_ACEOF
73145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73146 _ACEOF
73147
73148 fi
73149 done
73150
73151     fi
73152   fi
73153
73154
73155
73156
73157
73158
73159   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73160 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73161   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73162     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73163   echo $ECHO_N "(cached) $ECHO_C" >&6
73164 else
73165
73166
73167
73168       ac_ext=cc
73169 ac_cpp='$CXXCPP $CPPFLAGS'
73170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73173
73174       cat >conftest.$ac_ext <<_ACEOF
73175 /* confdefs.h.  */
73176 _ACEOF
73177 cat confdefs.h >>conftest.$ac_ext
73178 cat >>conftest.$ac_ext <<_ACEOF
73179 /* end confdefs.h.  */
73180 #include <math.h>
73181                       #ifdef HAVE_IEEEFP_H
73182                       #include <ieeefp.h>
73183                       #endif
73184
73185 int
73186 main ()
73187 {
73188  sqrtf(0);
73189   ;
73190   return 0;
73191 }
73192 _ACEOF
73193 rm -f conftest.$ac_objext
73194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73195   (eval $ac_compile) 2>conftest.er1
73196   ac_status=$?
73197   grep -v '^ *+' conftest.er1 >conftest.err
73198   rm -f conftest.er1
73199   cat conftest.err >&5
73200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73201   (exit $ac_status); } &&
73202          { ac_try='test -z "$ac_cxx_werror_flag"
73203                          || test ! -s conftest.err'
73204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73205   (eval $ac_try) 2>&5
73206   ac_status=$?
73207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73208   (exit $ac_status); }; } &&
73209          { ac_try='test -s conftest.$ac_objext'
73210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73211   (eval $ac_try) 2>&5
73212   ac_status=$?
73213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73214   (exit $ac_status); }; }; then
73215   glibcxx_cv_func_sqrtf_use=yes
73216 else
73217   echo "$as_me: failed program was:" >&5
73218 sed 's/^/| /' conftest.$ac_ext >&5
73219
73220 glibcxx_cv_func_sqrtf_use=no
73221 fi
73222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73223       ac_ext=c
73224 ac_cpp='$CPP $CPPFLAGS'
73225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73228
73229
73230 fi
73231
73232   fi
73233   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73234 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73235
73236   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73237
73238 for ac_func in sqrtf
73239 do
73240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73241 echo "$as_me:$LINENO: checking for $ac_func" >&5
73242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73243 if eval "test \"\${$as_ac_var+set}\" = set"; then
73244   echo $ECHO_N "(cached) $ECHO_C" >&6
73245 else
73246   if test x$gcc_no_link = xyes; then
73247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73249    { (exit 1); exit 1; }; }
73250 fi
73251 cat >conftest.$ac_ext <<_ACEOF
73252 /* confdefs.h.  */
73253 _ACEOF
73254 cat confdefs.h >>conftest.$ac_ext
73255 cat >>conftest.$ac_ext <<_ACEOF
73256 /* end confdefs.h.  */
73257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73259 #define $ac_func innocuous_$ac_func
73260
73261 /* System header to define __stub macros and hopefully few prototypes,
73262     which can conflict with char $ac_func (); below.
73263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73264     <limits.h> exists even on freestanding compilers.  */
73265
73266 #ifdef __STDC__
73267 # include <limits.h>
73268 #else
73269 # include <assert.h>
73270 #endif
73271
73272 #undef $ac_func
73273
73274 /* Override any gcc2 internal prototype to avoid an error.  */
73275 #ifdef __cplusplus
73276 extern "C"
73277 {
73278 #endif
73279 /* We use char because int might match the return type of a gcc2
73280    builtin and then its argument prototype would still apply.  */
73281 char $ac_func ();
73282 /* The GNU C library defines this for functions which it implements
73283     to always fail with ENOSYS.  Some functions are actually named
73284     something starting with __ and the normal name is an alias.  */
73285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73286 choke me
73287 #else
73288 char (*f) () = $ac_func;
73289 #endif
73290 #ifdef __cplusplus
73291 }
73292 #endif
73293
73294 int
73295 main ()
73296 {
73297 return f != $ac_func;
73298   ;
73299   return 0;
73300 }
73301 _ACEOF
73302 rm -f conftest.$ac_objext conftest$ac_exeext
73303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73304   (eval $ac_link) 2>conftest.er1
73305   ac_status=$?
73306   grep -v '^ *+' conftest.er1 >conftest.err
73307   rm -f conftest.er1
73308   cat conftest.err >&5
73309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73310   (exit $ac_status); } &&
73311          { ac_try='test -z "$ac_c_werror_flag"
73312                          || test ! -s conftest.err'
73313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73314   (eval $ac_try) 2>&5
73315   ac_status=$?
73316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73317   (exit $ac_status); }; } &&
73318          { ac_try='test -s conftest$ac_exeext'
73319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73320   (eval $ac_try) 2>&5
73321   ac_status=$?
73322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73323   (exit $ac_status); }; }; then
73324   eval "$as_ac_var=yes"
73325 else
73326   echo "$as_me: failed program was:" >&5
73327 sed 's/^/| /' conftest.$ac_ext >&5
73328
73329 eval "$as_ac_var=no"
73330 fi
73331 rm -f conftest.err conftest.$ac_objext \
73332       conftest$ac_exeext conftest.$ac_ext
73333 fi
73334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73336 if test `eval echo '${'$as_ac_var'}'` = yes; then
73337   cat >>confdefs.h <<_ACEOF
73338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73339 _ACEOF
73340
73341 fi
73342 done
73343
73344   else
73345
73346   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73347 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73348   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73349     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73350   echo $ECHO_N "(cached) $ECHO_C" >&6
73351 else
73352
73353
73354
73355       ac_ext=cc
73356 ac_cpp='$CXXCPP $CPPFLAGS'
73357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73360
73361       cat >conftest.$ac_ext <<_ACEOF
73362 /* confdefs.h.  */
73363 _ACEOF
73364 cat confdefs.h >>conftest.$ac_ext
73365 cat >>conftest.$ac_ext <<_ACEOF
73366 /* end confdefs.h.  */
73367 #include <math.h>
73368                       #ifdef HAVE_IEEEFP_H
73369                       #include <ieeefp.h>
73370                       #endif
73371
73372 int
73373 main ()
73374 {
73375  _sqrtf(0);
73376   ;
73377   return 0;
73378 }
73379 _ACEOF
73380 rm -f conftest.$ac_objext
73381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73382   (eval $ac_compile) 2>conftest.er1
73383   ac_status=$?
73384   grep -v '^ *+' conftest.er1 >conftest.err
73385   rm -f conftest.er1
73386   cat conftest.err >&5
73387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73388   (exit $ac_status); } &&
73389          { ac_try='test -z "$ac_cxx_werror_flag"
73390                          || test ! -s conftest.err'
73391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73392   (eval $ac_try) 2>&5
73393   ac_status=$?
73394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73395   (exit $ac_status); }; } &&
73396          { ac_try='test -s conftest.$ac_objext'
73397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73398   (eval $ac_try) 2>&5
73399   ac_status=$?
73400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73401   (exit $ac_status); }; }; then
73402   glibcxx_cv_func__sqrtf_use=yes
73403 else
73404   echo "$as_me: failed program was:" >&5
73405 sed 's/^/| /' conftest.$ac_ext >&5
73406
73407 glibcxx_cv_func__sqrtf_use=no
73408 fi
73409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73410       ac_ext=c
73411 ac_cpp='$CPP $CPPFLAGS'
73412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73415
73416
73417 fi
73418
73419   fi
73420   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73421 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73422
73423     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73424
73425 for ac_func in _sqrtf
73426 do
73427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73428 echo "$as_me:$LINENO: checking for $ac_func" >&5
73429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73430 if eval "test \"\${$as_ac_var+set}\" = set"; then
73431   echo $ECHO_N "(cached) $ECHO_C" >&6
73432 else
73433   if test x$gcc_no_link = xyes; then
73434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73436    { (exit 1); exit 1; }; }
73437 fi
73438 cat >conftest.$ac_ext <<_ACEOF
73439 /* confdefs.h.  */
73440 _ACEOF
73441 cat confdefs.h >>conftest.$ac_ext
73442 cat >>conftest.$ac_ext <<_ACEOF
73443 /* end confdefs.h.  */
73444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73445    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73446 #define $ac_func innocuous_$ac_func
73447
73448 /* System header to define __stub macros and hopefully few prototypes,
73449     which can conflict with char $ac_func (); below.
73450     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73451     <limits.h> exists even on freestanding compilers.  */
73452
73453 #ifdef __STDC__
73454 # include <limits.h>
73455 #else
73456 # include <assert.h>
73457 #endif
73458
73459 #undef $ac_func
73460
73461 /* Override any gcc2 internal prototype to avoid an error.  */
73462 #ifdef __cplusplus
73463 extern "C"
73464 {
73465 #endif
73466 /* We use char because int might match the return type of a gcc2
73467    builtin and then its argument prototype would still apply.  */
73468 char $ac_func ();
73469 /* The GNU C library defines this for functions which it implements
73470     to always fail with ENOSYS.  Some functions are actually named
73471     something starting with __ and the normal name is an alias.  */
73472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73473 choke me
73474 #else
73475 char (*f) () = $ac_func;
73476 #endif
73477 #ifdef __cplusplus
73478 }
73479 #endif
73480
73481 int
73482 main ()
73483 {
73484 return f != $ac_func;
73485   ;
73486   return 0;
73487 }
73488 _ACEOF
73489 rm -f conftest.$ac_objext conftest$ac_exeext
73490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73491   (eval $ac_link) 2>conftest.er1
73492   ac_status=$?
73493   grep -v '^ *+' conftest.er1 >conftest.err
73494   rm -f conftest.er1
73495   cat conftest.err >&5
73496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73497   (exit $ac_status); } &&
73498          { ac_try='test -z "$ac_c_werror_flag"
73499                          || test ! -s conftest.err'
73500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73501   (eval $ac_try) 2>&5
73502   ac_status=$?
73503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73504   (exit $ac_status); }; } &&
73505          { ac_try='test -s conftest$ac_exeext'
73506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73507   (eval $ac_try) 2>&5
73508   ac_status=$?
73509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73510   (exit $ac_status); }; }; then
73511   eval "$as_ac_var=yes"
73512 else
73513   echo "$as_me: failed program was:" >&5
73514 sed 's/^/| /' conftest.$ac_ext >&5
73515
73516 eval "$as_ac_var=no"
73517 fi
73518 rm -f conftest.err conftest.$ac_objext \
73519       conftest$ac_exeext conftest.$ac_ext
73520 fi
73521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73523 if test `eval echo '${'$as_ac_var'}'` = yes; then
73524   cat >>confdefs.h <<_ACEOF
73525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73526 _ACEOF
73527
73528 fi
73529 done
73530
73531     fi
73532   fi
73533
73534
73535
73536
73537
73538
73539   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73540 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73541   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73542     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73543   echo $ECHO_N "(cached) $ECHO_C" >&6
73544 else
73545
73546
73547
73548       ac_ext=cc
73549 ac_cpp='$CXXCPP $CPPFLAGS'
73550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73553
73554       cat >conftest.$ac_ext <<_ACEOF
73555 /* confdefs.h.  */
73556 _ACEOF
73557 cat confdefs.h >>conftest.$ac_ext
73558 cat >>conftest.$ac_ext <<_ACEOF
73559 /* end confdefs.h.  */
73560 #include <math.h>
73561 int
73562 main ()
73563 {
73564  sincosf(0, 0, 0);
73565   ;
73566   return 0;
73567 }
73568 _ACEOF
73569 rm -f conftest.$ac_objext
73570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73571   (eval $ac_compile) 2>conftest.er1
73572   ac_status=$?
73573   grep -v '^ *+' conftest.er1 >conftest.err
73574   rm -f conftest.er1
73575   cat conftest.err >&5
73576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73577   (exit $ac_status); } &&
73578          { ac_try='test -z "$ac_cxx_werror_flag"
73579                          || test ! -s conftest.err'
73580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73581   (eval $ac_try) 2>&5
73582   ac_status=$?
73583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73584   (exit $ac_status); }; } &&
73585          { ac_try='test -s conftest.$ac_objext'
73586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73587   (eval $ac_try) 2>&5
73588   ac_status=$?
73589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73590   (exit $ac_status); }; }; then
73591   glibcxx_cv_func_sincosf_use=yes
73592 else
73593   echo "$as_me: failed program was:" >&5
73594 sed 's/^/| /' conftest.$ac_ext >&5
73595
73596 glibcxx_cv_func_sincosf_use=no
73597 fi
73598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73599       ac_ext=c
73600 ac_cpp='$CPP $CPPFLAGS'
73601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73604
73605
73606 fi
73607
73608   fi
73609   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73610 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73611
73612   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73613
73614 for ac_func in sincosf
73615 do
73616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73617 echo "$as_me:$LINENO: checking for $ac_func" >&5
73618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73619 if eval "test \"\${$as_ac_var+set}\" = set"; then
73620   echo $ECHO_N "(cached) $ECHO_C" >&6
73621 else
73622   if test x$gcc_no_link = xyes; then
73623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73625    { (exit 1); exit 1; }; }
73626 fi
73627 cat >conftest.$ac_ext <<_ACEOF
73628 /* confdefs.h.  */
73629 _ACEOF
73630 cat confdefs.h >>conftest.$ac_ext
73631 cat >>conftest.$ac_ext <<_ACEOF
73632 /* end confdefs.h.  */
73633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73634    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73635 #define $ac_func innocuous_$ac_func
73636
73637 /* System header to define __stub macros and hopefully few prototypes,
73638     which can conflict with char $ac_func (); below.
73639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73640     <limits.h> exists even on freestanding compilers.  */
73641
73642 #ifdef __STDC__
73643 # include <limits.h>
73644 #else
73645 # include <assert.h>
73646 #endif
73647
73648 #undef $ac_func
73649
73650 /* Override any gcc2 internal prototype to avoid an error.  */
73651 #ifdef __cplusplus
73652 extern "C"
73653 {
73654 #endif
73655 /* We use char because int might match the return type of a gcc2
73656    builtin and then its argument prototype would still apply.  */
73657 char $ac_func ();
73658 /* The GNU C library defines this for functions which it implements
73659     to always fail with ENOSYS.  Some functions are actually named
73660     something starting with __ and the normal name is an alias.  */
73661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73662 choke me
73663 #else
73664 char (*f) () = $ac_func;
73665 #endif
73666 #ifdef __cplusplus
73667 }
73668 #endif
73669
73670 int
73671 main ()
73672 {
73673 return f != $ac_func;
73674   ;
73675   return 0;
73676 }
73677 _ACEOF
73678 rm -f conftest.$ac_objext conftest$ac_exeext
73679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73680   (eval $ac_link) 2>conftest.er1
73681   ac_status=$?
73682   grep -v '^ *+' conftest.er1 >conftest.err
73683   rm -f conftest.er1
73684   cat conftest.err >&5
73685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73686   (exit $ac_status); } &&
73687          { ac_try='test -z "$ac_c_werror_flag"
73688                          || test ! -s conftest.err'
73689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73690   (eval $ac_try) 2>&5
73691   ac_status=$?
73692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73693   (exit $ac_status); }; } &&
73694          { ac_try='test -s conftest$ac_exeext'
73695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73696   (eval $ac_try) 2>&5
73697   ac_status=$?
73698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73699   (exit $ac_status); }; }; then
73700   eval "$as_ac_var=yes"
73701 else
73702   echo "$as_me: failed program was:" >&5
73703 sed 's/^/| /' conftest.$ac_ext >&5
73704
73705 eval "$as_ac_var=no"
73706 fi
73707 rm -f conftest.err conftest.$ac_objext \
73708       conftest$ac_exeext conftest.$ac_ext
73709 fi
73710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73712 if test `eval echo '${'$as_ac_var'}'` = yes; then
73713   cat >>confdefs.h <<_ACEOF
73714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73715 _ACEOF
73716
73717 fi
73718 done
73719
73720   else
73721
73722   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73723 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73724   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73725     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73726   echo $ECHO_N "(cached) $ECHO_C" >&6
73727 else
73728
73729
73730
73731       ac_ext=cc
73732 ac_cpp='$CXXCPP $CPPFLAGS'
73733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73736
73737       cat >conftest.$ac_ext <<_ACEOF
73738 /* confdefs.h.  */
73739 _ACEOF
73740 cat confdefs.h >>conftest.$ac_ext
73741 cat >>conftest.$ac_ext <<_ACEOF
73742 /* end confdefs.h.  */
73743 #include <math.h>
73744 int
73745 main ()
73746 {
73747  _sincosf(0, 0, 0);
73748   ;
73749   return 0;
73750 }
73751 _ACEOF
73752 rm -f conftest.$ac_objext
73753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73754   (eval $ac_compile) 2>conftest.er1
73755   ac_status=$?
73756   grep -v '^ *+' conftest.er1 >conftest.err
73757   rm -f conftest.er1
73758   cat conftest.err >&5
73759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73760   (exit $ac_status); } &&
73761          { ac_try='test -z "$ac_cxx_werror_flag"
73762                          || test ! -s conftest.err'
73763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73764   (eval $ac_try) 2>&5
73765   ac_status=$?
73766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73767   (exit $ac_status); }; } &&
73768          { ac_try='test -s conftest.$ac_objext'
73769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73770   (eval $ac_try) 2>&5
73771   ac_status=$?
73772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73773   (exit $ac_status); }; }; then
73774   glibcxx_cv_func__sincosf_use=yes
73775 else
73776   echo "$as_me: failed program was:" >&5
73777 sed 's/^/| /' conftest.$ac_ext >&5
73778
73779 glibcxx_cv_func__sincosf_use=no
73780 fi
73781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73782       ac_ext=c
73783 ac_cpp='$CPP $CPPFLAGS'
73784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73787
73788
73789 fi
73790
73791   fi
73792   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73793 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73794
73795     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73796
73797 for ac_func in _sincosf
73798 do
73799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73800 echo "$as_me:$LINENO: checking for $ac_func" >&5
73801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73802 if eval "test \"\${$as_ac_var+set}\" = set"; then
73803   echo $ECHO_N "(cached) $ECHO_C" >&6
73804 else
73805   if test x$gcc_no_link = xyes; then
73806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73808    { (exit 1); exit 1; }; }
73809 fi
73810 cat >conftest.$ac_ext <<_ACEOF
73811 /* confdefs.h.  */
73812 _ACEOF
73813 cat confdefs.h >>conftest.$ac_ext
73814 cat >>conftest.$ac_ext <<_ACEOF
73815 /* end confdefs.h.  */
73816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73818 #define $ac_func innocuous_$ac_func
73819
73820 /* System header to define __stub macros and hopefully few prototypes,
73821     which can conflict with char $ac_func (); below.
73822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73823     <limits.h> exists even on freestanding compilers.  */
73824
73825 #ifdef __STDC__
73826 # include <limits.h>
73827 #else
73828 # include <assert.h>
73829 #endif
73830
73831 #undef $ac_func
73832
73833 /* Override any gcc2 internal prototype to avoid an error.  */
73834 #ifdef __cplusplus
73835 extern "C"
73836 {
73837 #endif
73838 /* We use char because int might match the return type of a gcc2
73839    builtin and then its argument prototype would still apply.  */
73840 char $ac_func ();
73841 /* The GNU C library defines this for functions which it implements
73842     to always fail with ENOSYS.  Some functions are actually named
73843     something starting with __ and the normal name is an alias.  */
73844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73845 choke me
73846 #else
73847 char (*f) () = $ac_func;
73848 #endif
73849 #ifdef __cplusplus
73850 }
73851 #endif
73852
73853 int
73854 main ()
73855 {
73856 return f != $ac_func;
73857   ;
73858   return 0;
73859 }
73860 _ACEOF
73861 rm -f conftest.$ac_objext conftest$ac_exeext
73862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73863   (eval $ac_link) 2>conftest.er1
73864   ac_status=$?
73865   grep -v '^ *+' conftest.er1 >conftest.err
73866   rm -f conftest.er1
73867   cat conftest.err >&5
73868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73869   (exit $ac_status); } &&
73870          { ac_try='test -z "$ac_c_werror_flag"
73871                          || test ! -s conftest.err'
73872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73873   (eval $ac_try) 2>&5
73874   ac_status=$?
73875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73876   (exit $ac_status); }; } &&
73877          { ac_try='test -s conftest$ac_exeext'
73878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73879   (eval $ac_try) 2>&5
73880   ac_status=$?
73881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73882   (exit $ac_status); }; }; then
73883   eval "$as_ac_var=yes"
73884 else
73885   echo "$as_me: failed program was:" >&5
73886 sed 's/^/| /' conftest.$ac_ext >&5
73887
73888 eval "$as_ac_var=no"
73889 fi
73890 rm -f conftest.err conftest.$ac_objext \
73891       conftest$ac_exeext conftest.$ac_ext
73892 fi
73893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73895 if test `eval echo '${'$as_ac_var'}'` = yes; then
73896   cat >>confdefs.h <<_ACEOF
73897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73898 _ACEOF
73899
73900 fi
73901 done
73902
73903     fi
73904   fi
73905
73906
73907
73908
73909
73910
73911   echo "$as_me:$LINENO: checking for finitef declaration" >&5
73912 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
73913   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
73914     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
73915   echo $ECHO_N "(cached) $ECHO_C" >&6
73916 else
73917
73918
73919
73920       ac_ext=cc
73921 ac_cpp='$CXXCPP $CPPFLAGS'
73922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73925
73926       cat >conftest.$ac_ext <<_ACEOF
73927 /* confdefs.h.  */
73928 _ACEOF
73929 cat confdefs.h >>conftest.$ac_ext
73930 cat >>conftest.$ac_ext <<_ACEOF
73931 /* end confdefs.h.  */
73932 #include <math.h>
73933                       #ifdef HAVE_IEEEFP_H
73934                       #include <ieeefp.h>
73935                       #endif
73936
73937 int
73938 main ()
73939 {
73940  finitef(0);
73941   ;
73942   return 0;
73943 }
73944 _ACEOF
73945 rm -f conftest.$ac_objext
73946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73947   (eval $ac_compile) 2>conftest.er1
73948   ac_status=$?
73949   grep -v '^ *+' conftest.er1 >conftest.err
73950   rm -f conftest.er1
73951   cat conftest.err >&5
73952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73953   (exit $ac_status); } &&
73954          { ac_try='test -z "$ac_cxx_werror_flag"
73955                          || test ! -s conftest.err'
73956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73957   (eval $ac_try) 2>&5
73958   ac_status=$?
73959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73960   (exit $ac_status); }; } &&
73961          { ac_try='test -s conftest.$ac_objext'
73962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73963   (eval $ac_try) 2>&5
73964   ac_status=$?
73965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73966   (exit $ac_status); }; }; then
73967   glibcxx_cv_func_finitef_use=yes
73968 else
73969   echo "$as_me: failed program was:" >&5
73970 sed 's/^/| /' conftest.$ac_ext >&5
73971
73972 glibcxx_cv_func_finitef_use=no
73973 fi
73974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73975       ac_ext=c
73976 ac_cpp='$CPP $CPPFLAGS'
73977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73980
73981
73982 fi
73983
73984   fi
73985   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73986 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73987
73988   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73989
73990 for ac_func in finitef
73991 do
73992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73993 echo "$as_me:$LINENO: checking for $ac_func" >&5
73994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73995 if eval "test \"\${$as_ac_var+set}\" = set"; then
73996   echo $ECHO_N "(cached) $ECHO_C" >&6
73997 else
73998   if test x$gcc_no_link = xyes; then
73999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74001    { (exit 1); exit 1; }; }
74002 fi
74003 cat >conftest.$ac_ext <<_ACEOF
74004 /* confdefs.h.  */
74005 _ACEOF
74006 cat confdefs.h >>conftest.$ac_ext
74007 cat >>conftest.$ac_ext <<_ACEOF
74008 /* end confdefs.h.  */
74009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74011 #define $ac_func innocuous_$ac_func
74012
74013 /* System header to define __stub macros and hopefully few prototypes,
74014     which can conflict with char $ac_func (); below.
74015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74016     <limits.h> exists even on freestanding compilers.  */
74017
74018 #ifdef __STDC__
74019 # include <limits.h>
74020 #else
74021 # include <assert.h>
74022 #endif
74023
74024 #undef $ac_func
74025
74026 /* Override any gcc2 internal prototype to avoid an error.  */
74027 #ifdef __cplusplus
74028 extern "C"
74029 {
74030 #endif
74031 /* We use char because int might match the return type of a gcc2
74032    builtin and then its argument prototype would still apply.  */
74033 char $ac_func ();
74034 /* The GNU C library defines this for functions which it implements
74035     to always fail with ENOSYS.  Some functions are actually named
74036     something starting with __ and the normal name is an alias.  */
74037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74038 choke me
74039 #else
74040 char (*f) () = $ac_func;
74041 #endif
74042 #ifdef __cplusplus
74043 }
74044 #endif
74045
74046 int
74047 main ()
74048 {
74049 return f != $ac_func;
74050   ;
74051   return 0;
74052 }
74053 _ACEOF
74054 rm -f conftest.$ac_objext conftest$ac_exeext
74055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74056   (eval $ac_link) 2>conftest.er1
74057   ac_status=$?
74058   grep -v '^ *+' conftest.er1 >conftest.err
74059   rm -f conftest.er1
74060   cat conftest.err >&5
74061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74062   (exit $ac_status); } &&
74063          { ac_try='test -z "$ac_c_werror_flag"
74064                          || test ! -s conftest.err'
74065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74066   (eval $ac_try) 2>&5
74067   ac_status=$?
74068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74069   (exit $ac_status); }; } &&
74070          { ac_try='test -s conftest$ac_exeext'
74071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74072   (eval $ac_try) 2>&5
74073   ac_status=$?
74074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74075   (exit $ac_status); }; }; then
74076   eval "$as_ac_var=yes"
74077 else
74078   echo "$as_me: failed program was:" >&5
74079 sed 's/^/| /' conftest.$ac_ext >&5
74080
74081 eval "$as_ac_var=no"
74082 fi
74083 rm -f conftest.err conftest.$ac_objext \
74084       conftest$ac_exeext conftest.$ac_ext
74085 fi
74086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74088 if test `eval echo '${'$as_ac_var'}'` = yes; then
74089   cat >>confdefs.h <<_ACEOF
74090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74091 _ACEOF
74092
74093 fi
74094 done
74095
74096   else
74097
74098   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74099 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74100   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74101     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74102   echo $ECHO_N "(cached) $ECHO_C" >&6
74103 else
74104
74105
74106
74107       ac_ext=cc
74108 ac_cpp='$CXXCPP $CPPFLAGS'
74109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74112
74113       cat >conftest.$ac_ext <<_ACEOF
74114 /* confdefs.h.  */
74115 _ACEOF
74116 cat confdefs.h >>conftest.$ac_ext
74117 cat >>conftest.$ac_ext <<_ACEOF
74118 /* end confdefs.h.  */
74119 #include <math.h>
74120                       #ifdef HAVE_IEEEFP_H
74121                       #include <ieeefp.h>
74122                       #endif
74123
74124 int
74125 main ()
74126 {
74127  _finitef(0);
74128   ;
74129   return 0;
74130 }
74131 _ACEOF
74132 rm -f conftest.$ac_objext
74133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74134   (eval $ac_compile) 2>conftest.er1
74135   ac_status=$?
74136   grep -v '^ *+' conftest.er1 >conftest.err
74137   rm -f conftest.er1
74138   cat conftest.err >&5
74139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74140   (exit $ac_status); } &&
74141          { ac_try='test -z "$ac_cxx_werror_flag"
74142                          || test ! -s conftest.err'
74143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74144   (eval $ac_try) 2>&5
74145   ac_status=$?
74146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74147   (exit $ac_status); }; } &&
74148          { ac_try='test -s conftest.$ac_objext'
74149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74150   (eval $ac_try) 2>&5
74151   ac_status=$?
74152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74153   (exit $ac_status); }; }; then
74154   glibcxx_cv_func__finitef_use=yes
74155 else
74156   echo "$as_me: failed program was:" >&5
74157 sed 's/^/| /' conftest.$ac_ext >&5
74158
74159 glibcxx_cv_func__finitef_use=no
74160 fi
74161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74162       ac_ext=c
74163 ac_cpp='$CPP $CPPFLAGS'
74164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74167
74168
74169 fi
74170
74171   fi
74172   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74173 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74174
74175     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74176
74177 for ac_func in _finitef
74178 do
74179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74180 echo "$as_me:$LINENO: checking for $ac_func" >&5
74181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74182 if eval "test \"\${$as_ac_var+set}\" = set"; then
74183   echo $ECHO_N "(cached) $ECHO_C" >&6
74184 else
74185   if test x$gcc_no_link = xyes; then
74186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74188    { (exit 1); exit 1; }; }
74189 fi
74190 cat >conftest.$ac_ext <<_ACEOF
74191 /* confdefs.h.  */
74192 _ACEOF
74193 cat confdefs.h >>conftest.$ac_ext
74194 cat >>conftest.$ac_ext <<_ACEOF
74195 /* end confdefs.h.  */
74196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74197    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74198 #define $ac_func innocuous_$ac_func
74199
74200 /* System header to define __stub macros and hopefully few prototypes,
74201     which can conflict with char $ac_func (); below.
74202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74203     <limits.h> exists even on freestanding compilers.  */
74204
74205 #ifdef __STDC__
74206 # include <limits.h>
74207 #else
74208 # include <assert.h>
74209 #endif
74210
74211 #undef $ac_func
74212
74213 /* Override any gcc2 internal prototype to avoid an error.  */
74214 #ifdef __cplusplus
74215 extern "C"
74216 {
74217 #endif
74218 /* We use char because int might match the return type of a gcc2
74219    builtin and then its argument prototype would still apply.  */
74220 char $ac_func ();
74221 /* The GNU C library defines this for functions which it implements
74222     to always fail with ENOSYS.  Some functions are actually named
74223     something starting with __ and the normal name is an alias.  */
74224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74225 choke me
74226 #else
74227 char (*f) () = $ac_func;
74228 #endif
74229 #ifdef __cplusplus
74230 }
74231 #endif
74232
74233 int
74234 main ()
74235 {
74236 return f != $ac_func;
74237   ;
74238   return 0;
74239 }
74240 _ACEOF
74241 rm -f conftest.$ac_objext conftest$ac_exeext
74242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74243   (eval $ac_link) 2>conftest.er1
74244   ac_status=$?
74245   grep -v '^ *+' conftest.er1 >conftest.err
74246   rm -f conftest.er1
74247   cat conftest.err >&5
74248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74249   (exit $ac_status); } &&
74250          { ac_try='test -z "$ac_c_werror_flag"
74251                          || test ! -s conftest.err'
74252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74253   (eval $ac_try) 2>&5
74254   ac_status=$?
74255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74256   (exit $ac_status); }; } &&
74257          { ac_try='test -s conftest$ac_exeext'
74258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74259   (eval $ac_try) 2>&5
74260   ac_status=$?
74261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74262   (exit $ac_status); }; }; then
74263   eval "$as_ac_var=yes"
74264 else
74265   echo "$as_me: failed program was:" >&5
74266 sed 's/^/| /' conftest.$ac_ext >&5
74267
74268 eval "$as_ac_var=no"
74269 fi
74270 rm -f conftest.err conftest.$ac_objext \
74271       conftest$ac_exeext conftest.$ac_ext
74272 fi
74273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74275 if test `eval echo '${'$as_ac_var'}'` = yes; then
74276   cat >>confdefs.h <<_ACEOF
74277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74278 _ACEOF
74279
74280 fi
74281 done
74282
74283     fi
74284   fi
74285
74286
74287
74288
74289
74290
74291     echo "$as_me:$LINENO: checking for long double trig functions" >&5
74292 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74293   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74294   echo $ECHO_N "(cached) $ECHO_C" >&6
74295 else
74296
74297
74298
74299     ac_ext=cc
74300 ac_cpp='$CXXCPP $CPPFLAGS'
74301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74304
74305     cat >conftest.$ac_ext <<_ACEOF
74306 /* confdefs.h.  */
74307 _ACEOF
74308 cat confdefs.h >>conftest.$ac_ext
74309 cat >>conftest.$ac_ext <<_ACEOF
74310 /* end confdefs.h.  */
74311 #include <math.h>
74312 int
74313 main ()
74314 {
74315 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74316   ;
74317   return 0;
74318 }
74319 _ACEOF
74320 rm -f conftest.$ac_objext
74321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74322   (eval $ac_compile) 2>conftest.er1
74323   ac_status=$?
74324   grep -v '^ *+' conftest.er1 >conftest.err
74325   rm -f conftest.er1
74326   cat conftest.err >&5
74327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74328   (exit $ac_status); } &&
74329          { ac_try='test -z "$ac_cxx_werror_flag"
74330                          || test ! -s conftest.err'
74331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74332   (eval $ac_try) 2>&5
74333   ac_status=$?
74334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74335   (exit $ac_status); }; } &&
74336          { ac_try='test -s conftest.$ac_objext'
74337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74338   (eval $ac_try) 2>&5
74339   ac_status=$?
74340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74341   (exit $ac_status); }; }; then
74342   glibcxx_cv_func_long_double_trig_use=yes
74343 else
74344   echo "$as_me: failed program was:" >&5
74345 sed 's/^/| /' conftest.$ac_ext >&5
74346
74347 glibcxx_cv_func_long_double_trig_use=no
74348 fi
74349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74350     ac_ext=c
74351 ac_cpp='$CPP $CPPFLAGS'
74352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74355
74356 fi
74357
74358   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74359 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74360   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74361
74362
74363
74364
74365
74366
74367
74368
74369
74370 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74371 do
74372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74373 echo "$as_me:$LINENO: checking for $ac_func" >&5
74374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74375 if eval "test \"\${$as_ac_var+set}\" = set"; then
74376   echo $ECHO_N "(cached) $ECHO_C" >&6
74377 else
74378   if test x$gcc_no_link = xyes; then
74379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74381    { (exit 1); exit 1; }; }
74382 fi
74383 cat >conftest.$ac_ext <<_ACEOF
74384 /* confdefs.h.  */
74385 _ACEOF
74386 cat confdefs.h >>conftest.$ac_ext
74387 cat >>conftest.$ac_ext <<_ACEOF
74388 /* end confdefs.h.  */
74389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74391 #define $ac_func innocuous_$ac_func
74392
74393 /* System header to define __stub macros and hopefully few prototypes,
74394     which can conflict with char $ac_func (); below.
74395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74396     <limits.h> exists even on freestanding compilers.  */
74397
74398 #ifdef __STDC__
74399 # include <limits.h>
74400 #else
74401 # include <assert.h>
74402 #endif
74403
74404 #undef $ac_func
74405
74406 /* Override any gcc2 internal prototype to avoid an error.  */
74407 #ifdef __cplusplus
74408 extern "C"
74409 {
74410 #endif
74411 /* We use char because int might match the return type of a gcc2
74412    builtin and then its argument prototype would still apply.  */
74413 char $ac_func ();
74414 /* The GNU C library defines this for functions which it implements
74415     to always fail with ENOSYS.  Some functions are actually named
74416     something starting with __ and the normal name is an alias.  */
74417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74418 choke me
74419 #else
74420 char (*f) () = $ac_func;
74421 #endif
74422 #ifdef __cplusplus
74423 }
74424 #endif
74425
74426 int
74427 main ()
74428 {
74429 return f != $ac_func;
74430   ;
74431   return 0;
74432 }
74433 _ACEOF
74434 rm -f conftest.$ac_objext conftest$ac_exeext
74435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74436   (eval $ac_link) 2>conftest.er1
74437   ac_status=$?
74438   grep -v '^ *+' conftest.er1 >conftest.err
74439   rm -f conftest.er1
74440   cat conftest.err >&5
74441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74442   (exit $ac_status); } &&
74443          { ac_try='test -z "$ac_c_werror_flag"
74444                          || test ! -s conftest.err'
74445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74446   (eval $ac_try) 2>&5
74447   ac_status=$?
74448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74449   (exit $ac_status); }; } &&
74450          { ac_try='test -s conftest$ac_exeext'
74451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74452   (eval $ac_try) 2>&5
74453   ac_status=$?
74454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74455   (exit $ac_status); }; }; then
74456   eval "$as_ac_var=yes"
74457 else
74458   echo "$as_me: failed program was:" >&5
74459 sed 's/^/| /' conftest.$ac_ext >&5
74460
74461 eval "$as_ac_var=no"
74462 fi
74463 rm -f conftest.err conftest.$ac_objext \
74464       conftest$ac_exeext conftest.$ac_ext
74465 fi
74466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74468 if test `eval echo '${'$as_ac_var'}'` = yes; then
74469   cat >>confdefs.h <<_ACEOF
74470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74471 _ACEOF
74472
74473 fi
74474 done
74475
74476   else
74477     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74478 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74479     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74480   echo $ECHO_N "(cached) $ECHO_C" >&6
74481 else
74482
74483
74484
74485       ac_ext=cc
74486 ac_cpp='$CXXCPP $CPPFLAGS'
74487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74490
74491       cat >conftest.$ac_ext <<_ACEOF
74492 /* confdefs.h.  */
74493 _ACEOF
74494 cat confdefs.h >>conftest.$ac_ext
74495 cat >>conftest.$ac_ext <<_ACEOF
74496 /* end confdefs.h.  */
74497 #include <math.h>
74498 int
74499 main ()
74500 {
74501 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74502   ;
74503   return 0;
74504 }
74505 _ACEOF
74506 rm -f conftest.$ac_objext
74507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74508   (eval $ac_compile) 2>conftest.er1
74509   ac_status=$?
74510   grep -v '^ *+' conftest.er1 >conftest.err
74511   rm -f conftest.er1
74512   cat conftest.err >&5
74513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74514   (exit $ac_status); } &&
74515          { ac_try='test -z "$ac_cxx_werror_flag"
74516                          || test ! -s conftest.err'
74517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74518   (eval $ac_try) 2>&5
74519   ac_status=$?
74520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74521   (exit $ac_status); }; } &&
74522          { ac_try='test -s conftest.$ac_objext'
74523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74524   (eval $ac_try) 2>&5
74525   ac_status=$?
74526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74527   (exit $ac_status); }; }; then
74528   glibcxx_cv_func__long_double_trig_use=yes
74529 else
74530   echo "$as_me: failed program was:" >&5
74531 sed 's/^/| /' conftest.$ac_ext >&5
74532
74533 glibcxx_cv_func__long_double_trig_use=no
74534 fi
74535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74536       ac_ext=c
74537 ac_cpp='$CPP $CPPFLAGS'
74538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74541
74542 fi
74543
74544     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74545 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74546     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74547
74548
74549
74550
74551
74552
74553
74554
74555
74556 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
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
74671
74672
74673
74674
74675
74676
74677
74678     echo "$as_me:$LINENO: checking for long double round functions" >&5
74679 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74680   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74681   echo $ECHO_N "(cached) $ECHO_C" >&6
74682 else
74683
74684
74685
74686     ac_ext=cc
74687 ac_cpp='$CXXCPP $CPPFLAGS'
74688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74691
74692     cat >conftest.$ac_ext <<_ACEOF
74693 /* confdefs.h.  */
74694 _ACEOF
74695 cat confdefs.h >>conftest.$ac_ext
74696 cat >>conftest.$ac_ext <<_ACEOF
74697 /* end confdefs.h.  */
74698 #include <math.h>
74699 int
74700 main ()
74701 {
74702 ceill (0); floorl (0);
74703   ;
74704   return 0;
74705 }
74706 _ACEOF
74707 rm -f conftest.$ac_objext
74708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74709   (eval $ac_compile) 2>conftest.er1
74710   ac_status=$?
74711   grep -v '^ *+' conftest.er1 >conftest.err
74712   rm -f conftest.er1
74713   cat conftest.err >&5
74714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74715   (exit $ac_status); } &&
74716          { ac_try='test -z "$ac_cxx_werror_flag"
74717                          || test ! -s conftest.err'
74718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74719   (eval $ac_try) 2>&5
74720   ac_status=$?
74721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74722   (exit $ac_status); }; } &&
74723          { ac_try='test -s conftest.$ac_objext'
74724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74725   (eval $ac_try) 2>&5
74726   ac_status=$?
74727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74728   (exit $ac_status); }; }; then
74729   glibcxx_cv_func_long_double_round_use=yes
74730 else
74731   echo "$as_me: failed program was:" >&5
74732 sed 's/^/| /' conftest.$ac_ext >&5
74733
74734 glibcxx_cv_func_long_double_round_use=no
74735 fi
74736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74737     ac_ext=c
74738 ac_cpp='$CPP $CPPFLAGS'
74739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74742
74743 fi
74744
74745   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74746 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74747   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74748
74749
74750 for ac_func in ceill floorl
74751 do
74752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74753 echo "$as_me:$LINENO: checking for $ac_func" >&5
74754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74755 if eval "test \"\${$as_ac_var+set}\" = set"; then
74756   echo $ECHO_N "(cached) $ECHO_C" >&6
74757 else
74758   if test x$gcc_no_link = xyes; then
74759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74761    { (exit 1); exit 1; }; }
74762 fi
74763 cat >conftest.$ac_ext <<_ACEOF
74764 /* confdefs.h.  */
74765 _ACEOF
74766 cat confdefs.h >>conftest.$ac_ext
74767 cat >>conftest.$ac_ext <<_ACEOF
74768 /* end confdefs.h.  */
74769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74771 #define $ac_func innocuous_$ac_func
74772
74773 /* System header to define __stub macros and hopefully few prototypes,
74774     which can conflict with char $ac_func (); below.
74775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74776     <limits.h> exists even on freestanding compilers.  */
74777
74778 #ifdef __STDC__
74779 # include <limits.h>
74780 #else
74781 # include <assert.h>
74782 #endif
74783
74784 #undef $ac_func
74785
74786 /* Override any gcc2 internal prototype to avoid an error.  */
74787 #ifdef __cplusplus
74788 extern "C"
74789 {
74790 #endif
74791 /* We use char because int might match the return type of a gcc2
74792    builtin and then its argument prototype would still apply.  */
74793 char $ac_func ();
74794 /* The GNU C library defines this for functions which it implements
74795     to always fail with ENOSYS.  Some functions are actually named
74796     something starting with __ and the normal name is an alias.  */
74797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74798 choke me
74799 #else
74800 char (*f) () = $ac_func;
74801 #endif
74802 #ifdef __cplusplus
74803 }
74804 #endif
74805
74806 int
74807 main ()
74808 {
74809 return f != $ac_func;
74810   ;
74811   return 0;
74812 }
74813 _ACEOF
74814 rm -f conftest.$ac_objext conftest$ac_exeext
74815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74816   (eval $ac_link) 2>conftest.er1
74817   ac_status=$?
74818   grep -v '^ *+' conftest.er1 >conftest.err
74819   rm -f conftest.er1
74820   cat conftest.err >&5
74821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74822   (exit $ac_status); } &&
74823          { ac_try='test -z "$ac_c_werror_flag"
74824                          || test ! -s conftest.err'
74825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74826   (eval $ac_try) 2>&5
74827   ac_status=$?
74828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74829   (exit $ac_status); }; } &&
74830          { ac_try='test -s conftest$ac_exeext'
74831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74832   (eval $ac_try) 2>&5
74833   ac_status=$?
74834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74835   (exit $ac_status); }; }; then
74836   eval "$as_ac_var=yes"
74837 else
74838   echo "$as_me: failed program was:" >&5
74839 sed 's/^/| /' conftest.$ac_ext >&5
74840
74841 eval "$as_ac_var=no"
74842 fi
74843 rm -f conftest.err conftest.$ac_objext \
74844       conftest$ac_exeext conftest.$ac_ext
74845 fi
74846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74848 if test `eval echo '${'$as_ac_var'}'` = yes; then
74849   cat >>confdefs.h <<_ACEOF
74850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74851 _ACEOF
74852
74853 fi
74854 done
74855
74856   else
74857     echo "$as_me:$LINENO: checking for _long double round functions" >&5
74858 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74859     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74860   echo $ECHO_N "(cached) $ECHO_C" >&6
74861 else
74862
74863
74864
74865       ac_ext=cc
74866 ac_cpp='$CXXCPP $CPPFLAGS'
74867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74870
74871       cat >conftest.$ac_ext <<_ACEOF
74872 /* confdefs.h.  */
74873 _ACEOF
74874 cat confdefs.h >>conftest.$ac_ext
74875 cat >>conftest.$ac_ext <<_ACEOF
74876 /* end confdefs.h.  */
74877 #include <math.h>
74878 int
74879 main ()
74880 {
74881 _ceill (0); _floorl (0);
74882   ;
74883   return 0;
74884 }
74885 _ACEOF
74886 rm -f conftest.$ac_objext
74887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74888   (eval $ac_compile) 2>conftest.er1
74889   ac_status=$?
74890   grep -v '^ *+' conftest.er1 >conftest.err
74891   rm -f conftest.er1
74892   cat conftest.err >&5
74893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74894   (exit $ac_status); } &&
74895          { ac_try='test -z "$ac_cxx_werror_flag"
74896                          || test ! -s conftest.err'
74897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74898   (eval $ac_try) 2>&5
74899   ac_status=$?
74900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74901   (exit $ac_status); }; } &&
74902          { ac_try='test -s conftest.$ac_objext'
74903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74904   (eval $ac_try) 2>&5
74905   ac_status=$?
74906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74907   (exit $ac_status); }; }; then
74908   glibcxx_cv_func__long_double_round_use=yes
74909 else
74910   echo "$as_me: failed program was:" >&5
74911 sed 's/^/| /' conftest.$ac_ext >&5
74912
74913 glibcxx_cv_func__long_double_round_use=no
74914 fi
74915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74916       ac_ext=c
74917 ac_cpp='$CPP $CPPFLAGS'
74918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74921
74922 fi
74923
74924     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
74925 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
74926     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74927
74928
74929 for ac_func in _ceill _floorl
74930 do
74931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74932 echo "$as_me:$LINENO: checking for $ac_func" >&5
74933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74934 if eval "test \"\${$as_ac_var+set}\" = set"; then
74935   echo $ECHO_N "(cached) $ECHO_C" >&6
74936 else
74937   if test x$gcc_no_link = xyes; then
74938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74940    { (exit 1); exit 1; }; }
74941 fi
74942 cat >conftest.$ac_ext <<_ACEOF
74943 /* confdefs.h.  */
74944 _ACEOF
74945 cat confdefs.h >>conftest.$ac_ext
74946 cat >>conftest.$ac_ext <<_ACEOF
74947 /* end confdefs.h.  */
74948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74950 #define $ac_func innocuous_$ac_func
74951
74952 /* System header to define __stub macros and hopefully few prototypes,
74953     which can conflict with char $ac_func (); below.
74954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74955     <limits.h> exists even on freestanding compilers.  */
74956
74957 #ifdef __STDC__
74958 # include <limits.h>
74959 #else
74960 # include <assert.h>
74961 #endif
74962
74963 #undef $ac_func
74964
74965 /* Override any gcc2 internal prototype to avoid an error.  */
74966 #ifdef __cplusplus
74967 extern "C"
74968 {
74969 #endif
74970 /* We use char because int might match the return type of a gcc2
74971    builtin and then its argument prototype would still apply.  */
74972 char $ac_func ();
74973 /* The GNU C library defines this for functions which it implements
74974     to always fail with ENOSYS.  Some functions are actually named
74975     something starting with __ and the normal name is an alias.  */
74976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74977 choke me
74978 #else
74979 char (*f) () = $ac_func;
74980 #endif
74981 #ifdef __cplusplus
74982 }
74983 #endif
74984
74985 int
74986 main ()
74987 {
74988 return f != $ac_func;
74989   ;
74990   return 0;
74991 }
74992 _ACEOF
74993 rm -f conftest.$ac_objext conftest$ac_exeext
74994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74995   (eval $ac_link) 2>conftest.er1
74996   ac_status=$?
74997   grep -v '^ *+' conftest.er1 >conftest.err
74998   rm -f conftest.er1
74999   cat conftest.err >&5
75000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75001   (exit $ac_status); } &&
75002          { ac_try='test -z "$ac_c_werror_flag"
75003                          || test ! -s conftest.err'
75004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75005   (eval $ac_try) 2>&5
75006   ac_status=$?
75007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75008   (exit $ac_status); }; } &&
75009          { ac_try='test -s conftest$ac_exeext'
75010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75011   (eval $ac_try) 2>&5
75012   ac_status=$?
75013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75014   (exit $ac_status); }; }; then
75015   eval "$as_ac_var=yes"
75016 else
75017   echo "$as_me: failed program was:" >&5
75018 sed 's/^/| /' conftest.$ac_ext >&5
75019
75020 eval "$as_ac_var=no"
75021 fi
75022 rm -f conftest.err conftest.$ac_objext \
75023       conftest$ac_exeext conftest.$ac_ext
75024 fi
75025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75027 if test `eval echo '${'$as_ac_var'}'` = yes; then
75028   cat >>confdefs.h <<_ACEOF
75029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75030 _ACEOF
75031
75032 fi
75033 done
75034
75035     fi
75036   fi
75037
75038
75039
75040
75041
75042
75043
75044
75045   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75046 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75047   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75048     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75049   echo $ECHO_N "(cached) $ECHO_C" >&6
75050 else
75051
75052
75053
75054       ac_ext=cc
75055 ac_cpp='$CXXCPP $CPPFLAGS'
75056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75059
75060       cat >conftest.$ac_ext <<_ACEOF
75061 /* confdefs.h.  */
75062 _ACEOF
75063 cat confdefs.h >>conftest.$ac_ext
75064 cat >>conftest.$ac_ext <<_ACEOF
75065 /* end confdefs.h.  */
75066 #include <math.h>
75067                       #ifdef HAVE_IEEEFP_H
75068                       #include <ieeefp.h>
75069                       #endif
75070
75071 int
75072 main ()
75073 {
75074  isnanl(0);
75075   ;
75076   return 0;
75077 }
75078 _ACEOF
75079 rm -f conftest.$ac_objext
75080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75081   (eval $ac_compile) 2>conftest.er1
75082   ac_status=$?
75083   grep -v '^ *+' conftest.er1 >conftest.err
75084   rm -f conftest.er1
75085   cat conftest.err >&5
75086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75087   (exit $ac_status); } &&
75088          { ac_try='test -z "$ac_cxx_werror_flag"
75089                          || test ! -s conftest.err'
75090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75091   (eval $ac_try) 2>&5
75092   ac_status=$?
75093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75094   (exit $ac_status); }; } &&
75095          { ac_try='test -s conftest.$ac_objext'
75096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75097   (eval $ac_try) 2>&5
75098   ac_status=$?
75099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75100   (exit $ac_status); }; }; then
75101   glibcxx_cv_func_isnanl_use=yes
75102 else
75103   echo "$as_me: failed program was:" >&5
75104 sed 's/^/| /' conftest.$ac_ext >&5
75105
75106 glibcxx_cv_func_isnanl_use=no
75107 fi
75108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75109       ac_ext=c
75110 ac_cpp='$CPP $CPPFLAGS'
75111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75114
75115
75116 fi
75117
75118   fi
75119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75120 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75121
75122   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75123
75124 for ac_func in isnanl
75125 do
75126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75127 echo "$as_me:$LINENO: checking for $ac_func" >&5
75128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75129 if eval "test \"\${$as_ac_var+set}\" = set"; then
75130   echo $ECHO_N "(cached) $ECHO_C" >&6
75131 else
75132   if test x$gcc_no_link = xyes; then
75133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75135    { (exit 1); exit 1; }; }
75136 fi
75137 cat >conftest.$ac_ext <<_ACEOF
75138 /* confdefs.h.  */
75139 _ACEOF
75140 cat confdefs.h >>conftest.$ac_ext
75141 cat >>conftest.$ac_ext <<_ACEOF
75142 /* end confdefs.h.  */
75143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75145 #define $ac_func innocuous_$ac_func
75146
75147 /* System header to define __stub macros and hopefully few prototypes,
75148     which can conflict with char $ac_func (); below.
75149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75150     <limits.h> exists even on freestanding compilers.  */
75151
75152 #ifdef __STDC__
75153 # include <limits.h>
75154 #else
75155 # include <assert.h>
75156 #endif
75157
75158 #undef $ac_func
75159
75160 /* Override any gcc2 internal prototype to avoid an error.  */
75161 #ifdef __cplusplus
75162 extern "C"
75163 {
75164 #endif
75165 /* We use char because int might match the return type of a gcc2
75166    builtin and then its argument prototype would still apply.  */
75167 char $ac_func ();
75168 /* The GNU C library defines this for functions which it implements
75169     to always fail with ENOSYS.  Some functions are actually named
75170     something starting with __ and the normal name is an alias.  */
75171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75172 choke me
75173 #else
75174 char (*f) () = $ac_func;
75175 #endif
75176 #ifdef __cplusplus
75177 }
75178 #endif
75179
75180 int
75181 main ()
75182 {
75183 return f != $ac_func;
75184   ;
75185   return 0;
75186 }
75187 _ACEOF
75188 rm -f conftest.$ac_objext conftest$ac_exeext
75189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75190   (eval $ac_link) 2>conftest.er1
75191   ac_status=$?
75192   grep -v '^ *+' conftest.er1 >conftest.err
75193   rm -f conftest.er1
75194   cat conftest.err >&5
75195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75196   (exit $ac_status); } &&
75197          { ac_try='test -z "$ac_c_werror_flag"
75198                          || test ! -s conftest.err'
75199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75200   (eval $ac_try) 2>&5
75201   ac_status=$?
75202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75203   (exit $ac_status); }; } &&
75204          { ac_try='test -s conftest$ac_exeext'
75205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75206   (eval $ac_try) 2>&5
75207   ac_status=$?
75208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75209   (exit $ac_status); }; }; then
75210   eval "$as_ac_var=yes"
75211 else
75212   echo "$as_me: failed program was:" >&5
75213 sed 's/^/| /' conftest.$ac_ext >&5
75214
75215 eval "$as_ac_var=no"
75216 fi
75217 rm -f conftest.err conftest.$ac_objext \
75218       conftest$ac_exeext conftest.$ac_ext
75219 fi
75220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75222 if test `eval echo '${'$as_ac_var'}'` = yes; then
75223   cat >>confdefs.h <<_ACEOF
75224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75225 _ACEOF
75226
75227 fi
75228 done
75229
75230   else
75231
75232   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75233 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75234   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75235     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75236   echo $ECHO_N "(cached) $ECHO_C" >&6
75237 else
75238
75239
75240
75241       ac_ext=cc
75242 ac_cpp='$CXXCPP $CPPFLAGS'
75243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75246
75247       cat >conftest.$ac_ext <<_ACEOF
75248 /* confdefs.h.  */
75249 _ACEOF
75250 cat confdefs.h >>conftest.$ac_ext
75251 cat >>conftest.$ac_ext <<_ACEOF
75252 /* end confdefs.h.  */
75253 #include <math.h>
75254                       #ifdef HAVE_IEEEFP_H
75255                       #include <ieeefp.h>
75256                       #endif
75257
75258 int
75259 main ()
75260 {
75261  _isnanl(0);
75262   ;
75263   return 0;
75264 }
75265 _ACEOF
75266 rm -f conftest.$ac_objext
75267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75268   (eval $ac_compile) 2>conftest.er1
75269   ac_status=$?
75270   grep -v '^ *+' conftest.er1 >conftest.err
75271   rm -f conftest.er1
75272   cat conftest.err >&5
75273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75274   (exit $ac_status); } &&
75275          { ac_try='test -z "$ac_cxx_werror_flag"
75276                          || test ! -s conftest.err'
75277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75278   (eval $ac_try) 2>&5
75279   ac_status=$?
75280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75281   (exit $ac_status); }; } &&
75282          { ac_try='test -s conftest.$ac_objext'
75283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75284   (eval $ac_try) 2>&5
75285   ac_status=$?
75286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75287   (exit $ac_status); }; }; then
75288   glibcxx_cv_func__isnanl_use=yes
75289 else
75290   echo "$as_me: failed program was:" >&5
75291 sed 's/^/| /' conftest.$ac_ext >&5
75292
75293 glibcxx_cv_func__isnanl_use=no
75294 fi
75295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75296       ac_ext=c
75297 ac_cpp='$CPP $CPPFLAGS'
75298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75301
75302
75303 fi
75304
75305   fi
75306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75307 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75308
75309     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75310
75311 for ac_func in _isnanl
75312 do
75313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75314 echo "$as_me:$LINENO: checking for $ac_func" >&5
75315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75316 if eval "test \"\${$as_ac_var+set}\" = set"; then
75317   echo $ECHO_N "(cached) $ECHO_C" >&6
75318 else
75319   if test x$gcc_no_link = xyes; then
75320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75322    { (exit 1); exit 1; }; }
75323 fi
75324 cat >conftest.$ac_ext <<_ACEOF
75325 /* confdefs.h.  */
75326 _ACEOF
75327 cat confdefs.h >>conftest.$ac_ext
75328 cat >>conftest.$ac_ext <<_ACEOF
75329 /* end confdefs.h.  */
75330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75332 #define $ac_func innocuous_$ac_func
75333
75334 /* System header to define __stub macros and hopefully few prototypes,
75335     which can conflict with char $ac_func (); below.
75336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75337     <limits.h> exists even on freestanding compilers.  */
75338
75339 #ifdef __STDC__
75340 # include <limits.h>
75341 #else
75342 # include <assert.h>
75343 #endif
75344
75345 #undef $ac_func
75346
75347 /* Override any gcc2 internal prototype to avoid an error.  */
75348 #ifdef __cplusplus
75349 extern "C"
75350 {
75351 #endif
75352 /* We use char because int might match the return type of a gcc2
75353    builtin and then its argument prototype would still apply.  */
75354 char $ac_func ();
75355 /* The GNU C library defines this for functions which it implements
75356     to always fail with ENOSYS.  Some functions are actually named
75357     something starting with __ and the normal name is an alias.  */
75358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75359 choke me
75360 #else
75361 char (*f) () = $ac_func;
75362 #endif
75363 #ifdef __cplusplus
75364 }
75365 #endif
75366
75367 int
75368 main ()
75369 {
75370 return f != $ac_func;
75371   ;
75372   return 0;
75373 }
75374 _ACEOF
75375 rm -f conftest.$ac_objext conftest$ac_exeext
75376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75377   (eval $ac_link) 2>conftest.er1
75378   ac_status=$?
75379   grep -v '^ *+' conftest.er1 >conftest.err
75380   rm -f conftest.er1
75381   cat conftest.err >&5
75382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75383   (exit $ac_status); } &&
75384          { ac_try='test -z "$ac_c_werror_flag"
75385                          || test ! -s conftest.err'
75386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75387   (eval $ac_try) 2>&5
75388   ac_status=$?
75389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75390   (exit $ac_status); }; } &&
75391          { ac_try='test -s conftest$ac_exeext'
75392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75393   (eval $ac_try) 2>&5
75394   ac_status=$?
75395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75396   (exit $ac_status); }; }; then
75397   eval "$as_ac_var=yes"
75398 else
75399   echo "$as_me: failed program was:" >&5
75400 sed 's/^/| /' conftest.$ac_ext >&5
75401
75402 eval "$as_ac_var=no"
75403 fi
75404 rm -f conftest.err conftest.$ac_objext \
75405       conftest$ac_exeext conftest.$ac_ext
75406 fi
75407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75409 if test `eval echo '${'$as_ac_var'}'` = yes; then
75410   cat >>confdefs.h <<_ACEOF
75411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75412 _ACEOF
75413
75414 fi
75415 done
75416
75417     fi
75418   fi
75419
75420
75421
75422
75423
75424
75425   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75426 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75427   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75428     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75429   echo $ECHO_N "(cached) $ECHO_C" >&6
75430 else
75431
75432
75433
75434       ac_ext=cc
75435 ac_cpp='$CXXCPP $CPPFLAGS'
75436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75439
75440       cat >conftest.$ac_ext <<_ACEOF
75441 /* confdefs.h.  */
75442 _ACEOF
75443 cat confdefs.h >>conftest.$ac_ext
75444 cat >>conftest.$ac_ext <<_ACEOF
75445 /* end confdefs.h.  */
75446 #include <math.h>
75447                       #ifdef HAVE_IEEEFP_H
75448                       #include <ieeefp.h>
75449                       #endif
75450
75451 int
75452 main ()
75453 {
75454  isinfl(0);
75455   ;
75456   return 0;
75457 }
75458 _ACEOF
75459 rm -f conftest.$ac_objext
75460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75461   (eval $ac_compile) 2>conftest.er1
75462   ac_status=$?
75463   grep -v '^ *+' conftest.er1 >conftest.err
75464   rm -f conftest.er1
75465   cat conftest.err >&5
75466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75467   (exit $ac_status); } &&
75468          { ac_try='test -z "$ac_cxx_werror_flag"
75469                          || test ! -s conftest.err'
75470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75471   (eval $ac_try) 2>&5
75472   ac_status=$?
75473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75474   (exit $ac_status); }; } &&
75475          { ac_try='test -s conftest.$ac_objext'
75476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75477   (eval $ac_try) 2>&5
75478   ac_status=$?
75479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75480   (exit $ac_status); }; }; then
75481   glibcxx_cv_func_isinfl_use=yes
75482 else
75483   echo "$as_me: failed program was:" >&5
75484 sed 's/^/| /' conftest.$ac_ext >&5
75485
75486 glibcxx_cv_func_isinfl_use=no
75487 fi
75488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75489       ac_ext=c
75490 ac_cpp='$CPP $CPPFLAGS'
75491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75494
75495
75496 fi
75497
75498   fi
75499   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75500 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75501
75502   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75503
75504 for ac_func in isinfl
75505 do
75506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75507 echo "$as_me:$LINENO: checking for $ac_func" >&5
75508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75509 if eval "test \"\${$as_ac_var+set}\" = set"; then
75510   echo $ECHO_N "(cached) $ECHO_C" >&6
75511 else
75512   if test x$gcc_no_link = xyes; then
75513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75515    { (exit 1); exit 1; }; }
75516 fi
75517 cat >conftest.$ac_ext <<_ACEOF
75518 /* confdefs.h.  */
75519 _ACEOF
75520 cat confdefs.h >>conftest.$ac_ext
75521 cat >>conftest.$ac_ext <<_ACEOF
75522 /* end confdefs.h.  */
75523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75525 #define $ac_func innocuous_$ac_func
75526
75527 /* System header to define __stub macros and hopefully few prototypes,
75528     which can conflict with char $ac_func (); below.
75529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75530     <limits.h> exists even on freestanding compilers.  */
75531
75532 #ifdef __STDC__
75533 # include <limits.h>
75534 #else
75535 # include <assert.h>
75536 #endif
75537
75538 #undef $ac_func
75539
75540 /* Override any gcc2 internal prototype to avoid an error.  */
75541 #ifdef __cplusplus
75542 extern "C"
75543 {
75544 #endif
75545 /* We use char because int might match the return type of a gcc2
75546    builtin and then its argument prototype would still apply.  */
75547 char $ac_func ();
75548 /* The GNU C library defines this for functions which it implements
75549     to always fail with ENOSYS.  Some functions are actually named
75550     something starting with __ and the normal name is an alias.  */
75551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75552 choke me
75553 #else
75554 char (*f) () = $ac_func;
75555 #endif
75556 #ifdef __cplusplus
75557 }
75558 #endif
75559
75560 int
75561 main ()
75562 {
75563 return f != $ac_func;
75564   ;
75565   return 0;
75566 }
75567 _ACEOF
75568 rm -f conftest.$ac_objext conftest$ac_exeext
75569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75570   (eval $ac_link) 2>conftest.er1
75571   ac_status=$?
75572   grep -v '^ *+' conftest.er1 >conftest.err
75573   rm -f conftest.er1
75574   cat conftest.err >&5
75575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75576   (exit $ac_status); } &&
75577          { ac_try='test -z "$ac_c_werror_flag"
75578                          || test ! -s conftest.err'
75579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75580   (eval $ac_try) 2>&5
75581   ac_status=$?
75582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75583   (exit $ac_status); }; } &&
75584          { ac_try='test -s conftest$ac_exeext'
75585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75586   (eval $ac_try) 2>&5
75587   ac_status=$?
75588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75589   (exit $ac_status); }; }; then
75590   eval "$as_ac_var=yes"
75591 else
75592   echo "$as_me: failed program was:" >&5
75593 sed 's/^/| /' conftest.$ac_ext >&5
75594
75595 eval "$as_ac_var=no"
75596 fi
75597 rm -f conftest.err conftest.$ac_objext \
75598       conftest$ac_exeext conftest.$ac_ext
75599 fi
75600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75602 if test `eval echo '${'$as_ac_var'}'` = yes; then
75603   cat >>confdefs.h <<_ACEOF
75604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75605 _ACEOF
75606
75607 fi
75608 done
75609
75610   else
75611
75612   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75613 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75614   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75615     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75616   echo $ECHO_N "(cached) $ECHO_C" >&6
75617 else
75618
75619
75620
75621       ac_ext=cc
75622 ac_cpp='$CXXCPP $CPPFLAGS'
75623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75626
75627       cat >conftest.$ac_ext <<_ACEOF
75628 /* confdefs.h.  */
75629 _ACEOF
75630 cat confdefs.h >>conftest.$ac_ext
75631 cat >>conftest.$ac_ext <<_ACEOF
75632 /* end confdefs.h.  */
75633 #include <math.h>
75634                       #ifdef HAVE_IEEEFP_H
75635                       #include <ieeefp.h>
75636                       #endif
75637
75638 int
75639 main ()
75640 {
75641  _isinfl(0);
75642   ;
75643   return 0;
75644 }
75645 _ACEOF
75646 rm -f conftest.$ac_objext
75647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75648   (eval $ac_compile) 2>conftest.er1
75649   ac_status=$?
75650   grep -v '^ *+' conftest.er1 >conftest.err
75651   rm -f conftest.er1
75652   cat conftest.err >&5
75653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75654   (exit $ac_status); } &&
75655          { ac_try='test -z "$ac_cxx_werror_flag"
75656                          || test ! -s conftest.err'
75657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75658   (eval $ac_try) 2>&5
75659   ac_status=$?
75660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75661   (exit $ac_status); }; } &&
75662          { ac_try='test -s conftest.$ac_objext'
75663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75664   (eval $ac_try) 2>&5
75665   ac_status=$?
75666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75667   (exit $ac_status); }; }; then
75668   glibcxx_cv_func__isinfl_use=yes
75669 else
75670   echo "$as_me: failed program was:" >&5
75671 sed 's/^/| /' conftest.$ac_ext >&5
75672
75673 glibcxx_cv_func__isinfl_use=no
75674 fi
75675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75676       ac_ext=c
75677 ac_cpp='$CPP $CPPFLAGS'
75678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75681
75682
75683 fi
75684
75685   fi
75686   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75687 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75688
75689     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75690
75691 for ac_func in _isinfl
75692 do
75693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75694 echo "$as_me:$LINENO: checking for $ac_func" >&5
75695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75696 if eval "test \"\${$as_ac_var+set}\" = set"; then
75697   echo $ECHO_N "(cached) $ECHO_C" >&6
75698 else
75699   if test x$gcc_no_link = xyes; then
75700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75702    { (exit 1); exit 1; }; }
75703 fi
75704 cat >conftest.$ac_ext <<_ACEOF
75705 /* confdefs.h.  */
75706 _ACEOF
75707 cat confdefs.h >>conftest.$ac_ext
75708 cat >>conftest.$ac_ext <<_ACEOF
75709 /* end confdefs.h.  */
75710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75712 #define $ac_func innocuous_$ac_func
75713
75714 /* System header to define __stub macros and hopefully few prototypes,
75715     which can conflict with char $ac_func (); below.
75716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75717     <limits.h> exists even on freestanding compilers.  */
75718
75719 #ifdef __STDC__
75720 # include <limits.h>
75721 #else
75722 # include <assert.h>
75723 #endif
75724
75725 #undef $ac_func
75726
75727 /* Override any gcc2 internal prototype to avoid an error.  */
75728 #ifdef __cplusplus
75729 extern "C"
75730 {
75731 #endif
75732 /* We use char because int might match the return type of a gcc2
75733    builtin and then its argument prototype would still apply.  */
75734 char $ac_func ();
75735 /* The GNU C library defines this for functions which it implements
75736     to always fail with ENOSYS.  Some functions are actually named
75737     something starting with __ and the normal name is an alias.  */
75738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75739 choke me
75740 #else
75741 char (*f) () = $ac_func;
75742 #endif
75743 #ifdef __cplusplus
75744 }
75745 #endif
75746
75747 int
75748 main ()
75749 {
75750 return f != $ac_func;
75751   ;
75752   return 0;
75753 }
75754 _ACEOF
75755 rm -f conftest.$ac_objext conftest$ac_exeext
75756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75757   (eval $ac_link) 2>conftest.er1
75758   ac_status=$?
75759   grep -v '^ *+' conftest.er1 >conftest.err
75760   rm -f conftest.er1
75761   cat conftest.err >&5
75762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75763   (exit $ac_status); } &&
75764          { ac_try='test -z "$ac_c_werror_flag"
75765                          || test ! -s conftest.err'
75766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75767   (eval $ac_try) 2>&5
75768   ac_status=$?
75769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75770   (exit $ac_status); }; } &&
75771          { ac_try='test -s conftest$ac_exeext'
75772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75773   (eval $ac_try) 2>&5
75774   ac_status=$?
75775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75776   (exit $ac_status); }; }; then
75777   eval "$as_ac_var=yes"
75778 else
75779   echo "$as_me: failed program was:" >&5
75780 sed 's/^/| /' conftest.$ac_ext >&5
75781
75782 eval "$as_ac_var=no"
75783 fi
75784 rm -f conftest.err conftest.$ac_objext \
75785       conftest$ac_exeext conftest.$ac_ext
75786 fi
75787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75789 if test `eval echo '${'$as_ac_var'}'` = yes; then
75790   cat >>confdefs.h <<_ACEOF
75791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75792 _ACEOF
75793
75794 fi
75795 done
75796
75797     fi
75798   fi
75799
75800
75801
75802
75803
75804
75805   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75806 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75807   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75808     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75809   echo $ECHO_N "(cached) $ECHO_C" >&6
75810 else
75811
75812
75813
75814       ac_ext=cc
75815 ac_cpp='$CXXCPP $CPPFLAGS'
75816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75819
75820       cat >conftest.$ac_ext <<_ACEOF
75821 /* confdefs.h.  */
75822 _ACEOF
75823 cat confdefs.h >>conftest.$ac_ext
75824 cat >>conftest.$ac_ext <<_ACEOF
75825 /* end confdefs.h.  */
75826 #include <math.h>
75827 int
75828 main ()
75829 {
75830  copysignl(0, 0);
75831   ;
75832   return 0;
75833 }
75834 _ACEOF
75835 rm -f conftest.$ac_objext
75836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75837   (eval $ac_compile) 2>conftest.er1
75838   ac_status=$?
75839   grep -v '^ *+' conftest.er1 >conftest.err
75840   rm -f conftest.er1
75841   cat conftest.err >&5
75842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75843   (exit $ac_status); } &&
75844          { ac_try='test -z "$ac_cxx_werror_flag"
75845                          || test ! -s conftest.err'
75846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75847   (eval $ac_try) 2>&5
75848   ac_status=$?
75849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75850   (exit $ac_status); }; } &&
75851          { ac_try='test -s conftest.$ac_objext'
75852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75853   (eval $ac_try) 2>&5
75854   ac_status=$?
75855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75856   (exit $ac_status); }; }; then
75857   glibcxx_cv_func_copysignl_use=yes
75858 else
75859   echo "$as_me: failed program was:" >&5
75860 sed 's/^/| /' conftest.$ac_ext >&5
75861
75862 glibcxx_cv_func_copysignl_use=no
75863 fi
75864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75865       ac_ext=c
75866 ac_cpp='$CPP $CPPFLAGS'
75867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75870
75871
75872 fi
75873
75874   fi
75875   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75876 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75877
75878   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75879
75880 for ac_func in copysignl
75881 do
75882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75883 echo "$as_me:$LINENO: checking for $ac_func" >&5
75884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75885 if eval "test \"\${$as_ac_var+set}\" = set"; then
75886   echo $ECHO_N "(cached) $ECHO_C" >&6
75887 else
75888   if test x$gcc_no_link = xyes; then
75889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75891    { (exit 1); exit 1; }; }
75892 fi
75893 cat >conftest.$ac_ext <<_ACEOF
75894 /* confdefs.h.  */
75895 _ACEOF
75896 cat confdefs.h >>conftest.$ac_ext
75897 cat >>conftest.$ac_ext <<_ACEOF
75898 /* end confdefs.h.  */
75899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75901 #define $ac_func innocuous_$ac_func
75902
75903 /* System header to define __stub macros and hopefully few prototypes,
75904     which can conflict with char $ac_func (); below.
75905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75906     <limits.h> exists even on freestanding compilers.  */
75907
75908 #ifdef __STDC__
75909 # include <limits.h>
75910 #else
75911 # include <assert.h>
75912 #endif
75913
75914 #undef $ac_func
75915
75916 /* Override any gcc2 internal prototype to avoid an error.  */
75917 #ifdef __cplusplus
75918 extern "C"
75919 {
75920 #endif
75921 /* We use char because int might match the return type of a gcc2
75922    builtin and then its argument prototype would still apply.  */
75923 char $ac_func ();
75924 /* The GNU C library defines this for functions which it implements
75925     to always fail with ENOSYS.  Some functions are actually named
75926     something starting with __ and the normal name is an alias.  */
75927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75928 choke me
75929 #else
75930 char (*f) () = $ac_func;
75931 #endif
75932 #ifdef __cplusplus
75933 }
75934 #endif
75935
75936 int
75937 main ()
75938 {
75939 return f != $ac_func;
75940   ;
75941   return 0;
75942 }
75943 _ACEOF
75944 rm -f conftest.$ac_objext conftest$ac_exeext
75945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75946   (eval $ac_link) 2>conftest.er1
75947   ac_status=$?
75948   grep -v '^ *+' conftest.er1 >conftest.err
75949   rm -f conftest.er1
75950   cat conftest.err >&5
75951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75952   (exit $ac_status); } &&
75953          { ac_try='test -z "$ac_c_werror_flag"
75954                          || test ! -s conftest.err'
75955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75956   (eval $ac_try) 2>&5
75957   ac_status=$?
75958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75959   (exit $ac_status); }; } &&
75960          { ac_try='test -s conftest$ac_exeext'
75961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75962   (eval $ac_try) 2>&5
75963   ac_status=$?
75964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75965   (exit $ac_status); }; }; then
75966   eval "$as_ac_var=yes"
75967 else
75968   echo "$as_me: failed program was:" >&5
75969 sed 's/^/| /' conftest.$ac_ext >&5
75970
75971 eval "$as_ac_var=no"
75972 fi
75973 rm -f conftest.err conftest.$ac_objext \
75974       conftest$ac_exeext conftest.$ac_ext
75975 fi
75976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75978 if test `eval echo '${'$as_ac_var'}'` = yes; then
75979   cat >>confdefs.h <<_ACEOF
75980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75981 _ACEOF
75982
75983 fi
75984 done
75985
75986   else
75987
75988   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75989 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75990   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75991     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75992   echo $ECHO_N "(cached) $ECHO_C" >&6
75993 else
75994
75995
75996
75997       ac_ext=cc
75998 ac_cpp='$CXXCPP $CPPFLAGS'
75999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76002
76003       cat >conftest.$ac_ext <<_ACEOF
76004 /* confdefs.h.  */
76005 _ACEOF
76006 cat confdefs.h >>conftest.$ac_ext
76007 cat >>conftest.$ac_ext <<_ACEOF
76008 /* end confdefs.h.  */
76009 #include <math.h>
76010 int
76011 main ()
76012 {
76013  _copysignl(0, 0);
76014   ;
76015   return 0;
76016 }
76017 _ACEOF
76018 rm -f conftest.$ac_objext
76019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76020   (eval $ac_compile) 2>conftest.er1
76021   ac_status=$?
76022   grep -v '^ *+' conftest.er1 >conftest.err
76023   rm -f conftest.er1
76024   cat conftest.err >&5
76025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76026   (exit $ac_status); } &&
76027          { ac_try='test -z "$ac_cxx_werror_flag"
76028                          || test ! -s conftest.err'
76029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76030   (eval $ac_try) 2>&5
76031   ac_status=$?
76032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76033   (exit $ac_status); }; } &&
76034          { ac_try='test -s conftest.$ac_objext'
76035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76036   (eval $ac_try) 2>&5
76037   ac_status=$?
76038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76039   (exit $ac_status); }; }; then
76040   glibcxx_cv_func__copysignl_use=yes
76041 else
76042   echo "$as_me: failed program was:" >&5
76043 sed 's/^/| /' conftest.$ac_ext >&5
76044
76045 glibcxx_cv_func__copysignl_use=no
76046 fi
76047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76048       ac_ext=c
76049 ac_cpp='$CPP $CPPFLAGS'
76050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76053
76054
76055 fi
76056
76057   fi
76058   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76059 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76060
76061     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76062
76063 for ac_func in _copysignl
76064 do
76065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76066 echo "$as_me:$LINENO: checking for $ac_func" >&5
76067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76068 if eval "test \"\${$as_ac_var+set}\" = set"; then
76069   echo $ECHO_N "(cached) $ECHO_C" >&6
76070 else
76071   if test x$gcc_no_link = xyes; then
76072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76074    { (exit 1); exit 1; }; }
76075 fi
76076 cat >conftest.$ac_ext <<_ACEOF
76077 /* confdefs.h.  */
76078 _ACEOF
76079 cat confdefs.h >>conftest.$ac_ext
76080 cat >>conftest.$ac_ext <<_ACEOF
76081 /* end confdefs.h.  */
76082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76084 #define $ac_func innocuous_$ac_func
76085
76086 /* System header to define __stub macros and hopefully few prototypes,
76087     which can conflict with char $ac_func (); below.
76088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76089     <limits.h> exists even on freestanding compilers.  */
76090
76091 #ifdef __STDC__
76092 # include <limits.h>
76093 #else
76094 # include <assert.h>
76095 #endif
76096
76097 #undef $ac_func
76098
76099 /* Override any gcc2 internal prototype to avoid an error.  */
76100 #ifdef __cplusplus
76101 extern "C"
76102 {
76103 #endif
76104 /* We use char because int might match the return type of a gcc2
76105    builtin and then its argument prototype would still apply.  */
76106 char $ac_func ();
76107 /* The GNU C library defines this for functions which it implements
76108     to always fail with ENOSYS.  Some functions are actually named
76109     something starting with __ and the normal name is an alias.  */
76110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76111 choke me
76112 #else
76113 char (*f) () = $ac_func;
76114 #endif
76115 #ifdef __cplusplus
76116 }
76117 #endif
76118
76119 int
76120 main ()
76121 {
76122 return f != $ac_func;
76123   ;
76124   return 0;
76125 }
76126 _ACEOF
76127 rm -f conftest.$ac_objext conftest$ac_exeext
76128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76129   (eval $ac_link) 2>conftest.er1
76130   ac_status=$?
76131   grep -v '^ *+' conftest.er1 >conftest.err
76132   rm -f conftest.er1
76133   cat conftest.err >&5
76134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76135   (exit $ac_status); } &&
76136          { ac_try='test -z "$ac_c_werror_flag"
76137                          || test ! -s conftest.err'
76138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76139   (eval $ac_try) 2>&5
76140   ac_status=$?
76141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76142   (exit $ac_status); }; } &&
76143          { ac_try='test -s conftest$ac_exeext'
76144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76145   (eval $ac_try) 2>&5
76146   ac_status=$?
76147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76148   (exit $ac_status); }; }; then
76149   eval "$as_ac_var=yes"
76150 else
76151   echo "$as_me: failed program was:" >&5
76152 sed 's/^/| /' conftest.$ac_ext >&5
76153
76154 eval "$as_ac_var=no"
76155 fi
76156 rm -f conftest.err conftest.$ac_objext \
76157       conftest$ac_exeext conftest.$ac_ext
76158 fi
76159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76161 if test `eval echo '${'$as_ac_var'}'` = yes; then
76162   cat >>confdefs.h <<_ACEOF
76163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76164 _ACEOF
76165
76166 fi
76167 done
76168
76169     fi
76170   fi
76171
76172
76173
76174
76175
76176
76177   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76178 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76179   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76180     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76181   echo $ECHO_N "(cached) $ECHO_C" >&6
76182 else
76183
76184
76185
76186       ac_ext=cc
76187 ac_cpp='$CXXCPP $CPPFLAGS'
76188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76191
76192       cat >conftest.$ac_ext <<_ACEOF
76193 /* confdefs.h.  */
76194 _ACEOF
76195 cat confdefs.h >>conftest.$ac_ext
76196 cat >>conftest.$ac_ext <<_ACEOF
76197 /* end confdefs.h.  */
76198 #include <math.h>
76199 int
76200 main ()
76201 {
76202  atan2l(0, 0);
76203   ;
76204   return 0;
76205 }
76206 _ACEOF
76207 rm -f conftest.$ac_objext
76208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76209   (eval $ac_compile) 2>conftest.er1
76210   ac_status=$?
76211   grep -v '^ *+' conftest.er1 >conftest.err
76212   rm -f conftest.er1
76213   cat conftest.err >&5
76214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76215   (exit $ac_status); } &&
76216          { ac_try='test -z "$ac_cxx_werror_flag"
76217                          || test ! -s conftest.err'
76218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76219   (eval $ac_try) 2>&5
76220   ac_status=$?
76221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76222   (exit $ac_status); }; } &&
76223          { ac_try='test -s conftest.$ac_objext'
76224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76225   (eval $ac_try) 2>&5
76226   ac_status=$?
76227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76228   (exit $ac_status); }; }; then
76229   glibcxx_cv_func_atan2l_use=yes
76230 else
76231   echo "$as_me: failed program was:" >&5
76232 sed 's/^/| /' conftest.$ac_ext >&5
76233
76234 glibcxx_cv_func_atan2l_use=no
76235 fi
76236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76237       ac_ext=c
76238 ac_cpp='$CPP $CPPFLAGS'
76239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76242
76243
76244 fi
76245
76246   fi
76247   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76248 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76249
76250   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76251
76252 for ac_func in atan2l
76253 do
76254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76255 echo "$as_me:$LINENO: checking for $ac_func" >&5
76256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76257 if eval "test \"\${$as_ac_var+set}\" = set"; then
76258   echo $ECHO_N "(cached) $ECHO_C" >&6
76259 else
76260   if test x$gcc_no_link = xyes; then
76261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76263    { (exit 1); exit 1; }; }
76264 fi
76265 cat >conftest.$ac_ext <<_ACEOF
76266 /* confdefs.h.  */
76267 _ACEOF
76268 cat confdefs.h >>conftest.$ac_ext
76269 cat >>conftest.$ac_ext <<_ACEOF
76270 /* end confdefs.h.  */
76271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76273 #define $ac_func innocuous_$ac_func
76274
76275 /* System header to define __stub macros and hopefully few prototypes,
76276     which can conflict with char $ac_func (); below.
76277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76278     <limits.h> exists even on freestanding compilers.  */
76279
76280 #ifdef __STDC__
76281 # include <limits.h>
76282 #else
76283 # include <assert.h>
76284 #endif
76285
76286 #undef $ac_func
76287
76288 /* Override any gcc2 internal prototype to avoid an error.  */
76289 #ifdef __cplusplus
76290 extern "C"
76291 {
76292 #endif
76293 /* We use char because int might match the return type of a gcc2
76294    builtin and then its argument prototype would still apply.  */
76295 char $ac_func ();
76296 /* The GNU C library defines this for functions which it implements
76297     to always fail with ENOSYS.  Some functions are actually named
76298     something starting with __ and the normal name is an alias.  */
76299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76300 choke me
76301 #else
76302 char (*f) () = $ac_func;
76303 #endif
76304 #ifdef __cplusplus
76305 }
76306 #endif
76307
76308 int
76309 main ()
76310 {
76311 return f != $ac_func;
76312   ;
76313   return 0;
76314 }
76315 _ACEOF
76316 rm -f conftest.$ac_objext conftest$ac_exeext
76317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76318   (eval $ac_link) 2>conftest.er1
76319   ac_status=$?
76320   grep -v '^ *+' conftest.er1 >conftest.err
76321   rm -f conftest.er1
76322   cat conftest.err >&5
76323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76324   (exit $ac_status); } &&
76325          { ac_try='test -z "$ac_c_werror_flag"
76326                          || test ! -s conftest.err'
76327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76328   (eval $ac_try) 2>&5
76329   ac_status=$?
76330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76331   (exit $ac_status); }; } &&
76332          { ac_try='test -s conftest$ac_exeext'
76333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76334   (eval $ac_try) 2>&5
76335   ac_status=$?
76336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76337   (exit $ac_status); }; }; then
76338   eval "$as_ac_var=yes"
76339 else
76340   echo "$as_me: failed program was:" >&5
76341 sed 's/^/| /' conftest.$ac_ext >&5
76342
76343 eval "$as_ac_var=no"
76344 fi
76345 rm -f conftest.err conftest.$ac_objext \
76346       conftest$ac_exeext conftest.$ac_ext
76347 fi
76348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76350 if test `eval echo '${'$as_ac_var'}'` = yes; then
76351   cat >>confdefs.h <<_ACEOF
76352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76353 _ACEOF
76354
76355 fi
76356 done
76357
76358   else
76359
76360   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76361 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76362   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76363     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76364   echo $ECHO_N "(cached) $ECHO_C" >&6
76365 else
76366
76367
76368
76369       ac_ext=cc
76370 ac_cpp='$CXXCPP $CPPFLAGS'
76371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76374
76375       cat >conftest.$ac_ext <<_ACEOF
76376 /* confdefs.h.  */
76377 _ACEOF
76378 cat confdefs.h >>conftest.$ac_ext
76379 cat >>conftest.$ac_ext <<_ACEOF
76380 /* end confdefs.h.  */
76381 #include <math.h>
76382 int
76383 main ()
76384 {
76385  _atan2l(0, 0);
76386   ;
76387   return 0;
76388 }
76389 _ACEOF
76390 rm -f conftest.$ac_objext
76391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76392   (eval $ac_compile) 2>conftest.er1
76393   ac_status=$?
76394   grep -v '^ *+' conftest.er1 >conftest.err
76395   rm -f conftest.er1
76396   cat conftest.err >&5
76397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76398   (exit $ac_status); } &&
76399          { ac_try='test -z "$ac_cxx_werror_flag"
76400                          || test ! -s conftest.err'
76401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76402   (eval $ac_try) 2>&5
76403   ac_status=$?
76404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76405   (exit $ac_status); }; } &&
76406          { ac_try='test -s conftest.$ac_objext'
76407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76408   (eval $ac_try) 2>&5
76409   ac_status=$?
76410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76411   (exit $ac_status); }; }; then
76412   glibcxx_cv_func__atan2l_use=yes
76413 else
76414   echo "$as_me: failed program was:" >&5
76415 sed 's/^/| /' conftest.$ac_ext >&5
76416
76417 glibcxx_cv_func__atan2l_use=no
76418 fi
76419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76420       ac_ext=c
76421 ac_cpp='$CPP $CPPFLAGS'
76422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76425
76426
76427 fi
76428
76429   fi
76430   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76431 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76432
76433     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76434
76435 for ac_func in _atan2l
76436 do
76437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76438 echo "$as_me:$LINENO: checking for $ac_func" >&5
76439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76440 if eval "test \"\${$as_ac_var+set}\" = set"; then
76441   echo $ECHO_N "(cached) $ECHO_C" >&6
76442 else
76443   if test x$gcc_no_link = xyes; then
76444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76446    { (exit 1); exit 1; }; }
76447 fi
76448 cat >conftest.$ac_ext <<_ACEOF
76449 /* confdefs.h.  */
76450 _ACEOF
76451 cat confdefs.h >>conftest.$ac_ext
76452 cat >>conftest.$ac_ext <<_ACEOF
76453 /* end confdefs.h.  */
76454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76456 #define $ac_func innocuous_$ac_func
76457
76458 /* System header to define __stub macros and hopefully few prototypes,
76459     which can conflict with char $ac_func (); below.
76460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76461     <limits.h> exists even on freestanding compilers.  */
76462
76463 #ifdef __STDC__
76464 # include <limits.h>
76465 #else
76466 # include <assert.h>
76467 #endif
76468
76469 #undef $ac_func
76470
76471 /* Override any gcc2 internal prototype to avoid an error.  */
76472 #ifdef __cplusplus
76473 extern "C"
76474 {
76475 #endif
76476 /* We use char because int might match the return type of a gcc2
76477    builtin and then its argument prototype would still apply.  */
76478 char $ac_func ();
76479 /* The GNU C library defines this for functions which it implements
76480     to always fail with ENOSYS.  Some functions are actually named
76481     something starting with __ and the normal name is an alias.  */
76482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76483 choke me
76484 #else
76485 char (*f) () = $ac_func;
76486 #endif
76487 #ifdef __cplusplus
76488 }
76489 #endif
76490
76491 int
76492 main ()
76493 {
76494 return f != $ac_func;
76495   ;
76496   return 0;
76497 }
76498 _ACEOF
76499 rm -f conftest.$ac_objext conftest$ac_exeext
76500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76501   (eval $ac_link) 2>conftest.er1
76502   ac_status=$?
76503   grep -v '^ *+' conftest.er1 >conftest.err
76504   rm -f conftest.er1
76505   cat conftest.err >&5
76506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76507   (exit $ac_status); } &&
76508          { ac_try='test -z "$ac_c_werror_flag"
76509                          || test ! -s conftest.err'
76510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76511   (eval $ac_try) 2>&5
76512   ac_status=$?
76513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76514   (exit $ac_status); }; } &&
76515          { ac_try='test -s conftest$ac_exeext'
76516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76517   (eval $ac_try) 2>&5
76518   ac_status=$?
76519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76520   (exit $ac_status); }; }; then
76521   eval "$as_ac_var=yes"
76522 else
76523   echo "$as_me: failed program was:" >&5
76524 sed 's/^/| /' conftest.$ac_ext >&5
76525
76526 eval "$as_ac_var=no"
76527 fi
76528 rm -f conftest.err conftest.$ac_objext \
76529       conftest$ac_exeext conftest.$ac_ext
76530 fi
76531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76533 if test `eval echo '${'$as_ac_var'}'` = yes; then
76534   cat >>confdefs.h <<_ACEOF
76535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76536 _ACEOF
76537
76538 fi
76539 done
76540
76541     fi
76542   fi
76543
76544
76545
76546
76547
76548
76549   echo "$as_me:$LINENO: checking for expl declaration" >&5
76550 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76551   if test x${glibcxx_cv_func_expl_use+set} != xset; then
76552     if test "${glibcxx_cv_func_expl_use+set}" = set; then
76553   echo $ECHO_N "(cached) $ECHO_C" >&6
76554 else
76555
76556
76557
76558       ac_ext=cc
76559 ac_cpp='$CXXCPP $CPPFLAGS'
76560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76563
76564       cat >conftest.$ac_ext <<_ACEOF
76565 /* confdefs.h.  */
76566 _ACEOF
76567 cat confdefs.h >>conftest.$ac_ext
76568 cat >>conftest.$ac_ext <<_ACEOF
76569 /* end confdefs.h.  */
76570 #include <math.h>
76571                       #ifdef HAVE_IEEEFP_H
76572                       #include <ieeefp.h>
76573                       #endif
76574
76575 int
76576 main ()
76577 {
76578  expl(0);
76579   ;
76580   return 0;
76581 }
76582 _ACEOF
76583 rm -f conftest.$ac_objext
76584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76585   (eval $ac_compile) 2>conftest.er1
76586   ac_status=$?
76587   grep -v '^ *+' conftest.er1 >conftest.err
76588   rm -f conftest.er1
76589   cat conftest.err >&5
76590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76591   (exit $ac_status); } &&
76592          { ac_try='test -z "$ac_cxx_werror_flag"
76593                          || test ! -s conftest.err'
76594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76595   (eval $ac_try) 2>&5
76596   ac_status=$?
76597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76598   (exit $ac_status); }; } &&
76599          { ac_try='test -s conftest.$ac_objext'
76600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76601   (eval $ac_try) 2>&5
76602   ac_status=$?
76603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76604   (exit $ac_status); }; }; then
76605   glibcxx_cv_func_expl_use=yes
76606 else
76607   echo "$as_me: failed program was:" >&5
76608 sed 's/^/| /' conftest.$ac_ext >&5
76609
76610 glibcxx_cv_func_expl_use=no
76611 fi
76612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76613       ac_ext=c
76614 ac_cpp='$CPP $CPPFLAGS'
76615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76618
76619
76620 fi
76621
76622   fi
76623   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76624 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76625
76626   if test x$glibcxx_cv_func_expl_use = x"yes"; then
76627
76628 for ac_func in expl
76629 do
76630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76631 echo "$as_me:$LINENO: checking for $ac_func" >&5
76632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76633 if eval "test \"\${$as_ac_var+set}\" = set"; then
76634   echo $ECHO_N "(cached) $ECHO_C" >&6
76635 else
76636   if test x$gcc_no_link = xyes; then
76637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76639    { (exit 1); exit 1; }; }
76640 fi
76641 cat >conftest.$ac_ext <<_ACEOF
76642 /* confdefs.h.  */
76643 _ACEOF
76644 cat confdefs.h >>conftest.$ac_ext
76645 cat >>conftest.$ac_ext <<_ACEOF
76646 /* end confdefs.h.  */
76647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76649 #define $ac_func innocuous_$ac_func
76650
76651 /* System header to define __stub macros and hopefully few prototypes,
76652     which can conflict with char $ac_func (); below.
76653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76654     <limits.h> exists even on freestanding compilers.  */
76655
76656 #ifdef __STDC__
76657 # include <limits.h>
76658 #else
76659 # include <assert.h>
76660 #endif
76661
76662 #undef $ac_func
76663
76664 /* Override any gcc2 internal prototype to avoid an error.  */
76665 #ifdef __cplusplus
76666 extern "C"
76667 {
76668 #endif
76669 /* We use char because int might match the return type of a gcc2
76670    builtin and then its argument prototype would still apply.  */
76671 char $ac_func ();
76672 /* The GNU C library defines this for functions which it implements
76673     to always fail with ENOSYS.  Some functions are actually named
76674     something starting with __ and the normal name is an alias.  */
76675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76676 choke me
76677 #else
76678 char (*f) () = $ac_func;
76679 #endif
76680 #ifdef __cplusplus
76681 }
76682 #endif
76683
76684 int
76685 main ()
76686 {
76687 return f != $ac_func;
76688   ;
76689   return 0;
76690 }
76691 _ACEOF
76692 rm -f conftest.$ac_objext conftest$ac_exeext
76693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76694   (eval $ac_link) 2>conftest.er1
76695   ac_status=$?
76696   grep -v '^ *+' conftest.er1 >conftest.err
76697   rm -f conftest.er1
76698   cat conftest.err >&5
76699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76700   (exit $ac_status); } &&
76701          { ac_try='test -z "$ac_c_werror_flag"
76702                          || test ! -s conftest.err'
76703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76704   (eval $ac_try) 2>&5
76705   ac_status=$?
76706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76707   (exit $ac_status); }; } &&
76708          { ac_try='test -s conftest$ac_exeext'
76709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76710   (eval $ac_try) 2>&5
76711   ac_status=$?
76712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76713   (exit $ac_status); }; }; then
76714   eval "$as_ac_var=yes"
76715 else
76716   echo "$as_me: failed program was:" >&5
76717 sed 's/^/| /' conftest.$ac_ext >&5
76718
76719 eval "$as_ac_var=no"
76720 fi
76721 rm -f conftest.err conftest.$ac_objext \
76722       conftest$ac_exeext conftest.$ac_ext
76723 fi
76724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76726 if test `eval echo '${'$as_ac_var'}'` = yes; then
76727   cat >>confdefs.h <<_ACEOF
76728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76729 _ACEOF
76730
76731 fi
76732 done
76733
76734   else
76735
76736   echo "$as_me:$LINENO: checking for _expl declaration" >&5
76737 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76738   if test x${glibcxx_cv_func__expl_use+set} != xset; then
76739     if test "${glibcxx_cv_func__expl_use+set}" = set; then
76740   echo $ECHO_N "(cached) $ECHO_C" >&6
76741 else
76742
76743
76744
76745       ac_ext=cc
76746 ac_cpp='$CXXCPP $CPPFLAGS'
76747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76750
76751       cat >conftest.$ac_ext <<_ACEOF
76752 /* confdefs.h.  */
76753 _ACEOF
76754 cat confdefs.h >>conftest.$ac_ext
76755 cat >>conftest.$ac_ext <<_ACEOF
76756 /* end confdefs.h.  */
76757 #include <math.h>
76758                       #ifdef HAVE_IEEEFP_H
76759                       #include <ieeefp.h>
76760                       #endif
76761
76762 int
76763 main ()
76764 {
76765  _expl(0);
76766   ;
76767   return 0;
76768 }
76769 _ACEOF
76770 rm -f conftest.$ac_objext
76771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76772   (eval $ac_compile) 2>conftest.er1
76773   ac_status=$?
76774   grep -v '^ *+' conftest.er1 >conftest.err
76775   rm -f conftest.er1
76776   cat conftest.err >&5
76777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76778   (exit $ac_status); } &&
76779          { ac_try='test -z "$ac_cxx_werror_flag"
76780                          || test ! -s conftest.err'
76781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76782   (eval $ac_try) 2>&5
76783   ac_status=$?
76784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76785   (exit $ac_status); }; } &&
76786          { ac_try='test -s conftest.$ac_objext'
76787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76788   (eval $ac_try) 2>&5
76789   ac_status=$?
76790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76791   (exit $ac_status); }; }; then
76792   glibcxx_cv_func__expl_use=yes
76793 else
76794   echo "$as_me: failed program was:" >&5
76795 sed 's/^/| /' conftest.$ac_ext >&5
76796
76797 glibcxx_cv_func__expl_use=no
76798 fi
76799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76800       ac_ext=c
76801 ac_cpp='$CPP $CPPFLAGS'
76802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76805
76806
76807 fi
76808
76809   fi
76810   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76811 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76812
76813     if test x$glibcxx_cv_func__expl_use = x"yes"; then
76814
76815 for ac_func in _expl
76816 do
76817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76818 echo "$as_me:$LINENO: checking for $ac_func" >&5
76819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76820 if eval "test \"\${$as_ac_var+set}\" = set"; then
76821   echo $ECHO_N "(cached) $ECHO_C" >&6
76822 else
76823   if test x$gcc_no_link = xyes; then
76824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76826    { (exit 1); exit 1; }; }
76827 fi
76828 cat >conftest.$ac_ext <<_ACEOF
76829 /* confdefs.h.  */
76830 _ACEOF
76831 cat confdefs.h >>conftest.$ac_ext
76832 cat >>conftest.$ac_ext <<_ACEOF
76833 /* end confdefs.h.  */
76834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76836 #define $ac_func innocuous_$ac_func
76837
76838 /* System header to define __stub macros and hopefully few prototypes,
76839     which can conflict with char $ac_func (); below.
76840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76841     <limits.h> exists even on freestanding compilers.  */
76842
76843 #ifdef __STDC__
76844 # include <limits.h>
76845 #else
76846 # include <assert.h>
76847 #endif
76848
76849 #undef $ac_func
76850
76851 /* Override any gcc2 internal prototype to avoid an error.  */
76852 #ifdef __cplusplus
76853 extern "C"
76854 {
76855 #endif
76856 /* We use char because int might match the return type of a gcc2
76857    builtin and then its argument prototype would still apply.  */
76858 char $ac_func ();
76859 /* The GNU C library defines this for functions which it implements
76860     to always fail with ENOSYS.  Some functions are actually named
76861     something starting with __ and the normal name is an alias.  */
76862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76863 choke me
76864 #else
76865 char (*f) () = $ac_func;
76866 #endif
76867 #ifdef __cplusplus
76868 }
76869 #endif
76870
76871 int
76872 main ()
76873 {
76874 return f != $ac_func;
76875   ;
76876   return 0;
76877 }
76878 _ACEOF
76879 rm -f conftest.$ac_objext conftest$ac_exeext
76880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76881   (eval $ac_link) 2>conftest.er1
76882   ac_status=$?
76883   grep -v '^ *+' conftest.er1 >conftest.err
76884   rm -f conftest.er1
76885   cat conftest.err >&5
76886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76887   (exit $ac_status); } &&
76888          { ac_try='test -z "$ac_c_werror_flag"
76889                          || test ! -s conftest.err'
76890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76891   (eval $ac_try) 2>&5
76892   ac_status=$?
76893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76894   (exit $ac_status); }; } &&
76895          { ac_try='test -s conftest$ac_exeext'
76896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76897   (eval $ac_try) 2>&5
76898   ac_status=$?
76899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76900   (exit $ac_status); }; }; then
76901   eval "$as_ac_var=yes"
76902 else
76903   echo "$as_me: failed program was:" >&5
76904 sed 's/^/| /' conftest.$ac_ext >&5
76905
76906 eval "$as_ac_var=no"
76907 fi
76908 rm -f conftest.err conftest.$ac_objext \
76909       conftest$ac_exeext conftest.$ac_ext
76910 fi
76911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76913 if test `eval echo '${'$as_ac_var'}'` = yes; then
76914   cat >>confdefs.h <<_ACEOF
76915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76916 _ACEOF
76917
76918 fi
76919 done
76920
76921     fi
76922   fi
76923
76924
76925
76926
76927
76928
76929   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
76930 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
76931   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76932     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
76933   echo $ECHO_N "(cached) $ECHO_C" >&6
76934 else
76935
76936
76937
76938       ac_ext=cc
76939 ac_cpp='$CXXCPP $CPPFLAGS'
76940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76943
76944       cat >conftest.$ac_ext <<_ACEOF
76945 /* confdefs.h.  */
76946 _ACEOF
76947 cat confdefs.h >>conftest.$ac_ext
76948 cat >>conftest.$ac_ext <<_ACEOF
76949 /* end confdefs.h.  */
76950 #include <math.h>
76951                       #ifdef HAVE_IEEEFP_H
76952                       #include <ieeefp.h>
76953                       #endif
76954
76955 int
76956 main ()
76957 {
76958  fabsl(0);
76959   ;
76960   return 0;
76961 }
76962 _ACEOF
76963 rm -f conftest.$ac_objext
76964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76965   (eval $ac_compile) 2>conftest.er1
76966   ac_status=$?
76967   grep -v '^ *+' conftest.er1 >conftest.err
76968   rm -f conftest.er1
76969   cat conftest.err >&5
76970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76971   (exit $ac_status); } &&
76972          { ac_try='test -z "$ac_cxx_werror_flag"
76973                          || test ! -s conftest.err'
76974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76975   (eval $ac_try) 2>&5
76976   ac_status=$?
76977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76978   (exit $ac_status); }; } &&
76979          { ac_try='test -s conftest.$ac_objext'
76980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76981   (eval $ac_try) 2>&5
76982   ac_status=$?
76983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76984   (exit $ac_status); }; }; then
76985   glibcxx_cv_func_fabsl_use=yes
76986 else
76987   echo "$as_me: failed program was:" >&5
76988 sed 's/^/| /' conftest.$ac_ext >&5
76989
76990 glibcxx_cv_func_fabsl_use=no
76991 fi
76992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76993       ac_ext=c
76994 ac_cpp='$CPP $CPPFLAGS'
76995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76998
76999
77000 fi
77001
77002   fi
77003   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77004 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77005
77006   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77007
77008 for ac_func in fabsl
77009 do
77010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77011 echo "$as_me:$LINENO: checking for $ac_func" >&5
77012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77013 if eval "test \"\${$as_ac_var+set}\" = set"; then
77014   echo $ECHO_N "(cached) $ECHO_C" >&6
77015 else
77016   if test x$gcc_no_link = xyes; then
77017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77019    { (exit 1); exit 1; }; }
77020 fi
77021 cat >conftest.$ac_ext <<_ACEOF
77022 /* confdefs.h.  */
77023 _ACEOF
77024 cat confdefs.h >>conftest.$ac_ext
77025 cat >>conftest.$ac_ext <<_ACEOF
77026 /* end confdefs.h.  */
77027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77029 #define $ac_func innocuous_$ac_func
77030
77031 /* System header to define __stub macros and hopefully few prototypes,
77032     which can conflict with char $ac_func (); below.
77033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77034     <limits.h> exists even on freestanding compilers.  */
77035
77036 #ifdef __STDC__
77037 # include <limits.h>
77038 #else
77039 # include <assert.h>
77040 #endif
77041
77042 #undef $ac_func
77043
77044 /* Override any gcc2 internal prototype to avoid an error.  */
77045 #ifdef __cplusplus
77046 extern "C"
77047 {
77048 #endif
77049 /* We use char because int might match the return type of a gcc2
77050    builtin and then its argument prototype would still apply.  */
77051 char $ac_func ();
77052 /* The GNU C library defines this for functions which it implements
77053     to always fail with ENOSYS.  Some functions are actually named
77054     something starting with __ and the normal name is an alias.  */
77055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77056 choke me
77057 #else
77058 char (*f) () = $ac_func;
77059 #endif
77060 #ifdef __cplusplus
77061 }
77062 #endif
77063
77064 int
77065 main ()
77066 {
77067 return f != $ac_func;
77068   ;
77069   return 0;
77070 }
77071 _ACEOF
77072 rm -f conftest.$ac_objext conftest$ac_exeext
77073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77074   (eval $ac_link) 2>conftest.er1
77075   ac_status=$?
77076   grep -v '^ *+' conftest.er1 >conftest.err
77077   rm -f conftest.er1
77078   cat conftest.err >&5
77079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77080   (exit $ac_status); } &&
77081          { ac_try='test -z "$ac_c_werror_flag"
77082                          || test ! -s conftest.err'
77083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77084   (eval $ac_try) 2>&5
77085   ac_status=$?
77086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77087   (exit $ac_status); }; } &&
77088          { ac_try='test -s conftest$ac_exeext'
77089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77090   (eval $ac_try) 2>&5
77091   ac_status=$?
77092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77093   (exit $ac_status); }; }; then
77094   eval "$as_ac_var=yes"
77095 else
77096   echo "$as_me: failed program was:" >&5
77097 sed 's/^/| /' conftest.$ac_ext >&5
77098
77099 eval "$as_ac_var=no"
77100 fi
77101 rm -f conftest.err conftest.$ac_objext \
77102       conftest$ac_exeext conftest.$ac_ext
77103 fi
77104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77106 if test `eval echo '${'$as_ac_var'}'` = yes; then
77107   cat >>confdefs.h <<_ACEOF
77108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77109 _ACEOF
77110
77111 fi
77112 done
77113
77114   else
77115
77116   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77117 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77118   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77119     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77120   echo $ECHO_N "(cached) $ECHO_C" >&6
77121 else
77122
77123
77124
77125       ac_ext=cc
77126 ac_cpp='$CXXCPP $CPPFLAGS'
77127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77130
77131       cat >conftest.$ac_ext <<_ACEOF
77132 /* confdefs.h.  */
77133 _ACEOF
77134 cat confdefs.h >>conftest.$ac_ext
77135 cat >>conftest.$ac_ext <<_ACEOF
77136 /* end confdefs.h.  */
77137 #include <math.h>
77138                       #ifdef HAVE_IEEEFP_H
77139                       #include <ieeefp.h>
77140                       #endif
77141
77142 int
77143 main ()
77144 {
77145  _fabsl(0);
77146   ;
77147   return 0;
77148 }
77149 _ACEOF
77150 rm -f conftest.$ac_objext
77151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77152   (eval $ac_compile) 2>conftest.er1
77153   ac_status=$?
77154   grep -v '^ *+' conftest.er1 >conftest.err
77155   rm -f conftest.er1
77156   cat conftest.err >&5
77157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77158   (exit $ac_status); } &&
77159          { ac_try='test -z "$ac_cxx_werror_flag"
77160                          || test ! -s conftest.err'
77161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77162   (eval $ac_try) 2>&5
77163   ac_status=$?
77164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77165   (exit $ac_status); }; } &&
77166          { ac_try='test -s conftest.$ac_objext'
77167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77168   (eval $ac_try) 2>&5
77169   ac_status=$?
77170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77171   (exit $ac_status); }; }; then
77172   glibcxx_cv_func__fabsl_use=yes
77173 else
77174   echo "$as_me: failed program was:" >&5
77175 sed 's/^/| /' conftest.$ac_ext >&5
77176
77177 glibcxx_cv_func__fabsl_use=no
77178 fi
77179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77180       ac_ext=c
77181 ac_cpp='$CPP $CPPFLAGS'
77182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77185
77186
77187 fi
77188
77189   fi
77190   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77191 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77192
77193     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77194
77195 for ac_func in _fabsl
77196 do
77197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77198 echo "$as_me:$LINENO: checking for $ac_func" >&5
77199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77200 if eval "test \"\${$as_ac_var+set}\" = set"; then
77201   echo $ECHO_N "(cached) $ECHO_C" >&6
77202 else
77203   if test x$gcc_no_link = xyes; then
77204   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77206    { (exit 1); exit 1; }; }
77207 fi
77208 cat >conftest.$ac_ext <<_ACEOF
77209 /* confdefs.h.  */
77210 _ACEOF
77211 cat confdefs.h >>conftest.$ac_ext
77212 cat >>conftest.$ac_ext <<_ACEOF
77213 /* end confdefs.h.  */
77214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77215    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77216 #define $ac_func innocuous_$ac_func
77217
77218 /* System header to define __stub macros and hopefully few prototypes,
77219     which can conflict with char $ac_func (); below.
77220     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77221     <limits.h> exists even on freestanding compilers.  */
77222
77223 #ifdef __STDC__
77224 # include <limits.h>
77225 #else
77226 # include <assert.h>
77227 #endif
77228
77229 #undef $ac_func
77230
77231 /* Override any gcc2 internal prototype to avoid an error.  */
77232 #ifdef __cplusplus
77233 extern "C"
77234 {
77235 #endif
77236 /* We use char because int might match the return type of a gcc2
77237    builtin and then its argument prototype would still apply.  */
77238 char $ac_func ();
77239 /* The GNU C library defines this for functions which it implements
77240     to always fail with ENOSYS.  Some functions are actually named
77241     something starting with __ and the normal name is an alias.  */
77242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77243 choke me
77244 #else
77245 char (*f) () = $ac_func;
77246 #endif
77247 #ifdef __cplusplus
77248 }
77249 #endif
77250
77251 int
77252 main ()
77253 {
77254 return f != $ac_func;
77255   ;
77256   return 0;
77257 }
77258 _ACEOF
77259 rm -f conftest.$ac_objext conftest$ac_exeext
77260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77261   (eval $ac_link) 2>conftest.er1
77262   ac_status=$?
77263   grep -v '^ *+' conftest.er1 >conftest.err
77264   rm -f conftest.er1
77265   cat conftest.err >&5
77266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77267   (exit $ac_status); } &&
77268          { ac_try='test -z "$ac_c_werror_flag"
77269                          || test ! -s conftest.err'
77270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77271   (eval $ac_try) 2>&5
77272   ac_status=$?
77273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77274   (exit $ac_status); }; } &&
77275          { ac_try='test -s conftest$ac_exeext'
77276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77277   (eval $ac_try) 2>&5
77278   ac_status=$?
77279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77280   (exit $ac_status); }; }; then
77281   eval "$as_ac_var=yes"
77282 else
77283   echo "$as_me: failed program was:" >&5
77284 sed 's/^/| /' conftest.$ac_ext >&5
77285
77286 eval "$as_ac_var=no"
77287 fi
77288 rm -f conftest.err conftest.$ac_objext \
77289       conftest$ac_exeext conftest.$ac_ext
77290 fi
77291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77293 if test `eval echo '${'$as_ac_var'}'` = yes; then
77294   cat >>confdefs.h <<_ACEOF
77295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77296 _ACEOF
77297
77298 fi
77299 done
77300
77301     fi
77302   fi
77303
77304
77305
77306
77307
77308
77309   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77310 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77311   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77312     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77313   echo $ECHO_N "(cached) $ECHO_C" >&6
77314 else
77315
77316
77317
77318       ac_ext=cc
77319 ac_cpp='$CXXCPP $CPPFLAGS'
77320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77323
77324       cat >conftest.$ac_ext <<_ACEOF
77325 /* confdefs.h.  */
77326 _ACEOF
77327 cat confdefs.h >>conftest.$ac_ext
77328 cat >>conftest.$ac_ext <<_ACEOF
77329 /* end confdefs.h.  */
77330 #include <math.h>
77331 int
77332 main ()
77333 {
77334  fmodl(0, 0);
77335   ;
77336   return 0;
77337 }
77338 _ACEOF
77339 rm -f conftest.$ac_objext
77340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77341   (eval $ac_compile) 2>conftest.er1
77342   ac_status=$?
77343   grep -v '^ *+' conftest.er1 >conftest.err
77344   rm -f conftest.er1
77345   cat conftest.err >&5
77346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77347   (exit $ac_status); } &&
77348          { ac_try='test -z "$ac_cxx_werror_flag"
77349                          || test ! -s conftest.err'
77350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77351   (eval $ac_try) 2>&5
77352   ac_status=$?
77353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77354   (exit $ac_status); }; } &&
77355          { ac_try='test -s conftest.$ac_objext'
77356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77357   (eval $ac_try) 2>&5
77358   ac_status=$?
77359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77360   (exit $ac_status); }; }; then
77361   glibcxx_cv_func_fmodl_use=yes
77362 else
77363   echo "$as_me: failed program was:" >&5
77364 sed 's/^/| /' conftest.$ac_ext >&5
77365
77366 glibcxx_cv_func_fmodl_use=no
77367 fi
77368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77369       ac_ext=c
77370 ac_cpp='$CPP $CPPFLAGS'
77371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77374
77375
77376 fi
77377
77378   fi
77379   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77380 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77381
77382   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77383
77384 for ac_func in fmodl
77385 do
77386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77387 echo "$as_me:$LINENO: checking for $ac_func" >&5
77388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77389 if eval "test \"\${$as_ac_var+set}\" = set"; then
77390   echo $ECHO_N "(cached) $ECHO_C" >&6
77391 else
77392   if test x$gcc_no_link = xyes; then
77393   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77395    { (exit 1); exit 1; }; }
77396 fi
77397 cat >conftest.$ac_ext <<_ACEOF
77398 /* confdefs.h.  */
77399 _ACEOF
77400 cat confdefs.h >>conftest.$ac_ext
77401 cat >>conftest.$ac_ext <<_ACEOF
77402 /* end confdefs.h.  */
77403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77404    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77405 #define $ac_func innocuous_$ac_func
77406
77407 /* System header to define __stub macros and hopefully few prototypes,
77408     which can conflict with char $ac_func (); below.
77409     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77410     <limits.h> exists even on freestanding compilers.  */
77411
77412 #ifdef __STDC__
77413 # include <limits.h>
77414 #else
77415 # include <assert.h>
77416 #endif
77417
77418 #undef $ac_func
77419
77420 /* Override any gcc2 internal prototype to avoid an error.  */
77421 #ifdef __cplusplus
77422 extern "C"
77423 {
77424 #endif
77425 /* We use char because int might match the return type of a gcc2
77426    builtin and then its argument prototype would still apply.  */
77427 char $ac_func ();
77428 /* The GNU C library defines this for functions which it implements
77429     to always fail with ENOSYS.  Some functions are actually named
77430     something starting with __ and the normal name is an alias.  */
77431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77432 choke me
77433 #else
77434 char (*f) () = $ac_func;
77435 #endif
77436 #ifdef __cplusplus
77437 }
77438 #endif
77439
77440 int
77441 main ()
77442 {
77443 return f != $ac_func;
77444   ;
77445   return 0;
77446 }
77447 _ACEOF
77448 rm -f conftest.$ac_objext conftest$ac_exeext
77449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77450   (eval $ac_link) 2>conftest.er1
77451   ac_status=$?
77452   grep -v '^ *+' conftest.er1 >conftest.err
77453   rm -f conftest.er1
77454   cat conftest.err >&5
77455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77456   (exit $ac_status); } &&
77457          { ac_try='test -z "$ac_c_werror_flag"
77458                          || test ! -s conftest.err'
77459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77460   (eval $ac_try) 2>&5
77461   ac_status=$?
77462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77463   (exit $ac_status); }; } &&
77464          { ac_try='test -s conftest$ac_exeext'
77465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77466   (eval $ac_try) 2>&5
77467   ac_status=$?
77468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77469   (exit $ac_status); }; }; then
77470   eval "$as_ac_var=yes"
77471 else
77472   echo "$as_me: failed program was:" >&5
77473 sed 's/^/| /' conftest.$ac_ext >&5
77474
77475 eval "$as_ac_var=no"
77476 fi
77477 rm -f conftest.err conftest.$ac_objext \
77478       conftest$ac_exeext conftest.$ac_ext
77479 fi
77480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77482 if test `eval echo '${'$as_ac_var'}'` = yes; then
77483   cat >>confdefs.h <<_ACEOF
77484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77485 _ACEOF
77486
77487 fi
77488 done
77489
77490   else
77491
77492   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77493 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77494   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77495     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77496   echo $ECHO_N "(cached) $ECHO_C" >&6
77497 else
77498
77499
77500
77501       ac_ext=cc
77502 ac_cpp='$CXXCPP $CPPFLAGS'
77503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77506
77507       cat >conftest.$ac_ext <<_ACEOF
77508 /* confdefs.h.  */
77509 _ACEOF
77510 cat confdefs.h >>conftest.$ac_ext
77511 cat >>conftest.$ac_ext <<_ACEOF
77512 /* end confdefs.h.  */
77513 #include <math.h>
77514 int
77515 main ()
77516 {
77517  _fmodl(0, 0);
77518   ;
77519   return 0;
77520 }
77521 _ACEOF
77522 rm -f conftest.$ac_objext
77523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77524   (eval $ac_compile) 2>conftest.er1
77525   ac_status=$?
77526   grep -v '^ *+' conftest.er1 >conftest.err
77527   rm -f conftest.er1
77528   cat conftest.err >&5
77529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77530   (exit $ac_status); } &&
77531          { ac_try='test -z "$ac_cxx_werror_flag"
77532                          || test ! -s conftest.err'
77533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77534   (eval $ac_try) 2>&5
77535   ac_status=$?
77536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77537   (exit $ac_status); }; } &&
77538          { ac_try='test -s conftest.$ac_objext'
77539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77540   (eval $ac_try) 2>&5
77541   ac_status=$?
77542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77543   (exit $ac_status); }; }; then
77544   glibcxx_cv_func__fmodl_use=yes
77545 else
77546   echo "$as_me: failed program was:" >&5
77547 sed 's/^/| /' conftest.$ac_ext >&5
77548
77549 glibcxx_cv_func__fmodl_use=no
77550 fi
77551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77552       ac_ext=c
77553 ac_cpp='$CPP $CPPFLAGS'
77554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77557
77558
77559 fi
77560
77561   fi
77562   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77563 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77564
77565     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77566
77567 for ac_func in _fmodl
77568 do
77569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77570 echo "$as_me:$LINENO: checking for $ac_func" >&5
77571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77572 if eval "test \"\${$as_ac_var+set}\" = set"; then
77573   echo $ECHO_N "(cached) $ECHO_C" >&6
77574 else
77575   if test x$gcc_no_link = xyes; then
77576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77578    { (exit 1); exit 1; }; }
77579 fi
77580 cat >conftest.$ac_ext <<_ACEOF
77581 /* confdefs.h.  */
77582 _ACEOF
77583 cat confdefs.h >>conftest.$ac_ext
77584 cat >>conftest.$ac_ext <<_ACEOF
77585 /* end confdefs.h.  */
77586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77588 #define $ac_func innocuous_$ac_func
77589
77590 /* System header to define __stub macros and hopefully few prototypes,
77591     which can conflict with char $ac_func (); below.
77592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77593     <limits.h> exists even on freestanding compilers.  */
77594
77595 #ifdef __STDC__
77596 # include <limits.h>
77597 #else
77598 # include <assert.h>
77599 #endif
77600
77601 #undef $ac_func
77602
77603 /* Override any gcc2 internal prototype to avoid an error.  */
77604 #ifdef __cplusplus
77605 extern "C"
77606 {
77607 #endif
77608 /* We use char because int might match the return type of a gcc2
77609    builtin and then its argument prototype would still apply.  */
77610 char $ac_func ();
77611 /* The GNU C library defines this for functions which it implements
77612     to always fail with ENOSYS.  Some functions are actually named
77613     something starting with __ and the normal name is an alias.  */
77614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77615 choke me
77616 #else
77617 char (*f) () = $ac_func;
77618 #endif
77619 #ifdef __cplusplus
77620 }
77621 #endif
77622
77623 int
77624 main ()
77625 {
77626 return f != $ac_func;
77627   ;
77628   return 0;
77629 }
77630 _ACEOF
77631 rm -f conftest.$ac_objext conftest$ac_exeext
77632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77633   (eval $ac_link) 2>conftest.er1
77634   ac_status=$?
77635   grep -v '^ *+' conftest.er1 >conftest.err
77636   rm -f conftest.er1
77637   cat conftest.err >&5
77638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77639   (exit $ac_status); } &&
77640          { ac_try='test -z "$ac_c_werror_flag"
77641                          || test ! -s conftest.err'
77642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77643   (eval $ac_try) 2>&5
77644   ac_status=$?
77645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77646   (exit $ac_status); }; } &&
77647          { ac_try='test -s conftest$ac_exeext'
77648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77649   (eval $ac_try) 2>&5
77650   ac_status=$?
77651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77652   (exit $ac_status); }; }; then
77653   eval "$as_ac_var=yes"
77654 else
77655   echo "$as_me: failed program was:" >&5
77656 sed 's/^/| /' conftest.$ac_ext >&5
77657
77658 eval "$as_ac_var=no"
77659 fi
77660 rm -f conftest.err conftest.$ac_objext \
77661       conftest$ac_exeext conftest.$ac_ext
77662 fi
77663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77665 if test `eval echo '${'$as_ac_var'}'` = yes; then
77666   cat >>confdefs.h <<_ACEOF
77667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77668 _ACEOF
77669
77670 fi
77671 done
77672
77673     fi
77674   fi
77675
77676
77677
77678
77679
77680
77681   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77682 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77683   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77684     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77685   echo $ECHO_N "(cached) $ECHO_C" >&6
77686 else
77687
77688
77689
77690       ac_ext=cc
77691 ac_cpp='$CXXCPP $CPPFLAGS'
77692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77695
77696       cat >conftest.$ac_ext <<_ACEOF
77697 /* confdefs.h.  */
77698 _ACEOF
77699 cat confdefs.h >>conftest.$ac_ext
77700 cat >>conftest.$ac_ext <<_ACEOF
77701 /* end confdefs.h.  */
77702 #include <math.h>
77703 int
77704 main ()
77705 {
77706  frexpl(0, 0);
77707   ;
77708   return 0;
77709 }
77710 _ACEOF
77711 rm -f conftest.$ac_objext
77712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77713   (eval $ac_compile) 2>conftest.er1
77714   ac_status=$?
77715   grep -v '^ *+' conftest.er1 >conftest.err
77716   rm -f conftest.er1
77717   cat conftest.err >&5
77718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77719   (exit $ac_status); } &&
77720          { ac_try='test -z "$ac_cxx_werror_flag"
77721                          || test ! -s conftest.err'
77722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77723   (eval $ac_try) 2>&5
77724   ac_status=$?
77725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77726   (exit $ac_status); }; } &&
77727          { ac_try='test -s conftest.$ac_objext'
77728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77729   (eval $ac_try) 2>&5
77730   ac_status=$?
77731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77732   (exit $ac_status); }; }; then
77733   glibcxx_cv_func_frexpl_use=yes
77734 else
77735   echo "$as_me: failed program was:" >&5
77736 sed 's/^/| /' conftest.$ac_ext >&5
77737
77738 glibcxx_cv_func_frexpl_use=no
77739 fi
77740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77741       ac_ext=c
77742 ac_cpp='$CPP $CPPFLAGS'
77743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77746
77747
77748 fi
77749
77750   fi
77751   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77752 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77753
77754   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77755
77756 for ac_func in frexpl
77757 do
77758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77759 echo "$as_me:$LINENO: checking for $ac_func" >&5
77760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77761 if eval "test \"\${$as_ac_var+set}\" = set"; then
77762   echo $ECHO_N "(cached) $ECHO_C" >&6
77763 else
77764   if test x$gcc_no_link = xyes; then
77765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77767    { (exit 1); exit 1; }; }
77768 fi
77769 cat >conftest.$ac_ext <<_ACEOF
77770 /* confdefs.h.  */
77771 _ACEOF
77772 cat confdefs.h >>conftest.$ac_ext
77773 cat >>conftest.$ac_ext <<_ACEOF
77774 /* end confdefs.h.  */
77775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77776    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77777 #define $ac_func innocuous_$ac_func
77778
77779 /* System header to define __stub macros and hopefully few prototypes,
77780     which can conflict with char $ac_func (); below.
77781     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77782     <limits.h> exists even on freestanding compilers.  */
77783
77784 #ifdef __STDC__
77785 # include <limits.h>
77786 #else
77787 # include <assert.h>
77788 #endif
77789
77790 #undef $ac_func
77791
77792 /* Override any gcc2 internal prototype to avoid an error.  */
77793 #ifdef __cplusplus
77794 extern "C"
77795 {
77796 #endif
77797 /* We use char because int might match the return type of a gcc2
77798    builtin and then its argument prototype would still apply.  */
77799 char $ac_func ();
77800 /* The GNU C library defines this for functions which it implements
77801     to always fail with ENOSYS.  Some functions are actually named
77802     something starting with __ and the normal name is an alias.  */
77803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77804 choke me
77805 #else
77806 char (*f) () = $ac_func;
77807 #endif
77808 #ifdef __cplusplus
77809 }
77810 #endif
77811
77812 int
77813 main ()
77814 {
77815 return f != $ac_func;
77816   ;
77817   return 0;
77818 }
77819 _ACEOF
77820 rm -f conftest.$ac_objext conftest$ac_exeext
77821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77822   (eval $ac_link) 2>conftest.er1
77823   ac_status=$?
77824   grep -v '^ *+' conftest.er1 >conftest.err
77825   rm -f conftest.er1
77826   cat conftest.err >&5
77827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77828   (exit $ac_status); } &&
77829          { ac_try='test -z "$ac_c_werror_flag"
77830                          || test ! -s conftest.err'
77831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77832   (eval $ac_try) 2>&5
77833   ac_status=$?
77834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77835   (exit $ac_status); }; } &&
77836          { ac_try='test -s conftest$ac_exeext'
77837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77838   (eval $ac_try) 2>&5
77839   ac_status=$?
77840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77841   (exit $ac_status); }; }; then
77842   eval "$as_ac_var=yes"
77843 else
77844   echo "$as_me: failed program was:" >&5
77845 sed 's/^/| /' conftest.$ac_ext >&5
77846
77847 eval "$as_ac_var=no"
77848 fi
77849 rm -f conftest.err conftest.$ac_objext \
77850       conftest$ac_exeext conftest.$ac_ext
77851 fi
77852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77854 if test `eval echo '${'$as_ac_var'}'` = yes; then
77855   cat >>confdefs.h <<_ACEOF
77856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77857 _ACEOF
77858
77859 fi
77860 done
77861
77862   else
77863
77864   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77865 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77866   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77867     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77868   echo $ECHO_N "(cached) $ECHO_C" >&6
77869 else
77870
77871
77872
77873       ac_ext=cc
77874 ac_cpp='$CXXCPP $CPPFLAGS'
77875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77878
77879       cat >conftest.$ac_ext <<_ACEOF
77880 /* confdefs.h.  */
77881 _ACEOF
77882 cat confdefs.h >>conftest.$ac_ext
77883 cat >>conftest.$ac_ext <<_ACEOF
77884 /* end confdefs.h.  */
77885 #include <math.h>
77886 int
77887 main ()
77888 {
77889  _frexpl(0, 0);
77890   ;
77891   return 0;
77892 }
77893 _ACEOF
77894 rm -f conftest.$ac_objext
77895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77896   (eval $ac_compile) 2>conftest.er1
77897   ac_status=$?
77898   grep -v '^ *+' conftest.er1 >conftest.err
77899   rm -f conftest.er1
77900   cat conftest.err >&5
77901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77902   (exit $ac_status); } &&
77903          { ac_try='test -z "$ac_cxx_werror_flag"
77904                          || test ! -s conftest.err'
77905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77906   (eval $ac_try) 2>&5
77907   ac_status=$?
77908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77909   (exit $ac_status); }; } &&
77910          { ac_try='test -s conftest.$ac_objext'
77911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77912   (eval $ac_try) 2>&5
77913   ac_status=$?
77914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77915   (exit $ac_status); }; }; then
77916   glibcxx_cv_func__frexpl_use=yes
77917 else
77918   echo "$as_me: failed program was:" >&5
77919 sed 's/^/| /' conftest.$ac_ext >&5
77920
77921 glibcxx_cv_func__frexpl_use=no
77922 fi
77923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77924       ac_ext=c
77925 ac_cpp='$CPP $CPPFLAGS'
77926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77929
77930
77931 fi
77932
77933   fi
77934   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
77935 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
77936
77937     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77938
77939 for ac_func in _frexpl
77940 do
77941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77942 echo "$as_me:$LINENO: checking for $ac_func" >&5
77943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77944 if eval "test \"\${$as_ac_var+set}\" = set"; then
77945   echo $ECHO_N "(cached) $ECHO_C" >&6
77946 else
77947   if test x$gcc_no_link = xyes; then
77948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77950    { (exit 1); exit 1; }; }
77951 fi
77952 cat >conftest.$ac_ext <<_ACEOF
77953 /* confdefs.h.  */
77954 _ACEOF
77955 cat confdefs.h >>conftest.$ac_ext
77956 cat >>conftest.$ac_ext <<_ACEOF
77957 /* end confdefs.h.  */
77958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77960 #define $ac_func innocuous_$ac_func
77961
77962 /* System header to define __stub macros and hopefully few prototypes,
77963     which can conflict with char $ac_func (); below.
77964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77965     <limits.h> exists even on freestanding compilers.  */
77966
77967 #ifdef __STDC__
77968 # include <limits.h>
77969 #else
77970 # include <assert.h>
77971 #endif
77972
77973 #undef $ac_func
77974
77975 /* Override any gcc2 internal prototype to avoid an error.  */
77976 #ifdef __cplusplus
77977 extern "C"
77978 {
77979 #endif
77980 /* We use char because int might match the return type of a gcc2
77981    builtin and then its argument prototype would still apply.  */
77982 char $ac_func ();
77983 /* The GNU C library defines this for functions which it implements
77984     to always fail with ENOSYS.  Some functions are actually named
77985     something starting with __ and the normal name is an alias.  */
77986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77987 choke me
77988 #else
77989 char (*f) () = $ac_func;
77990 #endif
77991 #ifdef __cplusplus
77992 }
77993 #endif
77994
77995 int
77996 main ()
77997 {
77998 return f != $ac_func;
77999   ;
78000   return 0;
78001 }
78002 _ACEOF
78003 rm -f conftest.$ac_objext conftest$ac_exeext
78004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78005   (eval $ac_link) 2>conftest.er1
78006   ac_status=$?
78007   grep -v '^ *+' conftest.er1 >conftest.err
78008   rm -f conftest.er1
78009   cat conftest.err >&5
78010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78011   (exit $ac_status); } &&
78012          { ac_try='test -z "$ac_c_werror_flag"
78013                          || test ! -s conftest.err'
78014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78015   (eval $ac_try) 2>&5
78016   ac_status=$?
78017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78018   (exit $ac_status); }; } &&
78019          { ac_try='test -s conftest$ac_exeext'
78020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78021   (eval $ac_try) 2>&5
78022   ac_status=$?
78023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78024   (exit $ac_status); }; }; then
78025   eval "$as_ac_var=yes"
78026 else
78027   echo "$as_me: failed program was:" >&5
78028 sed 's/^/| /' conftest.$ac_ext >&5
78029
78030 eval "$as_ac_var=no"
78031 fi
78032 rm -f conftest.err conftest.$ac_objext \
78033       conftest$ac_exeext conftest.$ac_ext
78034 fi
78035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78037 if test `eval echo '${'$as_ac_var'}'` = yes; then
78038   cat >>confdefs.h <<_ACEOF
78039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78040 _ACEOF
78041
78042 fi
78043 done
78044
78045     fi
78046   fi
78047
78048
78049
78050
78051
78052
78053   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78054 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78055   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78056     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78057   echo $ECHO_N "(cached) $ECHO_C" >&6
78058 else
78059
78060
78061
78062       ac_ext=cc
78063 ac_cpp='$CXXCPP $CPPFLAGS'
78064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78067
78068       cat >conftest.$ac_ext <<_ACEOF
78069 /* confdefs.h.  */
78070 _ACEOF
78071 cat confdefs.h >>conftest.$ac_ext
78072 cat >>conftest.$ac_ext <<_ACEOF
78073 /* end confdefs.h.  */
78074 #include <math.h>
78075 int
78076 main ()
78077 {
78078  hypotl(0, 0);
78079   ;
78080   return 0;
78081 }
78082 _ACEOF
78083 rm -f conftest.$ac_objext
78084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78085   (eval $ac_compile) 2>conftest.er1
78086   ac_status=$?
78087   grep -v '^ *+' conftest.er1 >conftest.err
78088   rm -f conftest.er1
78089   cat conftest.err >&5
78090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78091   (exit $ac_status); } &&
78092          { ac_try='test -z "$ac_cxx_werror_flag"
78093                          || test ! -s conftest.err'
78094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78095   (eval $ac_try) 2>&5
78096   ac_status=$?
78097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78098   (exit $ac_status); }; } &&
78099          { ac_try='test -s conftest.$ac_objext'
78100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78101   (eval $ac_try) 2>&5
78102   ac_status=$?
78103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78104   (exit $ac_status); }; }; then
78105   glibcxx_cv_func_hypotl_use=yes
78106 else
78107   echo "$as_me: failed program was:" >&5
78108 sed 's/^/| /' conftest.$ac_ext >&5
78109
78110 glibcxx_cv_func_hypotl_use=no
78111 fi
78112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78113       ac_ext=c
78114 ac_cpp='$CPP $CPPFLAGS'
78115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78118
78119
78120 fi
78121
78122   fi
78123   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78124 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78125
78126   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78127
78128 for ac_func in hypotl
78129 do
78130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78131 echo "$as_me:$LINENO: checking for $ac_func" >&5
78132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78133 if eval "test \"\${$as_ac_var+set}\" = set"; then
78134   echo $ECHO_N "(cached) $ECHO_C" >&6
78135 else
78136   if test x$gcc_no_link = xyes; then
78137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78139    { (exit 1); exit 1; }; }
78140 fi
78141 cat >conftest.$ac_ext <<_ACEOF
78142 /* confdefs.h.  */
78143 _ACEOF
78144 cat confdefs.h >>conftest.$ac_ext
78145 cat >>conftest.$ac_ext <<_ACEOF
78146 /* end confdefs.h.  */
78147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78149 #define $ac_func innocuous_$ac_func
78150
78151 /* System header to define __stub macros and hopefully few prototypes,
78152     which can conflict with char $ac_func (); below.
78153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78154     <limits.h> exists even on freestanding compilers.  */
78155
78156 #ifdef __STDC__
78157 # include <limits.h>
78158 #else
78159 # include <assert.h>
78160 #endif
78161
78162 #undef $ac_func
78163
78164 /* Override any gcc2 internal prototype to avoid an error.  */
78165 #ifdef __cplusplus
78166 extern "C"
78167 {
78168 #endif
78169 /* We use char because int might match the return type of a gcc2
78170    builtin and then its argument prototype would still apply.  */
78171 char $ac_func ();
78172 /* The GNU C library defines this for functions which it implements
78173     to always fail with ENOSYS.  Some functions are actually named
78174     something starting with __ and the normal name is an alias.  */
78175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78176 choke me
78177 #else
78178 char (*f) () = $ac_func;
78179 #endif
78180 #ifdef __cplusplus
78181 }
78182 #endif
78183
78184 int
78185 main ()
78186 {
78187 return f != $ac_func;
78188   ;
78189   return 0;
78190 }
78191 _ACEOF
78192 rm -f conftest.$ac_objext conftest$ac_exeext
78193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78194   (eval $ac_link) 2>conftest.er1
78195   ac_status=$?
78196   grep -v '^ *+' conftest.er1 >conftest.err
78197   rm -f conftest.er1
78198   cat conftest.err >&5
78199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78200   (exit $ac_status); } &&
78201          { ac_try='test -z "$ac_c_werror_flag"
78202                          || test ! -s conftest.err'
78203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78204   (eval $ac_try) 2>&5
78205   ac_status=$?
78206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78207   (exit $ac_status); }; } &&
78208          { ac_try='test -s conftest$ac_exeext'
78209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78210   (eval $ac_try) 2>&5
78211   ac_status=$?
78212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78213   (exit $ac_status); }; }; then
78214   eval "$as_ac_var=yes"
78215 else
78216   echo "$as_me: failed program was:" >&5
78217 sed 's/^/| /' conftest.$ac_ext >&5
78218
78219 eval "$as_ac_var=no"
78220 fi
78221 rm -f conftest.err conftest.$ac_objext \
78222       conftest$ac_exeext conftest.$ac_ext
78223 fi
78224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78226 if test `eval echo '${'$as_ac_var'}'` = yes; then
78227   cat >>confdefs.h <<_ACEOF
78228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78229 _ACEOF
78230
78231 fi
78232 done
78233
78234   else
78235
78236   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78237 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78238   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78239     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78240   echo $ECHO_N "(cached) $ECHO_C" >&6
78241 else
78242
78243
78244
78245       ac_ext=cc
78246 ac_cpp='$CXXCPP $CPPFLAGS'
78247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78250
78251       cat >conftest.$ac_ext <<_ACEOF
78252 /* confdefs.h.  */
78253 _ACEOF
78254 cat confdefs.h >>conftest.$ac_ext
78255 cat >>conftest.$ac_ext <<_ACEOF
78256 /* end confdefs.h.  */
78257 #include <math.h>
78258 int
78259 main ()
78260 {
78261  _hypotl(0, 0);
78262   ;
78263   return 0;
78264 }
78265 _ACEOF
78266 rm -f conftest.$ac_objext
78267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78268   (eval $ac_compile) 2>conftest.er1
78269   ac_status=$?
78270   grep -v '^ *+' conftest.er1 >conftest.err
78271   rm -f conftest.er1
78272   cat conftest.err >&5
78273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78274   (exit $ac_status); } &&
78275          { ac_try='test -z "$ac_cxx_werror_flag"
78276                          || test ! -s conftest.err'
78277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78278   (eval $ac_try) 2>&5
78279   ac_status=$?
78280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78281   (exit $ac_status); }; } &&
78282          { ac_try='test -s conftest.$ac_objext'
78283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78284   (eval $ac_try) 2>&5
78285   ac_status=$?
78286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78287   (exit $ac_status); }; }; then
78288   glibcxx_cv_func__hypotl_use=yes
78289 else
78290   echo "$as_me: failed program was:" >&5
78291 sed 's/^/| /' conftest.$ac_ext >&5
78292
78293 glibcxx_cv_func__hypotl_use=no
78294 fi
78295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78296       ac_ext=c
78297 ac_cpp='$CPP $CPPFLAGS'
78298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78301
78302
78303 fi
78304
78305   fi
78306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78307 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78308
78309     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78310
78311 for ac_func in _hypotl
78312 do
78313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78314 echo "$as_me:$LINENO: checking for $ac_func" >&5
78315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78316 if eval "test \"\${$as_ac_var+set}\" = set"; then
78317   echo $ECHO_N "(cached) $ECHO_C" >&6
78318 else
78319   if test x$gcc_no_link = xyes; then
78320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78322    { (exit 1); exit 1; }; }
78323 fi
78324 cat >conftest.$ac_ext <<_ACEOF
78325 /* confdefs.h.  */
78326 _ACEOF
78327 cat confdefs.h >>conftest.$ac_ext
78328 cat >>conftest.$ac_ext <<_ACEOF
78329 /* end confdefs.h.  */
78330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78332 #define $ac_func innocuous_$ac_func
78333
78334 /* System header to define __stub macros and hopefully few prototypes,
78335     which can conflict with char $ac_func (); below.
78336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78337     <limits.h> exists even on freestanding compilers.  */
78338
78339 #ifdef __STDC__
78340 # include <limits.h>
78341 #else
78342 # include <assert.h>
78343 #endif
78344
78345 #undef $ac_func
78346
78347 /* Override any gcc2 internal prototype to avoid an error.  */
78348 #ifdef __cplusplus
78349 extern "C"
78350 {
78351 #endif
78352 /* We use char because int might match the return type of a gcc2
78353    builtin and then its argument prototype would still apply.  */
78354 char $ac_func ();
78355 /* The GNU C library defines this for functions which it implements
78356     to always fail with ENOSYS.  Some functions are actually named
78357     something starting with __ and the normal name is an alias.  */
78358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78359 choke me
78360 #else
78361 char (*f) () = $ac_func;
78362 #endif
78363 #ifdef __cplusplus
78364 }
78365 #endif
78366
78367 int
78368 main ()
78369 {
78370 return f != $ac_func;
78371   ;
78372   return 0;
78373 }
78374 _ACEOF
78375 rm -f conftest.$ac_objext conftest$ac_exeext
78376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78377   (eval $ac_link) 2>conftest.er1
78378   ac_status=$?
78379   grep -v '^ *+' conftest.er1 >conftest.err
78380   rm -f conftest.er1
78381   cat conftest.err >&5
78382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78383   (exit $ac_status); } &&
78384          { ac_try='test -z "$ac_c_werror_flag"
78385                          || test ! -s conftest.err'
78386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78387   (eval $ac_try) 2>&5
78388   ac_status=$?
78389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78390   (exit $ac_status); }; } &&
78391          { ac_try='test -s conftest$ac_exeext'
78392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78393   (eval $ac_try) 2>&5
78394   ac_status=$?
78395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78396   (exit $ac_status); }; }; then
78397   eval "$as_ac_var=yes"
78398 else
78399   echo "$as_me: failed program was:" >&5
78400 sed 's/^/| /' conftest.$ac_ext >&5
78401
78402 eval "$as_ac_var=no"
78403 fi
78404 rm -f conftest.err conftest.$ac_objext \
78405       conftest$ac_exeext conftest.$ac_ext
78406 fi
78407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78409 if test `eval echo '${'$as_ac_var'}'` = yes; then
78410   cat >>confdefs.h <<_ACEOF
78411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78412 _ACEOF
78413
78414 fi
78415 done
78416
78417     fi
78418   fi
78419
78420
78421
78422
78423
78424
78425   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78426 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78427   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78428     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78429   echo $ECHO_N "(cached) $ECHO_C" >&6
78430 else
78431
78432
78433
78434       ac_ext=cc
78435 ac_cpp='$CXXCPP $CPPFLAGS'
78436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78439
78440       cat >conftest.$ac_ext <<_ACEOF
78441 /* confdefs.h.  */
78442 _ACEOF
78443 cat confdefs.h >>conftest.$ac_ext
78444 cat >>conftest.$ac_ext <<_ACEOF
78445 /* end confdefs.h.  */
78446 #include <math.h>
78447 int
78448 main ()
78449 {
78450  ldexpl(0, 0);
78451   ;
78452   return 0;
78453 }
78454 _ACEOF
78455 rm -f conftest.$ac_objext
78456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78457   (eval $ac_compile) 2>conftest.er1
78458   ac_status=$?
78459   grep -v '^ *+' conftest.er1 >conftest.err
78460   rm -f conftest.er1
78461   cat conftest.err >&5
78462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78463   (exit $ac_status); } &&
78464          { ac_try='test -z "$ac_cxx_werror_flag"
78465                          || test ! -s conftest.err'
78466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78467   (eval $ac_try) 2>&5
78468   ac_status=$?
78469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78470   (exit $ac_status); }; } &&
78471          { ac_try='test -s conftest.$ac_objext'
78472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78473   (eval $ac_try) 2>&5
78474   ac_status=$?
78475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78476   (exit $ac_status); }; }; then
78477   glibcxx_cv_func_ldexpl_use=yes
78478 else
78479   echo "$as_me: failed program was:" >&5
78480 sed 's/^/| /' conftest.$ac_ext >&5
78481
78482 glibcxx_cv_func_ldexpl_use=no
78483 fi
78484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78485       ac_ext=c
78486 ac_cpp='$CPP $CPPFLAGS'
78487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78490
78491
78492 fi
78493
78494   fi
78495   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78496 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78497
78498   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78499
78500 for ac_func in ldexpl
78501 do
78502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78503 echo "$as_me:$LINENO: checking for $ac_func" >&5
78504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78505 if eval "test \"\${$as_ac_var+set}\" = set"; then
78506   echo $ECHO_N "(cached) $ECHO_C" >&6
78507 else
78508   if test x$gcc_no_link = xyes; then
78509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78511    { (exit 1); exit 1; }; }
78512 fi
78513 cat >conftest.$ac_ext <<_ACEOF
78514 /* confdefs.h.  */
78515 _ACEOF
78516 cat confdefs.h >>conftest.$ac_ext
78517 cat >>conftest.$ac_ext <<_ACEOF
78518 /* end confdefs.h.  */
78519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78521 #define $ac_func innocuous_$ac_func
78522
78523 /* System header to define __stub macros and hopefully few prototypes,
78524     which can conflict with char $ac_func (); below.
78525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78526     <limits.h> exists even on freestanding compilers.  */
78527
78528 #ifdef __STDC__
78529 # include <limits.h>
78530 #else
78531 # include <assert.h>
78532 #endif
78533
78534 #undef $ac_func
78535
78536 /* Override any gcc2 internal prototype to avoid an error.  */
78537 #ifdef __cplusplus
78538 extern "C"
78539 {
78540 #endif
78541 /* We use char because int might match the return type of a gcc2
78542    builtin and then its argument prototype would still apply.  */
78543 char $ac_func ();
78544 /* The GNU C library defines this for functions which it implements
78545     to always fail with ENOSYS.  Some functions are actually named
78546     something starting with __ and the normal name is an alias.  */
78547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78548 choke me
78549 #else
78550 char (*f) () = $ac_func;
78551 #endif
78552 #ifdef __cplusplus
78553 }
78554 #endif
78555
78556 int
78557 main ()
78558 {
78559 return f != $ac_func;
78560   ;
78561   return 0;
78562 }
78563 _ACEOF
78564 rm -f conftest.$ac_objext conftest$ac_exeext
78565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78566   (eval $ac_link) 2>conftest.er1
78567   ac_status=$?
78568   grep -v '^ *+' conftest.er1 >conftest.err
78569   rm -f conftest.er1
78570   cat conftest.err >&5
78571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78572   (exit $ac_status); } &&
78573          { ac_try='test -z "$ac_c_werror_flag"
78574                          || test ! -s conftest.err'
78575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78576   (eval $ac_try) 2>&5
78577   ac_status=$?
78578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78579   (exit $ac_status); }; } &&
78580          { ac_try='test -s conftest$ac_exeext'
78581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78582   (eval $ac_try) 2>&5
78583   ac_status=$?
78584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78585   (exit $ac_status); }; }; then
78586   eval "$as_ac_var=yes"
78587 else
78588   echo "$as_me: failed program was:" >&5
78589 sed 's/^/| /' conftest.$ac_ext >&5
78590
78591 eval "$as_ac_var=no"
78592 fi
78593 rm -f conftest.err conftest.$ac_objext \
78594       conftest$ac_exeext conftest.$ac_ext
78595 fi
78596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78598 if test `eval echo '${'$as_ac_var'}'` = yes; then
78599   cat >>confdefs.h <<_ACEOF
78600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78601 _ACEOF
78602
78603 fi
78604 done
78605
78606   else
78607
78608   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78609 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78610   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78611     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78612   echo $ECHO_N "(cached) $ECHO_C" >&6
78613 else
78614
78615
78616
78617       ac_ext=cc
78618 ac_cpp='$CXXCPP $CPPFLAGS'
78619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78622
78623       cat >conftest.$ac_ext <<_ACEOF
78624 /* confdefs.h.  */
78625 _ACEOF
78626 cat confdefs.h >>conftest.$ac_ext
78627 cat >>conftest.$ac_ext <<_ACEOF
78628 /* end confdefs.h.  */
78629 #include <math.h>
78630 int
78631 main ()
78632 {
78633  _ldexpl(0, 0);
78634   ;
78635   return 0;
78636 }
78637 _ACEOF
78638 rm -f conftest.$ac_objext
78639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78640   (eval $ac_compile) 2>conftest.er1
78641   ac_status=$?
78642   grep -v '^ *+' conftest.er1 >conftest.err
78643   rm -f conftest.er1
78644   cat conftest.err >&5
78645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78646   (exit $ac_status); } &&
78647          { ac_try='test -z "$ac_cxx_werror_flag"
78648                          || test ! -s conftest.err'
78649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78650   (eval $ac_try) 2>&5
78651   ac_status=$?
78652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78653   (exit $ac_status); }; } &&
78654          { ac_try='test -s conftest.$ac_objext'
78655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78656   (eval $ac_try) 2>&5
78657   ac_status=$?
78658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78659   (exit $ac_status); }; }; then
78660   glibcxx_cv_func__ldexpl_use=yes
78661 else
78662   echo "$as_me: failed program was:" >&5
78663 sed 's/^/| /' conftest.$ac_ext >&5
78664
78665 glibcxx_cv_func__ldexpl_use=no
78666 fi
78667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78668       ac_ext=c
78669 ac_cpp='$CPP $CPPFLAGS'
78670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78673
78674
78675 fi
78676
78677   fi
78678   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78679 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78680
78681     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78682
78683 for ac_func in _ldexpl
78684 do
78685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78686 echo "$as_me:$LINENO: checking for $ac_func" >&5
78687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78688 if eval "test \"\${$as_ac_var+set}\" = set"; then
78689   echo $ECHO_N "(cached) $ECHO_C" >&6
78690 else
78691   if test x$gcc_no_link = xyes; then
78692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78694    { (exit 1); exit 1; }; }
78695 fi
78696 cat >conftest.$ac_ext <<_ACEOF
78697 /* confdefs.h.  */
78698 _ACEOF
78699 cat confdefs.h >>conftest.$ac_ext
78700 cat >>conftest.$ac_ext <<_ACEOF
78701 /* end confdefs.h.  */
78702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78704 #define $ac_func innocuous_$ac_func
78705
78706 /* System header to define __stub macros and hopefully few prototypes,
78707     which can conflict with char $ac_func (); below.
78708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78709     <limits.h> exists even on freestanding compilers.  */
78710
78711 #ifdef __STDC__
78712 # include <limits.h>
78713 #else
78714 # include <assert.h>
78715 #endif
78716
78717 #undef $ac_func
78718
78719 /* Override any gcc2 internal prototype to avoid an error.  */
78720 #ifdef __cplusplus
78721 extern "C"
78722 {
78723 #endif
78724 /* We use char because int might match the return type of a gcc2
78725    builtin and then its argument prototype would still apply.  */
78726 char $ac_func ();
78727 /* The GNU C library defines this for functions which it implements
78728     to always fail with ENOSYS.  Some functions are actually named
78729     something starting with __ and the normal name is an alias.  */
78730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78731 choke me
78732 #else
78733 char (*f) () = $ac_func;
78734 #endif
78735 #ifdef __cplusplus
78736 }
78737 #endif
78738
78739 int
78740 main ()
78741 {
78742 return f != $ac_func;
78743   ;
78744   return 0;
78745 }
78746 _ACEOF
78747 rm -f conftest.$ac_objext conftest$ac_exeext
78748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78749   (eval $ac_link) 2>conftest.er1
78750   ac_status=$?
78751   grep -v '^ *+' conftest.er1 >conftest.err
78752   rm -f conftest.er1
78753   cat conftest.err >&5
78754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78755   (exit $ac_status); } &&
78756          { ac_try='test -z "$ac_c_werror_flag"
78757                          || test ! -s conftest.err'
78758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78759   (eval $ac_try) 2>&5
78760   ac_status=$?
78761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78762   (exit $ac_status); }; } &&
78763          { ac_try='test -s conftest$ac_exeext'
78764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78765   (eval $ac_try) 2>&5
78766   ac_status=$?
78767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78768   (exit $ac_status); }; }; then
78769   eval "$as_ac_var=yes"
78770 else
78771   echo "$as_me: failed program was:" >&5
78772 sed 's/^/| /' conftest.$ac_ext >&5
78773
78774 eval "$as_ac_var=no"
78775 fi
78776 rm -f conftest.err conftest.$ac_objext \
78777       conftest$ac_exeext conftest.$ac_ext
78778 fi
78779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78781 if test `eval echo '${'$as_ac_var'}'` = yes; then
78782   cat >>confdefs.h <<_ACEOF
78783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78784 _ACEOF
78785
78786 fi
78787 done
78788
78789     fi
78790   fi
78791
78792
78793
78794
78795
78796
78797   echo "$as_me:$LINENO: checking for logl declaration" >&5
78798 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78799   if test x${glibcxx_cv_func_logl_use+set} != xset; then
78800     if test "${glibcxx_cv_func_logl_use+set}" = set; then
78801   echo $ECHO_N "(cached) $ECHO_C" >&6
78802 else
78803
78804
78805
78806       ac_ext=cc
78807 ac_cpp='$CXXCPP $CPPFLAGS'
78808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78811
78812       cat >conftest.$ac_ext <<_ACEOF
78813 /* confdefs.h.  */
78814 _ACEOF
78815 cat confdefs.h >>conftest.$ac_ext
78816 cat >>conftest.$ac_ext <<_ACEOF
78817 /* end confdefs.h.  */
78818 #include <math.h>
78819                       #ifdef HAVE_IEEEFP_H
78820                       #include <ieeefp.h>
78821                       #endif
78822
78823 int
78824 main ()
78825 {
78826  logl(0);
78827   ;
78828   return 0;
78829 }
78830 _ACEOF
78831 rm -f conftest.$ac_objext
78832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78833   (eval $ac_compile) 2>conftest.er1
78834   ac_status=$?
78835   grep -v '^ *+' conftest.er1 >conftest.err
78836   rm -f conftest.er1
78837   cat conftest.err >&5
78838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78839   (exit $ac_status); } &&
78840          { ac_try='test -z "$ac_cxx_werror_flag"
78841                          || test ! -s conftest.err'
78842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78843   (eval $ac_try) 2>&5
78844   ac_status=$?
78845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78846   (exit $ac_status); }; } &&
78847          { ac_try='test -s conftest.$ac_objext'
78848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78849   (eval $ac_try) 2>&5
78850   ac_status=$?
78851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78852   (exit $ac_status); }; }; then
78853   glibcxx_cv_func_logl_use=yes
78854 else
78855   echo "$as_me: failed program was:" >&5
78856 sed 's/^/| /' conftest.$ac_ext >&5
78857
78858 glibcxx_cv_func_logl_use=no
78859 fi
78860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78861       ac_ext=c
78862 ac_cpp='$CPP $CPPFLAGS'
78863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78866
78867
78868 fi
78869
78870   fi
78871   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78872 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78873
78874   if test x$glibcxx_cv_func_logl_use = x"yes"; then
78875
78876 for ac_func in logl
78877 do
78878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78879 echo "$as_me:$LINENO: checking for $ac_func" >&5
78880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78881 if eval "test \"\${$as_ac_var+set}\" = set"; then
78882   echo $ECHO_N "(cached) $ECHO_C" >&6
78883 else
78884   if test x$gcc_no_link = xyes; then
78885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78887    { (exit 1); exit 1; }; }
78888 fi
78889 cat >conftest.$ac_ext <<_ACEOF
78890 /* confdefs.h.  */
78891 _ACEOF
78892 cat confdefs.h >>conftest.$ac_ext
78893 cat >>conftest.$ac_ext <<_ACEOF
78894 /* end confdefs.h.  */
78895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78897 #define $ac_func innocuous_$ac_func
78898
78899 /* System header to define __stub macros and hopefully few prototypes,
78900     which can conflict with char $ac_func (); below.
78901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78902     <limits.h> exists even on freestanding compilers.  */
78903
78904 #ifdef __STDC__
78905 # include <limits.h>
78906 #else
78907 # include <assert.h>
78908 #endif
78909
78910 #undef $ac_func
78911
78912 /* Override any gcc2 internal prototype to avoid an error.  */
78913 #ifdef __cplusplus
78914 extern "C"
78915 {
78916 #endif
78917 /* We use char because int might match the return type of a gcc2
78918    builtin and then its argument prototype would still apply.  */
78919 char $ac_func ();
78920 /* The GNU C library defines this for functions which it implements
78921     to always fail with ENOSYS.  Some functions are actually named
78922     something starting with __ and the normal name is an alias.  */
78923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78924 choke me
78925 #else
78926 char (*f) () = $ac_func;
78927 #endif
78928 #ifdef __cplusplus
78929 }
78930 #endif
78931
78932 int
78933 main ()
78934 {
78935 return f != $ac_func;
78936   ;
78937   return 0;
78938 }
78939 _ACEOF
78940 rm -f conftest.$ac_objext conftest$ac_exeext
78941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78942   (eval $ac_link) 2>conftest.er1
78943   ac_status=$?
78944   grep -v '^ *+' conftest.er1 >conftest.err
78945   rm -f conftest.er1
78946   cat conftest.err >&5
78947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78948   (exit $ac_status); } &&
78949          { ac_try='test -z "$ac_c_werror_flag"
78950                          || test ! -s conftest.err'
78951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78952   (eval $ac_try) 2>&5
78953   ac_status=$?
78954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78955   (exit $ac_status); }; } &&
78956          { ac_try='test -s conftest$ac_exeext'
78957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78958   (eval $ac_try) 2>&5
78959   ac_status=$?
78960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78961   (exit $ac_status); }; }; then
78962   eval "$as_ac_var=yes"
78963 else
78964   echo "$as_me: failed program was:" >&5
78965 sed 's/^/| /' conftest.$ac_ext >&5
78966
78967 eval "$as_ac_var=no"
78968 fi
78969 rm -f conftest.err conftest.$ac_objext \
78970       conftest$ac_exeext conftest.$ac_ext
78971 fi
78972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78974 if test `eval echo '${'$as_ac_var'}'` = yes; then
78975   cat >>confdefs.h <<_ACEOF
78976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78977 _ACEOF
78978
78979 fi
78980 done
78981
78982   else
78983
78984   echo "$as_me:$LINENO: checking for _logl declaration" >&5
78985 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78986   if test x${glibcxx_cv_func__logl_use+set} != xset; then
78987     if test "${glibcxx_cv_func__logl_use+set}" = set; then
78988   echo $ECHO_N "(cached) $ECHO_C" >&6
78989 else
78990
78991
78992
78993       ac_ext=cc
78994 ac_cpp='$CXXCPP $CPPFLAGS'
78995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78998
78999       cat >conftest.$ac_ext <<_ACEOF
79000 /* confdefs.h.  */
79001 _ACEOF
79002 cat confdefs.h >>conftest.$ac_ext
79003 cat >>conftest.$ac_ext <<_ACEOF
79004 /* end confdefs.h.  */
79005 #include <math.h>
79006                       #ifdef HAVE_IEEEFP_H
79007                       #include <ieeefp.h>
79008                       #endif
79009
79010 int
79011 main ()
79012 {
79013  _logl(0);
79014   ;
79015   return 0;
79016 }
79017 _ACEOF
79018 rm -f conftest.$ac_objext
79019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79020   (eval $ac_compile) 2>conftest.er1
79021   ac_status=$?
79022   grep -v '^ *+' conftest.er1 >conftest.err
79023   rm -f conftest.er1
79024   cat conftest.err >&5
79025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79026   (exit $ac_status); } &&
79027          { ac_try='test -z "$ac_cxx_werror_flag"
79028                          || test ! -s conftest.err'
79029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79030   (eval $ac_try) 2>&5
79031   ac_status=$?
79032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79033   (exit $ac_status); }; } &&
79034          { ac_try='test -s conftest.$ac_objext'
79035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79036   (eval $ac_try) 2>&5
79037   ac_status=$?
79038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79039   (exit $ac_status); }; }; then
79040   glibcxx_cv_func__logl_use=yes
79041 else
79042   echo "$as_me: failed program was:" >&5
79043 sed 's/^/| /' conftest.$ac_ext >&5
79044
79045 glibcxx_cv_func__logl_use=no
79046 fi
79047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79048       ac_ext=c
79049 ac_cpp='$CPP $CPPFLAGS'
79050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79053
79054
79055 fi
79056
79057   fi
79058   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79059 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79060
79061     if test x$glibcxx_cv_func__logl_use = x"yes"; then
79062
79063 for ac_func in _logl
79064 do
79065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79066 echo "$as_me:$LINENO: checking for $ac_func" >&5
79067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79068 if eval "test \"\${$as_ac_var+set}\" = set"; then
79069   echo $ECHO_N "(cached) $ECHO_C" >&6
79070 else
79071   if test x$gcc_no_link = xyes; then
79072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79074    { (exit 1); exit 1; }; }
79075 fi
79076 cat >conftest.$ac_ext <<_ACEOF
79077 /* confdefs.h.  */
79078 _ACEOF
79079 cat confdefs.h >>conftest.$ac_ext
79080 cat >>conftest.$ac_ext <<_ACEOF
79081 /* end confdefs.h.  */
79082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79084 #define $ac_func innocuous_$ac_func
79085
79086 /* System header to define __stub macros and hopefully few prototypes,
79087     which can conflict with char $ac_func (); below.
79088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79089     <limits.h> exists even on freestanding compilers.  */
79090
79091 #ifdef __STDC__
79092 # include <limits.h>
79093 #else
79094 # include <assert.h>
79095 #endif
79096
79097 #undef $ac_func
79098
79099 /* Override any gcc2 internal prototype to avoid an error.  */
79100 #ifdef __cplusplus
79101 extern "C"
79102 {
79103 #endif
79104 /* We use char because int might match the return type of a gcc2
79105    builtin and then its argument prototype would still apply.  */
79106 char $ac_func ();
79107 /* The GNU C library defines this for functions which it implements
79108     to always fail with ENOSYS.  Some functions are actually named
79109     something starting with __ and the normal name is an alias.  */
79110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79111 choke me
79112 #else
79113 char (*f) () = $ac_func;
79114 #endif
79115 #ifdef __cplusplus
79116 }
79117 #endif
79118
79119 int
79120 main ()
79121 {
79122 return f != $ac_func;
79123   ;
79124   return 0;
79125 }
79126 _ACEOF
79127 rm -f conftest.$ac_objext conftest$ac_exeext
79128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79129   (eval $ac_link) 2>conftest.er1
79130   ac_status=$?
79131   grep -v '^ *+' conftest.er1 >conftest.err
79132   rm -f conftest.er1
79133   cat conftest.err >&5
79134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79135   (exit $ac_status); } &&
79136          { ac_try='test -z "$ac_c_werror_flag"
79137                          || test ! -s conftest.err'
79138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79139   (eval $ac_try) 2>&5
79140   ac_status=$?
79141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79142   (exit $ac_status); }; } &&
79143          { ac_try='test -s conftest$ac_exeext'
79144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79145   (eval $ac_try) 2>&5
79146   ac_status=$?
79147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79148   (exit $ac_status); }; }; then
79149   eval "$as_ac_var=yes"
79150 else
79151   echo "$as_me: failed program was:" >&5
79152 sed 's/^/| /' conftest.$ac_ext >&5
79153
79154 eval "$as_ac_var=no"
79155 fi
79156 rm -f conftest.err conftest.$ac_objext \
79157       conftest$ac_exeext conftest.$ac_ext
79158 fi
79159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79161 if test `eval echo '${'$as_ac_var'}'` = yes; then
79162   cat >>confdefs.h <<_ACEOF
79163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79164 _ACEOF
79165
79166 fi
79167 done
79168
79169     fi
79170   fi
79171
79172
79173
79174
79175
79176
79177   echo "$as_me:$LINENO: checking for log10l declaration" >&5
79178 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79179   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79180     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79181   echo $ECHO_N "(cached) $ECHO_C" >&6
79182 else
79183
79184
79185
79186       ac_ext=cc
79187 ac_cpp='$CXXCPP $CPPFLAGS'
79188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79191
79192       cat >conftest.$ac_ext <<_ACEOF
79193 /* confdefs.h.  */
79194 _ACEOF
79195 cat confdefs.h >>conftest.$ac_ext
79196 cat >>conftest.$ac_ext <<_ACEOF
79197 /* end confdefs.h.  */
79198 #include <math.h>
79199                       #ifdef HAVE_IEEEFP_H
79200                       #include <ieeefp.h>
79201                       #endif
79202
79203 int
79204 main ()
79205 {
79206  log10l(0);
79207   ;
79208   return 0;
79209 }
79210 _ACEOF
79211 rm -f conftest.$ac_objext
79212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79213   (eval $ac_compile) 2>conftest.er1
79214   ac_status=$?
79215   grep -v '^ *+' conftest.er1 >conftest.err
79216   rm -f conftest.er1
79217   cat conftest.err >&5
79218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79219   (exit $ac_status); } &&
79220          { ac_try='test -z "$ac_cxx_werror_flag"
79221                          || test ! -s conftest.err'
79222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79223   (eval $ac_try) 2>&5
79224   ac_status=$?
79225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79226   (exit $ac_status); }; } &&
79227          { ac_try='test -s conftest.$ac_objext'
79228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79229   (eval $ac_try) 2>&5
79230   ac_status=$?
79231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79232   (exit $ac_status); }; }; then
79233   glibcxx_cv_func_log10l_use=yes
79234 else
79235   echo "$as_me: failed program was:" >&5
79236 sed 's/^/| /' conftest.$ac_ext >&5
79237
79238 glibcxx_cv_func_log10l_use=no
79239 fi
79240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79241       ac_ext=c
79242 ac_cpp='$CPP $CPPFLAGS'
79243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79246
79247
79248 fi
79249
79250   fi
79251   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79252 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79253
79254   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79255
79256 for ac_func in log10l
79257 do
79258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79259 echo "$as_me:$LINENO: checking for $ac_func" >&5
79260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79261 if eval "test \"\${$as_ac_var+set}\" = set"; then
79262   echo $ECHO_N "(cached) $ECHO_C" >&6
79263 else
79264   if test x$gcc_no_link = xyes; then
79265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79267    { (exit 1); exit 1; }; }
79268 fi
79269 cat >conftest.$ac_ext <<_ACEOF
79270 /* confdefs.h.  */
79271 _ACEOF
79272 cat confdefs.h >>conftest.$ac_ext
79273 cat >>conftest.$ac_ext <<_ACEOF
79274 /* end confdefs.h.  */
79275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79277 #define $ac_func innocuous_$ac_func
79278
79279 /* System header to define __stub macros and hopefully few prototypes,
79280     which can conflict with char $ac_func (); below.
79281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79282     <limits.h> exists even on freestanding compilers.  */
79283
79284 #ifdef __STDC__
79285 # include <limits.h>
79286 #else
79287 # include <assert.h>
79288 #endif
79289
79290 #undef $ac_func
79291
79292 /* Override any gcc2 internal prototype to avoid an error.  */
79293 #ifdef __cplusplus
79294 extern "C"
79295 {
79296 #endif
79297 /* We use char because int might match the return type of a gcc2
79298    builtin and then its argument prototype would still apply.  */
79299 char $ac_func ();
79300 /* The GNU C library defines this for functions which it implements
79301     to always fail with ENOSYS.  Some functions are actually named
79302     something starting with __ and the normal name is an alias.  */
79303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79304 choke me
79305 #else
79306 char (*f) () = $ac_func;
79307 #endif
79308 #ifdef __cplusplus
79309 }
79310 #endif
79311
79312 int
79313 main ()
79314 {
79315 return f != $ac_func;
79316   ;
79317   return 0;
79318 }
79319 _ACEOF
79320 rm -f conftest.$ac_objext conftest$ac_exeext
79321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79322   (eval $ac_link) 2>conftest.er1
79323   ac_status=$?
79324   grep -v '^ *+' conftest.er1 >conftest.err
79325   rm -f conftest.er1
79326   cat conftest.err >&5
79327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79328   (exit $ac_status); } &&
79329          { ac_try='test -z "$ac_c_werror_flag"
79330                          || test ! -s conftest.err'
79331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79332   (eval $ac_try) 2>&5
79333   ac_status=$?
79334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79335   (exit $ac_status); }; } &&
79336          { ac_try='test -s conftest$ac_exeext'
79337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79338   (eval $ac_try) 2>&5
79339   ac_status=$?
79340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79341   (exit $ac_status); }; }; then
79342   eval "$as_ac_var=yes"
79343 else
79344   echo "$as_me: failed program was:" >&5
79345 sed 's/^/| /' conftest.$ac_ext >&5
79346
79347 eval "$as_ac_var=no"
79348 fi
79349 rm -f conftest.err conftest.$ac_objext \
79350       conftest$ac_exeext conftest.$ac_ext
79351 fi
79352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79354 if test `eval echo '${'$as_ac_var'}'` = yes; then
79355   cat >>confdefs.h <<_ACEOF
79356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79357 _ACEOF
79358
79359 fi
79360 done
79361
79362   else
79363
79364   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79365 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79366   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79367     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79368   echo $ECHO_N "(cached) $ECHO_C" >&6
79369 else
79370
79371
79372
79373       ac_ext=cc
79374 ac_cpp='$CXXCPP $CPPFLAGS'
79375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79378
79379       cat >conftest.$ac_ext <<_ACEOF
79380 /* confdefs.h.  */
79381 _ACEOF
79382 cat confdefs.h >>conftest.$ac_ext
79383 cat >>conftest.$ac_ext <<_ACEOF
79384 /* end confdefs.h.  */
79385 #include <math.h>
79386                       #ifdef HAVE_IEEEFP_H
79387                       #include <ieeefp.h>
79388                       #endif
79389
79390 int
79391 main ()
79392 {
79393  _log10l(0);
79394   ;
79395   return 0;
79396 }
79397 _ACEOF
79398 rm -f conftest.$ac_objext
79399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79400   (eval $ac_compile) 2>conftest.er1
79401   ac_status=$?
79402   grep -v '^ *+' conftest.er1 >conftest.err
79403   rm -f conftest.er1
79404   cat conftest.err >&5
79405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79406   (exit $ac_status); } &&
79407          { ac_try='test -z "$ac_cxx_werror_flag"
79408                          || test ! -s conftest.err'
79409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79410   (eval $ac_try) 2>&5
79411   ac_status=$?
79412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79413   (exit $ac_status); }; } &&
79414          { ac_try='test -s conftest.$ac_objext'
79415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79416   (eval $ac_try) 2>&5
79417   ac_status=$?
79418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79419   (exit $ac_status); }; }; then
79420   glibcxx_cv_func__log10l_use=yes
79421 else
79422   echo "$as_me: failed program was:" >&5
79423 sed 's/^/| /' conftest.$ac_ext >&5
79424
79425 glibcxx_cv_func__log10l_use=no
79426 fi
79427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79428       ac_ext=c
79429 ac_cpp='$CPP $CPPFLAGS'
79430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79433
79434
79435 fi
79436
79437   fi
79438   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79439 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79440
79441     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79442
79443 for ac_func in _log10l
79444 do
79445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79446 echo "$as_me:$LINENO: checking for $ac_func" >&5
79447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79448 if eval "test \"\${$as_ac_var+set}\" = set"; then
79449   echo $ECHO_N "(cached) $ECHO_C" >&6
79450 else
79451   if test x$gcc_no_link = xyes; then
79452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79454    { (exit 1); exit 1; }; }
79455 fi
79456 cat >conftest.$ac_ext <<_ACEOF
79457 /* confdefs.h.  */
79458 _ACEOF
79459 cat confdefs.h >>conftest.$ac_ext
79460 cat >>conftest.$ac_ext <<_ACEOF
79461 /* end confdefs.h.  */
79462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79463    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79464 #define $ac_func innocuous_$ac_func
79465
79466 /* System header to define __stub macros and hopefully few prototypes,
79467     which can conflict with char $ac_func (); below.
79468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79469     <limits.h> exists even on freestanding compilers.  */
79470
79471 #ifdef __STDC__
79472 # include <limits.h>
79473 #else
79474 # include <assert.h>
79475 #endif
79476
79477 #undef $ac_func
79478
79479 /* Override any gcc2 internal prototype to avoid an error.  */
79480 #ifdef __cplusplus
79481 extern "C"
79482 {
79483 #endif
79484 /* We use char because int might match the return type of a gcc2
79485    builtin and then its argument prototype would still apply.  */
79486 char $ac_func ();
79487 /* The GNU C library defines this for functions which it implements
79488     to always fail with ENOSYS.  Some functions are actually named
79489     something starting with __ and the normal name is an alias.  */
79490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79491 choke me
79492 #else
79493 char (*f) () = $ac_func;
79494 #endif
79495 #ifdef __cplusplus
79496 }
79497 #endif
79498
79499 int
79500 main ()
79501 {
79502 return f != $ac_func;
79503   ;
79504   return 0;
79505 }
79506 _ACEOF
79507 rm -f conftest.$ac_objext conftest$ac_exeext
79508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79509   (eval $ac_link) 2>conftest.er1
79510   ac_status=$?
79511   grep -v '^ *+' conftest.er1 >conftest.err
79512   rm -f conftest.er1
79513   cat conftest.err >&5
79514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79515   (exit $ac_status); } &&
79516          { ac_try='test -z "$ac_c_werror_flag"
79517                          || test ! -s conftest.err'
79518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79519   (eval $ac_try) 2>&5
79520   ac_status=$?
79521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79522   (exit $ac_status); }; } &&
79523          { ac_try='test -s conftest$ac_exeext'
79524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79525   (eval $ac_try) 2>&5
79526   ac_status=$?
79527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79528   (exit $ac_status); }; }; then
79529   eval "$as_ac_var=yes"
79530 else
79531   echo "$as_me: failed program was:" >&5
79532 sed 's/^/| /' conftest.$ac_ext >&5
79533
79534 eval "$as_ac_var=no"
79535 fi
79536 rm -f conftest.err conftest.$ac_objext \
79537       conftest$ac_exeext conftest.$ac_ext
79538 fi
79539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79541 if test `eval echo '${'$as_ac_var'}'` = yes; then
79542   cat >>confdefs.h <<_ACEOF
79543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79544 _ACEOF
79545
79546 fi
79547 done
79548
79549     fi
79550   fi
79551
79552
79553
79554
79555
79556
79557   echo "$as_me:$LINENO: checking for modfl declaration" >&5
79558 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79559   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79560     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79561   echo $ECHO_N "(cached) $ECHO_C" >&6
79562 else
79563
79564
79565
79566       ac_ext=cc
79567 ac_cpp='$CXXCPP $CPPFLAGS'
79568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79571
79572       cat >conftest.$ac_ext <<_ACEOF
79573 /* confdefs.h.  */
79574 _ACEOF
79575 cat confdefs.h >>conftest.$ac_ext
79576 cat >>conftest.$ac_ext <<_ACEOF
79577 /* end confdefs.h.  */
79578 #include <math.h>
79579 int
79580 main ()
79581 {
79582  modfl(0, 0);
79583   ;
79584   return 0;
79585 }
79586 _ACEOF
79587 rm -f conftest.$ac_objext
79588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79589   (eval $ac_compile) 2>conftest.er1
79590   ac_status=$?
79591   grep -v '^ *+' conftest.er1 >conftest.err
79592   rm -f conftest.er1
79593   cat conftest.err >&5
79594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79595   (exit $ac_status); } &&
79596          { ac_try='test -z "$ac_cxx_werror_flag"
79597                          || test ! -s conftest.err'
79598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79599   (eval $ac_try) 2>&5
79600   ac_status=$?
79601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79602   (exit $ac_status); }; } &&
79603          { ac_try='test -s conftest.$ac_objext'
79604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79605   (eval $ac_try) 2>&5
79606   ac_status=$?
79607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79608   (exit $ac_status); }; }; then
79609   glibcxx_cv_func_modfl_use=yes
79610 else
79611   echo "$as_me: failed program was:" >&5
79612 sed 's/^/| /' conftest.$ac_ext >&5
79613
79614 glibcxx_cv_func_modfl_use=no
79615 fi
79616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79617       ac_ext=c
79618 ac_cpp='$CPP $CPPFLAGS'
79619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79622
79623
79624 fi
79625
79626   fi
79627   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79628 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79629
79630   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79631
79632 for ac_func in modfl
79633 do
79634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79635 echo "$as_me:$LINENO: checking for $ac_func" >&5
79636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79637 if eval "test \"\${$as_ac_var+set}\" = set"; then
79638   echo $ECHO_N "(cached) $ECHO_C" >&6
79639 else
79640   if test x$gcc_no_link = xyes; then
79641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79643    { (exit 1); exit 1; }; }
79644 fi
79645 cat >conftest.$ac_ext <<_ACEOF
79646 /* confdefs.h.  */
79647 _ACEOF
79648 cat confdefs.h >>conftest.$ac_ext
79649 cat >>conftest.$ac_ext <<_ACEOF
79650 /* end confdefs.h.  */
79651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79653 #define $ac_func innocuous_$ac_func
79654
79655 /* System header to define __stub macros and hopefully few prototypes,
79656     which can conflict with char $ac_func (); below.
79657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79658     <limits.h> exists even on freestanding compilers.  */
79659
79660 #ifdef __STDC__
79661 # include <limits.h>
79662 #else
79663 # include <assert.h>
79664 #endif
79665
79666 #undef $ac_func
79667
79668 /* Override any gcc2 internal prototype to avoid an error.  */
79669 #ifdef __cplusplus
79670 extern "C"
79671 {
79672 #endif
79673 /* We use char because int might match the return type of a gcc2
79674    builtin and then its argument prototype would still apply.  */
79675 char $ac_func ();
79676 /* The GNU C library defines this for functions which it implements
79677     to always fail with ENOSYS.  Some functions are actually named
79678     something starting with __ and the normal name is an alias.  */
79679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79680 choke me
79681 #else
79682 char (*f) () = $ac_func;
79683 #endif
79684 #ifdef __cplusplus
79685 }
79686 #endif
79687
79688 int
79689 main ()
79690 {
79691 return f != $ac_func;
79692   ;
79693   return 0;
79694 }
79695 _ACEOF
79696 rm -f conftest.$ac_objext conftest$ac_exeext
79697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79698   (eval $ac_link) 2>conftest.er1
79699   ac_status=$?
79700   grep -v '^ *+' conftest.er1 >conftest.err
79701   rm -f conftest.er1
79702   cat conftest.err >&5
79703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79704   (exit $ac_status); } &&
79705          { ac_try='test -z "$ac_c_werror_flag"
79706                          || test ! -s conftest.err'
79707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79708   (eval $ac_try) 2>&5
79709   ac_status=$?
79710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79711   (exit $ac_status); }; } &&
79712          { ac_try='test -s conftest$ac_exeext'
79713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79714   (eval $ac_try) 2>&5
79715   ac_status=$?
79716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79717   (exit $ac_status); }; }; then
79718   eval "$as_ac_var=yes"
79719 else
79720   echo "$as_me: failed program was:" >&5
79721 sed 's/^/| /' conftest.$ac_ext >&5
79722
79723 eval "$as_ac_var=no"
79724 fi
79725 rm -f conftest.err conftest.$ac_objext \
79726       conftest$ac_exeext conftest.$ac_ext
79727 fi
79728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79730 if test `eval echo '${'$as_ac_var'}'` = yes; then
79731   cat >>confdefs.h <<_ACEOF
79732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79733 _ACEOF
79734
79735 fi
79736 done
79737
79738   else
79739
79740   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79741 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79742   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79743     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79744   echo $ECHO_N "(cached) $ECHO_C" >&6
79745 else
79746
79747
79748
79749       ac_ext=cc
79750 ac_cpp='$CXXCPP $CPPFLAGS'
79751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79754
79755       cat >conftest.$ac_ext <<_ACEOF
79756 /* confdefs.h.  */
79757 _ACEOF
79758 cat confdefs.h >>conftest.$ac_ext
79759 cat >>conftest.$ac_ext <<_ACEOF
79760 /* end confdefs.h.  */
79761 #include <math.h>
79762 int
79763 main ()
79764 {
79765  _modfl(0, 0);
79766   ;
79767   return 0;
79768 }
79769 _ACEOF
79770 rm -f conftest.$ac_objext
79771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79772   (eval $ac_compile) 2>conftest.er1
79773   ac_status=$?
79774   grep -v '^ *+' conftest.er1 >conftest.err
79775   rm -f conftest.er1
79776   cat conftest.err >&5
79777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79778   (exit $ac_status); } &&
79779          { ac_try='test -z "$ac_cxx_werror_flag"
79780                          || test ! -s conftest.err'
79781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79782   (eval $ac_try) 2>&5
79783   ac_status=$?
79784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79785   (exit $ac_status); }; } &&
79786          { ac_try='test -s conftest.$ac_objext'
79787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79788   (eval $ac_try) 2>&5
79789   ac_status=$?
79790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79791   (exit $ac_status); }; }; then
79792   glibcxx_cv_func__modfl_use=yes
79793 else
79794   echo "$as_me: failed program was:" >&5
79795 sed 's/^/| /' conftest.$ac_ext >&5
79796
79797 glibcxx_cv_func__modfl_use=no
79798 fi
79799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79800       ac_ext=c
79801 ac_cpp='$CPP $CPPFLAGS'
79802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79805
79806
79807 fi
79808
79809   fi
79810   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79811 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79812
79813     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79814
79815 for ac_func in _modfl
79816 do
79817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79818 echo "$as_me:$LINENO: checking for $ac_func" >&5
79819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79820 if eval "test \"\${$as_ac_var+set}\" = set"; then
79821   echo $ECHO_N "(cached) $ECHO_C" >&6
79822 else
79823   if test x$gcc_no_link = xyes; then
79824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79826    { (exit 1); exit 1; }; }
79827 fi
79828 cat >conftest.$ac_ext <<_ACEOF
79829 /* confdefs.h.  */
79830 _ACEOF
79831 cat confdefs.h >>conftest.$ac_ext
79832 cat >>conftest.$ac_ext <<_ACEOF
79833 /* end confdefs.h.  */
79834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79836 #define $ac_func innocuous_$ac_func
79837
79838 /* System header to define __stub macros and hopefully few prototypes,
79839     which can conflict with char $ac_func (); below.
79840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79841     <limits.h> exists even on freestanding compilers.  */
79842
79843 #ifdef __STDC__
79844 # include <limits.h>
79845 #else
79846 # include <assert.h>
79847 #endif
79848
79849 #undef $ac_func
79850
79851 /* Override any gcc2 internal prototype to avoid an error.  */
79852 #ifdef __cplusplus
79853 extern "C"
79854 {
79855 #endif
79856 /* We use char because int might match the return type of a gcc2
79857    builtin and then its argument prototype would still apply.  */
79858 char $ac_func ();
79859 /* The GNU C library defines this for functions which it implements
79860     to always fail with ENOSYS.  Some functions are actually named
79861     something starting with __ and the normal name is an alias.  */
79862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79863 choke me
79864 #else
79865 char (*f) () = $ac_func;
79866 #endif
79867 #ifdef __cplusplus
79868 }
79869 #endif
79870
79871 int
79872 main ()
79873 {
79874 return f != $ac_func;
79875   ;
79876   return 0;
79877 }
79878 _ACEOF
79879 rm -f conftest.$ac_objext conftest$ac_exeext
79880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79881   (eval $ac_link) 2>conftest.er1
79882   ac_status=$?
79883   grep -v '^ *+' conftest.er1 >conftest.err
79884   rm -f conftest.er1
79885   cat conftest.err >&5
79886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79887   (exit $ac_status); } &&
79888          { ac_try='test -z "$ac_c_werror_flag"
79889                          || test ! -s conftest.err'
79890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79891   (eval $ac_try) 2>&5
79892   ac_status=$?
79893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79894   (exit $ac_status); }; } &&
79895          { ac_try='test -s conftest$ac_exeext'
79896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79897   (eval $ac_try) 2>&5
79898   ac_status=$?
79899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79900   (exit $ac_status); }; }; then
79901   eval "$as_ac_var=yes"
79902 else
79903   echo "$as_me: failed program was:" >&5
79904 sed 's/^/| /' conftest.$ac_ext >&5
79905
79906 eval "$as_ac_var=no"
79907 fi
79908 rm -f conftest.err conftest.$ac_objext \
79909       conftest$ac_exeext conftest.$ac_ext
79910 fi
79911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79913 if test `eval echo '${'$as_ac_var'}'` = yes; then
79914   cat >>confdefs.h <<_ACEOF
79915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79916 _ACEOF
79917
79918 fi
79919 done
79920
79921     fi
79922   fi
79923
79924
79925
79926
79927
79928
79929   echo "$as_me:$LINENO: checking for powl declaration" >&5
79930 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
79931   if test x${glibcxx_cv_func_powl_use+set} != xset; then
79932     if test "${glibcxx_cv_func_powl_use+set}" = set; then
79933   echo $ECHO_N "(cached) $ECHO_C" >&6
79934 else
79935
79936
79937
79938       ac_ext=cc
79939 ac_cpp='$CXXCPP $CPPFLAGS'
79940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79943
79944       cat >conftest.$ac_ext <<_ACEOF
79945 /* confdefs.h.  */
79946 _ACEOF
79947 cat confdefs.h >>conftest.$ac_ext
79948 cat >>conftest.$ac_ext <<_ACEOF
79949 /* end confdefs.h.  */
79950 #include <math.h>
79951 int
79952 main ()
79953 {
79954  powl(0, 0);
79955   ;
79956   return 0;
79957 }
79958 _ACEOF
79959 rm -f conftest.$ac_objext
79960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79961   (eval $ac_compile) 2>conftest.er1
79962   ac_status=$?
79963   grep -v '^ *+' conftest.er1 >conftest.err
79964   rm -f conftest.er1
79965   cat conftest.err >&5
79966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79967   (exit $ac_status); } &&
79968          { ac_try='test -z "$ac_cxx_werror_flag"
79969                          || test ! -s conftest.err'
79970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79971   (eval $ac_try) 2>&5
79972   ac_status=$?
79973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79974   (exit $ac_status); }; } &&
79975          { ac_try='test -s conftest.$ac_objext'
79976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79977   (eval $ac_try) 2>&5
79978   ac_status=$?
79979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79980   (exit $ac_status); }; }; then
79981   glibcxx_cv_func_powl_use=yes
79982 else
79983   echo "$as_me: failed program was:" >&5
79984 sed 's/^/| /' conftest.$ac_ext >&5
79985
79986 glibcxx_cv_func_powl_use=no
79987 fi
79988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79989       ac_ext=c
79990 ac_cpp='$CPP $CPPFLAGS'
79991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79994
79995
79996 fi
79997
79998   fi
79999   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80000 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80001
80002   if test x$glibcxx_cv_func_powl_use = x"yes"; then
80003
80004 for ac_func in powl
80005 do
80006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80007 echo "$as_me:$LINENO: checking for $ac_func" >&5
80008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80009 if eval "test \"\${$as_ac_var+set}\" = set"; then
80010   echo $ECHO_N "(cached) $ECHO_C" >&6
80011 else
80012   if test x$gcc_no_link = xyes; then
80013   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80015    { (exit 1); exit 1; }; }
80016 fi
80017 cat >conftest.$ac_ext <<_ACEOF
80018 /* confdefs.h.  */
80019 _ACEOF
80020 cat confdefs.h >>conftest.$ac_ext
80021 cat >>conftest.$ac_ext <<_ACEOF
80022 /* end confdefs.h.  */
80023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80024    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80025 #define $ac_func innocuous_$ac_func
80026
80027 /* System header to define __stub macros and hopefully few prototypes,
80028     which can conflict with char $ac_func (); below.
80029     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80030     <limits.h> exists even on freestanding compilers.  */
80031
80032 #ifdef __STDC__
80033 # include <limits.h>
80034 #else
80035 # include <assert.h>
80036 #endif
80037
80038 #undef $ac_func
80039
80040 /* Override any gcc2 internal prototype to avoid an error.  */
80041 #ifdef __cplusplus
80042 extern "C"
80043 {
80044 #endif
80045 /* We use char because int might match the return type of a gcc2
80046    builtin and then its argument prototype would still apply.  */
80047 char $ac_func ();
80048 /* The GNU C library defines this for functions which it implements
80049     to always fail with ENOSYS.  Some functions are actually named
80050     something starting with __ and the normal name is an alias.  */
80051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80052 choke me
80053 #else
80054 char (*f) () = $ac_func;
80055 #endif
80056 #ifdef __cplusplus
80057 }
80058 #endif
80059
80060 int
80061 main ()
80062 {
80063 return f != $ac_func;
80064   ;
80065   return 0;
80066 }
80067 _ACEOF
80068 rm -f conftest.$ac_objext conftest$ac_exeext
80069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80070   (eval $ac_link) 2>conftest.er1
80071   ac_status=$?
80072   grep -v '^ *+' conftest.er1 >conftest.err
80073   rm -f conftest.er1
80074   cat conftest.err >&5
80075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80076   (exit $ac_status); } &&
80077          { ac_try='test -z "$ac_c_werror_flag"
80078                          || test ! -s conftest.err'
80079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80080   (eval $ac_try) 2>&5
80081   ac_status=$?
80082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80083   (exit $ac_status); }; } &&
80084          { ac_try='test -s conftest$ac_exeext'
80085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80086   (eval $ac_try) 2>&5
80087   ac_status=$?
80088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80089   (exit $ac_status); }; }; then
80090   eval "$as_ac_var=yes"
80091 else
80092   echo "$as_me: failed program was:" >&5
80093 sed 's/^/| /' conftest.$ac_ext >&5
80094
80095 eval "$as_ac_var=no"
80096 fi
80097 rm -f conftest.err conftest.$ac_objext \
80098       conftest$ac_exeext conftest.$ac_ext
80099 fi
80100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80102 if test `eval echo '${'$as_ac_var'}'` = yes; then
80103   cat >>confdefs.h <<_ACEOF
80104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80105 _ACEOF
80106
80107 fi
80108 done
80109
80110   else
80111
80112   echo "$as_me:$LINENO: checking for _powl declaration" >&5
80113 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80114   if test x${glibcxx_cv_func__powl_use+set} != xset; then
80115     if test "${glibcxx_cv_func__powl_use+set}" = set; then
80116   echo $ECHO_N "(cached) $ECHO_C" >&6
80117 else
80118
80119
80120
80121       ac_ext=cc
80122 ac_cpp='$CXXCPP $CPPFLAGS'
80123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80126
80127       cat >conftest.$ac_ext <<_ACEOF
80128 /* confdefs.h.  */
80129 _ACEOF
80130 cat confdefs.h >>conftest.$ac_ext
80131 cat >>conftest.$ac_ext <<_ACEOF
80132 /* end confdefs.h.  */
80133 #include <math.h>
80134 int
80135 main ()
80136 {
80137  _powl(0, 0);
80138   ;
80139   return 0;
80140 }
80141 _ACEOF
80142 rm -f conftest.$ac_objext
80143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80144   (eval $ac_compile) 2>conftest.er1
80145   ac_status=$?
80146   grep -v '^ *+' conftest.er1 >conftest.err
80147   rm -f conftest.er1
80148   cat conftest.err >&5
80149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80150   (exit $ac_status); } &&
80151          { ac_try='test -z "$ac_cxx_werror_flag"
80152                          || test ! -s conftest.err'
80153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80154   (eval $ac_try) 2>&5
80155   ac_status=$?
80156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80157   (exit $ac_status); }; } &&
80158          { ac_try='test -s conftest.$ac_objext'
80159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80160   (eval $ac_try) 2>&5
80161   ac_status=$?
80162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80163   (exit $ac_status); }; }; then
80164   glibcxx_cv_func__powl_use=yes
80165 else
80166   echo "$as_me: failed program was:" >&5
80167 sed 's/^/| /' conftest.$ac_ext >&5
80168
80169 glibcxx_cv_func__powl_use=no
80170 fi
80171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80172       ac_ext=c
80173 ac_cpp='$CPP $CPPFLAGS'
80174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80177
80178
80179 fi
80180
80181   fi
80182   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80183 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80184
80185     if test x$glibcxx_cv_func__powl_use = x"yes"; then
80186
80187 for ac_func in _powl
80188 do
80189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80190 echo "$as_me:$LINENO: checking for $ac_func" >&5
80191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80192 if eval "test \"\${$as_ac_var+set}\" = set"; then
80193   echo $ECHO_N "(cached) $ECHO_C" >&6
80194 else
80195   if test x$gcc_no_link = xyes; then
80196   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80198    { (exit 1); exit 1; }; }
80199 fi
80200 cat >conftest.$ac_ext <<_ACEOF
80201 /* confdefs.h.  */
80202 _ACEOF
80203 cat confdefs.h >>conftest.$ac_ext
80204 cat >>conftest.$ac_ext <<_ACEOF
80205 /* end confdefs.h.  */
80206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80207    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80208 #define $ac_func innocuous_$ac_func
80209
80210 /* System header to define __stub macros and hopefully few prototypes,
80211     which can conflict with char $ac_func (); below.
80212     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80213     <limits.h> exists even on freestanding compilers.  */
80214
80215 #ifdef __STDC__
80216 # include <limits.h>
80217 #else
80218 # include <assert.h>
80219 #endif
80220
80221 #undef $ac_func
80222
80223 /* Override any gcc2 internal prototype to avoid an error.  */
80224 #ifdef __cplusplus
80225 extern "C"
80226 {
80227 #endif
80228 /* We use char because int might match the return type of a gcc2
80229    builtin and then its argument prototype would still apply.  */
80230 char $ac_func ();
80231 /* The GNU C library defines this for functions which it implements
80232     to always fail with ENOSYS.  Some functions are actually named
80233     something starting with __ and the normal name is an alias.  */
80234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80235 choke me
80236 #else
80237 char (*f) () = $ac_func;
80238 #endif
80239 #ifdef __cplusplus
80240 }
80241 #endif
80242
80243 int
80244 main ()
80245 {
80246 return f != $ac_func;
80247   ;
80248   return 0;
80249 }
80250 _ACEOF
80251 rm -f conftest.$ac_objext conftest$ac_exeext
80252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80253   (eval $ac_link) 2>conftest.er1
80254   ac_status=$?
80255   grep -v '^ *+' conftest.er1 >conftest.err
80256   rm -f conftest.er1
80257   cat conftest.err >&5
80258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80259   (exit $ac_status); } &&
80260          { ac_try='test -z "$ac_c_werror_flag"
80261                          || test ! -s conftest.err'
80262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80263   (eval $ac_try) 2>&5
80264   ac_status=$?
80265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80266   (exit $ac_status); }; } &&
80267          { ac_try='test -s conftest$ac_exeext'
80268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80269   (eval $ac_try) 2>&5
80270   ac_status=$?
80271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80272   (exit $ac_status); }; }; then
80273   eval "$as_ac_var=yes"
80274 else
80275   echo "$as_me: failed program was:" >&5
80276 sed 's/^/| /' conftest.$ac_ext >&5
80277
80278 eval "$as_ac_var=no"
80279 fi
80280 rm -f conftest.err conftest.$ac_objext \
80281       conftest$ac_exeext conftest.$ac_ext
80282 fi
80283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80285 if test `eval echo '${'$as_ac_var'}'` = yes; then
80286   cat >>confdefs.h <<_ACEOF
80287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80288 _ACEOF
80289
80290 fi
80291 done
80292
80293     fi
80294   fi
80295
80296
80297
80298
80299
80300
80301   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80302 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80303   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80304     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80305   echo $ECHO_N "(cached) $ECHO_C" >&6
80306 else
80307
80308
80309
80310       ac_ext=cc
80311 ac_cpp='$CXXCPP $CPPFLAGS'
80312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80315
80316       cat >conftest.$ac_ext <<_ACEOF
80317 /* confdefs.h.  */
80318 _ACEOF
80319 cat confdefs.h >>conftest.$ac_ext
80320 cat >>conftest.$ac_ext <<_ACEOF
80321 /* end confdefs.h.  */
80322 #include <math.h>
80323                       #ifdef HAVE_IEEEFP_H
80324                       #include <ieeefp.h>
80325                       #endif
80326
80327 int
80328 main ()
80329 {
80330  sqrtl(0);
80331   ;
80332   return 0;
80333 }
80334 _ACEOF
80335 rm -f conftest.$ac_objext
80336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80337   (eval $ac_compile) 2>conftest.er1
80338   ac_status=$?
80339   grep -v '^ *+' conftest.er1 >conftest.err
80340   rm -f conftest.er1
80341   cat conftest.err >&5
80342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80343   (exit $ac_status); } &&
80344          { ac_try='test -z "$ac_cxx_werror_flag"
80345                          || test ! -s conftest.err'
80346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80347   (eval $ac_try) 2>&5
80348   ac_status=$?
80349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80350   (exit $ac_status); }; } &&
80351          { ac_try='test -s conftest.$ac_objext'
80352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80353   (eval $ac_try) 2>&5
80354   ac_status=$?
80355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80356   (exit $ac_status); }; }; then
80357   glibcxx_cv_func_sqrtl_use=yes
80358 else
80359   echo "$as_me: failed program was:" >&5
80360 sed 's/^/| /' conftest.$ac_ext >&5
80361
80362 glibcxx_cv_func_sqrtl_use=no
80363 fi
80364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80365       ac_ext=c
80366 ac_cpp='$CPP $CPPFLAGS'
80367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80370
80371
80372 fi
80373
80374   fi
80375   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80376 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80377
80378   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80379
80380 for ac_func in sqrtl
80381 do
80382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80383 echo "$as_me:$LINENO: checking for $ac_func" >&5
80384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80385 if eval "test \"\${$as_ac_var+set}\" = set"; then
80386   echo $ECHO_N "(cached) $ECHO_C" >&6
80387 else
80388   if test x$gcc_no_link = xyes; then
80389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80391    { (exit 1); exit 1; }; }
80392 fi
80393 cat >conftest.$ac_ext <<_ACEOF
80394 /* confdefs.h.  */
80395 _ACEOF
80396 cat confdefs.h >>conftest.$ac_ext
80397 cat >>conftest.$ac_ext <<_ACEOF
80398 /* end confdefs.h.  */
80399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80401 #define $ac_func innocuous_$ac_func
80402
80403 /* System header to define __stub macros and hopefully few prototypes,
80404     which can conflict with char $ac_func (); below.
80405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80406     <limits.h> exists even on freestanding compilers.  */
80407
80408 #ifdef __STDC__
80409 # include <limits.h>
80410 #else
80411 # include <assert.h>
80412 #endif
80413
80414 #undef $ac_func
80415
80416 /* Override any gcc2 internal prototype to avoid an error.  */
80417 #ifdef __cplusplus
80418 extern "C"
80419 {
80420 #endif
80421 /* We use char because int might match the return type of a gcc2
80422    builtin and then its argument prototype would still apply.  */
80423 char $ac_func ();
80424 /* The GNU C library defines this for functions which it implements
80425     to always fail with ENOSYS.  Some functions are actually named
80426     something starting with __ and the normal name is an alias.  */
80427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80428 choke me
80429 #else
80430 char (*f) () = $ac_func;
80431 #endif
80432 #ifdef __cplusplus
80433 }
80434 #endif
80435
80436 int
80437 main ()
80438 {
80439 return f != $ac_func;
80440   ;
80441   return 0;
80442 }
80443 _ACEOF
80444 rm -f conftest.$ac_objext conftest$ac_exeext
80445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80446   (eval $ac_link) 2>conftest.er1
80447   ac_status=$?
80448   grep -v '^ *+' conftest.er1 >conftest.err
80449   rm -f conftest.er1
80450   cat conftest.err >&5
80451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80452   (exit $ac_status); } &&
80453          { ac_try='test -z "$ac_c_werror_flag"
80454                          || test ! -s conftest.err'
80455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80456   (eval $ac_try) 2>&5
80457   ac_status=$?
80458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80459   (exit $ac_status); }; } &&
80460          { ac_try='test -s conftest$ac_exeext'
80461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80462   (eval $ac_try) 2>&5
80463   ac_status=$?
80464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80465   (exit $ac_status); }; }; then
80466   eval "$as_ac_var=yes"
80467 else
80468   echo "$as_me: failed program was:" >&5
80469 sed 's/^/| /' conftest.$ac_ext >&5
80470
80471 eval "$as_ac_var=no"
80472 fi
80473 rm -f conftest.err conftest.$ac_objext \
80474       conftest$ac_exeext conftest.$ac_ext
80475 fi
80476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80478 if test `eval echo '${'$as_ac_var'}'` = yes; then
80479   cat >>confdefs.h <<_ACEOF
80480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80481 _ACEOF
80482
80483 fi
80484 done
80485
80486   else
80487
80488   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80489 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80490   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80491     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80492   echo $ECHO_N "(cached) $ECHO_C" >&6
80493 else
80494
80495
80496
80497       ac_ext=cc
80498 ac_cpp='$CXXCPP $CPPFLAGS'
80499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80502
80503       cat >conftest.$ac_ext <<_ACEOF
80504 /* confdefs.h.  */
80505 _ACEOF
80506 cat confdefs.h >>conftest.$ac_ext
80507 cat >>conftest.$ac_ext <<_ACEOF
80508 /* end confdefs.h.  */
80509 #include <math.h>
80510                       #ifdef HAVE_IEEEFP_H
80511                       #include <ieeefp.h>
80512                       #endif
80513
80514 int
80515 main ()
80516 {
80517  _sqrtl(0);
80518   ;
80519   return 0;
80520 }
80521 _ACEOF
80522 rm -f conftest.$ac_objext
80523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80524   (eval $ac_compile) 2>conftest.er1
80525   ac_status=$?
80526   grep -v '^ *+' conftest.er1 >conftest.err
80527   rm -f conftest.er1
80528   cat conftest.err >&5
80529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80530   (exit $ac_status); } &&
80531          { ac_try='test -z "$ac_cxx_werror_flag"
80532                          || test ! -s conftest.err'
80533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80534   (eval $ac_try) 2>&5
80535   ac_status=$?
80536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80537   (exit $ac_status); }; } &&
80538          { ac_try='test -s conftest.$ac_objext'
80539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80540   (eval $ac_try) 2>&5
80541   ac_status=$?
80542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80543   (exit $ac_status); }; }; then
80544   glibcxx_cv_func__sqrtl_use=yes
80545 else
80546   echo "$as_me: failed program was:" >&5
80547 sed 's/^/| /' conftest.$ac_ext >&5
80548
80549 glibcxx_cv_func__sqrtl_use=no
80550 fi
80551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80552       ac_ext=c
80553 ac_cpp='$CPP $CPPFLAGS'
80554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80557
80558
80559 fi
80560
80561   fi
80562   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80563 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80564
80565     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80566
80567 for ac_func in _sqrtl
80568 do
80569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80570 echo "$as_me:$LINENO: checking for $ac_func" >&5
80571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80572 if eval "test \"\${$as_ac_var+set}\" = set"; then
80573   echo $ECHO_N "(cached) $ECHO_C" >&6
80574 else
80575   if test x$gcc_no_link = xyes; then
80576   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80578    { (exit 1); exit 1; }; }
80579 fi
80580 cat >conftest.$ac_ext <<_ACEOF
80581 /* confdefs.h.  */
80582 _ACEOF
80583 cat confdefs.h >>conftest.$ac_ext
80584 cat >>conftest.$ac_ext <<_ACEOF
80585 /* end confdefs.h.  */
80586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80587    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80588 #define $ac_func innocuous_$ac_func
80589
80590 /* System header to define __stub macros and hopefully few prototypes,
80591     which can conflict with char $ac_func (); below.
80592     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80593     <limits.h> exists even on freestanding compilers.  */
80594
80595 #ifdef __STDC__
80596 # include <limits.h>
80597 #else
80598 # include <assert.h>
80599 #endif
80600
80601 #undef $ac_func
80602
80603 /* Override any gcc2 internal prototype to avoid an error.  */
80604 #ifdef __cplusplus
80605 extern "C"
80606 {
80607 #endif
80608 /* We use char because int might match the return type of a gcc2
80609    builtin and then its argument prototype would still apply.  */
80610 char $ac_func ();
80611 /* The GNU C library defines this for functions which it implements
80612     to always fail with ENOSYS.  Some functions are actually named
80613     something starting with __ and the normal name is an alias.  */
80614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80615 choke me
80616 #else
80617 char (*f) () = $ac_func;
80618 #endif
80619 #ifdef __cplusplus
80620 }
80621 #endif
80622
80623 int
80624 main ()
80625 {
80626 return f != $ac_func;
80627   ;
80628   return 0;
80629 }
80630 _ACEOF
80631 rm -f conftest.$ac_objext conftest$ac_exeext
80632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80633   (eval $ac_link) 2>conftest.er1
80634   ac_status=$?
80635   grep -v '^ *+' conftest.er1 >conftest.err
80636   rm -f conftest.er1
80637   cat conftest.err >&5
80638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80639   (exit $ac_status); } &&
80640          { ac_try='test -z "$ac_c_werror_flag"
80641                          || test ! -s conftest.err'
80642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80643   (eval $ac_try) 2>&5
80644   ac_status=$?
80645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80646   (exit $ac_status); }; } &&
80647          { ac_try='test -s conftest$ac_exeext'
80648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80649   (eval $ac_try) 2>&5
80650   ac_status=$?
80651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80652   (exit $ac_status); }; }; then
80653   eval "$as_ac_var=yes"
80654 else
80655   echo "$as_me: failed program was:" >&5
80656 sed 's/^/| /' conftest.$ac_ext >&5
80657
80658 eval "$as_ac_var=no"
80659 fi
80660 rm -f conftest.err conftest.$ac_objext \
80661       conftest$ac_exeext conftest.$ac_ext
80662 fi
80663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80665 if test `eval echo '${'$as_ac_var'}'` = yes; then
80666   cat >>confdefs.h <<_ACEOF
80667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80668 _ACEOF
80669
80670 fi
80671 done
80672
80673     fi
80674   fi
80675
80676
80677
80678
80679
80680
80681   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80682 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80683   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80684     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80685   echo $ECHO_N "(cached) $ECHO_C" >&6
80686 else
80687
80688
80689
80690       ac_ext=cc
80691 ac_cpp='$CXXCPP $CPPFLAGS'
80692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80695
80696       cat >conftest.$ac_ext <<_ACEOF
80697 /* confdefs.h.  */
80698 _ACEOF
80699 cat confdefs.h >>conftest.$ac_ext
80700 cat >>conftest.$ac_ext <<_ACEOF
80701 /* end confdefs.h.  */
80702 #include <math.h>
80703 int
80704 main ()
80705 {
80706  sincosl(0, 0, 0);
80707   ;
80708   return 0;
80709 }
80710 _ACEOF
80711 rm -f conftest.$ac_objext
80712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80713   (eval $ac_compile) 2>conftest.er1
80714   ac_status=$?
80715   grep -v '^ *+' conftest.er1 >conftest.err
80716   rm -f conftest.er1
80717   cat conftest.err >&5
80718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80719   (exit $ac_status); } &&
80720          { ac_try='test -z "$ac_cxx_werror_flag"
80721                          || test ! -s conftest.err'
80722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80723   (eval $ac_try) 2>&5
80724   ac_status=$?
80725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80726   (exit $ac_status); }; } &&
80727          { ac_try='test -s conftest.$ac_objext'
80728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80729   (eval $ac_try) 2>&5
80730   ac_status=$?
80731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80732   (exit $ac_status); }; }; then
80733   glibcxx_cv_func_sincosl_use=yes
80734 else
80735   echo "$as_me: failed program was:" >&5
80736 sed 's/^/| /' conftest.$ac_ext >&5
80737
80738 glibcxx_cv_func_sincosl_use=no
80739 fi
80740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80741       ac_ext=c
80742 ac_cpp='$CPP $CPPFLAGS'
80743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80746
80747
80748 fi
80749
80750   fi
80751   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80752 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80753
80754   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80755
80756 for ac_func in sincosl
80757 do
80758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80759 echo "$as_me:$LINENO: checking for $ac_func" >&5
80760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80761 if eval "test \"\${$as_ac_var+set}\" = set"; then
80762   echo $ECHO_N "(cached) $ECHO_C" >&6
80763 else
80764   if test x$gcc_no_link = xyes; then
80765   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80767    { (exit 1); exit 1; }; }
80768 fi
80769 cat >conftest.$ac_ext <<_ACEOF
80770 /* confdefs.h.  */
80771 _ACEOF
80772 cat confdefs.h >>conftest.$ac_ext
80773 cat >>conftest.$ac_ext <<_ACEOF
80774 /* end confdefs.h.  */
80775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80776    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80777 #define $ac_func innocuous_$ac_func
80778
80779 /* System header to define __stub macros and hopefully few prototypes,
80780     which can conflict with char $ac_func (); below.
80781     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80782     <limits.h> exists even on freestanding compilers.  */
80783
80784 #ifdef __STDC__
80785 # include <limits.h>
80786 #else
80787 # include <assert.h>
80788 #endif
80789
80790 #undef $ac_func
80791
80792 /* Override any gcc2 internal prototype to avoid an error.  */
80793 #ifdef __cplusplus
80794 extern "C"
80795 {
80796 #endif
80797 /* We use char because int might match the return type of a gcc2
80798    builtin and then its argument prototype would still apply.  */
80799 char $ac_func ();
80800 /* The GNU C library defines this for functions which it implements
80801     to always fail with ENOSYS.  Some functions are actually named
80802     something starting with __ and the normal name is an alias.  */
80803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80804 choke me
80805 #else
80806 char (*f) () = $ac_func;
80807 #endif
80808 #ifdef __cplusplus
80809 }
80810 #endif
80811
80812 int
80813 main ()
80814 {
80815 return f != $ac_func;
80816   ;
80817   return 0;
80818 }
80819 _ACEOF
80820 rm -f conftest.$ac_objext conftest$ac_exeext
80821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80822   (eval $ac_link) 2>conftest.er1
80823   ac_status=$?
80824   grep -v '^ *+' conftest.er1 >conftest.err
80825   rm -f conftest.er1
80826   cat conftest.err >&5
80827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80828   (exit $ac_status); } &&
80829          { ac_try='test -z "$ac_c_werror_flag"
80830                          || test ! -s conftest.err'
80831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80832   (eval $ac_try) 2>&5
80833   ac_status=$?
80834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80835   (exit $ac_status); }; } &&
80836          { ac_try='test -s conftest$ac_exeext'
80837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80838   (eval $ac_try) 2>&5
80839   ac_status=$?
80840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80841   (exit $ac_status); }; }; then
80842   eval "$as_ac_var=yes"
80843 else
80844   echo "$as_me: failed program was:" >&5
80845 sed 's/^/| /' conftest.$ac_ext >&5
80846
80847 eval "$as_ac_var=no"
80848 fi
80849 rm -f conftest.err conftest.$ac_objext \
80850       conftest$ac_exeext conftest.$ac_ext
80851 fi
80852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80854 if test `eval echo '${'$as_ac_var'}'` = yes; then
80855   cat >>confdefs.h <<_ACEOF
80856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80857 _ACEOF
80858
80859 fi
80860 done
80861
80862   else
80863
80864   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80865 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80866   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80867     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80868   echo $ECHO_N "(cached) $ECHO_C" >&6
80869 else
80870
80871
80872
80873       ac_ext=cc
80874 ac_cpp='$CXXCPP $CPPFLAGS'
80875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80878
80879       cat >conftest.$ac_ext <<_ACEOF
80880 /* confdefs.h.  */
80881 _ACEOF
80882 cat confdefs.h >>conftest.$ac_ext
80883 cat >>conftest.$ac_ext <<_ACEOF
80884 /* end confdefs.h.  */
80885 #include <math.h>
80886 int
80887 main ()
80888 {
80889  _sincosl(0, 0, 0);
80890   ;
80891   return 0;
80892 }
80893 _ACEOF
80894 rm -f conftest.$ac_objext
80895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80896   (eval $ac_compile) 2>conftest.er1
80897   ac_status=$?
80898   grep -v '^ *+' conftest.er1 >conftest.err
80899   rm -f conftest.er1
80900   cat conftest.err >&5
80901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80902   (exit $ac_status); } &&
80903          { ac_try='test -z "$ac_cxx_werror_flag"
80904                          || test ! -s conftest.err'
80905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80906   (eval $ac_try) 2>&5
80907   ac_status=$?
80908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80909   (exit $ac_status); }; } &&
80910          { ac_try='test -s conftest.$ac_objext'
80911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80912   (eval $ac_try) 2>&5
80913   ac_status=$?
80914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80915   (exit $ac_status); }; }; then
80916   glibcxx_cv_func__sincosl_use=yes
80917 else
80918   echo "$as_me: failed program was:" >&5
80919 sed 's/^/| /' conftest.$ac_ext >&5
80920
80921 glibcxx_cv_func__sincosl_use=no
80922 fi
80923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80924       ac_ext=c
80925 ac_cpp='$CPP $CPPFLAGS'
80926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80929
80930
80931 fi
80932
80933   fi
80934   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
80935 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
80936
80937     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
80938
80939 for ac_func in _sincosl
80940 do
80941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80942 echo "$as_me:$LINENO: checking for $ac_func" >&5
80943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80944 if eval "test \"\${$as_ac_var+set}\" = set"; then
80945   echo $ECHO_N "(cached) $ECHO_C" >&6
80946 else
80947   if test x$gcc_no_link = xyes; then
80948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80950    { (exit 1); exit 1; }; }
80951 fi
80952 cat >conftest.$ac_ext <<_ACEOF
80953 /* confdefs.h.  */
80954 _ACEOF
80955 cat confdefs.h >>conftest.$ac_ext
80956 cat >>conftest.$ac_ext <<_ACEOF
80957 /* end confdefs.h.  */
80958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80960 #define $ac_func innocuous_$ac_func
80961
80962 /* System header to define __stub macros and hopefully few prototypes,
80963     which can conflict with char $ac_func (); below.
80964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80965     <limits.h> exists even on freestanding compilers.  */
80966
80967 #ifdef __STDC__
80968 # include <limits.h>
80969 #else
80970 # include <assert.h>
80971 #endif
80972
80973 #undef $ac_func
80974
80975 /* Override any gcc2 internal prototype to avoid an error.  */
80976 #ifdef __cplusplus
80977 extern "C"
80978 {
80979 #endif
80980 /* We use char because int might match the return type of a gcc2
80981    builtin and then its argument prototype would still apply.  */
80982 char $ac_func ();
80983 /* The GNU C library defines this for functions which it implements
80984     to always fail with ENOSYS.  Some functions are actually named
80985     something starting with __ and the normal name is an alias.  */
80986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80987 choke me
80988 #else
80989 char (*f) () = $ac_func;
80990 #endif
80991 #ifdef __cplusplus
80992 }
80993 #endif
80994
80995 int
80996 main ()
80997 {
80998 return f != $ac_func;
80999   ;
81000   return 0;
81001 }
81002 _ACEOF
81003 rm -f conftest.$ac_objext conftest$ac_exeext
81004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81005   (eval $ac_link) 2>conftest.er1
81006   ac_status=$?
81007   grep -v '^ *+' conftest.er1 >conftest.err
81008   rm -f conftest.er1
81009   cat conftest.err >&5
81010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81011   (exit $ac_status); } &&
81012          { ac_try='test -z "$ac_c_werror_flag"
81013                          || test ! -s conftest.err'
81014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81015   (eval $ac_try) 2>&5
81016   ac_status=$?
81017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81018   (exit $ac_status); }; } &&
81019          { ac_try='test -s conftest$ac_exeext'
81020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81021   (eval $ac_try) 2>&5
81022   ac_status=$?
81023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81024   (exit $ac_status); }; }; then
81025   eval "$as_ac_var=yes"
81026 else
81027   echo "$as_me: failed program was:" >&5
81028 sed 's/^/| /' conftest.$ac_ext >&5
81029
81030 eval "$as_ac_var=no"
81031 fi
81032 rm -f conftest.err conftest.$ac_objext \
81033       conftest$ac_exeext conftest.$ac_ext
81034 fi
81035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81037 if test `eval echo '${'$as_ac_var'}'` = yes; then
81038   cat >>confdefs.h <<_ACEOF
81039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81040 _ACEOF
81041
81042 fi
81043 done
81044
81045     fi
81046   fi
81047
81048
81049
81050
81051
81052
81053   echo "$as_me:$LINENO: checking for finitel declaration" >&5
81054 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81055   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81056     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81057   echo $ECHO_N "(cached) $ECHO_C" >&6
81058 else
81059
81060
81061
81062       ac_ext=cc
81063 ac_cpp='$CXXCPP $CPPFLAGS'
81064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81067
81068       cat >conftest.$ac_ext <<_ACEOF
81069 /* confdefs.h.  */
81070 _ACEOF
81071 cat confdefs.h >>conftest.$ac_ext
81072 cat >>conftest.$ac_ext <<_ACEOF
81073 /* end confdefs.h.  */
81074 #include <math.h>
81075                       #ifdef HAVE_IEEEFP_H
81076                       #include <ieeefp.h>
81077                       #endif
81078
81079 int
81080 main ()
81081 {
81082  finitel(0);
81083   ;
81084   return 0;
81085 }
81086 _ACEOF
81087 rm -f conftest.$ac_objext
81088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81089   (eval $ac_compile) 2>conftest.er1
81090   ac_status=$?
81091   grep -v '^ *+' conftest.er1 >conftest.err
81092   rm -f conftest.er1
81093   cat conftest.err >&5
81094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81095   (exit $ac_status); } &&
81096          { ac_try='test -z "$ac_cxx_werror_flag"
81097                          || test ! -s conftest.err'
81098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81099   (eval $ac_try) 2>&5
81100   ac_status=$?
81101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81102   (exit $ac_status); }; } &&
81103          { ac_try='test -s conftest.$ac_objext'
81104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81105   (eval $ac_try) 2>&5
81106   ac_status=$?
81107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81108   (exit $ac_status); }; }; then
81109   glibcxx_cv_func_finitel_use=yes
81110 else
81111   echo "$as_me: failed program was:" >&5
81112 sed 's/^/| /' conftest.$ac_ext >&5
81113
81114 glibcxx_cv_func_finitel_use=no
81115 fi
81116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81117       ac_ext=c
81118 ac_cpp='$CPP $CPPFLAGS'
81119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81122
81123
81124 fi
81125
81126   fi
81127   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81128 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81129
81130   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81131
81132 for ac_func in finitel
81133 do
81134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81135 echo "$as_me:$LINENO: checking for $ac_func" >&5
81136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81137 if eval "test \"\${$as_ac_var+set}\" = set"; then
81138   echo $ECHO_N "(cached) $ECHO_C" >&6
81139 else
81140   if test x$gcc_no_link = xyes; then
81141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81143    { (exit 1); exit 1; }; }
81144 fi
81145 cat >conftest.$ac_ext <<_ACEOF
81146 /* confdefs.h.  */
81147 _ACEOF
81148 cat confdefs.h >>conftest.$ac_ext
81149 cat >>conftest.$ac_ext <<_ACEOF
81150 /* end confdefs.h.  */
81151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81153 #define $ac_func innocuous_$ac_func
81154
81155 /* System header to define __stub macros and hopefully few prototypes,
81156     which can conflict with char $ac_func (); below.
81157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81158     <limits.h> exists even on freestanding compilers.  */
81159
81160 #ifdef __STDC__
81161 # include <limits.h>
81162 #else
81163 # include <assert.h>
81164 #endif
81165
81166 #undef $ac_func
81167
81168 /* Override any gcc2 internal prototype to avoid an error.  */
81169 #ifdef __cplusplus
81170 extern "C"
81171 {
81172 #endif
81173 /* We use char because int might match the return type of a gcc2
81174    builtin and then its argument prototype would still apply.  */
81175 char $ac_func ();
81176 /* The GNU C library defines this for functions which it implements
81177     to always fail with ENOSYS.  Some functions are actually named
81178     something starting with __ and the normal name is an alias.  */
81179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81180 choke me
81181 #else
81182 char (*f) () = $ac_func;
81183 #endif
81184 #ifdef __cplusplus
81185 }
81186 #endif
81187
81188 int
81189 main ()
81190 {
81191 return f != $ac_func;
81192   ;
81193   return 0;
81194 }
81195 _ACEOF
81196 rm -f conftest.$ac_objext conftest$ac_exeext
81197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81198   (eval $ac_link) 2>conftest.er1
81199   ac_status=$?
81200   grep -v '^ *+' conftest.er1 >conftest.err
81201   rm -f conftest.er1
81202   cat conftest.err >&5
81203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204   (exit $ac_status); } &&
81205          { ac_try='test -z "$ac_c_werror_flag"
81206                          || test ! -s conftest.err'
81207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81208   (eval $ac_try) 2>&5
81209   ac_status=$?
81210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81211   (exit $ac_status); }; } &&
81212          { ac_try='test -s conftest$ac_exeext'
81213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81214   (eval $ac_try) 2>&5
81215   ac_status=$?
81216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81217   (exit $ac_status); }; }; then
81218   eval "$as_ac_var=yes"
81219 else
81220   echo "$as_me: failed program was:" >&5
81221 sed 's/^/| /' conftest.$ac_ext >&5
81222
81223 eval "$as_ac_var=no"
81224 fi
81225 rm -f conftest.err conftest.$ac_objext \
81226       conftest$ac_exeext conftest.$ac_ext
81227 fi
81228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81230 if test `eval echo '${'$as_ac_var'}'` = yes; then
81231   cat >>confdefs.h <<_ACEOF
81232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81233 _ACEOF
81234
81235 fi
81236 done
81237
81238   else
81239
81240   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81241 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81242   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81243     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81244   echo $ECHO_N "(cached) $ECHO_C" >&6
81245 else
81246
81247
81248
81249       ac_ext=cc
81250 ac_cpp='$CXXCPP $CPPFLAGS'
81251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81254
81255       cat >conftest.$ac_ext <<_ACEOF
81256 /* confdefs.h.  */
81257 _ACEOF
81258 cat confdefs.h >>conftest.$ac_ext
81259 cat >>conftest.$ac_ext <<_ACEOF
81260 /* end confdefs.h.  */
81261 #include <math.h>
81262                       #ifdef HAVE_IEEEFP_H
81263                       #include <ieeefp.h>
81264                       #endif
81265
81266 int
81267 main ()
81268 {
81269  _finitel(0);
81270   ;
81271   return 0;
81272 }
81273 _ACEOF
81274 rm -f conftest.$ac_objext
81275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81276   (eval $ac_compile) 2>conftest.er1
81277   ac_status=$?
81278   grep -v '^ *+' conftest.er1 >conftest.err
81279   rm -f conftest.er1
81280   cat conftest.err >&5
81281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81282   (exit $ac_status); } &&
81283          { ac_try='test -z "$ac_cxx_werror_flag"
81284                          || test ! -s conftest.err'
81285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81286   (eval $ac_try) 2>&5
81287   ac_status=$?
81288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81289   (exit $ac_status); }; } &&
81290          { ac_try='test -s conftest.$ac_objext'
81291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81292   (eval $ac_try) 2>&5
81293   ac_status=$?
81294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81295   (exit $ac_status); }; }; then
81296   glibcxx_cv_func__finitel_use=yes
81297 else
81298   echo "$as_me: failed program was:" >&5
81299 sed 's/^/| /' conftest.$ac_ext >&5
81300
81301 glibcxx_cv_func__finitel_use=no
81302 fi
81303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81304       ac_ext=c
81305 ac_cpp='$CPP $CPPFLAGS'
81306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81309
81310
81311 fi
81312
81313   fi
81314   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81315 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81316
81317     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81318
81319 for ac_func in _finitel
81320 do
81321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81322 echo "$as_me:$LINENO: checking for $ac_func" >&5
81323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81324 if eval "test \"\${$as_ac_var+set}\" = set"; then
81325   echo $ECHO_N "(cached) $ECHO_C" >&6
81326 else
81327   if test x$gcc_no_link = xyes; then
81328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81330    { (exit 1); exit 1; }; }
81331 fi
81332 cat >conftest.$ac_ext <<_ACEOF
81333 /* confdefs.h.  */
81334 _ACEOF
81335 cat confdefs.h >>conftest.$ac_ext
81336 cat >>conftest.$ac_ext <<_ACEOF
81337 /* end confdefs.h.  */
81338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81340 #define $ac_func innocuous_$ac_func
81341
81342 /* System header to define __stub macros and hopefully few prototypes,
81343     which can conflict with char $ac_func (); below.
81344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81345     <limits.h> exists even on freestanding compilers.  */
81346
81347 #ifdef __STDC__
81348 # include <limits.h>
81349 #else
81350 # include <assert.h>
81351 #endif
81352
81353 #undef $ac_func
81354
81355 /* Override any gcc2 internal prototype to avoid an error.  */
81356 #ifdef __cplusplus
81357 extern "C"
81358 {
81359 #endif
81360 /* We use char because int might match the return type of a gcc2
81361    builtin and then its argument prototype would still apply.  */
81362 char $ac_func ();
81363 /* The GNU C library defines this for functions which it implements
81364     to always fail with ENOSYS.  Some functions are actually named
81365     something starting with __ and the normal name is an alias.  */
81366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81367 choke me
81368 #else
81369 char (*f) () = $ac_func;
81370 #endif
81371 #ifdef __cplusplus
81372 }
81373 #endif
81374
81375 int
81376 main ()
81377 {
81378 return f != $ac_func;
81379   ;
81380   return 0;
81381 }
81382 _ACEOF
81383 rm -f conftest.$ac_objext conftest$ac_exeext
81384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81385   (eval $ac_link) 2>conftest.er1
81386   ac_status=$?
81387   grep -v '^ *+' conftest.er1 >conftest.err
81388   rm -f conftest.er1
81389   cat conftest.err >&5
81390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81391   (exit $ac_status); } &&
81392          { ac_try='test -z "$ac_c_werror_flag"
81393                          || test ! -s conftest.err'
81394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81395   (eval $ac_try) 2>&5
81396   ac_status=$?
81397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81398   (exit $ac_status); }; } &&
81399          { ac_try='test -s conftest$ac_exeext'
81400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81401   (eval $ac_try) 2>&5
81402   ac_status=$?
81403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81404   (exit $ac_status); }; }; then
81405   eval "$as_ac_var=yes"
81406 else
81407   echo "$as_me: failed program was:" >&5
81408 sed 's/^/| /' conftest.$ac_ext >&5
81409
81410 eval "$as_ac_var=no"
81411 fi
81412 rm -f conftest.err conftest.$ac_objext \
81413       conftest$ac_exeext conftest.$ac_ext
81414 fi
81415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81417 if test `eval echo '${'$as_ac_var'}'` = yes; then
81418   cat >>confdefs.h <<_ACEOF
81419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81420 _ACEOF
81421
81422 fi
81423 done
81424
81425     fi
81426   fi
81427
81428
81429
81430
81431
81432   LIBS="$ac_save_LIBS"
81433   CXXFLAGS="$ac_save_CXXFLAGS"
81434
81435
81436
81437   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81438 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81439   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81440     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81441   echo $ECHO_N "(cached) $ECHO_C" >&6
81442 else
81443
81444
81445
81446       ac_ext=cc
81447 ac_cpp='$CXXCPP $CPPFLAGS'
81448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81451
81452       cat >conftest.$ac_ext <<_ACEOF
81453 /* confdefs.h.  */
81454 _ACEOF
81455 cat confdefs.h >>conftest.$ac_ext
81456 cat >>conftest.$ac_ext <<_ACEOF
81457 /* end confdefs.h.  */
81458 #include <math.h>
81459 int
81460 main ()
81461 {
81462  __builtin_abs(0);
81463   ;
81464   return 0;
81465 }
81466 _ACEOF
81467 rm -f conftest.$ac_objext
81468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81469   (eval $ac_compile) 2>conftest.er1
81470   ac_status=$?
81471   grep -v '^ *+' conftest.er1 >conftest.err
81472   rm -f conftest.er1
81473   cat conftest.err >&5
81474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81475   (exit $ac_status); } &&
81476          { ac_try='test -z "$ac_cxx_werror_flag"
81477                          || test ! -s conftest.err'
81478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81479   (eval $ac_try) 2>&5
81480   ac_status=$?
81481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482   (exit $ac_status); }; } &&
81483          { ac_try='test -s conftest.$ac_objext'
81484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81485   (eval $ac_try) 2>&5
81486   ac_status=$?
81487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81488   (exit $ac_status); }; }; then
81489   glibcxx_cv_func___builtin_abs_use=yes
81490 else
81491   echo "$as_me: failed program was:" >&5
81492 sed 's/^/| /' conftest.$ac_ext >&5
81493
81494 glibcxx_cv_func___builtin_abs_use=no
81495 fi
81496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81497       ac_ext=c
81498 ac_cpp='$CPP $CPPFLAGS'
81499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81502
81503
81504 fi
81505
81506   fi
81507   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81508 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81509   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81510     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81511 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81512     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81513       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81514   echo $ECHO_N "(cached) $ECHO_C" >&6
81515 else
81516
81517         if test x$gcc_no_link = xyes; then
81518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81520    { (exit 1); exit 1; }; }
81521 fi
81522 cat >conftest.$ac_ext <<_ACEOF
81523 /* confdefs.h.  */
81524 _ACEOF
81525 cat confdefs.h >>conftest.$ac_ext
81526 cat >>conftest.$ac_ext <<_ACEOF
81527 /* end confdefs.h.  */
81528 #include <math.h>
81529 int
81530 main ()
81531 {
81532  __builtin_abs(0);
81533   ;
81534   return 0;
81535 }
81536 _ACEOF
81537 rm -f conftest.$ac_objext conftest$ac_exeext
81538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81539   (eval $ac_link) 2>conftest.er1
81540   ac_status=$?
81541   grep -v '^ *+' conftest.er1 >conftest.err
81542   rm -f conftest.er1
81543   cat conftest.err >&5
81544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81545   (exit $ac_status); } &&
81546          { ac_try='test -z "$ac_c_werror_flag"
81547                          || test ! -s conftest.err'
81548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81549   (eval $ac_try) 2>&5
81550   ac_status=$?
81551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81552   (exit $ac_status); }; } &&
81553          { ac_try='test -s conftest$ac_exeext'
81554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81555   (eval $ac_try) 2>&5
81556   ac_status=$?
81557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81558   (exit $ac_status); }; }; then
81559   glibcxx_cv_func___builtin_abs_link=yes
81560 else
81561   echo "$as_me: failed program was:" >&5
81562 sed 's/^/| /' conftest.$ac_ext >&5
81563
81564 glibcxx_cv_func___builtin_abs_link=no
81565 fi
81566 rm -f conftest.err conftest.$ac_objext \
81567       conftest$ac_exeext conftest.$ac_ext
81568
81569 fi
81570
81571     fi
81572     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81573 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81574
81575     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81576
81577 cat >>confdefs.h <<\_ACEOF
81578 #define HAVE___BUILTIN_ABS 1
81579 _ACEOF
81580
81581     fi
81582
81583   fi
81584
81585
81586   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81587 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81588   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81589     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81590   echo $ECHO_N "(cached) $ECHO_C" >&6
81591 else
81592
81593
81594
81595       ac_ext=cc
81596 ac_cpp='$CXXCPP $CPPFLAGS'
81597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81600
81601       cat >conftest.$ac_ext <<_ACEOF
81602 /* confdefs.h.  */
81603 _ACEOF
81604 cat confdefs.h >>conftest.$ac_ext
81605 cat >>conftest.$ac_ext <<_ACEOF
81606 /* end confdefs.h.  */
81607 #include <math.h>
81608 int
81609 main ()
81610 {
81611  __builtin_fabsf(0);
81612   ;
81613   return 0;
81614 }
81615 _ACEOF
81616 rm -f conftest.$ac_objext
81617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81618   (eval $ac_compile) 2>conftest.er1
81619   ac_status=$?
81620   grep -v '^ *+' conftest.er1 >conftest.err
81621   rm -f conftest.er1
81622   cat conftest.err >&5
81623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81624   (exit $ac_status); } &&
81625          { ac_try='test -z "$ac_cxx_werror_flag"
81626                          || test ! -s conftest.err'
81627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81628   (eval $ac_try) 2>&5
81629   ac_status=$?
81630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81631   (exit $ac_status); }; } &&
81632          { ac_try='test -s conftest.$ac_objext'
81633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81634   (eval $ac_try) 2>&5
81635   ac_status=$?
81636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81637   (exit $ac_status); }; }; then
81638   glibcxx_cv_func___builtin_fabsf_use=yes
81639 else
81640   echo "$as_me: failed program was:" >&5
81641 sed 's/^/| /' conftest.$ac_ext >&5
81642
81643 glibcxx_cv_func___builtin_fabsf_use=no
81644 fi
81645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81646       ac_ext=c
81647 ac_cpp='$CPP $CPPFLAGS'
81648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81651
81652
81653 fi
81654
81655   fi
81656   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81657 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81658   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81659     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81660 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81661     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81662       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81663   echo $ECHO_N "(cached) $ECHO_C" >&6
81664 else
81665
81666         if test x$gcc_no_link = xyes; then
81667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81669    { (exit 1); exit 1; }; }
81670 fi
81671 cat >conftest.$ac_ext <<_ACEOF
81672 /* confdefs.h.  */
81673 _ACEOF
81674 cat confdefs.h >>conftest.$ac_ext
81675 cat >>conftest.$ac_ext <<_ACEOF
81676 /* end confdefs.h.  */
81677 #include <math.h>
81678 int
81679 main ()
81680 {
81681  __builtin_fabsf(0);
81682   ;
81683   return 0;
81684 }
81685 _ACEOF
81686 rm -f conftest.$ac_objext conftest$ac_exeext
81687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81688   (eval $ac_link) 2>conftest.er1
81689   ac_status=$?
81690   grep -v '^ *+' conftest.er1 >conftest.err
81691   rm -f conftest.er1
81692   cat conftest.err >&5
81693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81694   (exit $ac_status); } &&
81695          { ac_try='test -z "$ac_c_werror_flag"
81696                          || test ! -s conftest.err'
81697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81698   (eval $ac_try) 2>&5
81699   ac_status=$?
81700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81701   (exit $ac_status); }; } &&
81702          { ac_try='test -s conftest$ac_exeext'
81703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81704   (eval $ac_try) 2>&5
81705   ac_status=$?
81706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81707   (exit $ac_status); }; }; then
81708   glibcxx_cv_func___builtin_fabsf_link=yes
81709 else
81710   echo "$as_me: failed program was:" >&5
81711 sed 's/^/| /' conftest.$ac_ext >&5
81712
81713 glibcxx_cv_func___builtin_fabsf_link=no
81714 fi
81715 rm -f conftest.err conftest.$ac_objext \
81716       conftest$ac_exeext conftest.$ac_ext
81717
81718 fi
81719
81720     fi
81721     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81722 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81723
81724     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81725
81726 cat >>confdefs.h <<\_ACEOF
81727 #define HAVE___BUILTIN_FABSF 1
81728 _ACEOF
81729
81730     fi
81731
81732   fi
81733
81734
81735   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81736 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81737   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81738     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81739   echo $ECHO_N "(cached) $ECHO_C" >&6
81740 else
81741
81742
81743
81744       ac_ext=cc
81745 ac_cpp='$CXXCPP $CPPFLAGS'
81746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81749
81750       cat >conftest.$ac_ext <<_ACEOF
81751 /* confdefs.h.  */
81752 _ACEOF
81753 cat confdefs.h >>conftest.$ac_ext
81754 cat >>conftest.$ac_ext <<_ACEOF
81755 /* end confdefs.h.  */
81756 #include <math.h>
81757 int
81758 main ()
81759 {
81760  __builtin_fabs(0);
81761   ;
81762   return 0;
81763 }
81764 _ACEOF
81765 rm -f conftest.$ac_objext
81766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81767   (eval $ac_compile) 2>conftest.er1
81768   ac_status=$?
81769   grep -v '^ *+' conftest.er1 >conftest.err
81770   rm -f conftest.er1
81771   cat conftest.err >&5
81772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81773   (exit $ac_status); } &&
81774          { ac_try='test -z "$ac_cxx_werror_flag"
81775                          || test ! -s conftest.err'
81776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81777   (eval $ac_try) 2>&5
81778   ac_status=$?
81779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81780   (exit $ac_status); }; } &&
81781          { ac_try='test -s conftest.$ac_objext'
81782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81783   (eval $ac_try) 2>&5
81784   ac_status=$?
81785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81786   (exit $ac_status); }; }; then
81787   glibcxx_cv_func___builtin_fabs_use=yes
81788 else
81789   echo "$as_me: failed program was:" >&5
81790 sed 's/^/| /' conftest.$ac_ext >&5
81791
81792 glibcxx_cv_func___builtin_fabs_use=no
81793 fi
81794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81795       ac_ext=c
81796 ac_cpp='$CPP $CPPFLAGS'
81797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81800
81801
81802 fi
81803
81804   fi
81805   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81806 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81807   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81808     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81809 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81810     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81811       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81812   echo $ECHO_N "(cached) $ECHO_C" >&6
81813 else
81814
81815         if test x$gcc_no_link = xyes; then
81816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81818    { (exit 1); exit 1; }; }
81819 fi
81820 cat >conftest.$ac_ext <<_ACEOF
81821 /* confdefs.h.  */
81822 _ACEOF
81823 cat confdefs.h >>conftest.$ac_ext
81824 cat >>conftest.$ac_ext <<_ACEOF
81825 /* end confdefs.h.  */
81826 #include <math.h>
81827 int
81828 main ()
81829 {
81830  __builtin_fabs(0);
81831   ;
81832   return 0;
81833 }
81834 _ACEOF
81835 rm -f conftest.$ac_objext conftest$ac_exeext
81836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81837   (eval $ac_link) 2>conftest.er1
81838   ac_status=$?
81839   grep -v '^ *+' conftest.er1 >conftest.err
81840   rm -f conftest.er1
81841   cat conftest.err >&5
81842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81843   (exit $ac_status); } &&
81844          { ac_try='test -z "$ac_c_werror_flag"
81845                          || test ! -s conftest.err'
81846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81847   (eval $ac_try) 2>&5
81848   ac_status=$?
81849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81850   (exit $ac_status); }; } &&
81851          { ac_try='test -s conftest$ac_exeext'
81852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81853   (eval $ac_try) 2>&5
81854   ac_status=$?
81855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81856   (exit $ac_status); }; }; then
81857   glibcxx_cv_func___builtin_fabs_link=yes
81858 else
81859   echo "$as_me: failed program was:" >&5
81860 sed 's/^/| /' conftest.$ac_ext >&5
81861
81862 glibcxx_cv_func___builtin_fabs_link=no
81863 fi
81864 rm -f conftest.err conftest.$ac_objext \
81865       conftest$ac_exeext conftest.$ac_ext
81866
81867 fi
81868
81869     fi
81870     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81871 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81872
81873     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81874
81875 cat >>confdefs.h <<\_ACEOF
81876 #define HAVE___BUILTIN_FABS 1
81877 _ACEOF
81878
81879     fi
81880
81881   fi
81882
81883
81884   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
81885 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
81886   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
81887     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
81888   echo $ECHO_N "(cached) $ECHO_C" >&6
81889 else
81890
81891
81892
81893       ac_ext=cc
81894 ac_cpp='$CXXCPP $CPPFLAGS'
81895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81898
81899       cat >conftest.$ac_ext <<_ACEOF
81900 /* confdefs.h.  */
81901 _ACEOF
81902 cat confdefs.h >>conftest.$ac_ext
81903 cat >>conftest.$ac_ext <<_ACEOF
81904 /* end confdefs.h.  */
81905 #include <math.h>
81906 int
81907 main ()
81908 {
81909  __builtin_fabsl(0);
81910   ;
81911   return 0;
81912 }
81913 _ACEOF
81914 rm -f conftest.$ac_objext
81915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81916   (eval $ac_compile) 2>conftest.er1
81917   ac_status=$?
81918   grep -v '^ *+' conftest.er1 >conftest.err
81919   rm -f conftest.er1
81920   cat conftest.err >&5
81921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81922   (exit $ac_status); } &&
81923          { ac_try='test -z "$ac_cxx_werror_flag"
81924                          || test ! -s conftest.err'
81925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81926   (eval $ac_try) 2>&5
81927   ac_status=$?
81928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81929   (exit $ac_status); }; } &&
81930          { ac_try='test -s conftest.$ac_objext'
81931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81932   (eval $ac_try) 2>&5
81933   ac_status=$?
81934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81935   (exit $ac_status); }; }; then
81936   glibcxx_cv_func___builtin_fabsl_use=yes
81937 else
81938   echo "$as_me: failed program was:" >&5
81939 sed 's/^/| /' conftest.$ac_ext >&5
81940
81941 glibcxx_cv_func___builtin_fabsl_use=no
81942 fi
81943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81944       ac_ext=c
81945 ac_cpp='$CPP $CPPFLAGS'
81946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81949
81950
81951 fi
81952
81953   fi
81954   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
81955 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
81956   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
81957     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
81958 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81959     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81960       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81961   echo $ECHO_N "(cached) $ECHO_C" >&6
81962 else
81963
81964         if test x$gcc_no_link = xyes; then
81965   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81967    { (exit 1); exit 1; }; }
81968 fi
81969 cat >conftest.$ac_ext <<_ACEOF
81970 /* confdefs.h.  */
81971 _ACEOF
81972 cat confdefs.h >>conftest.$ac_ext
81973 cat >>conftest.$ac_ext <<_ACEOF
81974 /* end confdefs.h.  */
81975 #include <math.h>
81976 int
81977 main ()
81978 {
81979  __builtin_fabsl(0);
81980   ;
81981   return 0;
81982 }
81983 _ACEOF
81984 rm -f conftest.$ac_objext conftest$ac_exeext
81985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81986   (eval $ac_link) 2>conftest.er1
81987   ac_status=$?
81988   grep -v '^ *+' conftest.er1 >conftest.err
81989   rm -f conftest.er1
81990   cat conftest.err >&5
81991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81992   (exit $ac_status); } &&
81993          { ac_try='test -z "$ac_c_werror_flag"
81994                          || test ! -s conftest.err'
81995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81996   (eval $ac_try) 2>&5
81997   ac_status=$?
81998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81999   (exit $ac_status); }; } &&
82000          { ac_try='test -s conftest$ac_exeext'
82001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82002   (eval $ac_try) 2>&5
82003   ac_status=$?
82004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82005   (exit $ac_status); }; }; then
82006   glibcxx_cv_func___builtin_fabsl_link=yes
82007 else
82008   echo "$as_me: failed program was:" >&5
82009 sed 's/^/| /' conftest.$ac_ext >&5
82010
82011 glibcxx_cv_func___builtin_fabsl_link=no
82012 fi
82013 rm -f conftest.err conftest.$ac_objext \
82014       conftest$ac_exeext conftest.$ac_ext
82015
82016 fi
82017
82018     fi
82019     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82020 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82021
82022     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82023
82024 cat >>confdefs.h <<\_ACEOF
82025 #define HAVE___BUILTIN_FABSL 1
82026 _ACEOF
82027
82028     fi
82029
82030   fi
82031
82032
82033   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82034 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82035   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82036     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82037   echo $ECHO_N "(cached) $ECHO_C" >&6
82038 else
82039
82040
82041
82042       ac_ext=cc
82043 ac_cpp='$CXXCPP $CPPFLAGS'
82044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82047
82048       cat >conftest.$ac_ext <<_ACEOF
82049 /* confdefs.h.  */
82050 _ACEOF
82051 cat confdefs.h >>conftest.$ac_ext
82052 cat >>conftest.$ac_ext <<_ACEOF
82053 /* end confdefs.h.  */
82054 #include <math.h>
82055 int
82056 main ()
82057 {
82058  __builtin_labs(0);
82059   ;
82060   return 0;
82061 }
82062 _ACEOF
82063 rm -f conftest.$ac_objext
82064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82065   (eval $ac_compile) 2>conftest.er1
82066   ac_status=$?
82067   grep -v '^ *+' conftest.er1 >conftest.err
82068   rm -f conftest.er1
82069   cat conftest.err >&5
82070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82071   (exit $ac_status); } &&
82072          { ac_try='test -z "$ac_cxx_werror_flag"
82073                          || test ! -s conftest.err'
82074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82075   (eval $ac_try) 2>&5
82076   ac_status=$?
82077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82078   (exit $ac_status); }; } &&
82079          { ac_try='test -s conftest.$ac_objext'
82080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82081   (eval $ac_try) 2>&5
82082   ac_status=$?
82083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82084   (exit $ac_status); }; }; then
82085   glibcxx_cv_func___builtin_labs_use=yes
82086 else
82087   echo "$as_me: failed program was:" >&5
82088 sed 's/^/| /' conftest.$ac_ext >&5
82089
82090 glibcxx_cv_func___builtin_labs_use=no
82091 fi
82092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82093       ac_ext=c
82094 ac_cpp='$CPP $CPPFLAGS'
82095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82098
82099
82100 fi
82101
82102   fi
82103   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82104 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82105   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82106     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82107 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82108     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82109       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82110   echo $ECHO_N "(cached) $ECHO_C" >&6
82111 else
82112
82113         if test x$gcc_no_link = xyes; then
82114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82116    { (exit 1); exit 1; }; }
82117 fi
82118 cat >conftest.$ac_ext <<_ACEOF
82119 /* confdefs.h.  */
82120 _ACEOF
82121 cat confdefs.h >>conftest.$ac_ext
82122 cat >>conftest.$ac_ext <<_ACEOF
82123 /* end confdefs.h.  */
82124 #include <math.h>
82125 int
82126 main ()
82127 {
82128  __builtin_labs(0);
82129   ;
82130   return 0;
82131 }
82132 _ACEOF
82133 rm -f conftest.$ac_objext conftest$ac_exeext
82134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82135   (eval $ac_link) 2>conftest.er1
82136   ac_status=$?
82137   grep -v '^ *+' conftest.er1 >conftest.err
82138   rm -f conftest.er1
82139   cat conftest.err >&5
82140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82141   (exit $ac_status); } &&
82142          { ac_try='test -z "$ac_c_werror_flag"
82143                          || test ! -s conftest.err'
82144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82145   (eval $ac_try) 2>&5
82146   ac_status=$?
82147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82148   (exit $ac_status); }; } &&
82149          { ac_try='test -s conftest$ac_exeext'
82150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82151   (eval $ac_try) 2>&5
82152   ac_status=$?
82153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82154   (exit $ac_status); }; }; then
82155   glibcxx_cv_func___builtin_labs_link=yes
82156 else
82157   echo "$as_me: failed program was:" >&5
82158 sed 's/^/| /' conftest.$ac_ext >&5
82159
82160 glibcxx_cv_func___builtin_labs_link=no
82161 fi
82162 rm -f conftest.err conftest.$ac_objext \
82163       conftest$ac_exeext conftest.$ac_ext
82164
82165 fi
82166
82167     fi
82168     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82169 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82170
82171     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82172
82173 cat >>confdefs.h <<\_ACEOF
82174 #define HAVE___BUILTIN_LABS 1
82175 _ACEOF
82176
82177     fi
82178
82179   fi
82180
82181
82182
82183   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82184 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82185   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82186     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82187   echo $ECHO_N "(cached) $ECHO_C" >&6
82188 else
82189
82190
82191
82192       ac_ext=cc
82193 ac_cpp='$CXXCPP $CPPFLAGS'
82194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82197
82198       cat >conftest.$ac_ext <<_ACEOF
82199 /* confdefs.h.  */
82200 _ACEOF
82201 cat confdefs.h >>conftest.$ac_ext
82202 cat >>conftest.$ac_ext <<_ACEOF
82203 /* end confdefs.h.  */
82204 #include <math.h>
82205 int
82206 main ()
82207 {
82208  __builtin_sqrtf(0);
82209   ;
82210   return 0;
82211 }
82212 _ACEOF
82213 rm -f conftest.$ac_objext
82214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82215   (eval $ac_compile) 2>conftest.er1
82216   ac_status=$?
82217   grep -v '^ *+' conftest.er1 >conftest.err
82218   rm -f conftest.er1
82219   cat conftest.err >&5
82220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82221   (exit $ac_status); } &&
82222          { ac_try='test -z "$ac_cxx_werror_flag"
82223                          || test ! -s conftest.err'
82224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82225   (eval $ac_try) 2>&5
82226   ac_status=$?
82227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82228   (exit $ac_status); }; } &&
82229          { ac_try='test -s conftest.$ac_objext'
82230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82231   (eval $ac_try) 2>&5
82232   ac_status=$?
82233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82234   (exit $ac_status); }; }; then
82235   glibcxx_cv_func___builtin_sqrtf_use=yes
82236 else
82237   echo "$as_me: failed program was:" >&5
82238 sed 's/^/| /' conftest.$ac_ext >&5
82239
82240 glibcxx_cv_func___builtin_sqrtf_use=no
82241 fi
82242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82243       ac_ext=c
82244 ac_cpp='$CPP $CPPFLAGS'
82245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82248
82249
82250 fi
82251
82252   fi
82253   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82254 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82255   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82256     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82257 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82258     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82259       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82260   echo $ECHO_N "(cached) $ECHO_C" >&6
82261 else
82262
82263         if test x$gcc_no_link = xyes; then
82264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82266    { (exit 1); exit 1; }; }
82267 fi
82268 cat >conftest.$ac_ext <<_ACEOF
82269 /* confdefs.h.  */
82270 _ACEOF
82271 cat confdefs.h >>conftest.$ac_ext
82272 cat >>conftest.$ac_ext <<_ACEOF
82273 /* end confdefs.h.  */
82274 #include <math.h>
82275 int
82276 main ()
82277 {
82278  __builtin_sqrtf(0);
82279   ;
82280   return 0;
82281 }
82282 _ACEOF
82283 rm -f conftest.$ac_objext conftest$ac_exeext
82284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82285   (eval $ac_link) 2>conftest.er1
82286   ac_status=$?
82287   grep -v '^ *+' conftest.er1 >conftest.err
82288   rm -f conftest.er1
82289   cat conftest.err >&5
82290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82291   (exit $ac_status); } &&
82292          { ac_try='test -z "$ac_c_werror_flag"
82293                          || test ! -s conftest.err'
82294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82295   (eval $ac_try) 2>&5
82296   ac_status=$?
82297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82298   (exit $ac_status); }; } &&
82299          { ac_try='test -s conftest$ac_exeext'
82300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82301   (eval $ac_try) 2>&5
82302   ac_status=$?
82303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82304   (exit $ac_status); }; }; then
82305   glibcxx_cv_func___builtin_sqrtf_link=yes
82306 else
82307   echo "$as_me: failed program was:" >&5
82308 sed 's/^/| /' conftest.$ac_ext >&5
82309
82310 glibcxx_cv_func___builtin_sqrtf_link=no
82311 fi
82312 rm -f conftest.err conftest.$ac_objext \
82313       conftest$ac_exeext conftest.$ac_ext
82314
82315 fi
82316
82317     fi
82318     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82319 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82320
82321     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82322
82323 cat >>confdefs.h <<\_ACEOF
82324 #define HAVE___BUILTIN_SQRTF 1
82325 _ACEOF
82326
82327     fi
82328
82329   fi
82330
82331
82332   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82333 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82334   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82335     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82336   echo $ECHO_N "(cached) $ECHO_C" >&6
82337 else
82338
82339
82340
82341       ac_ext=cc
82342 ac_cpp='$CXXCPP $CPPFLAGS'
82343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82346
82347       cat >conftest.$ac_ext <<_ACEOF
82348 /* confdefs.h.  */
82349 _ACEOF
82350 cat confdefs.h >>conftest.$ac_ext
82351 cat >>conftest.$ac_ext <<_ACEOF
82352 /* end confdefs.h.  */
82353 #include <math.h>
82354 int
82355 main ()
82356 {
82357  __builtin_sqrt(0);
82358   ;
82359   return 0;
82360 }
82361 _ACEOF
82362 rm -f conftest.$ac_objext
82363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82364   (eval $ac_compile) 2>conftest.er1
82365   ac_status=$?
82366   grep -v '^ *+' conftest.er1 >conftest.err
82367   rm -f conftest.er1
82368   cat conftest.err >&5
82369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82370   (exit $ac_status); } &&
82371          { ac_try='test -z "$ac_cxx_werror_flag"
82372                          || test ! -s conftest.err'
82373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82374   (eval $ac_try) 2>&5
82375   ac_status=$?
82376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82377   (exit $ac_status); }; } &&
82378          { ac_try='test -s conftest.$ac_objext'
82379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82380   (eval $ac_try) 2>&5
82381   ac_status=$?
82382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82383   (exit $ac_status); }; }; then
82384   glibcxx_cv_func___builtin_sqrt_use=yes
82385 else
82386   echo "$as_me: failed program was:" >&5
82387 sed 's/^/| /' conftest.$ac_ext >&5
82388
82389 glibcxx_cv_func___builtin_sqrt_use=no
82390 fi
82391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82392       ac_ext=c
82393 ac_cpp='$CPP $CPPFLAGS'
82394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82397
82398
82399 fi
82400
82401   fi
82402   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82403 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82404   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82405     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82406 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82407     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82408       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82409   echo $ECHO_N "(cached) $ECHO_C" >&6
82410 else
82411
82412         if test x$gcc_no_link = xyes; then
82413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82415    { (exit 1); exit 1; }; }
82416 fi
82417 cat >conftest.$ac_ext <<_ACEOF
82418 /* confdefs.h.  */
82419 _ACEOF
82420 cat confdefs.h >>conftest.$ac_ext
82421 cat >>conftest.$ac_ext <<_ACEOF
82422 /* end confdefs.h.  */
82423 #include <math.h>
82424 int
82425 main ()
82426 {
82427  __builtin_sqrt(0);
82428   ;
82429   return 0;
82430 }
82431 _ACEOF
82432 rm -f conftest.$ac_objext conftest$ac_exeext
82433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82434   (eval $ac_link) 2>conftest.er1
82435   ac_status=$?
82436   grep -v '^ *+' conftest.er1 >conftest.err
82437   rm -f conftest.er1
82438   cat conftest.err >&5
82439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82440   (exit $ac_status); } &&
82441          { ac_try='test -z "$ac_c_werror_flag"
82442                          || test ! -s conftest.err'
82443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82444   (eval $ac_try) 2>&5
82445   ac_status=$?
82446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82447   (exit $ac_status); }; } &&
82448          { ac_try='test -s conftest$ac_exeext'
82449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82450   (eval $ac_try) 2>&5
82451   ac_status=$?
82452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82453   (exit $ac_status); }; }; then
82454   glibcxx_cv_func___builtin_sqrt_link=yes
82455 else
82456   echo "$as_me: failed program was:" >&5
82457 sed 's/^/| /' conftest.$ac_ext >&5
82458
82459 glibcxx_cv_func___builtin_sqrt_link=no
82460 fi
82461 rm -f conftest.err conftest.$ac_objext \
82462       conftest$ac_exeext conftest.$ac_ext
82463
82464 fi
82465
82466     fi
82467     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82468 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82469
82470     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82471
82472 cat >>confdefs.h <<\_ACEOF
82473 #define HAVE___BUILTIN_SQRT 1
82474 _ACEOF
82475
82476     fi
82477
82478   fi
82479
82480
82481   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82482 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82483   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82484     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82485   echo $ECHO_N "(cached) $ECHO_C" >&6
82486 else
82487
82488
82489
82490       ac_ext=cc
82491 ac_cpp='$CXXCPP $CPPFLAGS'
82492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82495
82496       cat >conftest.$ac_ext <<_ACEOF
82497 /* confdefs.h.  */
82498 _ACEOF
82499 cat confdefs.h >>conftest.$ac_ext
82500 cat >>conftest.$ac_ext <<_ACEOF
82501 /* end confdefs.h.  */
82502 #include <math.h>
82503 int
82504 main ()
82505 {
82506  __builtin_sqrtl(0);
82507   ;
82508   return 0;
82509 }
82510 _ACEOF
82511 rm -f conftest.$ac_objext
82512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82513   (eval $ac_compile) 2>conftest.er1
82514   ac_status=$?
82515   grep -v '^ *+' conftest.er1 >conftest.err
82516   rm -f conftest.er1
82517   cat conftest.err >&5
82518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82519   (exit $ac_status); } &&
82520          { ac_try='test -z "$ac_cxx_werror_flag"
82521                          || test ! -s conftest.err'
82522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82523   (eval $ac_try) 2>&5
82524   ac_status=$?
82525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82526   (exit $ac_status); }; } &&
82527          { ac_try='test -s conftest.$ac_objext'
82528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82529   (eval $ac_try) 2>&5
82530   ac_status=$?
82531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82532   (exit $ac_status); }; }; then
82533   glibcxx_cv_func___builtin_sqrtl_use=yes
82534 else
82535   echo "$as_me: failed program was:" >&5
82536 sed 's/^/| /' conftest.$ac_ext >&5
82537
82538 glibcxx_cv_func___builtin_sqrtl_use=no
82539 fi
82540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82541       ac_ext=c
82542 ac_cpp='$CPP $CPPFLAGS'
82543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82546
82547
82548 fi
82549
82550   fi
82551   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82552 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82553   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82554     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82555 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82556     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82557       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82558   echo $ECHO_N "(cached) $ECHO_C" >&6
82559 else
82560
82561         if test x$gcc_no_link = xyes; then
82562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82564    { (exit 1); exit 1; }; }
82565 fi
82566 cat >conftest.$ac_ext <<_ACEOF
82567 /* confdefs.h.  */
82568 _ACEOF
82569 cat confdefs.h >>conftest.$ac_ext
82570 cat >>conftest.$ac_ext <<_ACEOF
82571 /* end confdefs.h.  */
82572 #include <math.h>
82573 int
82574 main ()
82575 {
82576  __builtin_sqrtl(0);
82577   ;
82578   return 0;
82579 }
82580 _ACEOF
82581 rm -f conftest.$ac_objext conftest$ac_exeext
82582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82583   (eval $ac_link) 2>conftest.er1
82584   ac_status=$?
82585   grep -v '^ *+' conftest.er1 >conftest.err
82586   rm -f conftest.er1
82587   cat conftest.err >&5
82588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82589   (exit $ac_status); } &&
82590          { ac_try='test -z "$ac_c_werror_flag"
82591                          || test ! -s conftest.err'
82592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82593   (eval $ac_try) 2>&5
82594   ac_status=$?
82595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82596   (exit $ac_status); }; } &&
82597          { ac_try='test -s conftest$ac_exeext'
82598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82599   (eval $ac_try) 2>&5
82600   ac_status=$?
82601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82602   (exit $ac_status); }; }; then
82603   glibcxx_cv_func___builtin_sqrtl_link=yes
82604 else
82605   echo "$as_me: failed program was:" >&5
82606 sed 's/^/| /' conftest.$ac_ext >&5
82607
82608 glibcxx_cv_func___builtin_sqrtl_link=no
82609 fi
82610 rm -f conftest.err conftest.$ac_objext \
82611       conftest$ac_exeext conftest.$ac_ext
82612
82613 fi
82614
82615     fi
82616     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82617 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82618
82619     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82620
82621 cat >>confdefs.h <<\_ACEOF
82622 #define HAVE___BUILTIN_SQRTL 1
82623 _ACEOF
82624
82625     fi
82626
82627   fi
82628
82629
82630
82631   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82632 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82633   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82634     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82635   echo $ECHO_N "(cached) $ECHO_C" >&6
82636 else
82637
82638
82639
82640       ac_ext=cc
82641 ac_cpp='$CXXCPP $CPPFLAGS'
82642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82645
82646       cat >conftest.$ac_ext <<_ACEOF
82647 /* confdefs.h.  */
82648 _ACEOF
82649 cat confdefs.h >>conftest.$ac_ext
82650 cat >>conftest.$ac_ext <<_ACEOF
82651 /* end confdefs.h.  */
82652 #include <math.h>
82653 int
82654 main ()
82655 {
82656  __builtin_sinf(0);
82657   ;
82658   return 0;
82659 }
82660 _ACEOF
82661 rm -f conftest.$ac_objext
82662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82663   (eval $ac_compile) 2>conftest.er1
82664   ac_status=$?
82665   grep -v '^ *+' conftest.er1 >conftest.err
82666   rm -f conftest.er1
82667   cat conftest.err >&5
82668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82669   (exit $ac_status); } &&
82670          { ac_try='test -z "$ac_cxx_werror_flag"
82671                          || test ! -s conftest.err'
82672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82673   (eval $ac_try) 2>&5
82674   ac_status=$?
82675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82676   (exit $ac_status); }; } &&
82677          { ac_try='test -s conftest.$ac_objext'
82678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82679   (eval $ac_try) 2>&5
82680   ac_status=$?
82681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82682   (exit $ac_status); }; }; then
82683   glibcxx_cv_func___builtin_sinf_use=yes
82684 else
82685   echo "$as_me: failed program was:" >&5
82686 sed 's/^/| /' conftest.$ac_ext >&5
82687
82688 glibcxx_cv_func___builtin_sinf_use=no
82689 fi
82690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82691       ac_ext=c
82692 ac_cpp='$CPP $CPPFLAGS'
82693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82696
82697
82698 fi
82699
82700   fi
82701   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82703   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82704     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82705 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82706     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82707       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82708   echo $ECHO_N "(cached) $ECHO_C" >&6
82709 else
82710
82711         if test x$gcc_no_link = xyes; then
82712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82714    { (exit 1); exit 1; }; }
82715 fi
82716 cat >conftest.$ac_ext <<_ACEOF
82717 /* confdefs.h.  */
82718 _ACEOF
82719 cat confdefs.h >>conftest.$ac_ext
82720 cat >>conftest.$ac_ext <<_ACEOF
82721 /* end confdefs.h.  */
82722 #include <math.h>
82723 int
82724 main ()
82725 {
82726  __builtin_sinf(0);
82727   ;
82728   return 0;
82729 }
82730 _ACEOF
82731 rm -f conftest.$ac_objext conftest$ac_exeext
82732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82733   (eval $ac_link) 2>conftest.er1
82734   ac_status=$?
82735   grep -v '^ *+' conftest.er1 >conftest.err
82736   rm -f conftest.er1
82737   cat conftest.err >&5
82738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82739   (exit $ac_status); } &&
82740          { ac_try='test -z "$ac_c_werror_flag"
82741                          || test ! -s conftest.err'
82742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82743   (eval $ac_try) 2>&5
82744   ac_status=$?
82745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82746   (exit $ac_status); }; } &&
82747          { ac_try='test -s conftest$ac_exeext'
82748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82749   (eval $ac_try) 2>&5
82750   ac_status=$?
82751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82752   (exit $ac_status); }; }; then
82753   glibcxx_cv_func___builtin_sinf_link=yes
82754 else
82755   echo "$as_me: failed program was:" >&5
82756 sed 's/^/| /' conftest.$ac_ext >&5
82757
82758 glibcxx_cv_func___builtin_sinf_link=no
82759 fi
82760 rm -f conftest.err conftest.$ac_objext \
82761       conftest$ac_exeext conftest.$ac_ext
82762
82763 fi
82764
82765     fi
82766     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82767 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82768
82769     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82770
82771 cat >>confdefs.h <<\_ACEOF
82772 #define HAVE___BUILTIN_SINF 1
82773 _ACEOF
82774
82775     fi
82776
82777   fi
82778
82779
82780   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82781 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82782   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82783     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82784   echo $ECHO_N "(cached) $ECHO_C" >&6
82785 else
82786
82787
82788
82789       ac_ext=cc
82790 ac_cpp='$CXXCPP $CPPFLAGS'
82791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82794
82795       cat >conftest.$ac_ext <<_ACEOF
82796 /* confdefs.h.  */
82797 _ACEOF
82798 cat confdefs.h >>conftest.$ac_ext
82799 cat >>conftest.$ac_ext <<_ACEOF
82800 /* end confdefs.h.  */
82801 #include <math.h>
82802 int
82803 main ()
82804 {
82805  __builtin_sin(0);
82806   ;
82807   return 0;
82808 }
82809 _ACEOF
82810 rm -f conftest.$ac_objext
82811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82812   (eval $ac_compile) 2>conftest.er1
82813   ac_status=$?
82814   grep -v '^ *+' conftest.er1 >conftest.err
82815   rm -f conftest.er1
82816   cat conftest.err >&5
82817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82818   (exit $ac_status); } &&
82819          { ac_try='test -z "$ac_cxx_werror_flag"
82820                          || test ! -s conftest.err'
82821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82822   (eval $ac_try) 2>&5
82823   ac_status=$?
82824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82825   (exit $ac_status); }; } &&
82826          { ac_try='test -s conftest.$ac_objext'
82827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82828   (eval $ac_try) 2>&5
82829   ac_status=$?
82830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82831   (exit $ac_status); }; }; then
82832   glibcxx_cv_func___builtin_sin_use=yes
82833 else
82834   echo "$as_me: failed program was:" >&5
82835 sed 's/^/| /' conftest.$ac_ext >&5
82836
82837 glibcxx_cv_func___builtin_sin_use=no
82838 fi
82839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82840       ac_ext=c
82841 ac_cpp='$CPP $CPPFLAGS'
82842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82845
82846
82847 fi
82848
82849   fi
82850   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82851 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82852   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82853     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82854 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82855     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82856       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82857   echo $ECHO_N "(cached) $ECHO_C" >&6
82858 else
82859
82860         if test x$gcc_no_link = xyes; then
82861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82863    { (exit 1); exit 1; }; }
82864 fi
82865 cat >conftest.$ac_ext <<_ACEOF
82866 /* confdefs.h.  */
82867 _ACEOF
82868 cat confdefs.h >>conftest.$ac_ext
82869 cat >>conftest.$ac_ext <<_ACEOF
82870 /* end confdefs.h.  */
82871 #include <math.h>
82872 int
82873 main ()
82874 {
82875  __builtin_sin(0);
82876   ;
82877   return 0;
82878 }
82879 _ACEOF
82880 rm -f conftest.$ac_objext conftest$ac_exeext
82881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82882   (eval $ac_link) 2>conftest.er1
82883   ac_status=$?
82884   grep -v '^ *+' conftest.er1 >conftest.err
82885   rm -f conftest.er1
82886   cat conftest.err >&5
82887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82888   (exit $ac_status); } &&
82889          { ac_try='test -z "$ac_c_werror_flag"
82890                          || test ! -s conftest.err'
82891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82892   (eval $ac_try) 2>&5
82893   ac_status=$?
82894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82895   (exit $ac_status); }; } &&
82896          { ac_try='test -s conftest$ac_exeext'
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); }; }; then
82902   glibcxx_cv_func___builtin_sin_link=yes
82903 else
82904   echo "$as_me: failed program was:" >&5
82905 sed 's/^/| /' conftest.$ac_ext >&5
82906
82907 glibcxx_cv_func___builtin_sin_link=no
82908 fi
82909 rm -f conftest.err conftest.$ac_objext \
82910       conftest$ac_exeext conftest.$ac_ext
82911
82912 fi
82913
82914     fi
82915     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
82916 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
82917
82918     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
82919
82920 cat >>confdefs.h <<\_ACEOF
82921 #define HAVE___BUILTIN_SIN 1
82922 _ACEOF
82923
82924     fi
82925
82926   fi
82927
82928
82929   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
82930 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
82931   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
82932     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
82933   echo $ECHO_N "(cached) $ECHO_C" >&6
82934 else
82935
82936
82937
82938       ac_ext=cc
82939 ac_cpp='$CXXCPP $CPPFLAGS'
82940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82943
82944       cat >conftest.$ac_ext <<_ACEOF
82945 /* confdefs.h.  */
82946 _ACEOF
82947 cat confdefs.h >>conftest.$ac_ext
82948 cat >>conftest.$ac_ext <<_ACEOF
82949 /* end confdefs.h.  */
82950 #include <math.h>
82951 int
82952 main ()
82953 {
82954  __builtin_sinl(0);
82955   ;
82956   return 0;
82957 }
82958 _ACEOF
82959 rm -f conftest.$ac_objext
82960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82961   (eval $ac_compile) 2>conftest.er1
82962   ac_status=$?
82963   grep -v '^ *+' conftest.er1 >conftest.err
82964   rm -f conftest.er1
82965   cat conftest.err >&5
82966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82967   (exit $ac_status); } &&
82968          { ac_try='test -z "$ac_cxx_werror_flag"
82969                          || test ! -s conftest.err'
82970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82971   (eval $ac_try) 2>&5
82972   ac_status=$?
82973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82974   (exit $ac_status); }; } &&
82975          { ac_try='test -s conftest.$ac_objext'
82976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82977   (eval $ac_try) 2>&5
82978   ac_status=$?
82979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82980   (exit $ac_status); }; }; then
82981   glibcxx_cv_func___builtin_sinl_use=yes
82982 else
82983   echo "$as_me: failed program was:" >&5
82984 sed 's/^/| /' conftest.$ac_ext >&5
82985
82986 glibcxx_cv_func___builtin_sinl_use=no
82987 fi
82988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82989       ac_ext=c
82990 ac_cpp='$CPP $CPPFLAGS'
82991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82994
82995
82996 fi
82997
82998   fi
82999   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83000 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83001   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83002     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83003 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83004     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83005       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83006   echo $ECHO_N "(cached) $ECHO_C" >&6
83007 else
83008
83009         if test x$gcc_no_link = xyes; then
83010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83012    { (exit 1); exit 1; }; }
83013 fi
83014 cat >conftest.$ac_ext <<_ACEOF
83015 /* confdefs.h.  */
83016 _ACEOF
83017 cat confdefs.h >>conftest.$ac_ext
83018 cat >>conftest.$ac_ext <<_ACEOF
83019 /* end confdefs.h.  */
83020 #include <math.h>
83021 int
83022 main ()
83023 {
83024  __builtin_sinl(0);
83025   ;
83026   return 0;
83027 }
83028 _ACEOF
83029 rm -f conftest.$ac_objext conftest$ac_exeext
83030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83031   (eval $ac_link) 2>conftest.er1
83032   ac_status=$?
83033   grep -v '^ *+' conftest.er1 >conftest.err
83034   rm -f conftest.er1
83035   cat conftest.err >&5
83036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83037   (exit $ac_status); } &&
83038          { ac_try='test -z "$ac_c_werror_flag"
83039                          || test ! -s conftest.err'
83040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83041   (eval $ac_try) 2>&5
83042   ac_status=$?
83043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83044   (exit $ac_status); }; } &&
83045          { ac_try='test -s conftest$ac_exeext'
83046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83047   (eval $ac_try) 2>&5
83048   ac_status=$?
83049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83050   (exit $ac_status); }; }; then
83051   glibcxx_cv_func___builtin_sinl_link=yes
83052 else
83053   echo "$as_me: failed program was:" >&5
83054 sed 's/^/| /' conftest.$ac_ext >&5
83055
83056 glibcxx_cv_func___builtin_sinl_link=no
83057 fi
83058 rm -f conftest.err conftest.$ac_objext \
83059       conftest$ac_exeext conftest.$ac_ext
83060
83061 fi
83062
83063     fi
83064     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83065 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83066
83067     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83068
83069 cat >>confdefs.h <<\_ACEOF
83070 #define HAVE___BUILTIN_SINL 1
83071 _ACEOF
83072
83073     fi
83074
83075   fi
83076
83077
83078
83079   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83080 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83081   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83082     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83083   echo $ECHO_N "(cached) $ECHO_C" >&6
83084 else
83085
83086
83087
83088       ac_ext=cc
83089 ac_cpp='$CXXCPP $CPPFLAGS'
83090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83093
83094       cat >conftest.$ac_ext <<_ACEOF
83095 /* confdefs.h.  */
83096 _ACEOF
83097 cat confdefs.h >>conftest.$ac_ext
83098 cat >>conftest.$ac_ext <<_ACEOF
83099 /* end confdefs.h.  */
83100 #include <math.h>
83101 int
83102 main ()
83103 {
83104  __builtin_cosf(0);
83105   ;
83106   return 0;
83107 }
83108 _ACEOF
83109 rm -f conftest.$ac_objext
83110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83111   (eval $ac_compile) 2>conftest.er1
83112   ac_status=$?
83113   grep -v '^ *+' conftest.er1 >conftest.err
83114   rm -f conftest.er1
83115   cat conftest.err >&5
83116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83117   (exit $ac_status); } &&
83118          { ac_try='test -z "$ac_cxx_werror_flag"
83119                          || test ! -s conftest.err'
83120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83121   (eval $ac_try) 2>&5
83122   ac_status=$?
83123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83124   (exit $ac_status); }; } &&
83125          { ac_try='test -s conftest.$ac_objext'
83126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83127   (eval $ac_try) 2>&5
83128   ac_status=$?
83129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83130   (exit $ac_status); }; }; then
83131   glibcxx_cv_func___builtin_cosf_use=yes
83132 else
83133   echo "$as_me: failed program was:" >&5
83134 sed 's/^/| /' conftest.$ac_ext >&5
83135
83136 glibcxx_cv_func___builtin_cosf_use=no
83137 fi
83138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83139       ac_ext=c
83140 ac_cpp='$CPP $CPPFLAGS'
83141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83144
83145
83146 fi
83147
83148   fi
83149   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83150 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83151   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83152     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83153 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83154     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83155       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83156   echo $ECHO_N "(cached) $ECHO_C" >&6
83157 else
83158
83159         if test x$gcc_no_link = xyes; then
83160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83162    { (exit 1); exit 1; }; }
83163 fi
83164 cat >conftest.$ac_ext <<_ACEOF
83165 /* confdefs.h.  */
83166 _ACEOF
83167 cat confdefs.h >>conftest.$ac_ext
83168 cat >>conftest.$ac_ext <<_ACEOF
83169 /* end confdefs.h.  */
83170 #include <math.h>
83171 int
83172 main ()
83173 {
83174  __builtin_cosf(0);
83175   ;
83176   return 0;
83177 }
83178 _ACEOF
83179 rm -f conftest.$ac_objext conftest$ac_exeext
83180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83181   (eval $ac_link) 2>conftest.er1
83182   ac_status=$?
83183   grep -v '^ *+' conftest.er1 >conftest.err
83184   rm -f conftest.er1
83185   cat conftest.err >&5
83186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83187   (exit $ac_status); } &&
83188          { ac_try='test -z "$ac_c_werror_flag"
83189                          || test ! -s conftest.err'
83190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83191   (eval $ac_try) 2>&5
83192   ac_status=$?
83193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83194   (exit $ac_status); }; } &&
83195          { ac_try='test -s conftest$ac_exeext'
83196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83197   (eval $ac_try) 2>&5
83198   ac_status=$?
83199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83200   (exit $ac_status); }; }; then
83201   glibcxx_cv_func___builtin_cosf_link=yes
83202 else
83203   echo "$as_me: failed program was:" >&5
83204 sed 's/^/| /' conftest.$ac_ext >&5
83205
83206 glibcxx_cv_func___builtin_cosf_link=no
83207 fi
83208 rm -f conftest.err conftest.$ac_objext \
83209       conftest$ac_exeext conftest.$ac_ext
83210
83211 fi
83212
83213     fi
83214     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83215 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83216
83217     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83218
83219 cat >>confdefs.h <<\_ACEOF
83220 #define HAVE___BUILTIN_COSF 1
83221 _ACEOF
83222
83223     fi
83224
83225   fi
83226
83227
83228   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83229 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83230   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83231     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83232   echo $ECHO_N "(cached) $ECHO_C" >&6
83233 else
83234
83235
83236
83237       ac_ext=cc
83238 ac_cpp='$CXXCPP $CPPFLAGS'
83239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83242
83243       cat >conftest.$ac_ext <<_ACEOF
83244 /* confdefs.h.  */
83245 _ACEOF
83246 cat confdefs.h >>conftest.$ac_ext
83247 cat >>conftest.$ac_ext <<_ACEOF
83248 /* end confdefs.h.  */
83249 #include <math.h>
83250 int
83251 main ()
83252 {
83253  __builtin_cos(0);
83254   ;
83255   return 0;
83256 }
83257 _ACEOF
83258 rm -f conftest.$ac_objext
83259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83260   (eval $ac_compile) 2>conftest.er1
83261   ac_status=$?
83262   grep -v '^ *+' conftest.er1 >conftest.err
83263   rm -f conftest.er1
83264   cat conftest.err >&5
83265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83266   (exit $ac_status); } &&
83267          { ac_try='test -z "$ac_cxx_werror_flag"
83268                          || test ! -s conftest.err'
83269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83270   (eval $ac_try) 2>&5
83271   ac_status=$?
83272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83273   (exit $ac_status); }; } &&
83274          { ac_try='test -s conftest.$ac_objext'
83275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83276   (eval $ac_try) 2>&5
83277   ac_status=$?
83278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83279   (exit $ac_status); }; }; then
83280   glibcxx_cv_func___builtin_cos_use=yes
83281 else
83282   echo "$as_me: failed program was:" >&5
83283 sed 's/^/| /' conftest.$ac_ext >&5
83284
83285 glibcxx_cv_func___builtin_cos_use=no
83286 fi
83287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83288       ac_ext=c
83289 ac_cpp='$CPP $CPPFLAGS'
83290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83293
83294
83295 fi
83296
83297   fi
83298   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83299 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83300   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83301     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83302 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83303     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83304       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83305   echo $ECHO_N "(cached) $ECHO_C" >&6
83306 else
83307
83308         if test x$gcc_no_link = xyes; then
83309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83311    { (exit 1); exit 1; }; }
83312 fi
83313 cat >conftest.$ac_ext <<_ACEOF
83314 /* confdefs.h.  */
83315 _ACEOF
83316 cat confdefs.h >>conftest.$ac_ext
83317 cat >>conftest.$ac_ext <<_ACEOF
83318 /* end confdefs.h.  */
83319 #include <math.h>
83320 int
83321 main ()
83322 {
83323  __builtin_cos(0);
83324   ;
83325   return 0;
83326 }
83327 _ACEOF
83328 rm -f conftest.$ac_objext conftest$ac_exeext
83329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83330   (eval $ac_link) 2>conftest.er1
83331   ac_status=$?
83332   grep -v '^ *+' conftest.er1 >conftest.err
83333   rm -f conftest.er1
83334   cat conftest.err >&5
83335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83336   (exit $ac_status); } &&
83337          { ac_try='test -z "$ac_c_werror_flag"
83338                          || test ! -s conftest.err'
83339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83340   (eval $ac_try) 2>&5
83341   ac_status=$?
83342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83343   (exit $ac_status); }; } &&
83344          { ac_try='test -s conftest$ac_exeext'
83345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83346   (eval $ac_try) 2>&5
83347   ac_status=$?
83348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83349   (exit $ac_status); }; }; then
83350   glibcxx_cv_func___builtin_cos_link=yes
83351 else
83352   echo "$as_me: failed program was:" >&5
83353 sed 's/^/| /' conftest.$ac_ext >&5
83354
83355 glibcxx_cv_func___builtin_cos_link=no
83356 fi
83357 rm -f conftest.err conftest.$ac_objext \
83358       conftest$ac_exeext conftest.$ac_ext
83359
83360 fi
83361
83362     fi
83363     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83364 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83365
83366     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83367
83368 cat >>confdefs.h <<\_ACEOF
83369 #define HAVE___BUILTIN_COS 1
83370 _ACEOF
83371
83372     fi
83373
83374   fi
83375
83376
83377   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83378 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83379   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83380     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83381   echo $ECHO_N "(cached) $ECHO_C" >&6
83382 else
83383
83384
83385
83386       ac_ext=cc
83387 ac_cpp='$CXXCPP $CPPFLAGS'
83388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83391
83392       cat >conftest.$ac_ext <<_ACEOF
83393 /* confdefs.h.  */
83394 _ACEOF
83395 cat confdefs.h >>conftest.$ac_ext
83396 cat >>conftest.$ac_ext <<_ACEOF
83397 /* end confdefs.h.  */
83398 #include <math.h>
83399 int
83400 main ()
83401 {
83402  __builtin_cosl(0);
83403   ;
83404   return 0;
83405 }
83406 _ACEOF
83407 rm -f conftest.$ac_objext
83408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83409   (eval $ac_compile) 2>conftest.er1
83410   ac_status=$?
83411   grep -v '^ *+' conftest.er1 >conftest.err
83412   rm -f conftest.er1
83413   cat conftest.err >&5
83414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83415   (exit $ac_status); } &&
83416          { ac_try='test -z "$ac_cxx_werror_flag"
83417                          || test ! -s conftest.err'
83418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83419   (eval $ac_try) 2>&5
83420   ac_status=$?
83421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83422   (exit $ac_status); }; } &&
83423          { ac_try='test -s conftest.$ac_objext'
83424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83425   (eval $ac_try) 2>&5
83426   ac_status=$?
83427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83428   (exit $ac_status); }; }; then
83429   glibcxx_cv_func___builtin_cosl_use=yes
83430 else
83431   echo "$as_me: failed program was:" >&5
83432 sed 's/^/| /' conftest.$ac_ext >&5
83433
83434 glibcxx_cv_func___builtin_cosl_use=no
83435 fi
83436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83437       ac_ext=c
83438 ac_cpp='$CPP $CPPFLAGS'
83439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83442
83443
83444 fi
83445
83446   fi
83447   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83448 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83449   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83450     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83451 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83452     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83453       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83454   echo $ECHO_N "(cached) $ECHO_C" >&6
83455 else
83456
83457         if test x$gcc_no_link = xyes; then
83458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83460    { (exit 1); exit 1; }; }
83461 fi
83462 cat >conftest.$ac_ext <<_ACEOF
83463 /* confdefs.h.  */
83464 _ACEOF
83465 cat confdefs.h >>conftest.$ac_ext
83466 cat >>conftest.$ac_ext <<_ACEOF
83467 /* end confdefs.h.  */
83468 #include <math.h>
83469 int
83470 main ()
83471 {
83472  __builtin_cosl(0);
83473   ;
83474   return 0;
83475 }
83476 _ACEOF
83477 rm -f conftest.$ac_objext conftest$ac_exeext
83478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83479   (eval $ac_link) 2>conftest.er1
83480   ac_status=$?
83481   grep -v '^ *+' conftest.er1 >conftest.err
83482   rm -f conftest.er1
83483   cat conftest.err >&5
83484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83485   (exit $ac_status); } &&
83486          { ac_try='test -z "$ac_c_werror_flag"
83487                          || test ! -s conftest.err'
83488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83489   (eval $ac_try) 2>&5
83490   ac_status=$?
83491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83492   (exit $ac_status); }; } &&
83493          { ac_try='test -s conftest$ac_exeext'
83494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83495   (eval $ac_try) 2>&5
83496   ac_status=$?
83497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83498   (exit $ac_status); }; }; then
83499   glibcxx_cv_func___builtin_cosl_link=yes
83500 else
83501   echo "$as_me: failed program was:" >&5
83502 sed 's/^/| /' conftest.$ac_ext >&5
83503
83504 glibcxx_cv_func___builtin_cosl_link=no
83505 fi
83506 rm -f conftest.err conftest.$ac_objext \
83507       conftest$ac_exeext conftest.$ac_ext
83508
83509 fi
83510
83511     fi
83512     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83513 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83514
83515     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83516
83517 cat >>confdefs.h <<\_ACEOF
83518 #define HAVE___BUILTIN_COSL 1
83519 _ACEOF
83520
83521     fi
83522
83523   fi
83524
83525
83526
83527
83528 echo "$as_me:$LINENO: checking for main in -lm" >&5
83529 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83530 if test "${ac_cv_lib_m_main+set}" = set; then
83531   echo $ECHO_N "(cached) $ECHO_C" >&6
83532 else
83533   ac_check_lib_save_LIBS=$LIBS
83534 LIBS="-lm  $LIBS"
83535 if test x$gcc_no_link = xyes; then
83536   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83538    { (exit 1); exit 1; }; }
83539 fi
83540 cat >conftest.$ac_ext <<_ACEOF
83541 /* confdefs.h.  */
83542 _ACEOF
83543 cat confdefs.h >>conftest.$ac_ext
83544 cat >>conftest.$ac_ext <<_ACEOF
83545 /* end confdefs.h.  */
83546
83547
83548 int
83549 main ()
83550 {
83551 main ();
83552   ;
83553   return 0;
83554 }
83555 _ACEOF
83556 rm -f conftest.$ac_objext conftest$ac_exeext
83557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83558   (eval $ac_link) 2>conftest.er1
83559   ac_status=$?
83560   grep -v '^ *+' conftest.er1 >conftest.err
83561   rm -f conftest.er1
83562   cat conftest.err >&5
83563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83564   (exit $ac_status); } &&
83565          { ac_try='test -z "$ac_c_werror_flag"
83566                          || test ! -s conftest.err'
83567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83568   (eval $ac_try) 2>&5
83569   ac_status=$?
83570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83571   (exit $ac_status); }; } &&
83572          { ac_try='test -s conftest$ac_exeext'
83573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83574   (eval $ac_try) 2>&5
83575   ac_status=$?
83576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83577   (exit $ac_status); }; }; then
83578   ac_cv_lib_m_main=yes
83579 else
83580   echo "$as_me: failed program was:" >&5
83581 sed 's/^/| /' conftest.$ac_ext >&5
83582
83583 ac_cv_lib_m_main=no
83584 fi
83585 rm -f conftest.err conftest.$ac_objext \
83586       conftest$ac_exeext conftest.$ac_ext
83587 LIBS=$ac_check_lib_save_LIBS
83588 fi
83589 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83590 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83591 if test $ac_cv_lib_m_main = yes; then
83592   cat >>confdefs.h <<_ACEOF
83593 #define HAVE_LIBM 1
83594 _ACEOF
83595
83596   LIBS="-lm $LIBS"
83597
83598 fi
83599
83600
83601 for ac_func in copysignf
83602 do
83603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83604 echo "$as_me:$LINENO: checking for $ac_func" >&5
83605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83606 if eval "test \"\${$as_ac_var+set}\" = set"; then
83607   echo $ECHO_N "(cached) $ECHO_C" >&6
83608 else
83609   if test x$gcc_no_link = xyes; then
83610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83612    { (exit 1); exit 1; }; }
83613 fi
83614 cat >conftest.$ac_ext <<_ACEOF
83615 /* confdefs.h.  */
83616 _ACEOF
83617 cat confdefs.h >>conftest.$ac_ext
83618 cat >>conftest.$ac_ext <<_ACEOF
83619 /* end confdefs.h.  */
83620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83621    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83622 #define $ac_func innocuous_$ac_func
83623
83624 /* System header to define __stub macros and hopefully few prototypes,
83625     which can conflict with char $ac_func (); below.
83626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83627     <limits.h> exists even on freestanding compilers.  */
83628
83629 #ifdef __STDC__
83630 # include <limits.h>
83631 #else
83632 # include <assert.h>
83633 #endif
83634
83635 #undef $ac_func
83636
83637 /* Override any gcc2 internal prototype to avoid an error.  */
83638 #ifdef __cplusplus
83639 extern "C"
83640 {
83641 #endif
83642 /* We use char because int might match the return type of a gcc2
83643    builtin and then its argument prototype would still apply.  */
83644 char $ac_func ();
83645 /* The GNU C library defines this for functions which it implements
83646     to always fail with ENOSYS.  Some functions are actually named
83647     something starting with __ and the normal name is an alias.  */
83648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83649 choke me
83650 #else
83651 char (*f) () = $ac_func;
83652 #endif
83653 #ifdef __cplusplus
83654 }
83655 #endif
83656
83657 int
83658 main ()
83659 {
83660 return f != $ac_func;
83661   ;
83662   return 0;
83663 }
83664 _ACEOF
83665 rm -f conftest.$ac_objext conftest$ac_exeext
83666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83667   (eval $ac_link) 2>conftest.er1
83668   ac_status=$?
83669   grep -v '^ *+' conftest.er1 >conftest.err
83670   rm -f conftest.er1
83671   cat conftest.err >&5
83672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83673   (exit $ac_status); } &&
83674          { ac_try='test -z "$ac_c_werror_flag"
83675                          || test ! -s conftest.err'
83676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83677   (eval $ac_try) 2>&5
83678   ac_status=$?
83679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83680   (exit $ac_status); }; } &&
83681          { ac_try='test -s conftest$ac_exeext'
83682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83683   (eval $ac_try) 2>&5
83684   ac_status=$?
83685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83686   (exit $ac_status); }; }; then
83687   eval "$as_ac_var=yes"
83688 else
83689   echo "$as_me: failed program was:" >&5
83690 sed 's/^/| /' conftest.$ac_ext >&5
83691
83692 eval "$as_ac_var=no"
83693 fi
83694 rm -f conftest.err conftest.$ac_objext \
83695       conftest$ac_exeext conftest.$ac_ext
83696 fi
83697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83699 if test `eval echo '${'$as_ac_var'}'` = yes; then
83700   cat >>confdefs.h <<_ACEOF
83701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83702 _ACEOF
83703
83704 else
83705   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83706 fi
83707 done
83708
83709
83710
83711 for ac_func in __signbit
83712 do
83713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83714 echo "$as_me:$LINENO: checking for $ac_func" >&5
83715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83716 if eval "test \"\${$as_ac_var+set}\" = set"; then
83717   echo $ECHO_N "(cached) $ECHO_C" >&6
83718 else
83719   if test x$gcc_no_link = xyes; then
83720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83722    { (exit 1); exit 1; }; }
83723 fi
83724 cat >conftest.$ac_ext <<_ACEOF
83725 /* confdefs.h.  */
83726 _ACEOF
83727 cat confdefs.h >>conftest.$ac_ext
83728 cat >>conftest.$ac_ext <<_ACEOF
83729 /* end confdefs.h.  */
83730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83731    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83732 #define $ac_func innocuous_$ac_func
83733
83734 /* System header to define __stub macros and hopefully few prototypes,
83735     which can conflict with char $ac_func (); below.
83736     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83737     <limits.h> exists even on freestanding compilers.  */
83738
83739 #ifdef __STDC__
83740 # include <limits.h>
83741 #else
83742 # include <assert.h>
83743 #endif
83744
83745 #undef $ac_func
83746
83747 /* Override any gcc2 internal prototype to avoid an error.  */
83748 #ifdef __cplusplus
83749 extern "C"
83750 {
83751 #endif
83752 /* We use char because int might match the return type of a gcc2
83753    builtin and then its argument prototype would still apply.  */
83754 char $ac_func ();
83755 /* The GNU C library defines this for functions which it implements
83756     to always fail with ENOSYS.  Some functions are actually named
83757     something starting with __ and the normal name is an alias.  */
83758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83759 choke me
83760 #else
83761 char (*f) () = $ac_func;
83762 #endif
83763 #ifdef __cplusplus
83764 }
83765 #endif
83766
83767 int
83768 main ()
83769 {
83770 return f != $ac_func;
83771   ;
83772   return 0;
83773 }
83774 _ACEOF
83775 rm -f conftest.$ac_objext conftest$ac_exeext
83776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83777   (eval $ac_link) 2>conftest.er1
83778   ac_status=$?
83779   grep -v '^ *+' conftest.er1 >conftest.err
83780   rm -f conftest.er1
83781   cat conftest.err >&5
83782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83783   (exit $ac_status); } &&
83784          { ac_try='test -z "$ac_c_werror_flag"
83785                          || test ! -s conftest.err'
83786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83787   (eval $ac_try) 2>&5
83788   ac_status=$?
83789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83790   (exit $ac_status); }; } &&
83791          { ac_try='test -s conftest$ac_exeext'
83792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83793   (eval $ac_try) 2>&5
83794   ac_status=$?
83795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83796   (exit $ac_status); }; }; then
83797   eval "$as_ac_var=yes"
83798 else
83799   echo "$as_me: failed program was:" >&5
83800 sed 's/^/| /' conftest.$ac_ext >&5
83801
83802 eval "$as_ac_var=no"
83803 fi
83804 rm -f conftest.err conftest.$ac_objext \
83805       conftest$ac_exeext conftest.$ac_ext
83806 fi
83807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83809 if test `eval echo '${'$as_ac_var'}'` = yes; then
83810   cat >>confdefs.h <<_ACEOF
83811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83812 _ACEOF
83813
83814 else
83815   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83816 fi
83817 done
83818
83819
83820
83821 for ac_func in __signbitf
83822 do
83823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83824 echo "$as_me:$LINENO: checking for $ac_func" >&5
83825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83826 if eval "test \"\${$as_ac_var+set}\" = set"; then
83827   echo $ECHO_N "(cached) $ECHO_C" >&6
83828 else
83829   if test x$gcc_no_link = xyes; then
83830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83832    { (exit 1); exit 1; }; }
83833 fi
83834 cat >conftest.$ac_ext <<_ACEOF
83835 /* confdefs.h.  */
83836 _ACEOF
83837 cat confdefs.h >>conftest.$ac_ext
83838 cat >>conftest.$ac_ext <<_ACEOF
83839 /* end confdefs.h.  */
83840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83842 #define $ac_func innocuous_$ac_func
83843
83844 /* System header to define __stub macros and hopefully few prototypes,
83845     which can conflict with char $ac_func (); below.
83846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83847     <limits.h> exists even on freestanding compilers.  */
83848
83849 #ifdef __STDC__
83850 # include <limits.h>
83851 #else
83852 # include <assert.h>
83853 #endif
83854
83855 #undef $ac_func
83856
83857 /* Override any gcc2 internal prototype to avoid an error.  */
83858 #ifdef __cplusplus
83859 extern "C"
83860 {
83861 #endif
83862 /* We use char because int might match the return type of a gcc2
83863    builtin and then its argument prototype would still apply.  */
83864 char $ac_func ();
83865 /* The GNU C library defines this for functions which it implements
83866     to always fail with ENOSYS.  Some functions are actually named
83867     something starting with __ and the normal name is an alias.  */
83868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83869 choke me
83870 #else
83871 char (*f) () = $ac_func;
83872 #endif
83873 #ifdef __cplusplus
83874 }
83875 #endif
83876
83877 int
83878 main ()
83879 {
83880 return f != $ac_func;
83881   ;
83882   return 0;
83883 }
83884 _ACEOF
83885 rm -f conftest.$ac_objext conftest$ac_exeext
83886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83887   (eval $ac_link) 2>conftest.er1
83888   ac_status=$?
83889   grep -v '^ *+' conftest.er1 >conftest.err
83890   rm -f conftest.er1
83891   cat conftest.err >&5
83892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83893   (exit $ac_status); } &&
83894          { ac_try='test -z "$ac_c_werror_flag"
83895                          || test ! -s conftest.err'
83896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83897   (eval $ac_try) 2>&5
83898   ac_status=$?
83899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83900   (exit $ac_status); }; } &&
83901          { ac_try='test -s conftest$ac_exeext'
83902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83903   (eval $ac_try) 2>&5
83904   ac_status=$?
83905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83906   (exit $ac_status); }; }; then
83907   eval "$as_ac_var=yes"
83908 else
83909   echo "$as_me: failed program was:" >&5
83910 sed 's/^/| /' conftest.$ac_ext >&5
83911
83912 eval "$as_ac_var=no"
83913 fi
83914 rm -f conftest.err conftest.$ac_objext \
83915       conftest$ac_exeext conftest.$ac_ext
83916 fi
83917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83919 if test `eval echo '${'$as_ac_var'}'` = yes; then
83920   cat >>confdefs.h <<_ACEOF
83921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83922 _ACEOF
83923
83924 else
83925   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83926 fi
83927 done
83928
83929
83930           if test x$ac_cv_func_copysignl = x"yes"; then
83931
83932 for ac_func in __signbitl
83933 do
83934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83935 echo "$as_me:$LINENO: checking for $ac_func" >&5
83936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83937 if eval "test \"\${$as_ac_var+set}\" = set"; then
83938   echo $ECHO_N "(cached) $ECHO_C" >&6
83939 else
83940   if test x$gcc_no_link = xyes; then
83941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83943    { (exit 1); exit 1; }; }
83944 fi
83945 cat >conftest.$ac_ext <<_ACEOF
83946 /* confdefs.h.  */
83947 _ACEOF
83948 cat confdefs.h >>conftest.$ac_ext
83949 cat >>conftest.$ac_ext <<_ACEOF
83950 /* end confdefs.h.  */
83951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83953 #define $ac_func innocuous_$ac_func
83954
83955 /* System header to define __stub macros and hopefully few prototypes,
83956     which can conflict with char $ac_func (); below.
83957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83958     <limits.h> exists even on freestanding compilers.  */
83959
83960 #ifdef __STDC__
83961 # include <limits.h>
83962 #else
83963 # include <assert.h>
83964 #endif
83965
83966 #undef $ac_func
83967
83968 /* Override any gcc2 internal prototype to avoid an error.  */
83969 #ifdef __cplusplus
83970 extern "C"
83971 {
83972 #endif
83973 /* We use char because int might match the return type of a gcc2
83974    builtin and then its argument prototype would still apply.  */
83975 char $ac_func ();
83976 /* The GNU C library defines this for functions which it implements
83977     to always fail with ENOSYS.  Some functions are actually named
83978     something starting with __ and the normal name is an alias.  */
83979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83980 choke me
83981 #else
83982 char (*f) () = $ac_func;
83983 #endif
83984 #ifdef __cplusplus
83985 }
83986 #endif
83987
83988 int
83989 main ()
83990 {
83991 return f != $ac_func;
83992   ;
83993   return 0;
83994 }
83995 _ACEOF
83996 rm -f conftest.$ac_objext conftest$ac_exeext
83997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83998   (eval $ac_link) 2>conftest.er1
83999   ac_status=$?
84000   grep -v '^ *+' conftest.er1 >conftest.err
84001   rm -f conftest.er1
84002   cat conftest.err >&5
84003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84004   (exit $ac_status); } &&
84005          { ac_try='test -z "$ac_c_werror_flag"
84006                          || test ! -s conftest.err'
84007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84008   (eval $ac_try) 2>&5
84009   ac_status=$?
84010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84011   (exit $ac_status); }; } &&
84012          { ac_try='test -s conftest$ac_exeext'
84013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84014   (eval $ac_try) 2>&5
84015   ac_status=$?
84016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84017   (exit $ac_status); }; }; then
84018   eval "$as_ac_var=yes"
84019 else
84020   echo "$as_me: failed program was:" >&5
84021 sed 's/^/| /' conftest.$ac_ext >&5
84022
84023 eval "$as_ac_var=no"
84024 fi
84025 rm -f conftest.err conftest.$ac_objext \
84026       conftest$ac_exeext conftest.$ac_ext
84027 fi
84028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84030 if test `eval echo '${'$as_ac_var'}'` = yes; then
84031   cat >>confdefs.h <<_ACEOF
84032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84033 _ACEOF
84034
84035 else
84036   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84037 fi
84038 done
84039
84040   fi
84041
84042   # Used in libmath/Makefile.am.
84043   if test -n "$LIBMATHOBJS"; then
84044     need_libmath=yes
84045   fi
84046
84047
84048
84049   ac_test_CXXFLAGS="${CXXFLAGS+set}"
84050   ac_save_CXXFLAGS="$CXXFLAGS"
84051   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84052
84053
84054   echo "$as_me:$LINENO: checking for strtold declaration" >&5
84055 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84056   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84057     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84058   echo $ECHO_N "(cached) $ECHO_C" >&6
84059 else
84060
84061
84062
84063       ac_ext=cc
84064 ac_cpp='$CXXCPP $CPPFLAGS'
84065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84068
84069       cat >conftest.$ac_ext <<_ACEOF
84070 /* confdefs.h.  */
84071 _ACEOF
84072 cat confdefs.h >>conftest.$ac_ext
84073 cat >>conftest.$ac_ext <<_ACEOF
84074 /* end confdefs.h.  */
84075 #include <stdlib.h>
84076 int
84077 main ()
84078 {
84079  strtold(0, 0);
84080   ;
84081   return 0;
84082 }
84083 _ACEOF
84084 rm -f conftest.$ac_objext
84085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84086   (eval $ac_compile) 2>conftest.er1
84087   ac_status=$?
84088   grep -v '^ *+' conftest.er1 >conftest.err
84089   rm -f conftest.er1
84090   cat conftest.err >&5
84091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84092   (exit $ac_status); } &&
84093          { ac_try='test -z "$ac_cxx_werror_flag"
84094                          || test ! -s conftest.err'
84095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84096   (eval $ac_try) 2>&5
84097   ac_status=$?
84098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84099   (exit $ac_status); }; } &&
84100          { ac_try='test -s conftest.$ac_objext'
84101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84102   (eval $ac_try) 2>&5
84103   ac_status=$?
84104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84105   (exit $ac_status); }; }; then
84106   glibcxx_cv_func_strtold_use=yes
84107 else
84108   echo "$as_me: failed program was:" >&5
84109 sed 's/^/| /' conftest.$ac_ext >&5
84110
84111 glibcxx_cv_func_strtold_use=no
84112 fi
84113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84114       ac_ext=c
84115 ac_cpp='$CPP $CPPFLAGS'
84116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84119
84120
84121 fi
84122
84123   fi
84124   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84125 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84126   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84127
84128 for ac_func in strtold
84129 do
84130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84131 echo "$as_me:$LINENO: checking for $ac_func" >&5
84132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84133 if eval "test \"\${$as_ac_var+set}\" = set"; then
84134   echo $ECHO_N "(cached) $ECHO_C" >&6
84135 else
84136   if test x$gcc_no_link = xyes; then
84137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84139    { (exit 1); exit 1; }; }
84140 fi
84141 cat >conftest.$ac_ext <<_ACEOF
84142 /* confdefs.h.  */
84143 _ACEOF
84144 cat confdefs.h >>conftest.$ac_ext
84145 cat >>conftest.$ac_ext <<_ACEOF
84146 /* end confdefs.h.  */
84147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84149 #define $ac_func innocuous_$ac_func
84150
84151 /* System header to define __stub macros and hopefully few prototypes,
84152     which can conflict with char $ac_func (); below.
84153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84154     <limits.h> exists even on freestanding compilers.  */
84155
84156 #ifdef __STDC__
84157 # include <limits.h>
84158 #else
84159 # include <assert.h>
84160 #endif
84161
84162 #undef $ac_func
84163
84164 /* Override any gcc2 internal prototype to avoid an error.  */
84165 #ifdef __cplusplus
84166 extern "C"
84167 {
84168 #endif
84169 /* We use char because int might match the return type of a gcc2
84170    builtin and then its argument prototype would still apply.  */
84171 char $ac_func ();
84172 /* The GNU C library defines this for functions which it implements
84173     to always fail with ENOSYS.  Some functions are actually named
84174     something starting with __ and the normal name is an alias.  */
84175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84176 choke me
84177 #else
84178 char (*f) () = $ac_func;
84179 #endif
84180 #ifdef __cplusplus
84181 }
84182 #endif
84183
84184 int
84185 main ()
84186 {
84187 return f != $ac_func;
84188   ;
84189   return 0;
84190 }
84191 _ACEOF
84192 rm -f conftest.$ac_objext conftest$ac_exeext
84193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84194   (eval $ac_link) 2>conftest.er1
84195   ac_status=$?
84196   grep -v '^ *+' conftest.er1 >conftest.err
84197   rm -f conftest.er1
84198   cat conftest.err >&5
84199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84200   (exit $ac_status); } &&
84201          { ac_try='test -z "$ac_c_werror_flag"
84202                          || test ! -s conftest.err'
84203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84204   (eval $ac_try) 2>&5
84205   ac_status=$?
84206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84207   (exit $ac_status); }; } &&
84208          { ac_try='test -s conftest$ac_exeext'
84209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84210   (eval $ac_try) 2>&5
84211   ac_status=$?
84212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84213   (exit $ac_status); }; }; then
84214   eval "$as_ac_var=yes"
84215 else
84216   echo "$as_me: failed program was:" >&5
84217 sed 's/^/| /' conftest.$ac_ext >&5
84218
84219 eval "$as_ac_var=no"
84220 fi
84221 rm -f conftest.err conftest.$ac_objext \
84222       conftest$ac_exeext conftest.$ac_ext
84223 fi
84224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84226 if test `eval echo '${'$as_ac_var'}'` = yes; then
84227   cat >>confdefs.h <<_ACEOF
84228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84229 _ACEOF
84230
84231 fi
84232 done
84233
84234   fi
84235
84236
84237
84238
84239
84240   echo "$as_me:$LINENO: checking for strtof declaration" >&5
84241 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84242   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84243     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84244   echo $ECHO_N "(cached) $ECHO_C" >&6
84245 else
84246
84247
84248
84249       ac_ext=cc
84250 ac_cpp='$CXXCPP $CPPFLAGS'
84251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84254
84255       cat >conftest.$ac_ext <<_ACEOF
84256 /* confdefs.h.  */
84257 _ACEOF
84258 cat confdefs.h >>conftest.$ac_ext
84259 cat >>conftest.$ac_ext <<_ACEOF
84260 /* end confdefs.h.  */
84261 #include <stdlib.h>
84262 int
84263 main ()
84264 {
84265  strtof(0, 0);
84266   ;
84267   return 0;
84268 }
84269 _ACEOF
84270 rm -f conftest.$ac_objext
84271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84272   (eval $ac_compile) 2>conftest.er1
84273   ac_status=$?
84274   grep -v '^ *+' conftest.er1 >conftest.err
84275   rm -f conftest.er1
84276   cat conftest.err >&5
84277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84278   (exit $ac_status); } &&
84279          { ac_try='test -z "$ac_cxx_werror_flag"
84280                          || test ! -s conftest.err'
84281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84282   (eval $ac_try) 2>&5
84283   ac_status=$?
84284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84285   (exit $ac_status); }; } &&
84286          { ac_try='test -s conftest.$ac_objext'
84287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84288   (eval $ac_try) 2>&5
84289   ac_status=$?
84290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84291   (exit $ac_status); }; }; then
84292   glibcxx_cv_func_strtof_use=yes
84293 else
84294   echo "$as_me: failed program was:" >&5
84295 sed 's/^/| /' conftest.$ac_ext >&5
84296
84297 glibcxx_cv_func_strtof_use=no
84298 fi
84299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84300       ac_ext=c
84301 ac_cpp='$CPP $CPPFLAGS'
84302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84305
84306
84307 fi
84308
84309   fi
84310   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84311 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84312   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84313
84314 for ac_func in strtof
84315 do
84316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84317 echo "$as_me:$LINENO: checking for $ac_func" >&5
84318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84319 if eval "test \"\${$as_ac_var+set}\" = set"; then
84320   echo $ECHO_N "(cached) $ECHO_C" >&6
84321 else
84322   if test x$gcc_no_link = xyes; then
84323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84325    { (exit 1); exit 1; }; }
84326 fi
84327 cat >conftest.$ac_ext <<_ACEOF
84328 /* confdefs.h.  */
84329 _ACEOF
84330 cat confdefs.h >>conftest.$ac_ext
84331 cat >>conftest.$ac_ext <<_ACEOF
84332 /* end confdefs.h.  */
84333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84334    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84335 #define $ac_func innocuous_$ac_func
84336
84337 /* System header to define __stub macros and hopefully few prototypes,
84338     which can conflict with char $ac_func (); below.
84339     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84340     <limits.h> exists even on freestanding compilers.  */
84341
84342 #ifdef __STDC__
84343 # include <limits.h>
84344 #else
84345 # include <assert.h>
84346 #endif
84347
84348 #undef $ac_func
84349
84350 /* Override any gcc2 internal prototype to avoid an error.  */
84351 #ifdef __cplusplus
84352 extern "C"
84353 {
84354 #endif
84355 /* We use char because int might match the return type of a gcc2
84356    builtin and then its argument prototype would still apply.  */
84357 char $ac_func ();
84358 /* The GNU C library defines this for functions which it implements
84359     to always fail with ENOSYS.  Some functions are actually named
84360     something starting with __ and the normal name is an alias.  */
84361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84362 choke me
84363 #else
84364 char (*f) () = $ac_func;
84365 #endif
84366 #ifdef __cplusplus
84367 }
84368 #endif
84369
84370 int
84371 main ()
84372 {
84373 return f != $ac_func;
84374   ;
84375   return 0;
84376 }
84377 _ACEOF
84378 rm -f conftest.$ac_objext conftest$ac_exeext
84379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84380   (eval $ac_link) 2>conftest.er1
84381   ac_status=$?
84382   grep -v '^ *+' conftest.er1 >conftest.err
84383   rm -f conftest.er1
84384   cat conftest.err >&5
84385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84386   (exit $ac_status); } &&
84387          { ac_try='test -z "$ac_c_werror_flag"
84388                          || test ! -s conftest.err'
84389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84390   (eval $ac_try) 2>&5
84391   ac_status=$?
84392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84393   (exit $ac_status); }; } &&
84394          { ac_try='test -s conftest$ac_exeext'
84395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84396   (eval $ac_try) 2>&5
84397   ac_status=$?
84398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84399   (exit $ac_status); }; }; then
84400   eval "$as_ac_var=yes"
84401 else
84402   echo "$as_me: failed program was:" >&5
84403 sed 's/^/| /' conftest.$ac_ext >&5
84404
84405 eval "$as_ac_var=no"
84406 fi
84407 rm -f conftest.err conftest.$ac_objext \
84408       conftest$ac_exeext conftest.$ac_ext
84409 fi
84410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84412 if test `eval echo '${'$as_ac_var'}'` = yes; then
84413   cat >>confdefs.h <<_ACEOF
84414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84415 _ACEOF
84416
84417 fi
84418 done
84419
84420   fi
84421
84422
84423
84424
84425
84426   CXXFLAGS="$ac_save_CXXFLAGS"
84427
84428
84429     # For showmanyc_helper().
84430
84431
84432 for ac_header in sys/ioctl.h sys/filio.h
84433 do
84434 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84436   echo "$as_me:$LINENO: checking for $ac_header" >&5
84437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84439   echo $ECHO_N "(cached) $ECHO_C" >&6
84440 fi
84441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84443 else
84444   # Is the header compilable?
84445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84447 cat >conftest.$ac_ext <<_ACEOF
84448 /* confdefs.h.  */
84449 _ACEOF
84450 cat confdefs.h >>conftest.$ac_ext
84451 cat >>conftest.$ac_ext <<_ACEOF
84452 /* end confdefs.h.  */
84453 $ac_includes_default
84454 #include <$ac_header>
84455 _ACEOF
84456 rm -f conftest.$ac_objext
84457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84458   (eval $ac_compile) 2>conftest.er1
84459   ac_status=$?
84460   grep -v '^ *+' conftest.er1 >conftest.err
84461   rm -f conftest.er1
84462   cat conftest.err >&5
84463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84464   (exit $ac_status); } &&
84465          { ac_try='test -z "$ac_c_werror_flag"
84466                          || test ! -s conftest.err'
84467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84468   (eval $ac_try) 2>&5
84469   ac_status=$?
84470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84471   (exit $ac_status); }; } &&
84472          { ac_try='test -s conftest.$ac_objext'
84473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84474   (eval $ac_try) 2>&5
84475   ac_status=$?
84476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84477   (exit $ac_status); }; }; then
84478   ac_header_compiler=yes
84479 else
84480   echo "$as_me: failed program was:" >&5
84481 sed 's/^/| /' conftest.$ac_ext >&5
84482
84483 ac_header_compiler=no
84484 fi
84485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84487 echo "${ECHO_T}$ac_header_compiler" >&6
84488
84489 # Is the header present?
84490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84492 cat >conftest.$ac_ext <<_ACEOF
84493 /* confdefs.h.  */
84494 _ACEOF
84495 cat confdefs.h >>conftest.$ac_ext
84496 cat >>conftest.$ac_ext <<_ACEOF
84497 /* end confdefs.h.  */
84498 #include <$ac_header>
84499 _ACEOF
84500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84501   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84502   ac_status=$?
84503   grep -v '^ *+' conftest.er1 >conftest.err
84504   rm -f conftest.er1
84505   cat conftest.err >&5
84506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84507   (exit $ac_status); } >/dev/null; then
84508   if test -s conftest.err; then
84509     ac_cpp_err=$ac_c_preproc_warn_flag
84510     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84511   else
84512     ac_cpp_err=
84513   fi
84514 else
84515   ac_cpp_err=yes
84516 fi
84517 if test -z "$ac_cpp_err"; then
84518   ac_header_preproc=yes
84519 else
84520   echo "$as_me: failed program was:" >&5
84521 sed 's/^/| /' conftest.$ac_ext >&5
84522
84523   ac_header_preproc=no
84524 fi
84525 rm -f conftest.err conftest.$ac_ext
84526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84527 echo "${ECHO_T}$ac_header_preproc" >&6
84528
84529 # So?  What about this header?
84530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84531   yes:no: )
84532     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84534     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84536     ac_header_preproc=yes
84537     ;;
84538   no:yes:* )
84539     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84541     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84542 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84543     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84545     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84546 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84547     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84549     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84551     (
84552       cat <<\_ASBOX
84553 ## ----------------------------------------- ##
84554 ## Report this to the package-unused lists.  ##
84555 ## ----------------------------------------- ##
84556 _ASBOX
84557     ) |
84558       sed "s/^/$as_me: WARNING:     /" >&2
84559     ;;
84560 esac
84561 echo "$as_me:$LINENO: checking for $ac_header" >&5
84562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84564   echo $ECHO_N "(cached) $ECHO_C" >&6
84565 else
84566   eval "$as_ac_Header=\$ac_header_preproc"
84567 fi
84568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84570
84571 fi
84572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84573   cat >>confdefs.h <<_ACEOF
84574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84575 _ACEOF
84576
84577 fi
84578
84579 done
84580
84581
84582   echo "$as_me:$LINENO: checking for poll" >&5
84583 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84584   if test "${glibcxx_cv_POLL+set}" = set; then
84585   echo $ECHO_N "(cached) $ECHO_C" >&6
84586 else
84587
84588     if test x$gcc_no_link = xyes; then
84589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84591    { (exit 1); exit 1; }; }
84592 fi
84593 cat >conftest.$ac_ext <<_ACEOF
84594 /* confdefs.h.  */
84595 _ACEOF
84596 cat confdefs.h >>conftest.$ac_ext
84597 cat >>conftest.$ac_ext <<_ACEOF
84598 /* end confdefs.h.  */
84599 #include <poll.h>
84600 int
84601 main ()
84602 {
84603 struct pollfd pfd[1];
84604        pfd[0].events = POLLIN;
84605        poll(pfd, 1, 0);
84606   ;
84607   return 0;
84608 }
84609 _ACEOF
84610 rm -f conftest.$ac_objext conftest$ac_exeext
84611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84612   (eval $ac_link) 2>conftest.er1
84613   ac_status=$?
84614   grep -v '^ *+' conftest.er1 >conftest.err
84615   rm -f conftest.er1
84616   cat conftest.err >&5
84617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84618   (exit $ac_status); } &&
84619          { ac_try='test -z "$ac_c_werror_flag"
84620                          || test ! -s conftest.err'
84621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84622   (eval $ac_try) 2>&5
84623   ac_status=$?
84624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84625   (exit $ac_status); }; } &&
84626          { ac_try='test -s conftest$ac_exeext'
84627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84628   (eval $ac_try) 2>&5
84629   ac_status=$?
84630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84631   (exit $ac_status); }; }; then
84632   glibcxx_cv_POLL=yes
84633 else
84634   echo "$as_me: failed program was:" >&5
84635 sed 's/^/| /' conftest.$ac_ext >&5
84636
84637 glibcxx_cv_POLL=no
84638 fi
84639 rm -f conftest.err conftest.$ac_objext \
84640       conftest$ac_exeext conftest.$ac_ext
84641
84642 fi
84643
84644   if test $glibcxx_cv_POLL = yes; then
84645
84646 cat >>confdefs.h <<\_ACEOF
84647 #define HAVE_POLL 1
84648 _ACEOF
84649
84650   fi
84651   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84652 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84653
84654
84655   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84656 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84657   if test "${glibcxx_cv_S_ISREG+set}" = set; then
84658   echo $ECHO_N "(cached) $ECHO_C" >&6
84659 else
84660
84661     if test x$gcc_no_link = xyes; then
84662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84664    { (exit 1); exit 1; }; }
84665 fi
84666 cat >conftest.$ac_ext <<_ACEOF
84667 /* confdefs.h.  */
84668 _ACEOF
84669 cat confdefs.h >>conftest.$ac_ext
84670 cat >>conftest.$ac_ext <<_ACEOF
84671 /* end confdefs.h.  */
84672 #include <sys/stat.h>
84673 int
84674 main ()
84675 {
84676 struct stat buffer;
84677        fstat(0, &buffer);
84678        S_ISREG(buffer.st_mode);
84679   ;
84680   return 0;
84681 }
84682 _ACEOF
84683 rm -f conftest.$ac_objext conftest$ac_exeext
84684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84685   (eval $ac_link) 2>conftest.er1
84686   ac_status=$?
84687   grep -v '^ *+' conftest.er1 >conftest.err
84688   rm -f conftest.er1
84689   cat conftest.err >&5
84690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84691   (exit $ac_status); } &&
84692          { ac_try='test -z "$ac_c_werror_flag"
84693                          || test ! -s conftest.err'
84694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84695   (eval $ac_try) 2>&5
84696   ac_status=$?
84697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84698   (exit $ac_status); }; } &&
84699          { ac_try='test -s conftest$ac_exeext'
84700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84701   (eval $ac_try) 2>&5
84702   ac_status=$?
84703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84704   (exit $ac_status); }; }; then
84705   glibcxx_cv_S_ISREG=yes
84706 else
84707   echo "$as_me: failed program was:" >&5
84708 sed 's/^/| /' conftest.$ac_ext >&5
84709
84710 glibcxx_cv_S_ISREG=no
84711 fi
84712 rm -f conftest.err conftest.$ac_objext \
84713       conftest$ac_exeext conftest.$ac_ext
84714
84715 fi
84716
84717   if test "${glibcxx_cv_S_IFREG+set}" = set; then
84718   echo $ECHO_N "(cached) $ECHO_C" >&6
84719 else
84720
84721     if test x$gcc_no_link = xyes; then
84722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84724    { (exit 1); exit 1; }; }
84725 fi
84726 cat >conftest.$ac_ext <<_ACEOF
84727 /* confdefs.h.  */
84728 _ACEOF
84729 cat confdefs.h >>conftest.$ac_ext
84730 cat >>conftest.$ac_ext <<_ACEOF
84731 /* end confdefs.h.  */
84732 #include <sys/stat.h>
84733 int
84734 main ()
84735 {
84736 struct stat buffer;
84737        fstat(0, &buffer);
84738        S_IFREG & buffer.st_mode;
84739   ;
84740   return 0;
84741 }
84742 _ACEOF
84743 rm -f conftest.$ac_objext conftest$ac_exeext
84744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84745   (eval $ac_link) 2>conftest.er1
84746   ac_status=$?
84747   grep -v '^ *+' conftest.er1 >conftest.err
84748   rm -f conftest.er1
84749   cat conftest.err >&5
84750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84751   (exit $ac_status); } &&
84752          { ac_try='test -z "$ac_c_werror_flag"
84753                          || test ! -s conftest.err'
84754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84755   (eval $ac_try) 2>&5
84756   ac_status=$?
84757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84758   (exit $ac_status); }; } &&
84759          { ac_try='test -s conftest$ac_exeext'
84760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84761   (eval $ac_try) 2>&5
84762   ac_status=$?
84763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84764   (exit $ac_status); }; }; then
84765   glibcxx_cv_S_IFREG=yes
84766 else
84767   echo "$as_me: failed program was:" >&5
84768 sed 's/^/| /' conftest.$ac_ext >&5
84769
84770 glibcxx_cv_S_IFREG=no
84771 fi
84772 rm -f conftest.err conftest.$ac_objext \
84773       conftest$ac_exeext conftest.$ac_ext
84774
84775 fi
84776
84777   res=no
84778   if test $glibcxx_cv_S_ISREG = yes; then
84779
84780 cat >>confdefs.h <<\_ACEOF
84781 #define HAVE_S_ISREG 1
84782 _ACEOF
84783
84784     res=S_ISREG
84785   elif test $glibcxx_cv_S_IFREG = yes; then
84786
84787 cat >>confdefs.h <<\_ACEOF
84788 #define HAVE_S_IFREG 1
84789 _ACEOF
84790
84791     res=S_IFREG
84792   fi
84793   echo "$as_me:$LINENO: result: $res" >&5
84794 echo "${ECHO_T}$res" >&6
84795
84796
84797     # For xsputn_2().
84798
84799 for ac_header in sys/uio.h
84800 do
84801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84803   echo "$as_me:$LINENO: checking for $ac_header" >&5
84804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84806   echo $ECHO_N "(cached) $ECHO_C" >&6
84807 fi
84808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84810 else
84811   # Is the header compilable?
84812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84814 cat >conftest.$ac_ext <<_ACEOF
84815 /* confdefs.h.  */
84816 _ACEOF
84817 cat confdefs.h >>conftest.$ac_ext
84818 cat >>conftest.$ac_ext <<_ACEOF
84819 /* end confdefs.h.  */
84820 $ac_includes_default
84821 #include <$ac_header>
84822 _ACEOF
84823 rm -f conftest.$ac_objext
84824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84825   (eval $ac_compile) 2>conftest.er1
84826   ac_status=$?
84827   grep -v '^ *+' conftest.er1 >conftest.err
84828   rm -f conftest.er1
84829   cat conftest.err >&5
84830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84831   (exit $ac_status); } &&
84832          { ac_try='test -z "$ac_c_werror_flag"
84833                          || test ! -s conftest.err'
84834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84835   (eval $ac_try) 2>&5
84836   ac_status=$?
84837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84838   (exit $ac_status); }; } &&
84839          { ac_try='test -s conftest.$ac_objext'
84840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84841   (eval $ac_try) 2>&5
84842   ac_status=$?
84843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84844   (exit $ac_status); }; }; then
84845   ac_header_compiler=yes
84846 else
84847   echo "$as_me: failed program was:" >&5
84848 sed 's/^/| /' conftest.$ac_ext >&5
84849
84850 ac_header_compiler=no
84851 fi
84852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84854 echo "${ECHO_T}$ac_header_compiler" >&6
84855
84856 # Is the header present?
84857 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84858 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84859 cat >conftest.$ac_ext <<_ACEOF
84860 /* confdefs.h.  */
84861 _ACEOF
84862 cat confdefs.h >>conftest.$ac_ext
84863 cat >>conftest.$ac_ext <<_ACEOF
84864 /* end confdefs.h.  */
84865 #include <$ac_header>
84866 _ACEOF
84867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84868   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84869   ac_status=$?
84870   grep -v '^ *+' conftest.er1 >conftest.err
84871   rm -f conftest.er1
84872   cat conftest.err >&5
84873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84874   (exit $ac_status); } >/dev/null; then
84875   if test -s conftest.err; then
84876     ac_cpp_err=$ac_c_preproc_warn_flag
84877     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84878   else
84879     ac_cpp_err=
84880   fi
84881 else
84882   ac_cpp_err=yes
84883 fi
84884 if test -z "$ac_cpp_err"; then
84885   ac_header_preproc=yes
84886 else
84887   echo "$as_me: failed program was:" >&5
84888 sed 's/^/| /' conftest.$ac_ext >&5
84889
84890   ac_header_preproc=no
84891 fi
84892 rm -f conftest.err conftest.$ac_ext
84893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84894 echo "${ECHO_T}$ac_header_preproc" >&6
84895
84896 # So?  What about this header?
84897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84898   yes:no: )
84899     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84901     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84903     ac_header_preproc=yes
84904     ;;
84905   no:yes:* )
84906     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84908     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84909 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84910     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84912     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84913 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84914     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84916     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84918     (
84919       cat <<\_ASBOX
84920 ## ----------------------------------------- ##
84921 ## Report this to the package-unused lists.  ##
84922 ## ----------------------------------------- ##
84923 _ASBOX
84924     ) |
84925       sed "s/^/$as_me: WARNING:     /" >&2
84926     ;;
84927 esac
84928 echo "$as_me:$LINENO: checking for $ac_header" >&5
84929 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84931   echo $ECHO_N "(cached) $ECHO_C" >&6
84932 else
84933   eval "$as_ac_Header=\$ac_header_preproc"
84934 fi
84935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84937
84938 fi
84939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84940   cat >>confdefs.h <<_ACEOF
84941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84942 _ACEOF
84943
84944 fi
84945
84946 done
84947
84948
84949   echo "$as_me:$LINENO: checking for writev" >&5
84950 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84951   if test "${glibcxx_cv_WRITEV+set}" = set; then
84952   echo $ECHO_N "(cached) $ECHO_C" >&6
84953 else
84954
84955     if test x$gcc_no_link = xyes; then
84956   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84958    { (exit 1); exit 1; }; }
84959 fi
84960 cat >conftest.$ac_ext <<_ACEOF
84961 /* confdefs.h.  */
84962 _ACEOF
84963 cat confdefs.h >>conftest.$ac_ext
84964 cat >>conftest.$ac_ext <<_ACEOF
84965 /* end confdefs.h.  */
84966 #include <sys/uio.h>
84967 int
84968 main ()
84969 {
84970 struct iovec iov[2];
84971        writev(0, iov, 0);
84972   ;
84973   return 0;
84974 }
84975 _ACEOF
84976 rm -f conftest.$ac_objext conftest$ac_exeext
84977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84978   (eval $ac_link) 2>conftest.er1
84979   ac_status=$?
84980   grep -v '^ *+' conftest.er1 >conftest.err
84981   rm -f conftest.er1
84982   cat conftest.err >&5
84983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84984   (exit $ac_status); } &&
84985          { ac_try='test -z "$ac_c_werror_flag"
84986                          || test ! -s conftest.err'
84987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84988   (eval $ac_try) 2>&5
84989   ac_status=$?
84990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84991   (exit $ac_status); }; } &&
84992          { ac_try='test -s conftest$ac_exeext'
84993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84994   (eval $ac_try) 2>&5
84995   ac_status=$?
84996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84997   (exit $ac_status); }; }; then
84998   glibcxx_cv_WRITEV=yes
84999 else
85000   echo "$as_me: failed program was:" >&5
85001 sed 's/^/| /' conftest.$ac_ext >&5
85002
85003 glibcxx_cv_WRITEV=no
85004 fi
85005 rm -f conftest.err conftest.$ac_objext \
85006       conftest$ac_exeext conftest.$ac_ext
85007
85008 fi
85009
85010   if test $glibcxx_cv_WRITEV = yes; then
85011
85012 cat >>confdefs.h <<\_ACEOF
85013 #define HAVE_WRITEV 1
85014 _ACEOF
85015
85016   fi
85017   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85018 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85019
85020
85021     cat >>confdefs.h <<\_ACEOF
85022 #define HAVE_LC_MESSAGES 1
85023 _ACEOF
85024
85025
85026     cat >conftest.$ac_ext <<_ACEOF
85027 /* confdefs.h.  */
85028 _ACEOF
85029 cat confdefs.h >>conftest.$ac_ext
85030 cat >>conftest.$ac_ext <<_ACEOF
85031 /* end confdefs.h.  */
85032 #include <setjmp.h>
85033 int
85034 main ()
85035 {
85036 sigjmp_buf env;
85037        while (! sigsetjmp (env, 1))
85038          siglongjmp (env, 1);
85039
85040   ;
85041   return 0;
85042 }
85043 _ACEOF
85044 rm -f conftest.$ac_objext
85045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85046   (eval $ac_compile) 2>conftest.er1
85047   ac_status=$?
85048   grep -v '^ *+' conftest.er1 >conftest.err
85049   rm -f conftest.er1
85050   cat conftest.err >&5
85051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85052   (exit $ac_status); } &&
85053          { ac_try='test -z "$ac_c_werror_flag"
85054                          || test ! -s conftest.err'
85055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85056   (eval $ac_try) 2>&5
85057   ac_status=$?
85058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85059   (exit $ac_status); }; } &&
85060          { ac_try='test -s conftest.$ac_objext'
85061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85062   (eval $ac_try) 2>&5
85063   ac_status=$?
85064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85065   (exit $ac_status); }; }; then
85066
85067 cat >>confdefs.h <<\_ACEOF
85068 #define HAVE_SIGSETJMP 1
85069 _ACEOF
85070
85071 else
85072   echo "$as_me: failed program was:" >&5
85073 sed 's/^/| /' conftest.$ac_ext >&5
85074
85075 fi
85076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85077
85078     cat >>confdefs.h <<\_ACEOF
85079 #define HAVE_MMAP 1
85080 _ACEOF
85081
85082     ;;
85083
85084   *djgpp)
85085
85086
85087
85088
85089
85090
85091
85092
85093
85094
85095
85096
85097
85098
85099
85100
85101
85102
85103
85104
85105 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85106       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85107       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85108       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85109 do
85110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85112   echo "$as_me:$LINENO: checking for $ac_header" >&5
85113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85115   echo $ECHO_N "(cached) $ECHO_C" >&6
85116 fi
85117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85119 else
85120   # Is the header compilable?
85121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85123 cat >conftest.$ac_ext <<_ACEOF
85124 /* confdefs.h.  */
85125 _ACEOF
85126 cat confdefs.h >>conftest.$ac_ext
85127 cat >>conftest.$ac_ext <<_ACEOF
85128 /* end confdefs.h.  */
85129 $ac_includes_default
85130 #include <$ac_header>
85131 _ACEOF
85132 rm -f conftest.$ac_objext
85133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85134   (eval $ac_compile) 2>conftest.er1
85135   ac_status=$?
85136   grep -v '^ *+' conftest.er1 >conftest.err
85137   rm -f conftest.er1
85138   cat conftest.err >&5
85139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85140   (exit $ac_status); } &&
85141          { ac_try='test -z "$ac_c_werror_flag"
85142                          || test ! -s conftest.err'
85143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85144   (eval $ac_try) 2>&5
85145   ac_status=$?
85146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85147   (exit $ac_status); }; } &&
85148          { ac_try='test -s conftest.$ac_objext'
85149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85150   (eval $ac_try) 2>&5
85151   ac_status=$?
85152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85153   (exit $ac_status); }; }; then
85154   ac_header_compiler=yes
85155 else
85156   echo "$as_me: failed program was:" >&5
85157 sed 's/^/| /' conftest.$ac_ext >&5
85158
85159 ac_header_compiler=no
85160 fi
85161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85163 echo "${ECHO_T}$ac_header_compiler" >&6
85164
85165 # Is the header present?
85166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85168 cat >conftest.$ac_ext <<_ACEOF
85169 /* confdefs.h.  */
85170 _ACEOF
85171 cat confdefs.h >>conftest.$ac_ext
85172 cat >>conftest.$ac_ext <<_ACEOF
85173 /* end confdefs.h.  */
85174 #include <$ac_header>
85175 _ACEOF
85176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85177   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85178   ac_status=$?
85179   grep -v '^ *+' conftest.er1 >conftest.err
85180   rm -f conftest.er1
85181   cat conftest.err >&5
85182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85183   (exit $ac_status); } >/dev/null; then
85184   if test -s conftest.err; then
85185     ac_cpp_err=$ac_c_preproc_warn_flag
85186     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85187   else
85188     ac_cpp_err=
85189   fi
85190 else
85191   ac_cpp_err=yes
85192 fi
85193 if test -z "$ac_cpp_err"; then
85194   ac_header_preproc=yes
85195 else
85196   echo "$as_me: failed program was:" >&5
85197 sed 's/^/| /' conftest.$ac_ext >&5
85198
85199   ac_header_preproc=no
85200 fi
85201 rm -f conftest.err conftest.$ac_ext
85202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85203 echo "${ECHO_T}$ac_header_preproc" >&6
85204
85205 # So?  What about this header?
85206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85207   yes:no: )
85208     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85210     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85212     ac_header_preproc=yes
85213     ;;
85214   no:yes:* )
85215     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85217     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85218 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85219     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85221     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85222 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85223     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85225     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85227     (
85228       cat <<\_ASBOX
85229 ## ----------------------------------------- ##
85230 ## Report this to the package-unused lists.  ##
85231 ## ----------------------------------------- ##
85232 _ASBOX
85233     ) |
85234       sed "s/^/$as_me: WARNING:     /" >&2
85235     ;;
85236 esac
85237 echo "$as_me:$LINENO: checking for $ac_header" >&5
85238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85240   echo $ECHO_N "(cached) $ECHO_C" >&6
85241 else
85242   eval "$as_ac_Header=\$ac_header_preproc"
85243 fi
85244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85246
85247 fi
85248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85249   cat >>confdefs.h <<_ACEOF
85250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85251 _ACEOF
85252
85253 fi
85254
85255 done
85256
85257     # GLIBCXX_CHECK_MATH_SUPPORT
85258     cat >>confdefs.h <<\_ACEOF
85259 #define HAVE_LIBM 1
85260 _ACEOF
85261
85262     cat >>confdefs.h <<\_ACEOF
85263 #define HAVE_ISINF 1
85264 _ACEOF
85265
85266     cat >>confdefs.h <<\_ACEOF
85267 #define HAVE_ISNAN 1
85268 _ACEOF
85269
85270     cat >>confdefs.h <<\_ACEOF
85271 #define HAVE_FINITE 1
85272 _ACEOF
85273
85274     cat >>confdefs.h <<\_ACEOF
85275 #define HAVE_COPYSIGN 1
85276 _ACEOF
85277
85278     cat >>confdefs.h <<\_ACEOF
85279 #define HAVE_SINCOS 1
85280 _ACEOF
85281
85282     cat >>confdefs.h <<\_ACEOF
85283 #define HAVE_HYPOT 1
85284 _ACEOF
85285
85286     # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85287     cat >>confdefs.h <<\_ACEOF
85288 #define HAVE___BUILTIN_ABS 1
85289 _ACEOF
85290
85291     cat >>confdefs.h <<\_ACEOF
85292 #define HAVE___BUILTIN_FABSF 1
85293 _ACEOF
85294
85295     cat >>confdefs.h <<\_ACEOF
85296 #define HAVE___BUILTIN_FABS 1
85297 _ACEOF
85298
85299     cat >>confdefs.h <<\_ACEOF
85300 #define HAVE___BUILTIN_FABSL 1
85301 _ACEOF
85302
85303     cat >>confdefs.h <<\_ACEOF
85304 #define HAVE___BUILTIN_LABS 1
85305 _ACEOF
85306
85307     cat >>confdefs.h <<\_ACEOF
85308 #define HAVE___BUILTIN_SQRTF 1
85309 _ACEOF
85310
85311     cat >>confdefs.h <<\_ACEOF
85312 #define HAVE___BUILTIN_SQRT 1
85313 _ACEOF
85314
85315     cat >>confdefs.h <<\_ACEOF
85316 #define HAVE___BUILTIN_SQRTL 1
85317 _ACEOF
85318
85319     cat >>confdefs.h <<\_ACEOF
85320 #define HAVE___BUILTIN_SINF 1
85321 _ACEOF
85322
85323     cat >>confdefs.h <<\_ACEOF
85324 #define HAVE___BUILTIN_SIN 1
85325 _ACEOF
85326
85327     cat >>confdefs.h <<\_ACEOF
85328 #define HAVE___BUILTIN_SINL 1
85329 _ACEOF
85330
85331     cat >>confdefs.h <<\_ACEOF
85332 #define HAVE___BUILTIN_COSF 1
85333 _ACEOF
85334
85335     cat >>confdefs.h <<\_ACEOF
85336 #define HAVE___BUILTIN_COS 1
85337 _ACEOF
85338
85339     cat >>confdefs.h <<\_ACEOF
85340 #define HAVE___BUILTIN_COSL 1
85341 _ACEOF
85342
85343     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85344     # GLIBCXX_CHECK_STDLIB_SUPPORT
85345     cat >>confdefs.h <<\_ACEOF
85346 #define HAVE_COPYSIGN 1
85347 _ACEOF
85348
85349     cat >>confdefs.h <<\_ACEOF
85350 #define HAVE_COPYSIGNF 1
85351 _ACEOF
85352
85353     # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85354     cat >>confdefs.h <<\_ACEOF
85355 #define HAVE_S_ISREG 1
85356 _ACEOF
85357
85358     cat >>confdefs.h <<\_ACEOF
85359 #define HAVE_S_IFREG 1
85360 _ACEOF
85361
85362     cat >>confdefs.h <<\_ACEOF
85363 #define HAVE_WRITEV 1
85364 _ACEOF
85365
85366     ;;
85367
85368   *-freebsd*)
85369
85370
85371
85372
85373
85374
85375
85376
85377
85378
85379
85380
85381
85382
85383
85384
85385 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85386       machine/endian.h machine/param.h sys/machine.h sys/types.h \
85387       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85388       sys/time.h unistd.h
85389 do
85390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85392   echo "$as_me:$LINENO: checking for $ac_header" >&5
85393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85395   echo $ECHO_N "(cached) $ECHO_C" >&6
85396 fi
85397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85399 else
85400   # Is the header compilable?
85401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85403 cat >conftest.$ac_ext <<_ACEOF
85404 /* confdefs.h.  */
85405 _ACEOF
85406 cat confdefs.h >>conftest.$ac_ext
85407 cat >>conftest.$ac_ext <<_ACEOF
85408 /* end confdefs.h.  */
85409 $ac_includes_default
85410 #include <$ac_header>
85411 _ACEOF
85412 rm -f conftest.$ac_objext
85413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85414   (eval $ac_compile) 2>conftest.er1
85415   ac_status=$?
85416   grep -v '^ *+' conftest.er1 >conftest.err
85417   rm -f conftest.er1
85418   cat conftest.err >&5
85419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85420   (exit $ac_status); } &&
85421          { ac_try='test -z "$ac_c_werror_flag"
85422                          || test ! -s conftest.err'
85423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85424   (eval $ac_try) 2>&5
85425   ac_status=$?
85426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85427   (exit $ac_status); }; } &&
85428          { ac_try='test -s conftest.$ac_objext'
85429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85430   (eval $ac_try) 2>&5
85431   ac_status=$?
85432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85433   (exit $ac_status); }; }; then
85434   ac_header_compiler=yes
85435 else
85436   echo "$as_me: failed program was:" >&5
85437 sed 's/^/| /' conftest.$ac_ext >&5
85438
85439 ac_header_compiler=no
85440 fi
85441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85443 echo "${ECHO_T}$ac_header_compiler" >&6
85444
85445 # Is the header present?
85446 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85447 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85448 cat >conftest.$ac_ext <<_ACEOF
85449 /* confdefs.h.  */
85450 _ACEOF
85451 cat confdefs.h >>conftest.$ac_ext
85452 cat >>conftest.$ac_ext <<_ACEOF
85453 /* end confdefs.h.  */
85454 #include <$ac_header>
85455 _ACEOF
85456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85457   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85458   ac_status=$?
85459   grep -v '^ *+' conftest.er1 >conftest.err
85460   rm -f conftest.er1
85461   cat conftest.err >&5
85462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85463   (exit $ac_status); } >/dev/null; then
85464   if test -s conftest.err; then
85465     ac_cpp_err=$ac_c_preproc_warn_flag
85466     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85467   else
85468     ac_cpp_err=
85469   fi
85470 else
85471   ac_cpp_err=yes
85472 fi
85473 if test -z "$ac_cpp_err"; then
85474   ac_header_preproc=yes
85475 else
85476   echo "$as_me: failed program was:" >&5
85477 sed 's/^/| /' conftest.$ac_ext >&5
85478
85479   ac_header_preproc=no
85480 fi
85481 rm -f conftest.err conftest.$ac_ext
85482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85483 echo "${ECHO_T}$ac_header_preproc" >&6
85484
85485 # So?  What about this header?
85486 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85487   yes:no: )
85488     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85490     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85491 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85492     ac_header_preproc=yes
85493     ;;
85494   no:yes:* )
85495     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85497     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85498 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85499     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85500 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85501     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85502 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85503     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85504 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85505     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85506 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85507     (
85508       cat <<\_ASBOX
85509 ## ----------------------------------------- ##
85510 ## Report this to the package-unused lists.  ##
85511 ## ----------------------------------------- ##
85512 _ASBOX
85513     ) |
85514       sed "s/^/$as_me: WARNING:     /" >&2
85515     ;;
85516 esac
85517 echo "$as_me:$LINENO: checking for $ac_header" >&5
85518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85520   echo $ECHO_N "(cached) $ECHO_C" >&6
85521 else
85522   eval "$as_ac_Header=\$ac_header_preproc"
85523 fi
85524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85526
85527 fi
85528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85529   cat >>confdefs.h <<_ACEOF
85530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85531 _ACEOF
85532
85533 fi
85534
85535 done
85536
85537     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85538
85539
85540   # If we're not using GNU ld, then there's no point in even trying these
85541   # tests.  Check for that first.  We should have already tested for gld
85542   # by now (in libtool), but require it now just to be safe...
85543   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85544   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85545
85546
85547
85548   # The name set by libtool depends on the version of libtool.  Shame on us
85549   # for depending on an impl detail, but c'est la vie.  Older versions used
85550   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85551   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85552   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85553   # set (hence we're using an older libtool), then set it.
85554   if test x${with_gnu_ld+set} != xset; then
85555     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85556       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85557       with_gnu_ld=no
85558     else
85559       with_gnu_ld=$ac_cv_prog_gnu_ld
85560     fi
85561   fi
85562
85563   # Start by getting the version number.  I think the libtool test already
85564   # does some of this, but throws away the result.
85565   if test x"$with_gnu_ld" = x"yes"; then
85566     echo "$as_me:$LINENO: checking for ld version" >&5
85567 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85568
85569     ldver=`$LD --version 2>/dev/null | head -1 | \
85570            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85571
85572     glibcxx_gnu_ld_version=`echo $ldver | \
85573            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85574     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85575 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85576   fi
85577
85578   # Set --gc-sections.
85579   glibcxx_gcsections_min_ld=21602
85580   if test x"$with_gnu_ld" = x"yes" &&
85581         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85582
85583     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
85584     # NB: This flag only works reliably after 2.16.1. Configure tests
85585     # for this are difficult, so hard wire a value that should work.
85586
85587     ac_test_CFLAGS="${CFLAGS+set}"
85588     ac_save_CFLAGS="$CFLAGS"
85589     CFLAGS='-Wl,--gc-sections'
85590
85591     # Check for -Wl,--gc-sections
85592     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85593 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85594     if test x$gcc_no_link = xyes; then
85595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85597    { (exit 1); exit 1; }; }
85598 fi
85599 cat >conftest.$ac_ext <<_ACEOF
85600 /* confdefs.h.  */
85601 _ACEOF
85602 cat confdefs.h >>conftest.$ac_ext
85603 cat >>conftest.$ac_ext <<_ACEOF
85604 /* end confdefs.h.  */
85605  int one(void) { return 1; }
85606      int two(void) { return 2; }
85607
85608 int
85609 main ()
85610 {
85611  two();
85612   ;
85613   return 0;
85614 }
85615 _ACEOF
85616 rm -f conftest.$ac_objext conftest$ac_exeext
85617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85618   (eval $ac_link) 2>conftest.er1
85619   ac_status=$?
85620   grep -v '^ *+' conftest.er1 >conftest.err
85621   rm -f conftest.er1
85622   cat conftest.err >&5
85623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85624   (exit $ac_status); } &&
85625          { ac_try='test -z "$ac_c_werror_flag"
85626                          || test ! -s conftest.err'
85627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85628   (eval $ac_try) 2>&5
85629   ac_status=$?
85630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85631   (exit $ac_status); }; } &&
85632          { ac_try='test -s conftest$ac_exeext'
85633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85634   (eval $ac_try) 2>&5
85635   ac_status=$?
85636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85637   (exit $ac_status); }; }; then
85638   ac_gcsections=yes
85639 else
85640   echo "$as_me: failed program was:" >&5
85641 sed 's/^/| /' conftest.$ac_ext >&5
85642
85643 ac_gcsections=no
85644 fi
85645 rm -f conftest.err conftest.$ac_objext \
85646       conftest$ac_exeext conftest.$ac_ext
85647     if test "$ac_gcsections" = "yes"; then
85648       rm -f conftest.c
85649       touch conftest.c
85650       if $CC -c conftest.c; then
85651         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85652            grep "Warning: gc-sections option ignored" > /dev/null; then
85653           ac_gcsections=no
85654         fi
85655       fi
85656       rm -f conftest.c conftest.o conftest
85657     fi
85658     if test "$ac_gcsections" = "yes"; then
85659       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85660     fi
85661     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85662 echo "${ECHO_T}$ac_gcsections" >&6
85663
85664     if test "$ac_test_CFLAGS" = set; then
85665       CFLAGS="$ac_save_CFLAGS"
85666     else
85667       # this is the suspicious part
85668       CFLAGS=''
85669     fi
85670   fi
85671
85672   # Set -z,relro.
85673   # Note this is only for shared objects.
85674   ac_ld_relro=no
85675   if test x"$with_gnu_ld" = x"yes"; then
85676     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85677 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85678     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85679     if test -n "$cxx_z_relo"; then
85680       OPT_LDFLAGS="-Wl,-z,relro"
85681       ac_ld_relro=yes
85682     fi
85683     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85684 echo "${ECHO_T}$ac_ld_relro" >&6
85685   fi
85686
85687   # Set linker optimization flags.
85688   if test x"$with_gnu_ld" = x"yes"; then
85689     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85690   fi
85691
85692
85693
85694
85695
85696
85697 echo "$as_me:$LINENO: checking for main in -lm" >&5
85698 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85699 if test "${ac_cv_lib_m_main+set}" = set; then
85700   echo $ECHO_N "(cached) $ECHO_C" >&6
85701 else
85702   ac_check_lib_save_LIBS=$LIBS
85703 LIBS="-lm  $LIBS"
85704 if test x$gcc_no_link = xyes; then
85705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85707    { (exit 1); exit 1; }; }
85708 fi
85709 cat >conftest.$ac_ext <<_ACEOF
85710 /* confdefs.h.  */
85711 _ACEOF
85712 cat confdefs.h >>conftest.$ac_ext
85713 cat >>conftest.$ac_ext <<_ACEOF
85714 /* end confdefs.h.  */
85715
85716
85717 int
85718 main ()
85719 {
85720 main ();
85721   ;
85722   return 0;
85723 }
85724 _ACEOF
85725 rm -f conftest.$ac_objext conftest$ac_exeext
85726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85727   (eval $ac_link) 2>conftest.er1
85728   ac_status=$?
85729   grep -v '^ *+' conftest.er1 >conftest.err
85730   rm -f conftest.er1
85731   cat conftest.err >&5
85732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85733   (exit $ac_status); } &&
85734          { ac_try='test -z "$ac_c_werror_flag"
85735                          || test ! -s conftest.err'
85736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85737   (eval $ac_try) 2>&5
85738   ac_status=$?
85739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85740   (exit $ac_status); }; } &&
85741          { ac_try='test -s conftest$ac_exeext'
85742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85743   (eval $ac_try) 2>&5
85744   ac_status=$?
85745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85746   (exit $ac_status); }; }; then
85747   ac_cv_lib_m_main=yes
85748 else
85749   echo "$as_me: failed program was:" >&5
85750 sed 's/^/| /' conftest.$ac_ext >&5
85751
85752 ac_cv_lib_m_main=no
85753 fi
85754 rm -f conftest.err conftest.$ac_objext \
85755       conftest$ac_exeext conftest.$ac_ext
85756 LIBS=$ac_check_lib_save_LIBS
85757 fi
85758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85759 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85760 if test $ac_cv_lib_m_main = yes; then
85761   cat >>confdefs.h <<_ACEOF
85762 #define HAVE_LIBM 1
85763 _ACEOF
85764
85765   LIBS="-lm $LIBS"
85766
85767 fi
85768
85769
85770 for ac_func in copysignf
85771 do
85772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85773 echo "$as_me:$LINENO: checking for $ac_func" >&5
85774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85775 if eval "test \"\${$as_ac_var+set}\" = set"; then
85776   echo $ECHO_N "(cached) $ECHO_C" >&6
85777 else
85778   if test x$gcc_no_link = xyes; then
85779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85781    { (exit 1); exit 1; }; }
85782 fi
85783 cat >conftest.$ac_ext <<_ACEOF
85784 /* confdefs.h.  */
85785 _ACEOF
85786 cat confdefs.h >>conftest.$ac_ext
85787 cat >>conftest.$ac_ext <<_ACEOF
85788 /* end confdefs.h.  */
85789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85791 #define $ac_func innocuous_$ac_func
85792
85793 /* System header to define __stub macros and hopefully few prototypes,
85794     which can conflict with char $ac_func (); below.
85795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85796     <limits.h> exists even on freestanding compilers.  */
85797
85798 #ifdef __STDC__
85799 # include <limits.h>
85800 #else
85801 # include <assert.h>
85802 #endif
85803
85804 #undef $ac_func
85805
85806 /* Override any gcc2 internal prototype to avoid an error.  */
85807 #ifdef __cplusplus
85808 extern "C"
85809 {
85810 #endif
85811 /* We use char because int might match the return type of a gcc2
85812    builtin and then its argument prototype would still apply.  */
85813 char $ac_func ();
85814 /* The GNU C library defines this for functions which it implements
85815     to always fail with ENOSYS.  Some functions are actually named
85816     something starting with __ and the normal name is an alias.  */
85817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85818 choke me
85819 #else
85820 char (*f) () = $ac_func;
85821 #endif
85822 #ifdef __cplusplus
85823 }
85824 #endif
85825
85826 int
85827 main ()
85828 {
85829 return f != $ac_func;
85830   ;
85831   return 0;
85832 }
85833 _ACEOF
85834 rm -f conftest.$ac_objext conftest$ac_exeext
85835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85836   (eval $ac_link) 2>conftest.er1
85837   ac_status=$?
85838   grep -v '^ *+' conftest.er1 >conftest.err
85839   rm -f conftest.er1
85840   cat conftest.err >&5
85841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85842   (exit $ac_status); } &&
85843          { ac_try='test -z "$ac_c_werror_flag"
85844                          || test ! -s conftest.err'
85845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85846   (eval $ac_try) 2>&5
85847   ac_status=$?
85848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85849   (exit $ac_status); }; } &&
85850          { ac_try='test -s conftest$ac_exeext'
85851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85852   (eval $ac_try) 2>&5
85853   ac_status=$?
85854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85855   (exit $ac_status); }; }; then
85856   eval "$as_ac_var=yes"
85857 else
85858   echo "$as_me: failed program was:" >&5
85859 sed 's/^/| /' conftest.$ac_ext >&5
85860
85861 eval "$as_ac_var=no"
85862 fi
85863 rm -f conftest.err conftest.$ac_objext \
85864       conftest$ac_exeext conftest.$ac_ext
85865 fi
85866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85868 if test `eval echo '${'$as_ac_var'}'` = yes; then
85869   cat >>confdefs.h <<_ACEOF
85870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85871 _ACEOF
85872
85873 else
85874   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85875 fi
85876 done
85877
85878
85879
85880 for ac_func in __signbit
85881 do
85882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85883 echo "$as_me:$LINENO: checking for $ac_func" >&5
85884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85885 if eval "test \"\${$as_ac_var+set}\" = set"; then
85886   echo $ECHO_N "(cached) $ECHO_C" >&6
85887 else
85888   if test x$gcc_no_link = xyes; then
85889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85891    { (exit 1); exit 1; }; }
85892 fi
85893 cat >conftest.$ac_ext <<_ACEOF
85894 /* confdefs.h.  */
85895 _ACEOF
85896 cat confdefs.h >>conftest.$ac_ext
85897 cat >>conftest.$ac_ext <<_ACEOF
85898 /* end confdefs.h.  */
85899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85901 #define $ac_func innocuous_$ac_func
85902
85903 /* System header to define __stub macros and hopefully few prototypes,
85904     which can conflict with char $ac_func (); below.
85905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85906     <limits.h> exists even on freestanding compilers.  */
85907
85908 #ifdef __STDC__
85909 # include <limits.h>
85910 #else
85911 # include <assert.h>
85912 #endif
85913
85914 #undef $ac_func
85915
85916 /* Override any gcc2 internal prototype to avoid an error.  */
85917 #ifdef __cplusplus
85918 extern "C"
85919 {
85920 #endif
85921 /* We use char because int might match the return type of a gcc2
85922    builtin and then its argument prototype would still apply.  */
85923 char $ac_func ();
85924 /* The GNU C library defines this for functions which it implements
85925     to always fail with ENOSYS.  Some functions are actually named
85926     something starting with __ and the normal name is an alias.  */
85927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85928 choke me
85929 #else
85930 char (*f) () = $ac_func;
85931 #endif
85932 #ifdef __cplusplus
85933 }
85934 #endif
85935
85936 int
85937 main ()
85938 {
85939 return f != $ac_func;
85940   ;
85941   return 0;
85942 }
85943 _ACEOF
85944 rm -f conftest.$ac_objext conftest$ac_exeext
85945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85946   (eval $ac_link) 2>conftest.er1
85947   ac_status=$?
85948   grep -v '^ *+' conftest.er1 >conftest.err
85949   rm -f conftest.er1
85950   cat conftest.err >&5
85951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85952   (exit $ac_status); } &&
85953          { ac_try='test -z "$ac_c_werror_flag"
85954                          || test ! -s conftest.err'
85955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85956   (eval $ac_try) 2>&5
85957   ac_status=$?
85958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85959   (exit $ac_status); }; } &&
85960          { ac_try='test -s conftest$ac_exeext'
85961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85962   (eval $ac_try) 2>&5
85963   ac_status=$?
85964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85965   (exit $ac_status); }; }; then
85966   eval "$as_ac_var=yes"
85967 else
85968   echo "$as_me: failed program was:" >&5
85969 sed 's/^/| /' conftest.$ac_ext >&5
85970
85971 eval "$as_ac_var=no"
85972 fi
85973 rm -f conftest.err conftest.$ac_objext \
85974       conftest$ac_exeext conftest.$ac_ext
85975 fi
85976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85978 if test `eval echo '${'$as_ac_var'}'` = yes; then
85979   cat >>confdefs.h <<_ACEOF
85980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85981 _ACEOF
85982
85983 else
85984   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85985 fi
85986 done
85987
85988
85989
85990 for ac_func in __signbitf
85991 do
85992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85993 echo "$as_me:$LINENO: checking for $ac_func" >&5
85994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85995 if eval "test \"\${$as_ac_var+set}\" = set"; then
85996   echo $ECHO_N "(cached) $ECHO_C" >&6
85997 else
85998   if test x$gcc_no_link = xyes; then
85999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86001    { (exit 1); exit 1; }; }
86002 fi
86003 cat >conftest.$ac_ext <<_ACEOF
86004 /* confdefs.h.  */
86005 _ACEOF
86006 cat confdefs.h >>conftest.$ac_ext
86007 cat >>conftest.$ac_ext <<_ACEOF
86008 /* end confdefs.h.  */
86009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86011 #define $ac_func innocuous_$ac_func
86012
86013 /* System header to define __stub macros and hopefully few prototypes,
86014     which can conflict with char $ac_func (); below.
86015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86016     <limits.h> exists even on freestanding compilers.  */
86017
86018 #ifdef __STDC__
86019 # include <limits.h>
86020 #else
86021 # include <assert.h>
86022 #endif
86023
86024 #undef $ac_func
86025
86026 /* Override any gcc2 internal prototype to avoid an error.  */
86027 #ifdef __cplusplus
86028 extern "C"
86029 {
86030 #endif
86031 /* We use char because int might match the return type of a gcc2
86032    builtin and then its argument prototype would still apply.  */
86033 char $ac_func ();
86034 /* The GNU C library defines this for functions which it implements
86035     to always fail with ENOSYS.  Some functions are actually named
86036     something starting with __ and the normal name is an alias.  */
86037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86038 choke me
86039 #else
86040 char (*f) () = $ac_func;
86041 #endif
86042 #ifdef __cplusplus
86043 }
86044 #endif
86045
86046 int
86047 main ()
86048 {
86049 return f != $ac_func;
86050   ;
86051   return 0;
86052 }
86053 _ACEOF
86054 rm -f conftest.$ac_objext conftest$ac_exeext
86055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86056   (eval $ac_link) 2>conftest.er1
86057   ac_status=$?
86058   grep -v '^ *+' conftest.er1 >conftest.err
86059   rm -f conftest.er1
86060   cat conftest.err >&5
86061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86062   (exit $ac_status); } &&
86063          { ac_try='test -z "$ac_c_werror_flag"
86064                          || test ! -s conftest.err'
86065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86066   (eval $ac_try) 2>&5
86067   ac_status=$?
86068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86069   (exit $ac_status); }; } &&
86070          { ac_try='test -s conftest$ac_exeext'
86071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86072   (eval $ac_try) 2>&5
86073   ac_status=$?
86074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86075   (exit $ac_status); }; }; then
86076   eval "$as_ac_var=yes"
86077 else
86078   echo "$as_me: failed program was:" >&5
86079 sed 's/^/| /' conftest.$ac_ext >&5
86080
86081 eval "$as_ac_var=no"
86082 fi
86083 rm -f conftest.err conftest.$ac_objext \
86084       conftest$ac_exeext conftest.$ac_ext
86085 fi
86086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86088 if test `eval echo '${'$as_ac_var'}'` = yes; then
86089   cat >>confdefs.h <<_ACEOF
86090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86091 _ACEOF
86092
86093 else
86094   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86095 fi
86096 done
86097
86098
86099           if test x$ac_cv_func_copysignl = x"yes"; then
86100
86101 for ac_func in __signbitl
86102 do
86103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86104 echo "$as_me:$LINENO: checking for $ac_func" >&5
86105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86106 if eval "test \"\${$as_ac_var+set}\" = set"; then
86107   echo $ECHO_N "(cached) $ECHO_C" >&6
86108 else
86109   if test x$gcc_no_link = xyes; then
86110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86112    { (exit 1); exit 1; }; }
86113 fi
86114 cat >conftest.$ac_ext <<_ACEOF
86115 /* confdefs.h.  */
86116 _ACEOF
86117 cat confdefs.h >>conftest.$ac_ext
86118 cat >>conftest.$ac_ext <<_ACEOF
86119 /* end confdefs.h.  */
86120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86122 #define $ac_func innocuous_$ac_func
86123
86124 /* System header to define __stub macros and hopefully few prototypes,
86125     which can conflict with char $ac_func (); below.
86126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86127     <limits.h> exists even on freestanding compilers.  */
86128
86129 #ifdef __STDC__
86130 # include <limits.h>
86131 #else
86132 # include <assert.h>
86133 #endif
86134
86135 #undef $ac_func
86136
86137 /* Override any gcc2 internal prototype to avoid an error.  */
86138 #ifdef __cplusplus
86139 extern "C"
86140 {
86141 #endif
86142 /* We use char because int might match the return type of a gcc2
86143    builtin and then its argument prototype would still apply.  */
86144 char $ac_func ();
86145 /* The GNU C library defines this for functions which it implements
86146     to always fail with ENOSYS.  Some functions are actually named
86147     something starting with __ and the normal name is an alias.  */
86148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86149 choke me
86150 #else
86151 char (*f) () = $ac_func;
86152 #endif
86153 #ifdef __cplusplus
86154 }
86155 #endif
86156
86157 int
86158 main ()
86159 {
86160 return f != $ac_func;
86161   ;
86162   return 0;
86163 }
86164 _ACEOF
86165 rm -f conftest.$ac_objext conftest$ac_exeext
86166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86167   (eval $ac_link) 2>conftest.er1
86168   ac_status=$?
86169   grep -v '^ *+' conftest.er1 >conftest.err
86170   rm -f conftest.er1
86171   cat conftest.err >&5
86172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86173   (exit $ac_status); } &&
86174          { ac_try='test -z "$ac_c_werror_flag"
86175                          || test ! -s conftest.err'
86176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86177   (eval $ac_try) 2>&5
86178   ac_status=$?
86179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86180   (exit $ac_status); }; } &&
86181          { ac_try='test -s conftest$ac_exeext'
86182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86183   (eval $ac_try) 2>&5
86184   ac_status=$?
86185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86186   (exit $ac_status); }; }; then
86187   eval "$as_ac_var=yes"
86188 else
86189   echo "$as_me: failed program was:" >&5
86190 sed 's/^/| /' conftest.$ac_ext >&5
86191
86192 eval "$as_ac_var=no"
86193 fi
86194 rm -f conftest.err conftest.$ac_objext \
86195       conftest$ac_exeext conftest.$ac_ext
86196 fi
86197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86199 if test `eval echo '${'$as_ac_var'}'` = yes; then
86200   cat >>confdefs.h <<_ACEOF
86201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86202 _ACEOF
86203
86204 else
86205   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86206 fi
86207 done
86208
86209   fi
86210
86211   # Used in libmath/Makefile.am.
86212   if test -n "$LIBMATHOBJS"; then
86213     need_libmath=yes
86214   fi
86215
86216
86217     cat >>confdefs.h <<\_ACEOF
86218 #define HAVE_LC_MESSAGES 1
86219 _ACEOF
86220
86221     cat >>confdefs.h <<\_ACEOF
86222 #define HAVE_GETPAGESIZE 1
86223 _ACEOF
86224
86225     cat >>confdefs.h <<\_ACEOF
86226 #define HAVE_SETENV 1
86227 _ACEOF
86228
86229     cat >>confdefs.h <<\_ACEOF
86230 #define HAVE_SIGSETJMP 1
86231 _ACEOF
86232
86233     cat >>confdefs.h <<\_ACEOF
86234 #define HAVE_COPYSIGN 1
86235 _ACEOF
86236
86237     cat >>confdefs.h <<\_ACEOF
86238 #define HAVE_COPYSIGNF 1
86239 _ACEOF
86240
86241     cat >>confdefs.h <<\_ACEOF
86242 #define HAVE_FINITEF 1
86243 _ACEOF
86244
86245     cat >>confdefs.h <<\_ACEOF
86246 #define HAVE_FINITE 1
86247 _ACEOF
86248
86249     cat >>confdefs.h <<\_ACEOF
86250 #define HAVE_FREXPF 1
86251 _ACEOF
86252
86253     cat >>confdefs.h <<\_ACEOF
86254 #define HAVE_HYPOT 1
86255 _ACEOF
86256
86257     cat >>confdefs.h <<\_ACEOF
86258 #define HAVE_HYPOTF 1
86259 _ACEOF
86260
86261     cat >>confdefs.h <<\_ACEOF
86262 #define HAVE_ISINF 1
86263 _ACEOF
86264
86265     cat >>confdefs.h <<\_ACEOF
86266 #define HAVE_ISNAN 1
86267 _ACEOF
86268
86269     cat >>confdefs.h <<\_ACEOF
86270 #define HAVE_ISNANF 1
86271 _ACEOF
86272
86273
86274     cat >>confdefs.h <<\_ACEOF
86275 #define HAVE_MMAP 1
86276 _ACEOF
86277
86278     cat >>confdefs.h <<\_ACEOF
86279 #define HAVE_ACOSF 1
86280 _ACEOF
86281
86282     cat >>confdefs.h <<\_ACEOF
86283 #define HAVE_ASINF 1
86284 _ACEOF
86285
86286     cat >>confdefs.h <<\_ACEOF
86287 #define HAVE_ATAN2F 1
86288 _ACEOF
86289
86290     cat >>confdefs.h <<\_ACEOF
86291 #define HAVE_ATANF 1
86292 _ACEOF
86293
86294     cat >>confdefs.h <<\_ACEOF
86295 #define HAVE_CEILF 1
86296 _ACEOF
86297
86298     cat >>confdefs.h <<\_ACEOF
86299 #define HAVE_COPYSIGN 1
86300 _ACEOF
86301
86302     cat >>confdefs.h <<\_ACEOF
86303 #define HAVE_COPYSIGNF 1
86304 _ACEOF
86305
86306     cat >>confdefs.h <<\_ACEOF
86307 #define HAVE_COSF 1
86308 _ACEOF
86309
86310     cat >>confdefs.h <<\_ACEOF
86311 #define HAVE_COSHF 1
86312 _ACEOF
86313
86314     cat >>confdefs.h <<\_ACEOF
86315 #define HAVE_EXPF 1
86316 _ACEOF
86317
86318     cat >>confdefs.h <<\_ACEOF
86319 #define HAVE_FABSF 1
86320 _ACEOF
86321
86322     cat >>confdefs.h <<\_ACEOF
86323 #define HAVE_FLOORF 1
86324 _ACEOF
86325
86326     cat >>confdefs.h <<\_ACEOF
86327 #define HAVE_FMODF 1
86328 _ACEOF
86329
86330     cat >>confdefs.h <<\_ACEOF
86331 #define HAVE_FREXPF 1
86332 _ACEOF
86333
86334     cat >>confdefs.h <<\_ACEOF
86335 #define HAVE_LDEXPF 1
86336 _ACEOF
86337
86338     cat >>confdefs.h <<\_ACEOF
86339 #define HAVE_LOG10F 1
86340 _ACEOF
86341
86342     cat >>confdefs.h <<\_ACEOF
86343 #define HAVE_LOGF 1
86344 _ACEOF
86345
86346     cat >>confdefs.h <<\_ACEOF
86347 #define HAVE_MODFF 1
86348 _ACEOF
86349
86350     cat >>confdefs.h <<\_ACEOF
86351 #define HAVE_POWF 1
86352 _ACEOF
86353
86354     cat >>confdefs.h <<\_ACEOF
86355 #define HAVE_SINF 1
86356 _ACEOF
86357
86358     cat >>confdefs.h <<\_ACEOF
86359 #define HAVE_SINHF 1
86360 _ACEOF
86361
86362     cat >>confdefs.h <<\_ACEOF
86363 #define HAVE_SQRTF 1
86364 _ACEOF
86365
86366     cat >>confdefs.h <<\_ACEOF
86367 #define HAVE_TANF 1
86368 _ACEOF
86369
86370     cat >>confdefs.h <<\_ACEOF
86371 #define HAVE_TANHF 1
86372 _ACEOF
86373
86374     if test x"long_double_math_on_this_cpu" = x"yes"; then
86375       cat >>confdefs.h <<\_ACEOF
86376 #define HAVE_FINITEL 1
86377 _ACEOF
86378
86379       cat >>confdefs.h <<\_ACEOF
86380 #define HAVE_ISINFL 1
86381 _ACEOF
86382
86383       cat >>confdefs.h <<\_ACEOF
86384 #define HAVE_ISNANL 1
86385 _ACEOF
86386
86387     fi
86388     ;;
86389   *-hpux*)
86390
86391
86392
86393
86394
86395
86396
86397
86398
86399
86400
86401
86402 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86403       machine/endian.h machine/param.h sys/machine.h sys/types.h \
86404       fp.h locale.h float.h inttypes.h
86405 do
86406 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86408   echo "$as_me:$LINENO: checking for $ac_header" >&5
86409 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86410 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86411   echo $ECHO_N "(cached) $ECHO_C" >&6
86412 fi
86413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86414 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86415 else
86416   # Is the header compilable?
86417 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86418 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86419 cat >conftest.$ac_ext <<_ACEOF
86420 /* confdefs.h.  */
86421 _ACEOF
86422 cat confdefs.h >>conftest.$ac_ext
86423 cat >>conftest.$ac_ext <<_ACEOF
86424 /* end confdefs.h.  */
86425 $ac_includes_default
86426 #include <$ac_header>
86427 _ACEOF
86428 rm -f conftest.$ac_objext
86429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86430   (eval $ac_compile) 2>conftest.er1
86431   ac_status=$?
86432   grep -v '^ *+' conftest.er1 >conftest.err
86433   rm -f conftest.er1
86434   cat conftest.err >&5
86435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86436   (exit $ac_status); } &&
86437          { ac_try='test -z "$ac_c_werror_flag"
86438                          || test ! -s conftest.err'
86439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86440   (eval $ac_try) 2>&5
86441   ac_status=$?
86442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86443   (exit $ac_status); }; } &&
86444          { ac_try='test -s conftest.$ac_objext'
86445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86446   (eval $ac_try) 2>&5
86447   ac_status=$?
86448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86449   (exit $ac_status); }; }; then
86450   ac_header_compiler=yes
86451 else
86452   echo "$as_me: failed program was:" >&5
86453 sed 's/^/| /' conftest.$ac_ext >&5
86454
86455 ac_header_compiler=no
86456 fi
86457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86458 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86459 echo "${ECHO_T}$ac_header_compiler" >&6
86460
86461 # Is the header present?
86462 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86463 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86464 cat >conftest.$ac_ext <<_ACEOF
86465 /* confdefs.h.  */
86466 _ACEOF
86467 cat confdefs.h >>conftest.$ac_ext
86468 cat >>conftest.$ac_ext <<_ACEOF
86469 /* end confdefs.h.  */
86470 #include <$ac_header>
86471 _ACEOF
86472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86473   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86474   ac_status=$?
86475   grep -v '^ *+' conftest.er1 >conftest.err
86476   rm -f conftest.er1
86477   cat conftest.err >&5
86478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86479   (exit $ac_status); } >/dev/null; then
86480   if test -s conftest.err; then
86481     ac_cpp_err=$ac_c_preproc_warn_flag
86482     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86483   else
86484     ac_cpp_err=
86485   fi
86486 else
86487   ac_cpp_err=yes
86488 fi
86489 if test -z "$ac_cpp_err"; then
86490   ac_header_preproc=yes
86491 else
86492   echo "$as_me: failed program was:" >&5
86493 sed 's/^/| /' conftest.$ac_ext >&5
86494
86495   ac_header_preproc=no
86496 fi
86497 rm -f conftest.err conftest.$ac_ext
86498 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86499 echo "${ECHO_T}$ac_header_preproc" >&6
86500
86501 # So?  What about this header?
86502 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86503   yes:no: )
86504     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86506     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86508     ac_header_preproc=yes
86509     ;;
86510   no:yes:* )
86511     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86513     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86514 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86515     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86517     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86518 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86519     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86521     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86523     (
86524       cat <<\_ASBOX
86525 ## ----------------------------------------- ##
86526 ## Report this to the package-unused lists.  ##
86527 ## ----------------------------------------- ##
86528 _ASBOX
86529     ) |
86530       sed "s/^/$as_me: WARNING:     /" >&2
86531     ;;
86532 esac
86533 echo "$as_me:$LINENO: checking for $ac_header" >&5
86534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86536   echo $ECHO_N "(cached) $ECHO_C" >&6
86537 else
86538   eval "$as_ac_Header=\$ac_header_preproc"
86539 fi
86540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86542
86543 fi
86544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86545   cat >>confdefs.h <<_ACEOF
86546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86547 _ACEOF
86548
86549 fi
86550
86551 done
86552
86553     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86554
86555
86556   # If we're not using GNU ld, then there's no point in even trying these
86557   # tests.  Check for that first.  We should have already tested for gld
86558   # by now (in libtool), but require it now just to be safe...
86559   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86560   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86561
86562
86563
86564   # The name set by libtool depends on the version of libtool.  Shame on us
86565   # for depending on an impl detail, but c'est la vie.  Older versions used
86566   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86567   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86568   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
86569   # set (hence we're using an older libtool), then set it.
86570   if test x${with_gnu_ld+set} != xset; then
86571     if test x${ac_cv_prog_gnu_ld+set} != xset; then
86572       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
86573       with_gnu_ld=no
86574     else
86575       with_gnu_ld=$ac_cv_prog_gnu_ld
86576     fi
86577   fi
86578
86579   # Start by getting the version number.  I think the libtool test already
86580   # does some of this, but throws away the result.
86581   if test x"$with_gnu_ld" = x"yes"; then
86582     echo "$as_me:$LINENO: checking for ld version" >&5
86583 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86584
86585     ldver=`$LD --version 2>/dev/null | head -1 | \
86586            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86587
86588     glibcxx_gnu_ld_version=`echo $ldver | \
86589            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86590     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86591 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86592   fi
86593
86594   # Set --gc-sections.
86595   glibcxx_gcsections_min_ld=21602
86596   if test x"$with_gnu_ld" = x"yes" &&
86597         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86598
86599     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
86600     # NB: This flag only works reliably after 2.16.1. Configure tests
86601     # for this are difficult, so hard wire a value that should work.
86602
86603     ac_test_CFLAGS="${CFLAGS+set}"
86604     ac_save_CFLAGS="$CFLAGS"
86605     CFLAGS='-Wl,--gc-sections'
86606
86607     # Check for -Wl,--gc-sections
86608     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86609 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86610     if test x$gcc_no_link = xyes; then
86611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86613    { (exit 1); exit 1; }; }
86614 fi
86615 cat >conftest.$ac_ext <<_ACEOF
86616 /* confdefs.h.  */
86617 _ACEOF
86618 cat confdefs.h >>conftest.$ac_ext
86619 cat >>conftest.$ac_ext <<_ACEOF
86620 /* end confdefs.h.  */
86621  int one(void) { return 1; }
86622      int two(void) { return 2; }
86623
86624 int
86625 main ()
86626 {
86627  two();
86628   ;
86629   return 0;
86630 }
86631 _ACEOF
86632 rm -f conftest.$ac_objext conftest$ac_exeext
86633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86634   (eval $ac_link) 2>conftest.er1
86635   ac_status=$?
86636   grep -v '^ *+' conftest.er1 >conftest.err
86637   rm -f conftest.er1
86638   cat conftest.err >&5
86639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86640   (exit $ac_status); } &&
86641          { ac_try='test -z "$ac_c_werror_flag"
86642                          || test ! -s conftest.err'
86643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86644   (eval $ac_try) 2>&5
86645   ac_status=$?
86646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86647   (exit $ac_status); }; } &&
86648          { ac_try='test -s conftest$ac_exeext'
86649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86650   (eval $ac_try) 2>&5
86651   ac_status=$?
86652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86653   (exit $ac_status); }; }; then
86654   ac_gcsections=yes
86655 else
86656   echo "$as_me: failed program was:" >&5
86657 sed 's/^/| /' conftest.$ac_ext >&5
86658
86659 ac_gcsections=no
86660 fi
86661 rm -f conftest.err conftest.$ac_objext \
86662       conftest$ac_exeext conftest.$ac_ext
86663     if test "$ac_gcsections" = "yes"; then
86664       rm -f conftest.c
86665       touch conftest.c
86666       if $CC -c conftest.c; then
86667         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86668            grep "Warning: gc-sections option ignored" > /dev/null; then
86669           ac_gcsections=no
86670         fi
86671       fi
86672       rm -f conftest.c conftest.o conftest
86673     fi
86674     if test "$ac_gcsections" = "yes"; then
86675       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86676     fi
86677     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86678 echo "${ECHO_T}$ac_gcsections" >&6
86679
86680     if test "$ac_test_CFLAGS" = set; then
86681       CFLAGS="$ac_save_CFLAGS"
86682     else
86683       # this is the suspicious part
86684       CFLAGS=''
86685     fi
86686   fi
86687
86688   # Set -z,relro.
86689   # Note this is only for shared objects.
86690   ac_ld_relro=no
86691   if test x"$with_gnu_ld" = x"yes"; then
86692     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86693 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86694     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86695     if test -n "$cxx_z_relo"; then
86696       OPT_LDFLAGS="-Wl,-z,relro"
86697       ac_ld_relro=yes
86698     fi
86699     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86700 echo "${ECHO_T}$ac_ld_relro" >&6
86701   fi
86702
86703   # Set linker optimization flags.
86704   if test x"$with_gnu_ld" = x"yes"; then
86705     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86706   fi
86707
86708
86709
86710
86711
86712
86713 echo "$as_me:$LINENO: checking for main in -lm" >&5
86714 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86715 if test "${ac_cv_lib_m_main+set}" = set; then
86716   echo $ECHO_N "(cached) $ECHO_C" >&6
86717 else
86718   ac_check_lib_save_LIBS=$LIBS
86719 LIBS="-lm  $LIBS"
86720 if test x$gcc_no_link = xyes; then
86721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86723    { (exit 1); exit 1; }; }
86724 fi
86725 cat >conftest.$ac_ext <<_ACEOF
86726 /* confdefs.h.  */
86727 _ACEOF
86728 cat confdefs.h >>conftest.$ac_ext
86729 cat >>conftest.$ac_ext <<_ACEOF
86730 /* end confdefs.h.  */
86731
86732
86733 int
86734 main ()
86735 {
86736 main ();
86737   ;
86738   return 0;
86739 }
86740 _ACEOF
86741 rm -f conftest.$ac_objext conftest$ac_exeext
86742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86743   (eval $ac_link) 2>conftest.er1
86744   ac_status=$?
86745   grep -v '^ *+' conftest.er1 >conftest.err
86746   rm -f conftest.er1
86747   cat conftest.err >&5
86748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86749   (exit $ac_status); } &&
86750          { ac_try='test -z "$ac_c_werror_flag"
86751                          || test ! -s conftest.err'
86752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86753   (eval $ac_try) 2>&5
86754   ac_status=$?
86755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86756   (exit $ac_status); }; } &&
86757          { ac_try='test -s conftest$ac_exeext'
86758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86759   (eval $ac_try) 2>&5
86760   ac_status=$?
86761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86762   (exit $ac_status); }; }; then
86763   ac_cv_lib_m_main=yes
86764 else
86765   echo "$as_me: failed program was:" >&5
86766 sed 's/^/| /' conftest.$ac_ext >&5
86767
86768 ac_cv_lib_m_main=no
86769 fi
86770 rm -f conftest.err conftest.$ac_objext \
86771       conftest$ac_exeext conftest.$ac_ext
86772 LIBS=$ac_check_lib_save_LIBS
86773 fi
86774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86775 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86776 if test $ac_cv_lib_m_main = yes; then
86777   cat >>confdefs.h <<_ACEOF
86778 #define HAVE_LIBM 1
86779 _ACEOF
86780
86781   LIBS="-lm $LIBS"
86782
86783 fi
86784
86785
86786 for ac_func in copysignf
86787 do
86788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86789 echo "$as_me:$LINENO: checking for $ac_func" >&5
86790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86791 if eval "test \"\${$as_ac_var+set}\" = set"; then
86792   echo $ECHO_N "(cached) $ECHO_C" >&6
86793 else
86794   if test x$gcc_no_link = xyes; then
86795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86797    { (exit 1); exit 1; }; }
86798 fi
86799 cat >conftest.$ac_ext <<_ACEOF
86800 /* confdefs.h.  */
86801 _ACEOF
86802 cat confdefs.h >>conftest.$ac_ext
86803 cat >>conftest.$ac_ext <<_ACEOF
86804 /* end confdefs.h.  */
86805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86807 #define $ac_func innocuous_$ac_func
86808
86809 /* System header to define __stub macros and hopefully few prototypes,
86810     which can conflict with char $ac_func (); below.
86811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86812     <limits.h> exists even on freestanding compilers.  */
86813
86814 #ifdef __STDC__
86815 # include <limits.h>
86816 #else
86817 # include <assert.h>
86818 #endif
86819
86820 #undef $ac_func
86821
86822 /* Override any gcc2 internal prototype to avoid an error.  */
86823 #ifdef __cplusplus
86824 extern "C"
86825 {
86826 #endif
86827 /* We use char because int might match the return type of a gcc2
86828    builtin and then its argument prototype would still apply.  */
86829 char $ac_func ();
86830 /* The GNU C library defines this for functions which it implements
86831     to always fail with ENOSYS.  Some functions are actually named
86832     something starting with __ and the normal name is an alias.  */
86833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86834 choke me
86835 #else
86836 char (*f) () = $ac_func;
86837 #endif
86838 #ifdef __cplusplus
86839 }
86840 #endif
86841
86842 int
86843 main ()
86844 {
86845 return f != $ac_func;
86846   ;
86847   return 0;
86848 }
86849 _ACEOF
86850 rm -f conftest.$ac_objext conftest$ac_exeext
86851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86852   (eval $ac_link) 2>conftest.er1
86853   ac_status=$?
86854   grep -v '^ *+' conftest.er1 >conftest.err
86855   rm -f conftest.er1
86856   cat conftest.err >&5
86857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86858   (exit $ac_status); } &&
86859          { ac_try='test -z "$ac_c_werror_flag"
86860                          || test ! -s conftest.err'
86861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86862   (eval $ac_try) 2>&5
86863   ac_status=$?
86864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86865   (exit $ac_status); }; } &&
86866          { ac_try='test -s conftest$ac_exeext'
86867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86868   (eval $ac_try) 2>&5
86869   ac_status=$?
86870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86871   (exit $ac_status); }; }; then
86872   eval "$as_ac_var=yes"
86873 else
86874   echo "$as_me: failed program was:" >&5
86875 sed 's/^/| /' conftest.$ac_ext >&5
86876
86877 eval "$as_ac_var=no"
86878 fi
86879 rm -f conftest.err conftest.$ac_objext \
86880       conftest$ac_exeext conftest.$ac_ext
86881 fi
86882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86884 if test `eval echo '${'$as_ac_var'}'` = yes; then
86885   cat >>confdefs.h <<_ACEOF
86886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86887 _ACEOF
86888
86889 else
86890   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86891 fi
86892 done
86893
86894
86895
86896 for ac_func in __signbit
86897 do
86898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86899 echo "$as_me:$LINENO: checking for $ac_func" >&5
86900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86901 if eval "test \"\${$as_ac_var+set}\" = set"; then
86902   echo $ECHO_N "(cached) $ECHO_C" >&6
86903 else
86904   if test x$gcc_no_link = xyes; then
86905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86907    { (exit 1); exit 1; }; }
86908 fi
86909 cat >conftest.$ac_ext <<_ACEOF
86910 /* confdefs.h.  */
86911 _ACEOF
86912 cat confdefs.h >>conftest.$ac_ext
86913 cat >>conftest.$ac_ext <<_ACEOF
86914 /* end confdefs.h.  */
86915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86917 #define $ac_func innocuous_$ac_func
86918
86919 /* System header to define __stub macros and hopefully few prototypes,
86920     which can conflict with char $ac_func (); below.
86921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86922     <limits.h> exists even on freestanding compilers.  */
86923
86924 #ifdef __STDC__
86925 # include <limits.h>
86926 #else
86927 # include <assert.h>
86928 #endif
86929
86930 #undef $ac_func
86931
86932 /* Override any gcc2 internal prototype to avoid an error.  */
86933 #ifdef __cplusplus
86934 extern "C"
86935 {
86936 #endif
86937 /* We use char because int might match the return type of a gcc2
86938    builtin and then its argument prototype would still apply.  */
86939 char $ac_func ();
86940 /* The GNU C library defines this for functions which it implements
86941     to always fail with ENOSYS.  Some functions are actually named
86942     something starting with __ and the normal name is an alias.  */
86943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86944 choke me
86945 #else
86946 char (*f) () = $ac_func;
86947 #endif
86948 #ifdef __cplusplus
86949 }
86950 #endif
86951
86952 int
86953 main ()
86954 {
86955 return f != $ac_func;
86956   ;
86957   return 0;
86958 }
86959 _ACEOF
86960 rm -f conftest.$ac_objext conftest$ac_exeext
86961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86962   (eval $ac_link) 2>conftest.er1
86963   ac_status=$?
86964   grep -v '^ *+' conftest.er1 >conftest.err
86965   rm -f conftest.er1
86966   cat conftest.err >&5
86967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86968   (exit $ac_status); } &&
86969          { ac_try='test -z "$ac_c_werror_flag"
86970                          || test ! -s conftest.err'
86971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86972   (eval $ac_try) 2>&5
86973   ac_status=$?
86974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86975   (exit $ac_status); }; } &&
86976          { ac_try='test -s conftest$ac_exeext'
86977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86978   (eval $ac_try) 2>&5
86979   ac_status=$?
86980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86981   (exit $ac_status); }; }; then
86982   eval "$as_ac_var=yes"
86983 else
86984   echo "$as_me: failed program was:" >&5
86985 sed 's/^/| /' conftest.$ac_ext >&5
86986
86987 eval "$as_ac_var=no"
86988 fi
86989 rm -f conftest.err conftest.$ac_objext \
86990       conftest$ac_exeext conftest.$ac_ext
86991 fi
86992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86994 if test `eval echo '${'$as_ac_var'}'` = yes; then
86995   cat >>confdefs.h <<_ACEOF
86996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86997 _ACEOF
86998
86999 else
87000   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87001 fi
87002 done
87003
87004
87005
87006 for ac_func in __signbitf
87007 do
87008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87009 echo "$as_me:$LINENO: checking for $ac_func" >&5
87010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87011 if eval "test \"\${$as_ac_var+set}\" = set"; then
87012   echo $ECHO_N "(cached) $ECHO_C" >&6
87013 else
87014   if test x$gcc_no_link = xyes; then
87015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87017    { (exit 1); exit 1; }; }
87018 fi
87019 cat >conftest.$ac_ext <<_ACEOF
87020 /* confdefs.h.  */
87021 _ACEOF
87022 cat confdefs.h >>conftest.$ac_ext
87023 cat >>conftest.$ac_ext <<_ACEOF
87024 /* end confdefs.h.  */
87025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87027 #define $ac_func innocuous_$ac_func
87028
87029 /* System header to define __stub macros and hopefully few prototypes,
87030     which can conflict with char $ac_func (); below.
87031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87032     <limits.h> exists even on freestanding compilers.  */
87033
87034 #ifdef __STDC__
87035 # include <limits.h>
87036 #else
87037 # include <assert.h>
87038 #endif
87039
87040 #undef $ac_func
87041
87042 /* Override any gcc2 internal prototype to avoid an error.  */
87043 #ifdef __cplusplus
87044 extern "C"
87045 {
87046 #endif
87047 /* We use char because int might match the return type of a gcc2
87048    builtin and then its argument prototype would still apply.  */
87049 char $ac_func ();
87050 /* The GNU C library defines this for functions which it implements
87051     to always fail with ENOSYS.  Some functions are actually named
87052     something starting with __ and the normal name is an alias.  */
87053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87054 choke me
87055 #else
87056 char (*f) () = $ac_func;
87057 #endif
87058 #ifdef __cplusplus
87059 }
87060 #endif
87061
87062 int
87063 main ()
87064 {
87065 return f != $ac_func;
87066   ;
87067   return 0;
87068 }
87069 _ACEOF
87070 rm -f conftest.$ac_objext conftest$ac_exeext
87071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87072   (eval $ac_link) 2>conftest.er1
87073   ac_status=$?
87074   grep -v '^ *+' conftest.er1 >conftest.err
87075   rm -f conftest.er1
87076   cat conftest.err >&5
87077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87078   (exit $ac_status); } &&
87079          { ac_try='test -z "$ac_c_werror_flag"
87080                          || test ! -s conftest.err'
87081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87082   (eval $ac_try) 2>&5
87083   ac_status=$?
87084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87085   (exit $ac_status); }; } &&
87086          { ac_try='test -s conftest$ac_exeext'
87087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87088   (eval $ac_try) 2>&5
87089   ac_status=$?
87090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87091   (exit $ac_status); }; }; then
87092   eval "$as_ac_var=yes"
87093 else
87094   echo "$as_me: failed program was:" >&5
87095 sed 's/^/| /' conftest.$ac_ext >&5
87096
87097 eval "$as_ac_var=no"
87098 fi
87099 rm -f conftest.err conftest.$ac_objext \
87100       conftest$ac_exeext conftest.$ac_ext
87101 fi
87102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87104 if test `eval echo '${'$as_ac_var'}'` = yes; then
87105   cat >>confdefs.h <<_ACEOF
87106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87107 _ACEOF
87108
87109 else
87110   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87111 fi
87112 done
87113
87114
87115           if test x$ac_cv_func_copysignl = x"yes"; then
87116
87117 for ac_func in __signbitl
87118 do
87119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87120 echo "$as_me:$LINENO: checking for $ac_func" >&5
87121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87122 if eval "test \"\${$as_ac_var+set}\" = set"; then
87123   echo $ECHO_N "(cached) $ECHO_C" >&6
87124 else
87125   if test x$gcc_no_link = xyes; then
87126   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87128    { (exit 1); exit 1; }; }
87129 fi
87130 cat >conftest.$ac_ext <<_ACEOF
87131 /* confdefs.h.  */
87132 _ACEOF
87133 cat confdefs.h >>conftest.$ac_ext
87134 cat >>conftest.$ac_ext <<_ACEOF
87135 /* end confdefs.h.  */
87136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87137    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87138 #define $ac_func innocuous_$ac_func
87139
87140 /* System header to define __stub macros and hopefully few prototypes,
87141     which can conflict with char $ac_func (); below.
87142     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87143     <limits.h> exists even on freestanding compilers.  */
87144
87145 #ifdef __STDC__
87146 # include <limits.h>
87147 #else
87148 # include <assert.h>
87149 #endif
87150
87151 #undef $ac_func
87152
87153 /* Override any gcc2 internal prototype to avoid an error.  */
87154 #ifdef __cplusplus
87155 extern "C"
87156 {
87157 #endif
87158 /* We use char because int might match the return type of a gcc2
87159    builtin and then its argument prototype would still apply.  */
87160 char $ac_func ();
87161 /* The GNU C library defines this for functions which it implements
87162     to always fail with ENOSYS.  Some functions are actually named
87163     something starting with __ and the normal name is an alias.  */
87164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87165 choke me
87166 #else
87167 char (*f) () = $ac_func;
87168 #endif
87169 #ifdef __cplusplus
87170 }
87171 #endif
87172
87173 int
87174 main ()
87175 {
87176 return f != $ac_func;
87177   ;
87178   return 0;
87179 }
87180 _ACEOF
87181 rm -f conftest.$ac_objext conftest$ac_exeext
87182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87183   (eval $ac_link) 2>conftest.er1
87184   ac_status=$?
87185   grep -v '^ *+' conftest.er1 >conftest.err
87186   rm -f conftest.er1
87187   cat conftest.err >&5
87188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87189   (exit $ac_status); } &&
87190          { ac_try='test -z "$ac_c_werror_flag"
87191                          || test ! -s conftest.err'
87192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87193   (eval $ac_try) 2>&5
87194   ac_status=$?
87195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87196   (exit $ac_status); }; } &&
87197          { ac_try='test -s conftest$ac_exeext'
87198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87199   (eval $ac_try) 2>&5
87200   ac_status=$?
87201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87202   (exit $ac_status); }; }; then
87203   eval "$as_ac_var=yes"
87204 else
87205   echo "$as_me: failed program was:" >&5
87206 sed 's/^/| /' conftest.$ac_ext >&5
87207
87208 eval "$as_ac_var=no"
87209 fi
87210 rm -f conftest.err conftest.$ac_objext \
87211       conftest$ac_exeext conftest.$ac_ext
87212 fi
87213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87215 if test `eval echo '${'$as_ac_var'}'` = yes; then
87216   cat >>confdefs.h <<_ACEOF
87217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87218 _ACEOF
87219
87220 else
87221   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87222 fi
87223 done
87224
87225   fi
87226
87227   # Used in libmath/Makefile.am.
87228   if test -n "$LIBMATHOBJS"; then
87229     need_libmath=yes
87230   fi
87231
87232
87233     cat >>confdefs.h <<\_ACEOF
87234 #define HAVE_COPYSIGN 1
87235 _ACEOF
87236
87237     cat >>confdefs.h <<\_ACEOF
87238 #define HAVE_COPYSIGNF 1
87239 _ACEOF
87240
87241     cat >>confdefs.h <<\_ACEOF
87242 #define HAVE_FREXPF 1
87243 _ACEOF
87244
87245     cat >>confdefs.h <<\_ACEOF
87246 #define HAVE_HYPOT 1
87247 _ACEOF
87248
87249     case "$target" in
87250       *-hpux10*)
87251         cat >>confdefs.h <<\_ACEOF
87252 #define HAVE_FINITE 1
87253 _ACEOF
87254
87255         cat >>confdefs.h <<\_ACEOF
87256 #define HAVE_FINITEF 1
87257 _ACEOF
87258
87259         cat >>confdefs.h <<\_ACEOF
87260 #define HAVE_ISINF 1
87261 _ACEOF
87262
87263         cat >>confdefs.h <<\_ACEOF
87264 #define HAVE_ISINFF 1
87265 _ACEOF
87266
87267         cat >>confdefs.h <<\_ACEOF
87268 #define HAVE_ISNAN 1
87269 _ACEOF
87270
87271         cat >>confdefs.h <<\_ACEOF
87272 #define HAVE_ISNANF 1
87273 _ACEOF
87274
87275         ;;
87276     esac
87277     ;;
87278   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87279
87280
87281
87282
87283
87284
87285
87286
87287
87288
87289
87290
87291
87292
87293
87294
87295
87296
87297 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87298       machine/endian.h machine/param.h sys/machine.h sys/types.h \
87299       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87300       sys/ipc.h sys/sem.h gconf.h
87301 do
87302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87304   echo "$as_me:$LINENO: checking for $ac_header" >&5
87305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87307   echo $ECHO_N "(cached) $ECHO_C" >&6
87308 fi
87309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87311 else
87312   # Is the header compilable?
87313 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87314 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87315 cat >conftest.$ac_ext <<_ACEOF
87316 /* confdefs.h.  */
87317 _ACEOF
87318 cat confdefs.h >>conftest.$ac_ext
87319 cat >>conftest.$ac_ext <<_ACEOF
87320 /* end confdefs.h.  */
87321 $ac_includes_default
87322 #include <$ac_header>
87323 _ACEOF
87324 rm -f conftest.$ac_objext
87325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87326   (eval $ac_compile) 2>conftest.er1
87327   ac_status=$?
87328   grep -v '^ *+' conftest.er1 >conftest.err
87329   rm -f conftest.er1
87330   cat conftest.err >&5
87331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87332   (exit $ac_status); } &&
87333          { ac_try='test -z "$ac_c_werror_flag"
87334                          || test ! -s conftest.err'
87335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87336   (eval $ac_try) 2>&5
87337   ac_status=$?
87338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87339   (exit $ac_status); }; } &&
87340          { ac_try='test -s conftest.$ac_objext'
87341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87342   (eval $ac_try) 2>&5
87343   ac_status=$?
87344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87345   (exit $ac_status); }; }; then
87346   ac_header_compiler=yes
87347 else
87348   echo "$as_me: failed program was:" >&5
87349 sed 's/^/| /' conftest.$ac_ext >&5
87350
87351 ac_header_compiler=no
87352 fi
87353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87355 echo "${ECHO_T}$ac_header_compiler" >&6
87356
87357 # Is the header present?
87358 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87360 cat >conftest.$ac_ext <<_ACEOF
87361 /* confdefs.h.  */
87362 _ACEOF
87363 cat confdefs.h >>conftest.$ac_ext
87364 cat >>conftest.$ac_ext <<_ACEOF
87365 /* end confdefs.h.  */
87366 #include <$ac_header>
87367 _ACEOF
87368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87369   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87370   ac_status=$?
87371   grep -v '^ *+' conftest.er1 >conftest.err
87372   rm -f conftest.er1
87373   cat conftest.err >&5
87374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87375   (exit $ac_status); } >/dev/null; then
87376   if test -s conftest.err; then
87377     ac_cpp_err=$ac_c_preproc_warn_flag
87378     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87379   else
87380     ac_cpp_err=
87381   fi
87382 else
87383   ac_cpp_err=yes
87384 fi
87385 if test -z "$ac_cpp_err"; then
87386   ac_header_preproc=yes
87387 else
87388   echo "$as_me: failed program was:" >&5
87389 sed 's/^/| /' conftest.$ac_ext >&5
87390
87391   ac_header_preproc=no
87392 fi
87393 rm -f conftest.err conftest.$ac_ext
87394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87395 echo "${ECHO_T}$ac_header_preproc" >&6
87396
87397 # So?  What about this header?
87398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87399   yes:no: )
87400     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87402     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87404     ac_header_preproc=yes
87405     ;;
87406   no:yes:* )
87407     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87409     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87410 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87411     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87413     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87414 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87415     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87417     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87419     (
87420       cat <<\_ASBOX
87421 ## ----------------------------------------- ##
87422 ## Report this to the package-unused lists.  ##
87423 ## ----------------------------------------- ##
87424 _ASBOX
87425     ) |
87426       sed "s/^/$as_me: WARNING:     /" >&2
87427     ;;
87428 esac
87429 echo "$as_me:$LINENO: checking for $ac_header" >&5
87430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87432   echo $ECHO_N "(cached) $ECHO_C" >&6
87433 else
87434   eval "$as_ac_Header=\$ac_header_preproc"
87435 fi
87436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87438
87439 fi
87440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87441   cat >>confdefs.h <<_ACEOF
87442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87443 _ACEOF
87444
87445 fi
87446
87447 done
87448
87449     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87450
87451
87452   # All these tests are for C++; save the language and the compiler flags.
87453   # The CXXFLAGS thing is suspicious, but based on similar bits previously
87454   # found in GLIBCXX_CONFIGURE.
87455
87456
87457   ac_ext=cc
87458 ac_cpp='$CXXCPP $CPPFLAGS'
87459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87462
87463   ac_test_CXXFLAGS="${CXXFLAGS+set}"
87464   ac_save_CXXFLAGS="$CXXFLAGS"
87465
87466   # Check for maintainer-mode bits.
87467   if test x"$USE_MAINTAINER_MODE" = xno; then
87468     WERROR=''
87469   else
87470     WERROR='-Werror'
87471   fi
87472
87473   # Check for -ffunction-sections -fdata-sections
87474   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87475 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87476   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87477   cat >conftest.$ac_ext <<_ACEOF
87478 /* confdefs.h.  */
87479 _ACEOF
87480 cat confdefs.h >>conftest.$ac_ext
87481 cat >>conftest.$ac_ext <<_ACEOF
87482 /* end confdefs.h.  */
87483 int foo; void bar() { };
87484 int
87485 main ()
87486 {
87487
87488   ;
87489   return 0;
87490 }
87491 _ACEOF
87492 rm -f conftest.$ac_objext
87493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87494   (eval $ac_compile) 2>conftest.er1
87495   ac_status=$?
87496   grep -v '^ *+' conftest.er1 >conftest.err
87497   rm -f conftest.er1
87498   cat conftest.err >&5
87499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87500   (exit $ac_status); } &&
87501          { ac_try='test -z "$ac_cxx_werror_flag"
87502                          || test ! -s conftest.err'
87503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87504   (eval $ac_try) 2>&5
87505   ac_status=$?
87506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87507   (exit $ac_status); }; } &&
87508          { ac_try='test -s conftest.$ac_objext'
87509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87510   (eval $ac_try) 2>&5
87511   ac_status=$?
87512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87513   (exit $ac_status); }; }; then
87514   ac_fdsections=yes
87515 else
87516   echo "$as_me: failed program was:" >&5
87517 sed 's/^/| /' conftest.$ac_ext >&5
87518
87519 ac_fdsections=no
87520 fi
87521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87522   if test "$ac_test_CXXFLAGS" = set; then
87523     CXXFLAGS="$ac_save_CXXFLAGS"
87524   else
87525     # this is the suspicious part
87526     CXXFLAGS=''
87527   fi
87528   if test x"$ac_fdsections" = x"yes"; then
87529     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87530   fi
87531   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87532 echo "${ECHO_T}$ac_fdsections" >&6
87533
87534   ac_ext=c
87535 ac_cpp='$CPP $CPPFLAGS'
87536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87539
87540
87541
87542
87543
87544   # If we're not using GNU ld, then there's no point in even trying these
87545   # tests.  Check for that first.  We should have already tested for gld
87546   # by now (in libtool), but require it now just to be safe...
87547   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87548   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87549
87550
87551
87552   # The name set by libtool depends on the version of libtool.  Shame on us
87553   # for depending on an impl detail, but c'est la vie.  Older versions used
87554   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87555   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87556   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87557   # set (hence we're using an older libtool), then set it.
87558   if test x${with_gnu_ld+set} != xset; then
87559     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87560       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87561       with_gnu_ld=no
87562     else
87563       with_gnu_ld=$ac_cv_prog_gnu_ld
87564     fi
87565   fi
87566
87567   # Start by getting the version number.  I think the libtool test already
87568   # does some of this, but throws away the result.
87569   if test x"$with_gnu_ld" = x"yes"; then
87570     echo "$as_me:$LINENO: checking for ld version" >&5
87571 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87572
87573     ldver=`$LD --version 2>/dev/null | head -1 | \
87574            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87575
87576     glibcxx_gnu_ld_version=`echo $ldver | \
87577            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87578     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87579 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87580   fi
87581
87582   # Set --gc-sections.
87583   glibcxx_gcsections_min_ld=21602
87584   if test x"$with_gnu_ld" = x"yes" &&
87585         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87586
87587     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
87588     # NB: This flag only works reliably after 2.16.1. Configure tests
87589     # for this are difficult, so hard wire a value that should work.
87590
87591     ac_test_CFLAGS="${CFLAGS+set}"
87592     ac_save_CFLAGS="$CFLAGS"
87593     CFLAGS='-Wl,--gc-sections'
87594
87595     # Check for -Wl,--gc-sections
87596     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87597 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87598     if test x$gcc_no_link = xyes; then
87599   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87601    { (exit 1); exit 1; }; }
87602 fi
87603 cat >conftest.$ac_ext <<_ACEOF
87604 /* confdefs.h.  */
87605 _ACEOF
87606 cat confdefs.h >>conftest.$ac_ext
87607 cat >>conftest.$ac_ext <<_ACEOF
87608 /* end confdefs.h.  */
87609  int one(void) { return 1; }
87610      int two(void) { return 2; }
87611
87612 int
87613 main ()
87614 {
87615  two();
87616   ;
87617   return 0;
87618 }
87619 _ACEOF
87620 rm -f conftest.$ac_objext conftest$ac_exeext
87621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87622   (eval $ac_link) 2>conftest.er1
87623   ac_status=$?
87624   grep -v '^ *+' conftest.er1 >conftest.err
87625   rm -f conftest.er1
87626   cat conftest.err >&5
87627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87628   (exit $ac_status); } &&
87629          { ac_try='test -z "$ac_c_werror_flag"
87630                          || test ! -s conftest.err'
87631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87632   (eval $ac_try) 2>&5
87633   ac_status=$?
87634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87635   (exit $ac_status); }; } &&
87636          { ac_try='test -s conftest$ac_exeext'
87637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87638   (eval $ac_try) 2>&5
87639   ac_status=$?
87640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87641   (exit $ac_status); }; }; then
87642   ac_gcsections=yes
87643 else
87644   echo "$as_me: failed program was:" >&5
87645 sed 's/^/| /' conftest.$ac_ext >&5
87646
87647 ac_gcsections=no
87648 fi
87649 rm -f conftest.err conftest.$ac_objext \
87650       conftest$ac_exeext conftest.$ac_ext
87651     if test "$ac_gcsections" = "yes"; then
87652       rm -f conftest.c
87653       touch conftest.c
87654       if $CC -c conftest.c; then
87655         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87656            grep "Warning: gc-sections option ignored" > /dev/null; then
87657           ac_gcsections=no
87658         fi
87659       fi
87660       rm -f conftest.c conftest.o conftest
87661     fi
87662     if test "$ac_gcsections" = "yes"; then
87663       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87664     fi
87665     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87666 echo "${ECHO_T}$ac_gcsections" >&6
87667
87668     if test "$ac_test_CFLAGS" = set; then
87669       CFLAGS="$ac_save_CFLAGS"
87670     else
87671       # this is the suspicious part
87672       CFLAGS=''
87673     fi
87674   fi
87675
87676   # Set -z,relro.
87677   # Note this is only for shared objects.
87678   ac_ld_relro=no
87679   if test x"$with_gnu_ld" = x"yes"; then
87680     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87681 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87682     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87683     if test -n "$cxx_z_relo"; then
87684       OPT_LDFLAGS="-Wl,-z,relro"
87685       ac_ld_relro=yes
87686     fi
87687     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87688 echo "${ECHO_T}$ac_ld_relro" >&6
87689   fi
87690
87691   # Set linker optimization flags.
87692   if test x"$with_gnu_ld" = x"yes"; then
87693     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87694   fi
87695
87696
87697
87698
87699
87700   ac_test_CXXFLAGS="${CXXFLAGS+set}"
87701   ac_save_CXXFLAGS="$CXXFLAGS"
87702   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87703
87704     echo "$as_me:$LINENO: checking for sin in -lm" >&5
87705 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87706 if test "${ac_cv_lib_m_sin+set}" = set; then
87707   echo $ECHO_N "(cached) $ECHO_C" >&6
87708 else
87709   ac_check_lib_save_LIBS=$LIBS
87710 LIBS="-lm  $LIBS"
87711 if test x$gcc_no_link = xyes; then
87712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87714    { (exit 1); exit 1; }; }
87715 fi
87716 cat >conftest.$ac_ext <<_ACEOF
87717 /* confdefs.h.  */
87718 _ACEOF
87719 cat confdefs.h >>conftest.$ac_ext
87720 cat >>conftest.$ac_ext <<_ACEOF
87721 /* end confdefs.h.  */
87722
87723 /* Override any gcc2 internal prototype to avoid an error.  */
87724 #ifdef __cplusplus
87725 extern "C"
87726 #endif
87727 /* We use char because int might match the return type of a gcc2
87728    builtin and then its argument prototype would still apply.  */
87729 char sin ();
87730 int
87731 main ()
87732 {
87733 sin ();
87734   ;
87735   return 0;
87736 }
87737 _ACEOF
87738 rm -f conftest.$ac_objext conftest$ac_exeext
87739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87740   (eval $ac_link) 2>conftest.er1
87741   ac_status=$?
87742   grep -v '^ *+' conftest.er1 >conftest.err
87743   rm -f conftest.er1
87744   cat conftest.err >&5
87745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87746   (exit $ac_status); } &&
87747          { ac_try='test -z "$ac_c_werror_flag"
87748                          || test ! -s conftest.err'
87749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87750   (eval $ac_try) 2>&5
87751   ac_status=$?
87752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87753   (exit $ac_status); }; } &&
87754          { ac_try='test -s conftest$ac_exeext'
87755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87756   (eval $ac_try) 2>&5
87757   ac_status=$?
87758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87759   (exit $ac_status); }; }; then
87760   ac_cv_lib_m_sin=yes
87761 else
87762   echo "$as_me: failed program was:" >&5
87763 sed 's/^/| /' conftest.$ac_ext >&5
87764
87765 ac_cv_lib_m_sin=no
87766 fi
87767 rm -f conftest.err conftest.$ac_objext \
87768       conftest$ac_exeext conftest.$ac_ext
87769 LIBS=$ac_check_lib_save_LIBS
87770 fi
87771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87772 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87773 if test $ac_cv_lib_m_sin = yes; then
87774   libm="-lm"
87775 fi
87776
87777   ac_save_LIBS="$LIBS"
87778   LIBS="$LIBS $libm"
87779
87780
87781
87782   echo "$as_me:$LINENO: checking for isinf declaration" >&5
87783 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87784   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87785     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87786   echo $ECHO_N "(cached) $ECHO_C" >&6
87787 else
87788
87789
87790
87791       ac_ext=cc
87792 ac_cpp='$CXXCPP $CPPFLAGS'
87793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87796
87797       cat >conftest.$ac_ext <<_ACEOF
87798 /* confdefs.h.  */
87799 _ACEOF
87800 cat confdefs.h >>conftest.$ac_ext
87801 cat >>conftest.$ac_ext <<_ACEOF
87802 /* end confdefs.h.  */
87803 #include <math.h>
87804                       #ifdef HAVE_IEEEFP_H
87805                       #include <ieeefp.h>
87806                       #endif
87807
87808 int
87809 main ()
87810 {
87811  isinf(0);
87812   ;
87813   return 0;
87814 }
87815 _ACEOF
87816 rm -f conftest.$ac_objext
87817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87818   (eval $ac_compile) 2>conftest.er1
87819   ac_status=$?
87820   grep -v '^ *+' conftest.er1 >conftest.err
87821   rm -f conftest.er1
87822   cat conftest.err >&5
87823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87824   (exit $ac_status); } &&
87825          { ac_try='test -z "$ac_cxx_werror_flag"
87826                          || test ! -s conftest.err'
87827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87828   (eval $ac_try) 2>&5
87829   ac_status=$?
87830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87831   (exit $ac_status); }; } &&
87832          { ac_try='test -s conftest.$ac_objext'
87833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87834   (eval $ac_try) 2>&5
87835   ac_status=$?
87836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87837   (exit $ac_status); }; }; then
87838   glibcxx_cv_func_isinf_use=yes
87839 else
87840   echo "$as_me: failed program was:" >&5
87841 sed 's/^/| /' conftest.$ac_ext >&5
87842
87843 glibcxx_cv_func_isinf_use=no
87844 fi
87845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87846       ac_ext=c
87847 ac_cpp='$CPP $CPPFLAGS'
87848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87851
87852
87853 fi
87854
87855   fi
87856   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
87857 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
87858
87859   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
87860
87861 for ac_func in isinf
87862 do
87863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87864 echo "$as_me:$LINENO: checking for $ac_func" >&5
87865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87866 if eval "test \"\${$as_ac_var+set}\" = set"; then
87867   echo $ECHO_N "(cached) $ECHO_C" >&6
87868 else
87869   if test x$gcc_no_link = xyes; then
87870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87872    { (exit 1); exit 1; }; }
87873 fi
87874 cat >conftest.$ac_ext <<_ACEOF
87875 /* confdefs.h.  */
87876 _ACEOF
87877 cat confdefs.h >>conftest.$ac_ext
87878 cat >>conftest.$ac_ext <<_ACEOF
87879 /* end confdefs.h.  */
87880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87882 #define $ac_func innocuous_$ac_func
87883
87884 /* System header to define __stub macros and hopefully few prototypes,
87885     which can conflict with char $ac_func (); below.
87886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87887     <limits.h> exists even on freestanding compilers.  */
87888
87889 #ifdef __STDC__
87890 # include <limits.h>
87891 #else
87892 # include <assert.h>
87893 #endif
87894
87895 #undef $ac_func
87896
87897 /* Override any gcc2 internal prototype to avoid an error.  */
87898 #ifdef __cplusplus
87899 extern "C"
87900 {
87901 #endif
87902 /* We use char because int might match the return type of a gcc2
87903    builtin and then its argument prototype would still apply.  */
87904 char $ac_func ();
87905 /* The GNU C library defines this for functions which it implements
87906     to always fail with ENOSYS.  Some functions are actually named
87907     something starting with __ and the normal name is an alias.  */
87908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87909 choke me
87910 #else
87911 char (*f) () = $ac_func;
87912 #endif
87913 #ifdef __cplusplus
87914 }
87915 #endif
87916
87917 int
87918 main ()
87919 {
87920 return f != $ac_func;
87921   ;
87922   return 0;
87923 }
87924 _ACEOF
87925 rm -f conftest.$ac_objext conftest$ac_exeext
87926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87927   (eval $ac_link) 2>conftest.er1
87928   ac_status=$?
87929   grep -v '^ *+' conftest.er1 >conftest.err
87930   rm -f conftest.er1
87931   cat conftest.err >&5
87932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87933   (exit $ac_status); } &&
87934          { ac_try='test -z "$ac_c_werror_flag"
87935                          || test ! -s conftest.err'
87936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87937   (eval $ac_try) 2>&5
87938   ac_status=$?
87939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87940   (exit $ac_status); }; } &&
87941          { ac_try='test -s conftest$ac_exeext'
87942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87943   (eval $ac_try) 2>&5
87944   ac_status=$?
87945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87946   (exit $ac_status); }; }; then
87947   eval "$as_ac_var=yes"
87948 else
87949   echo "$as_me: failed program was:" >&5
87950 sed 's/^/| /' conftest.$ac_ext >&5
87951
87952 eval "$as_ac_var=no"
87953 fi
87954 rm -f conftest.err conftest.$ac_objext \
87955       conftest$ac_exeext conftest.$ac_ext
87956 fi
87957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87959 if test `eval echo '${'$as_ac_var'}'` = yes; then
87960   cat >>confdefs.h <<_ACEOF
87961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87962 _ACEOF
87963
87964 fi
87965 done
87966
87967   else
87968
87969   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87970 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87971   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87972     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87973   echo $ECHO_N "(cached) $ECHO_C" >&6
87974 else
87975
87976
87977
87978       ac_ext=cc
87979 ac_cpp='$CXXCPP $CPPFLAGS'
87980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87983
87984       cat >conftest.$ac_ext <<_ACEOF
87985 /* confdefs.h.  */
87986 _ACEOF
87987 cat confdefs.h >>conftest.$ac_ext
87988 cat >>conftest.$ac_ext <<_ACEOF
87989 /* end confdefs.h.  */
87990 #include <math.h>
87991                       #ifdef HAVE_IEEEFP_H
87992                       #include <ieeefp.h>
87993                       #endif
87994
87995 int
87996 main ()
87997 {
87998  _isinf(0);
87999   ;
88000   return 0;
88001 }
88002 _ACEOF
88003 rm -f conftest.$ac_objext
88004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88005   (eval $ac_compile) 2>conftest.er1
88006   ac_status=$?
88007   grep -v '^ *+' conftest.er1 >conftest.err
88008   rm -f conftest.er1
88009   cat conftest.err >&5
88010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88011   (exit $ac_status); } &&
88012          { ac_try='test -z "$ac_cxx_werror_flag"
88013                          || test ! -s conftest.err'
88014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88015   (eval $ac_try) 2>&5
88016   ac_status=$?
88017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88018   (exit $ac_status); }; } &&
88019          { ac_try='test -s conftest.$ac_objext'
88020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88021   (eval $ac_try) 2>&5
88022   ac_status=$?
88023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88024   (exit $ac_status); }; }; then
88025   glibcxx_cv_func__isinf_use=yes
88026 else
88027   echo "$as_me: failed program was:" >&5
88028 sed 's/^/| /' conftest.$ac_ext >&5
88029
88030 glibcxx_cv_func__isinf_use=no
88031 fi
88032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88033       ac_ext=c
88034 ac_cpp='$CPP $CPPFLAGS'
88035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88038
88039
88040 fi
88041
88042   fi
88043   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88044 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88045
88046     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88047
88048 for ac_func in _isinf
88049 do
88050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88051 echo "$as_me:$LINENO: checking for $ac_func" >&5
88052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88053 if eval "test \"\${$as_ac_var+set}\" = set"; then
88054   echo $ECHO_N "(cached) $ECHO_C" >&6
88055 else
88056   if test x$gcc_no_link = xyes; then
88057   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88059    { (exit 1); exit 1; }; }
88060 fi
88061 cat >conftest.$ac_ext <<_ACEOF
88062 /* confdefs.h.  */
88063 _ACEOF
88064 cat confdefs.h >>conftest.$ac_ext
88065 cat >>conftest.$ac_ext <<_ACEOF
88066 /* end confdefs.h.  */
88067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88068    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88069 #define $ac_func innocuous_$ac_func
88070
88071 /* System header to define __stub macros and hopefully few prototypes,
88072     which can conflict with char $ac_func (); below.
88073     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88074     <limits.h> exists even on freestanding compilers.  */
88075
88076 #ifdef __STDC__
88077 # include <limits.h>
88078 #else
88079 # include <assert.h>
88080 #endif
88081
88082 #undef $ac_func
88083
88084 /* Override any gcc2 internal prototype to avoid an error.  */
88085 #ifdef __cplusplus
88086 extern "C"
88087 {
88088 #endif
88089 /* We use char because int might match the return type of a gcc2
88090    builtin and then its argument prototype would still apply.  */
88091 char $ac_func ();
88092 /* The GNU C library defines this for functions which it implements
88093     to always fail with ENOSYS.  Some functions are actually named
88094     something starting with __ and the normal name is an alias.  */
88095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88096 choke me
88097 #else
88098 char (*f) () = $ac_func;
88099 #endif
88100 #ifdef __cplusplus
88101 }
88102 #endif
88103
88104 int
88105 main ()
88106 {
88107 return f != $ac_func;
88108   ;
88109   return 0;
88110 }
88111 _ACEOF
88112 rm -f conftest.$ac_objext conftest$ac_exeext
88113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88114   (eval $ac_link) 2>conftest.er1
88115   ac_status=$?
88116   grep -v '^ *+' conftest.er1 >conftest.err
88117   rm -f conftest.er1
88118   cat conftest.err >&5
88119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88120   (exit $ac_status); } &&
88121          { ac_try='test -z "$ac_c_werror_flag"
88122                          || test ! -s conftest.err'
88123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88124   (eval $ac_try) 2>&5
88125   ac_status=$?
88126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88127   (exit $ac_status); }; } &&
88128          { ac_try='test -s conftest$ac_exeext'
88129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88130   (eval $ac_try) 2>&5
88131   ac_status=$?
88132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88133   (exit $ac_status); }; }; then
88134   eval "$as_ac_var=yes"
88135 else
88136   echo "$as_me: failed program was:" >&5
88137 sed 's/^/| /' conftest.$ac_ext >&5
88138
88139 eval "$as_ac_var=no"
88140 fi
88141 rm -f conftest.err conftest.$ac_objext \
88142       conftest$ac_exeext conftest.$ac_ext
88143 fi
88144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88146 if test `eval echo '${'$as_ac_var'}'` = yes; then
88147   cat >>confdefs.h <<_ACEOF
88148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88149 _ACEOF
88150
88151 fi
88152 done
88153
88154     fi
88155   fi
88156
88157
88158
88159
88160
88161
88162   echo "$as_me:$LINENO: checking for isnan declaration" >&5
88163 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88164   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88165     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88166   echo $ECHO_N "(cached) $ECHO_C" >&6
88167 else
88168
88169
88170
88171       ac_ext=cc
88172 ac_cpp='$CXXCPP $CPPFLAGS'
88173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88176
88177       cat >conftest.$ac_ext <<_ACEOF
88178 /* confdefs.h.  */
88179 _ACEOF
88180 cat confdefs.h >>conftest.$ac_ext
88181 cat >>conftest.$ac_ext <<_ACEOF
88182 /* end confdefs.h.  */
88183 #include <math.h>
88184                       #ifdef HAVE_IEEEFP_H
88185                       #include <ieeefp.h>
88186                       #endif
88187
88188 int
88189 main ()
88190 {
88191  isnan(0);
88192   ;
88193   return 0;
88194 }
88195 _ACEOF
88196 rm -f conftest.$ac_objext
88197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88198   (eval $ac_compile) 2>conftest.er1
88199   ac_status=$?
88200   grep -v '^ *+' conftest.er1 >conftest.err
88201   rm -f conftest.er1
88202   cat conftest.err >&5
88203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88204   (exit $ac_status); } &&
88205          { ac_try='test -z "$ac_cxx_werror_flag"
88206                          || test ! -s conftest.err'
88207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88208   (eval $ac_try) 2>&5
88209   ac_status=$?
88210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88211   (exit $ac_status); }; } &&
88212          { ac_try='test -s conftest.$ac_objext'
88213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88214   (eval $ac_try) 2>&5
88215   ac_status=$?
88216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88217   (exit $ac_status); }; }; then
88218   glibcxx_cv_func_isnan_use=yes
88219 else
88220   echo "$as_me: failed program was:" >&5
88221 sed 's/^/| /' conftest.$ac_ext >&5
88222
88223 glibcxx_cv_func_isnan_use=no
88224 fi
88225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88226       ac_ext=c
88227 ac_cpp='$CPP $CPPFLAGS'
88228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88231
88232
88233 fi
88234
88235   fi
88236   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88237 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88238
88239   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88240
88241 for ac_func in isnan
88242 do
88243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88244 echo "$as_me:$LINENO: checking for $ac_func" >&5
88245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88246 if eval "test \"\${$as_ac_var+set}\" = set"; then
88247   echo $ECHO_N "(cached) $ECHO_C" >&6
88248 else
88249   if test x$gcc_no_link = xyes; then
88250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88252    { (exit 1); exit 1; }; }
88253 fi
88254 cat >conftest.$ac_ext <<_ACEOF
88255 /* confdefs.h.  */
88256 _ACEOF
88257 cat confdefs.h >>conftest.$ac_ext
88258 cat >>conftest.$ac_ext <<_ACEOF
88259 /* end confdefs.h.  */
88260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88262 #define $ac_func innocuous_$ac_func
88263
88264 /* System header to define __stub macros and hopefully few prototypes,
88265     which can conflict with char $ac_func (); below.
88266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88267     <limits.h> exists even on freestanding compilers.  */
88268
88269 #ifdef __STDC__
88270 # include <limits.h>
88271 #else
88272 # include <assert.h>
88273 #endif
88274
88275 #undef $ac_func
88276
88277 /* Override any gcc2 internal prototype to avoid an error.  */
88278 #ifdef __cplusplus
88279 extern "C"
88280 {
88281 #endif
88282 /* We use char because int might match the return type of a gcc2
88283    builtin and then its argument prototype would still apply.  */
88284 char $ac_func ();
88285 /* The GNU C library defines this for functions which it implements
88286     to always fail with ENOSYS.  Some functions are actually named
88287     something starting with __ and the normal name is an alias.  */
88288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88289 choke me
88290 #else
88291 char (*f) () = $ac_func;
88292 #endif
88293 #ifdef __cplusplus
88294 }
88295 #endif
88296
88297 int
88298 main ()
88299 {
88300 return f != $ac_func;
88301   ;
88302   return 0;
88303 }
88304 _ACEOF
88305 rm -f conftest.$ac_objext conftest$ac_exeext
88306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88307   (eval $ac_link) 2>conftest.er1
88308   ac_status=$?
88309   grep -v '^ *+' conftest.er1 >conftest.err
88310   rm -f conftest.er1
88311   cat conftest.err >&5
88312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88313   (exit $ac_status); } &&
88314          { ac_try='test -z "$ac_c_werror_flag"
88315                          || test ! -s conftest.err'
88316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88317   (eval $ac_try) 2>&5
88318   ac_status=$?
88319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88320   (exit $ac_status); }; } &&
88321          { ac_try='test -s conftest$ac_exeext'
88322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88323   (eval $ac_try) 2>&5
88324   ac_status=$?
88325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88326   (exit $ac_status); }; }; then
88327   eval "$as_ac_var=yes"
88328 else
88329   echo "$as_me: failed program was:" >&5
88330 sed 's/^/| /' conftest.$ac_ext >&5
88331
88332 eval "$as_ac_var=no"
88333 fi
88334 rm -f conftest.err conftest.$ac_objext \
88335       conftest$ac_exeext conftest.$ac_ext
88336 fi
88337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88339 if test `eval echo '${'$as_ac_var'}'` = yes; then
88340   cat >>confdefs.h <<_ACEOF
88341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88342 _ACEOF
88343
88344 fi
88345 done
88346
88347   else
88348
88349   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88350 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88351   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88352     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88353   echo $ECHO_N "(cached) $ECHO_C" >&6
88354 else
88355
88356
88357
88358       ac_ext=cc
88359 ac_cpp='$CXXCPP $CPPFLAGS'
88360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88363
88364       cat >conftest.$ac_ext <<_ACEOF
88365 /* confdefs.h.  */
88366 _ACEOF
88367 cat confdefs.h >>conftest.$ac_ext
88368 cat >>conftest.$ac_ext <<_ACEOF
88369 /* end confdefs.h.  */
88370 #include <math.h>
88371                       #ifdef HAVE_IEEEFP_H
88372                       #include <ieeefp.h>
88373                       #endif
88374
88375 int
88376 main ()
88377 {
88378  _isnan(0);
88379   ;
88380   return 0;
88381 }
88382 _ACEOF
88383 rm -f conftest.$ac_objext
88384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88385   (eval $ac_compile) 2>conftest.er1
88386   ac_status=$?
88387   grep -v '^ *+' conftest.er1 >conftest.err
88388   rm -f conftest.er1
88389   cat conftest.err >&5
88390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88391   (exit $ac_status); } &&
88392          { ac_try='test -z "$ac_cxx_werror_flag"
88393                          || test ! -s conftest.err'
88394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88395   (eval $ac_try) 2>&5
88396   ac_status=$?
88397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88398   (exit $ac_status); }; } &&
88399          { ac_try='test -s conftest.$ac_objext'
88400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88401   (eval $ac_try) 2>&5
88402   ac_status=$?
88403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88404   (exit $ac_status); }; }; then
88405   glibcxx_cv_func__isnan_use=yes
88406 else
88407   echo "$as_me: failed program was:" >&5
88408 sed 's/^/| /' conftest.$ac_ext >&5
88409
88410 glibcxx_cv_func__isnan_use=no
88411 fi
88412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88413       ac_ext=c
88414 ac_cpp='$CPP $CPPFLAGS'
88415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88418
88419
88420 fi
88421
88422   fi
88423   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88424 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88425
88426     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88427
88428 for ac_func in _isnan
88429 do
88430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88431 echo "$as_me:$LINENO: checking for $ac_func" >&5
88432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88433 if eval "test \"\${$as_ac_var+set}\" = set"; then
88434   echo $ECHO_N "(cached) $ECHO_C" >&6
88435 else
88436   if test x$gcc_no_link = xyes; then
88437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88439    { (exit 1); exit 1; }; }
88440 fi
88441 cat >conftest.$ac_ext <<_ACEOF
88442 /* confdefs.h.  */
88443 _ACEOF
88444 cat confdefs.h >>conftest.$ac_ext
88445 cat >>conftest.$ac_ext <<_ACEOF
88446 /* end confdefs.h.  */
88447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88449 #define $ac_func innocuous_$ac_func
88450
88451 /* System header to define __stub macros and hopefully few prototypes,
88452     which can conflict with char $ac_func (); below.
88453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88454     <limits.h> exists even on freestanding compilers.  */
88455
88456 #ifdef __STDC__
88457 # include <limits.h>
88458 #else
88459 # include <assert.h>
88460 #endif
88461
88462 #undef $ac_func
88463
88464 /* Override any gcc2 internal prototype to avoid an error.  */
88465 #ifdef __cplusplus
88466 extern "C"
88467 {
88468 #endif
88469 /* We use char because int might match the return type of a gcc2
88470    builtin and then its argument prototype would still apply.  */
88471 char $ac_func ();
88472 /* The GNU C library defines this for functions which it implements
88473     to always fail with ENOSYS.  Some functions are actually named
88474     something starting with __ and the normal name is an alias.  */
88475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88476 choke me
88477 #else
88478 char (*f) () = $ac_func;
88479 #endif
88480 #ifdef __cplusplus
88481 }
88482 #endif
88483
88484 int
88485 main ()
88486 {
88487 return f != $ac_func;
88488   ;
88489   return 0;
88490 }
88491 _ACEOF
88492 rm -f conftest.$ac_objext conftest$ac_exeext
88493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88494   (eval $ac_link) 2>conftest.er1
88495   ac_status=$?
88496   grep -v '^ *+' conftest.er1 >conftest.err
88497   rm -f conftest.er1
88498   cat conftest.err >&5
88499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88500   (exit $ac_status); } &&
88501          { ac_try='test -z "$ac_c_werror_flag"
88502                          || test ! -s conftest.err'
88503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88504   (eval $ac_try) 2>&5
88505   ac_status=$?
88506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88507   (exit $ac_status); }; } &&
88508          { ac_try='test -s conftest$ac_exeext'
88509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88510   (eval $ac_try) 2>&5
88511   ac_status=$?
88512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88513   (exit $ac_status); }; }; then
88514   eval "$as_ac_var=yes"
88515 else
88516   echo "$as_me: failed program was:" >&5
88517 sed 's/^/| /' conftest.$ac_ext >&5
88518
88519 eval "$as_ac_var=no"
88520 fi
88521 rm -f conftest.err conftest.$ac_objext \
88522       conftest$ac_exeext conftest.$ac_ext
88523 fi
88524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88526 if test `eval echo '${'$as_ac_var'}'` = yes; then
88527   cat >>confdefs.h <<_ACEOF
88528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88529 _ACEOF
88530
88531 fi
88532 done
88533
88534     fi
88535   fi
88536
88537
88538
88539
88540
88541
88542   echo "$as_me:$LINENO: checking for finite declaration" >&5
88543 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88544   if test x${glibcxx_cv_func_finite_use+set} != xset; then
88545     if test "${glibcxx_cv_func_finite_use+set}" = set; then
88546   echo $ECHO_N "(cached) $ECHO_C" >&6
88547 else
88548
88549
88550
88551       ac_ext=cc
88552 ac_cpp='$CXXCPP $CPPFLAGS'
88553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88556
88557       cat >conftest.$ac_ext <<_ACEOF
88558 /* confdefs.h.  */
88559 _ACEOF
88560 cat confdefs.h >>conftest.$ac_ext
88561 cat >>conftest.$ac_ext <<_ACEOF
88562 /* end confdefs.h.  */
88563 #include <math.h>
88564                       #ifdef HAVE_IEEEFP_H
88565                       #include <ieeefp.h>
88566                       #endif
88567
88568 int
88569 main ()
88570 {
88571  finite(0);
88572   ;
88573   return 0;
88574 }
88575 _ACEOF
88576 rm -f conftest.$ac_objext
88577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88578   (eval $ac_compile) 2>conftest.er1
88579   ac_status=$?
88580   grep -v '^ *+' conftest.er1 >conftest.err
88581   rm -f conftest.er1
88582   cat conftest.err >&5
88583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584   (exit $ac_status); } &&
88585          { ac_try='test -z "$ac_cxx_werror_flag"
88586                          || test ! -s conftest.err'
88587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88588   (eval $ac_try) 2>&5
88589   ac_status=$?
88590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88591   (exit $ac_status); }; } &&
88592          { ac_try='test -s conftest.$ac_objext'
88593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88594   (eval $ac_try) 2>&5
88595   ac_status=$?
88596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88597   (exit $ac_status); }; }; then
88598   glibcxx_cv_func_finite_use=yes
88599 else
88600   echo "$as_me: failed program was:" >&5
88601 sed 's/^/| /' conftest.$ac_ext >&5
88602
88603 glibcxx_cv_func_finite_use=no
88604 fi
88605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88606       ac_ext=c
88607 ac_cpp='$CPP $CPPFLAGS'
88608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88611
88612
88613 fi
88614
88615   fi
88616   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88617 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88618
88619   if test x$glibcxx_cv_func_finite_use = x"yes"; then
88620
88621 for ac_func in finite
88622 do
88623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88624 echo "$as_me:$LINENO: checking for $ac_func" >&5
88625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88626 if eval "test \"\${$as_ac_var+set}\" = set"; then
88627   echo $ECHO_N "(cached) $ECHO_C" >&6
88628 else
88629   if test x$gcc_no_link = xyes; then
88630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88632    { (exit 1); exit 1; }; }
88633 fi
88634 cat >conftest.$ac_ext <<_ACEOF
88635 /* confdefs.h.  */
88636 _ACEOF
88637 cat confdefs.h >>conftest.$ac_ext
88638 cat >>conftest.$ac_ext <<_ACEOF
88639 /* end confdefs.h.  */
88640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88642 #define $ac_func innocuous_$ac_func
88643
88644 /* System header to define __stub macros and hopefully few prototypes,
88645     which can conflict with char $ac_func (); below.
88646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88647     <limits.h> exists even on freestanding compilers.  */
88648
88649 #ifdef __STDC__
88650 # include <limits.h>
88651 #else
88652 # include <assert.h>
88653 #endif
88654
88655 #undef $ac_func
88656
88657 /* Override any gcc2 internal prototype to avoid an error.  */
88658 #ifdef __cplusplus
88659 extern "C"
88660 {
88661 #endif
88662 /* We use char because int might match the return type of a gcc2
88663    builtin and then its argument prototype would still apply.  */
88664 char $ac_func ();
88665 /* The GNU C library defines this for functions which it implements
88666     to always fail with ENOSYS.  Some functions are actually named
88667     something starting with __ and the normal name is an alias.  */
88668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88669 choke me
88670 #else
88671 char (*f) () = $ac_func;
88672 #endif
88673 #ifdef __cplusplus
88674 }
88675 #endif
88676
88677 int
88678 main ()
88679 {
88680 return f != $ac_func;
88681   ;
88682   return 0;
88683 }
88684 _ACEOF
88685 rm -f conftest.$ac_objext conftest$ac_exeext
88686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88687   (eval $ac_link) 2>conftest.er1
88688   ac_status=$?
88689   grep -v '^ *+' conftest.er1 >conftest.err
88690   rm -f conftest.er1
88691   cat conftest.err >&5
88692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88693   (exit $ac_status); } &&
88694          { ac_try='test -z "$ac_c_werror_flag"
88695                          || test ! -s conftest.err'
88696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88697   (eval $ac_try) 2>&5
88698   ac_status=$?
88699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88700   (exit $ac_status); }; } &&
88701          { ac_try='test -s conftest$ac_exeext'
88702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88703   (eval $ac_try) 2>&5
88704   ac_status=$?
88705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88706   (exit $ac_status); }; }; then
88707   eval "$as_ac_var=yes"
88708 else
88709   echo "$as_me: failed program was:" >&5
88710 sed 's/^/| /' conftest.$ac_ext >&5
88711
88712 eval "$as_ac_var=no"
88713 fi
88714 rm -f conftest.err conftest.$ac_objext \
88715       conftest$ac_exeext conftest.$ac_ext
88716 fi
88717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88719 if test `eval echo '${'$as_ac_var'}'` = yes; then
88720   cat >>confdefs.h <<_ACEOF
88721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88722 _ACEOF
88723
88724 fi
88725 done
88726
88727   else
88728
88729   echo "$as_me:$LINENO: checking for _finite declaration" >&5
88730 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88731   if test x${glibcxx_cv_func__finite_use+set} != xset; then
88732     if test "${glibcxx_cv_func__finite_use+set}" = set; then
88733   echo $ECHO_N "(cached) $ECHO_C" >&6
88734 else
88735
88736
88737
88738       ac_ext=cc
88739 ac_cpp='$CXXCPP $CPPFLAGS'
88740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88743
88744       cat >conftest.$ac_ext <<_ACEOF
88745 /* confdefs.h.  */
88746 _ACEOF
88747 cat confdefs.h >>conftest.$ac_ext
88748 cat >>conftest.$ac_ext <<_ACEOF
88749 /* end confdefs.h.  */
88750 #include <math.h>
88751                       #ifdef HAVE_IEEEFP_H
88752                       #include <ieeefp.h>
88753                       #endif
88754
88755 int
88756 main ()
88757 {
88758  _finite(0);
88759   ;
88760   return 0;
88761 }
88762 _ACEOF
88763 rm -f conftest.$ac_objext
88764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88765   (eval $ac_compile) 2>conftest.er1
88766   ac_status=$?
88767   grep -v '^ *+' conftest.er1 >conftest.err
88768   rm -f conftest.er1
88769   cat conftest.err >&5
88770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88771   (exit $ac_status); } &&
88772          { ac_try='test -z "$ac_cxx_werror_flag"
88773                          || test ! -s conftest.err'
88774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88775   (eval $ac_try) 2>&5
88776   ac_status=$?
88777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88778   (exit $ac_status); }; } &&
88779          { ac_try='test -s conftest.$ac_objext'
88780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88781   (eval $ac_try) 2>&5
88782   ac_status=$?
88783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88784   (exit $ac_status); }; }; then
88785   glibcxx_cv_func__finite_use=yes
88786 else
88787   echo "$as_me: failed program was:" >&5
88788 sed 's/^/| /' conftest.$ac_ext >&5
88789
88790 glibcxx_cv_func__finite_use=no
88791 fi
88792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88793       ac_ext=c
88794 ac_cpp='$CPP $CPPFLAGS'
88795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88798
88799
88800 fi
88801
88802   fi
88803   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88804 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88805
88806     if test x$glibcxx_cv_func__finite_use = x"yes"; then
88807
88808 for ac_func in _finite
88809 do
88810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88811 echo "$as_me:$LINENO: checking for $ac_func" >&5
88812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88813 if eval "test \"\${$as_ac_var+set}\" = set"; then
88814   echo $ECHO_N "(cached) $ECHO_C" >&6
88815 else
88816   if test x$gcc_no_link = xyes; then
88817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88819    { (exit 1); exit 1; }; }
88820 fi
88821 cat >conftest.$ac_ext <<_ACEOF
88822 /* confdefs.h.  */
88823 _ACEOF
88824 cat confdefs.h >>conftest.$ac_ext
88825 cat >>conftest.$ac_ext <<_ACEOF
88826 /* end confdefs.h.  */
88827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88829 #define $ac_func innocuous_$ac_func
88830
88831 /* System header to define __stub macros and hopefully few prototypes,
88832     which can conflict with char $ac_func (); below.
88833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88834     <limits.h> exists even on freestanding compilers.  */
88835
88836 #ifdef __STDC__
88837 # include <limits.h>
88838 #else
88839 # include <assert.h>
88840 #endif
88841
88842 #undef $ac_func
88843
88844 /* Override any gcc2 internal prototype to avoid an error.  */
88845 #ifdef __cplusplus
88846 extern "C"
88847 {
88848 #endif
88849 /* We use char because int might match the return type of a gcc2
88850    builtin and then its argument prototype would still apply.  */
88851 char $ac_func ();
88852 /* The GNU C library defines this for functions which it implements
88853     to always fail with ENOSYS.  Some functions are actually named
88854     something starting with __ and the normal name is an alias.  */
88855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88856 choke me
88857 #else
88858 char (*f) () = $ac_func;
88859 #endif
88860 #ifdef __cplusplus
88861 }
88862 #endif
88863
88864 int
88865 main ()
88866 {
88867 return f != $ac_func;
88868   ;
88869   return 0;
88870 }
88871 _ACEOF
88872 rm -f conftest.$ac_objext conftest$ac_exeext
88873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88874   (eval $ac_link) 2>conftest.er1
88875   ac_status=$?
88876   grep -v '^ *+' conftest.er1 >conftest.err
88877   rm -f conftest.er1
88878   cat conftest.err >&5
88879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88880   (exit $ac_status); } &&
88881          { ac_try='test -z "$ac_c_werror_flag"
88882                          || test ! -s conftest.err'
88883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88884   (eval $ac_try) 2>&5
88885   ac_status=$?
88886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88887   (exit $ac_status); }; } &&
88888          { ac_try='test -s conftest$ac_exeext'
88889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88890   (eval $ac_try) 2>&5
88891   ac_status=$?
88892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88893   (exit $ac_status); }; }; then
88894   eval "$as_ac_var=yes"
88895 else
88896   echo "$as_me: failed program was:" >&5
88897 sed 's/^/| /' conftest.$ac_ext >&5
88898
88899 eval "$as_ac_var=no"
88900 fi
88901 rm -f conftest.err conftest.$ac_objext \
88902       conftest$ac_exeext conftest.$ac_ext
88903 fi
88904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88906 if test `eval echo '${'$as_ac_var'}'` = yes; then
88907   cat >>confdefs.h <<_ACEOF
88908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88909 _ACEOF
88910
88911 fi
88912 done
88913
88914     fi
88915   fi
88916
88917
88918
88919
88920
88921
88922   echo "$as_me:$LINENO: checking for copysign declaration" >&5
88923 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
88924   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
88925     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
88926   echo $ECHO_N "(cached) $ECHO_C" >&6
88927 else
88928
88929
88930
88931       ac_ext=cc
88932 ac_cpp='$CXXCPP $CPPFLAGS'
88933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88936
88937       cat >conftest.$ac_ext <<_ACEOF
88938 /* confdefs.h.  */
88939 _ACEOF
88940 cat confdefs.h >>conftest.$ac_ext
88941 cat >>conftest.$ac_ext <<_ACEOF
88942 /* end confdefs.h.  */
88943 #include <math.h>
88944 int
88945 main ()
88946 {
88947  copysign(0, 0);
88948   ;
88949   return 0;
88950 }
88951 _ACEOF
88952 rm -f conftest.$ac_objext
88953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88954   (eval $ac_compile) 2>conftest.er1
88955   ac_status=$?
88956   grep -v '^ *+' conftest.er1 >conftest.err
88957   rm -f conftest.er1
88958   cat conftest.err >&5
88959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88960   (exit $ac_status); } &&
88961          { ac_try='test -z "$ac_cxx_werror_flag"
88962                          || test ! -s conftest.err'
88963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88964   (eval $ac_try) 2>&5
88965   ac_status=$?
88966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88967   (exit $ac_status); }; } &&
88968          { ac_try='test -s conftest.$ac_objext'
88969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88970   (eval $ac_try) 2>&5
88971   ac_status=$?
88972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88973   (exit $ac_status); }; }; then
88974   glibcxx_cv_func_copysign_use=yes
88975 else
88976   echo "$as_me: failed program was:" >&5
88977 sed 's/^/| /' conftest.$ac_ext >&5
88978
88979 glibcxx_cv_func_copysign_use=no
88980 fi
88981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88982       ac_ext=c
88983 ac_cpp='$CPP $CPPFLAGS'
88984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88987
88988
88989 fi
88990
88991   fi
88992   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88993 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88994
88995   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88996
88997 for ac_func in copysign
88998 do
88999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89000 echo "$as_me:$LINENO: checking for $ac_func" >&5
89001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89002 if eval "test \"\${$as_ac_var+set}\" = set"; then
89003   echo $ECHO_N "(cached) $ECHO_C" >&6
89004 else
89005   if test x$gcc_no_link = xyes; then
89006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89008    { (exit 1); exit 1; }; }
89009 fi
89010 cat >conftest.$ac_ext <<_ACEOF
89011 /* confdefs.h.  */
89012 _ACEOF
89013 cat confdefs.h >>conftest.$ac_ext
89014 cat >>conftest.$ac_ext <<_ACEOF
89015 /* end confdefs.h.  */
89016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89018 #define $ac_func innocuous_$ac_func
89019
89020 /* System header to define __stub macros and hopefully few prototypes,
89021     which can conflict with char $ac_func (); below.
89022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89023     <limits.h> exists even on freestanding compilers.  */
89024
89025 #ifdef __STDC__
89026 # include <limits.h>
89027 #else
89028 # include <assert.h>
89029 #endif
89030
89031 #undef $ac_func
89032
89033 /* Override any gcc2 internal prototype to avoid an error.  */
89034 #ifdef __cplusplus
89035 extern "C"
89036 {
89037 #endif
89038 /* We use char because int might match the return type of a gcc2
89039    builtin and then its argument prototype would still apply.  */
89040 char $ac_func ();
89041 /* The GNU C library defines this for functions which it implements
89042     to always fail with ENOSYS.  Some functions are actually named
89043     something starting with __ and the normal name is an alias.  */
89044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89045 choke me
89046 #else
89047 char (*f) () = $ac_func;
89048 #endif
89049 #ifdef __cplusplus
89050 }
89051 #endif
89052
89053 int
89054 main ()
89055 {
89056 return f != $ac_func;
89057   ;
89058   return 0;
89059 }
89060 _ACEOF
89061 rm -f conftest.$ac_objext conftest$ac_exeext
89062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89063   (eval $ac_link) 2>conftest.er1
89064   ac_status=$?
89065   grep -v '^ *+' conftest.er1 >conftest.err
89066   rm -f conftest.er1
89067   cat conftest.err >&5
89068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89069   (exit $ac_status); } &&
89070          { ac_try='test -z "$ac_c_werror_flag"
89071                          || test ! -s conftest.err'
89072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89073   (eval $ac_try) 2>&5
89074   ac_status=$?
89075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89076   (exit $ac_status); }; } &&
89077          { ac_try='test -s conftest$ac_exeext'
89078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89079   (eval $ac_try) 2>&5
89080   ac_status=$?
89081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89082   (exit $ac_status); }; }; then
89083   eval "$as_ac_var=yes"
89084 else
89085   echo "$as_me: failed program was:" >&5
89086 sed 's/^/| /' conftest.$ac_ext >&5
89087
89088 eval "$as_ac_var=no"
89089 fi
89090 rm -f conftest.err conftest.$ac_objext \
89091       conftest$ac_exeext conftest.$ac_ext
89092 fi
89093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89095 if test `eval echo '${'$as_ac_var'}'` = yes; then
89096   cat >>confdefs.h <<_ACEOF
89097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89098 _ACEOF
89099
89100 fi
89101 done
89102
89103   else
89104
89105   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89106 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89107   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89108     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89109   echo $ECHO_N "(cached) $ECHO_C" >&6
89110 else
89111
89112
89113
89114       ac_ext=cc
89115 ac_cpp='$CXXCPP $CPPFLAGS'
89116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89119
89120       cat >conftest.$ac_ext <<_ACEOF
89121 /* confdefs.h.  */
89122 _ACEOF
89123 cat confdefs.h >>conftest.$ac_ext
89124 cat >>conftest.$ac_ext <<_ACEOF
89125 /* end confdefs.h.  */
89126 #include <math.h>
89127 int
89128 main ()
89129 {
89130  _copysign(0, 0);
89131   ;
89132   return 0;
89133 }
89134 _ACEOF
89135 rm -f conftest.$ac_objext
89136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89137   (eval $ac_compile) 2>conftest.er1
89138   ac_status=$?
89139   grep -v '^ *+' conftest.er1 >conftest.err
89140   rm -f conftest.er1
89141   cat conftest.err >&5
89142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89143   (exit $ac_status); } &&
89144          { ac_try='test -z "$ac_cxx_werror_flag"
89145                          || test ! -s conftest.err'
89146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89147   (eval $ac_try) 2>&5
89148   ac_status=$?
89149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89150   (exit $ac_status); }; } &&
89151          { ac_try='test -s conftest.$ac_objext'
89152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89153   (eval $ac_try) 2>&5
89154   ac_status=$?
89155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89156   (exit $ac_status); }; }; then
89157   glibcxx_cv_func__copysign_use=yes
89158 else
89159   echo "$as_me: failed program was:" >&5
89160 sed 's/^/| /' conftest.$ac_ext >&5
89161
89162 glibcxx_cv_func__copysign_use=no
89163 fi
89164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89165       ac_ext=c
89166 ac_cpp='$CPP $CPPFLAGS'
89167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89170
89171
89172 fi
89173
89174   fi
89175   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89176 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89177
89178     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89179
89180 for ac_func in _copysign
89181 do
89182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89183 echo "$as_me:$LINENO: checking for $ac_func" >&5
89184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89185 if eval "test \"\${$as_ac_var+set}\" = set"; then
89186   echo $ECHO_N "(cached) $ECHO_C" >&6
89187 else
89188   if test x$gcc_no_link = xyes; then
89189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89191    { (exit 1); exit 1; }; }
89192 fi
89193 cat >conftest.$ac_ext <<_ACEOF
89194 /* confdefs.h.  */
89195 _ACEOF
89196 cat confdefs.h >>conftest.$ac_ext
89197 cat >>conftest.$ac_ext <<_ACEOF
89198 /* end confdefs.h.  */
89199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89200    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89201 #define $ac_func innocuous_$ac_func
89202
89203 /* System header to define __stub macros and hopefully few prototypes,
89204     which can conflict with char $ac_func (); below.
89205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89206     <limits.h> exists even on freestanding compilers.  */
89207
89208 #ifdef __STDC__
89209 # include <limits.h>
89210 #else
89211 # include <assert.h>
89212 #endif
89213
89214 #undef $ac_func
89215
89216 /* Override any gcc2 internal prototype to avoid an error.  */
89217 #ifdef __cplusplus
89218 extern "C"
89219 {
89220 #endif
89221 /* We use char because int might match the return type of a gcc2
89222    builtin and then its argument prototype would still apply.  */
89223 char $ac_func ();
89224 /* The GNU C library defines this for functions which it implements
89225     to always fail with ENOSYS.  Some functions are actually named
89226     something starting with __ and the normal name is an alias.  */
89227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89228 choke me
89229 #else
89230 char (*f) () = $ac_func;
89231 #endif
89232 #ifdef __cplusplus
89233 }
89234 #endif
89235
89236 int
89237 main ()
89238 {
89239 return f != $ac_func;
89240   ;
89241   return 0;
89242 }
89243 _ACEOF
89244 rm -f conftest.$ac_objext conftest$ac_exeext
89245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89246   (eval $ac_link) 2>conftest.er1
89247   ac_status=$?
89248   grep -v '^ *+' conftest.er1 >conftest.err
89249   rm -f conftest.er1
89250   cat conftest.err >&5
89251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89252   (exit $ac_status); } &&
89253          { ac_try='test -z "$ac_c_werror_flag"
89254                          || test ! -s conftest.err'
89255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89256   (eval $ac_try) 2>&5
89257   ac_status=$?
89258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89259   (exit $ac_status); }; } &&
89260          { ac_try='test -s conftest$ac_exeext'
89261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89262   (eval $ac_try) 2>&5
89263   ac_status=$?
89264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89265   (exit $ac_status); }; }; then
89266   eval "$as_ac_var=yes"
89267 else
89268   echo "$as_me: failed program was:" >&5
89269 sed 's/^/| /' conftest.$ac_ext >&5
89270
89271 eval "$as_ac_var=no"
89272 fi
89273 rm -f conftest.err conftest.$ac_objext \
89274       conftest$ac_exeext conftest.$ac_ext
89275 fi
89276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89278 if test `eval echo '${'$as_ac_var'}'` = yes; then
89279   cat >>confdefs.h <<_ACEOF
89280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89281 _ACEOF
89282
89283 fi
89284 done
89285
89286     fi
89287   fi
89288
89289
89290
89291
89292
89293
89294   echo "$as_me:$LINENO: checking for sincos declaration" >&5
89295 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89296   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89297     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89298   echo $ECHO_N "(cached) $ECHO_C" >&6
89299 else
89300
89301
89302
89303       ac_ext=cc
89304 ac_cpp='$CXXCPP $CPPFLAGS'
89305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89308
89309       cat >conftest.$ac_ext <<_ACEOF
89310 /* confdefs.h.  */
89311 _ACEOF
89312 cat confdefs.h >>conftest.$ac_ext
89313 cat >>conftest.$ac_ext <<_ACEOF
89314 /* end confdefs.h.  */
89315 #include <math.h>
89316 int
89317 main ()
89318 {
89319  sincos(0, 0, 0);
89320   ;
89321   return 0;
89322 }
89323 _ACEOF
89324 rm -f conftest.$ac_objext
89325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89326   (eval $ac_compile) 2>conftest.er1
89327   ac_status=$?
89328   grep -v '^ *+' conftest.er1 >conftest.err
89329   rm -f conftest.er1
89330   cat conftest.err >&5
89331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89332   (exit $ac_status); } &&
89333          { ac_try='test -z "$ac_cxx_werror_flag"
89334                          || test ! -s conftest.err'
89335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89336   (eval $ac_try) 2>&5
89337   ac_status=$?
89338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89339   (exit $ac_status); }; } &&
89340          { ac_try='test -s conftest.$ac_objext'
89341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89342   (eval $ac_try) 2>&5
89343   ac_status=$?
89344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89345   (exit $ac_status); }; }; then
89346   glibcxx_cv_func_sincos_use=yes
89347 else
89348   echo "$as_me: failed program was:" >&5
89349 sed 's/^/| /' conftest.$ac_ext >&5
89350
89351 glibcxx_cv_func_sincos_use=no
89352 fi
89353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89354       ac_ext=c
89355 ac_cpp='$CPP $CPPFLAGS'
89356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89359
89360
89361 fi
89362
89363   fi
89364   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89365 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89366
89367   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89368
89369 for ac_func in sincos
89370 do
89371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89372 echo "$as_me:$LINENO: checking for $ac_func" >&5
89373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89374 if eval "test \"\${$as_ac_var+set}\" = set"; then
89375   echo $ECHO_N "(cached) $ECHO_C" >&6
89376 else
89377   if test x$gcc_no_link = xyes; then
89378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89380    { (exit 1); exit 1; }; }
89381 fi
89382 cat >conftest.$ac_ext <<_ACEOF
89383 /* confdefs.h.  */
89384 _ACEOF
89385 cat confdefs.h >>conftest.$ac_ext
89386 cat >>conftest.$ac_ext <<_ACEOF
89387 /* end confdefs.h.  */
89388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89390 #define $ac_func innocuous_$ac_func
89391
89392 /* System header to define __stub macros and hopefully few prototypes,
89393     which can conflict with char $ac_func (); below.
89394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89395     <limits.h> exists even on freestanding compilers.  */
89396
89397 #ifdef __STDC__
89398 # include <limits.h>
89399 #else
89400 # include <assert.h>
89401 #endif
89402
89403 #undef $ac_func
89404
89405 /* Override any gcc2 internal prototype to avoid an error.  */
89406 #ifdef __cplusplus
89407 extern "C"
89408 {
89409 #endif
89410 /* We use char because int might match the return type of a gcc2
89411    builtin and then its argument prototype would still apply.  */
89412 char $ac_func ();
89413 /* The GNU C library defines this for functions which it implements
89414     to always fail with ENOSYS.  Some functions are actually named
89415     something starting with __ and the normal name is an alias.  */
89416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89417 choke me
89418 #else
89419 char (*f) () = $ac_func;
89420 #endif
89421 #ifdef __cplusplus
89422 }
89423 #endif
89424
89425 int
89426 main ()
89427 {
89428 return f != $ac_func;
89429   ;
89430   return 0;
89431 }
89432 _ACEOF
89433 rm -f conftest.$ac_objext conftest$ac_exeext
89434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89435   (eval $ac_link) 2>conftest.er1
89436   ac_status=$?
89437   grep -v '^ *+' conftest.er1 >conftest.err
89438   rm -f conftest.er1
89439   cat conftest.err >&5
89440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89441   (exit $ac_status); } &&
89442          { ac_try='test -z "$ac_c_werror_flag"
89443                          || test ! -s conftest.err'
89444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89445   (eval $ac_try) 2>&5
89446   ac_status=$?
89447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89448   (exit $ac_status); }; } &&
89449          { ac_try='test -s conftest$ac_exeext'
89450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89451   (eval $ac_try) 2>&5
89452   ac_status=$?
89453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89454   (exit $ac_status); }; }; then
89455   eval "$as_ac_var=yes"
89456 else
89457   echo "$as_me: failed program was:" >&5
89458 sed 's/^/| /' conftest.$ac_ext >&5
89459
89460 eval "$as_ac_var=no"
89461 fi
89462 rm -f conftest.err conftest.$ac_objext \
89463       conftest$ac_exeext conftest.$ac_ext
89464 fi
89465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89467 if test `eval echo '${'$as_ac_var'}'` = yes; then
89468   cat >>confdefs.h <<_ACEOF
89469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89470 _ACEOF
89471
89472 fi
89473 done
89474
89475   else
89476
89477   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89478 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89479   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89480     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89481   echo $ECHO_N "(cached) $ECHO_C" >&6
89482 else
89483
89484
89485
89486       ac_ext=cc
89487 ac_cpp='$CXXCPP $CPPFLAGS'
89488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89491
89492       cat >conftest.$ac_ext <<_ACEOF
89493 /* confdefs.h.  */
89494 _ACEOF
89495 cat confdefs.h >>conftest.$ac_ext
89496 cat >>conftest.$ac_ext <<_ACEOF
89497 /* end confdefs.h.  */
89498 #include <math.h>
89499 int
89500 main ()
89501 {
89502  _sincos(0, 0, 0);
89503   ;
89504   return 0;
89505 }
89506 _ACEOF
89507 rm -f conftest.$ac_objext
89508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89509   (eval $ac_compile) 2>conftest.er1
89510   ac_status=$?
89511   grep -v '^ *+' conftest.er1 >conftest.err
89512   rm -f conftest.er1
89513   cat conftest.err >&5
89514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89515   (exit $ac_status); } &&
89516          { ac_try='test -z "$ac_cxx_werror_flag"
89517                          || test ! -s conftest.err'
89518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519   (eval $ac_try) 2>&5
89520   ac_status=$?
89521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522   (exit $ac_status); }; } &&
89523          { ac_try='test -s conftest.$ac_objext'
89524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89525   (eval $ac_try) 2>&5
89526   ac_status=$?
89527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89528   (exit $ac_status); }; }; then
89529   glibcxx_cv_func__sincos_use=yes
89530 else
89531   echo "$as_me: failed program was:" >&5
89532 sed 's/^/| /' conftest.$ac_ext >&5
89533
89534 glibcxx_cv_func__sincos_use=no
89535 fi
89536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89537       ac_ext=c
89538 ac_cpp='$CPP $CPPFLAGS'
89539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89542
89543
89544 fi
89545
89546   fi
89547   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89548 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89549
89550     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89551
89552 for ac_func in _sincos
89553 do
89554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89555 echo "$as_me:$LINENO: checking for $ac_func" >&5
89556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89557 if eval "test \"\${$as_ac_var+set}\" = set"; then
89558   echo $ECHO_N "(cached) $ECHO_C" >&6
89559 else
89560   if test x$gcc_no_link = xyes; then
89561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89563    { (exit 1); exit 1; }; }
89564 fi
89565 cat >conftest.$ac_ext <<_ACEOF
89566 /* confdefs.h.  */
89567 _ACEOF
89568 cat confdefs.h >>conftest.$ac_ext
89569 cat >>conftest.$ac_ext <<_ACEOF
89570 /* end confdefs.h.  */
89571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89573 #define $ac_func innocuous_$ac_func
89574
89575 /* System header to define __stub macros and hopefully few prototypes,
89576     which can conflict with char $ac_func (); below.
89577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89578     <limits.h> exists even on freestanding compilers.  */
89579
89580 #ifdef __STDC__
89581 # include <limits.h>
89582 #else
89583 # include <assert.h>
89584 #endif
89585
89586 #undef $ac_func
89587
89588 /* Override any gcc2 internal prototype to avoid an error.  */
89589 #ifdef __cplusplus
89590 extern "C"
89591 {
89592 #endif
89593 /* We use char because int might match the return type of a gcc2
89594    builtin and then its argument prototype would still apply.  */
89595 char $ac_func ();
89596 /* The GNU C library defines this for functions which it implements
89597     to always fail with ENOSYS.  Some functions are actually named
89598     something starting with __ and the normal name is an alias.  */
89599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89600 choke me
89601 #else
89602 char (*f) () = $ac_func;
89603 #endif
89604 #ifdef __cplusplus
89605 }
89606 #endif
89607
89608 int
89609 main ()
89610 {
89611 return f != $ac_func;
89612   ;
89613   return 0;
89614 }
89615 _ACEOF
89616 rm -f conftest.$ac_objext conftest$ac_exeext
89617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89618   (eval $ac_link) 2>conftest.er1
89619   ac_status=$?
89620   grep -v '^ *+' conftest.er1 >conftest.err
89621   rm -f conftest.er1
89622   cat conftest.err >&5
89623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89624   (exit $ac_status); } &&
89625          { ac_try='test -z "$ac_c_werror_flag"
89626                          || test ! -s conftest.err'
89627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89628   (eval $ac_try) 2>&5
89629   ac_status=$?
89630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89631   (exit $ac_status); }; } &&
89632          { ac_try='test -s conftest$ac_exeext'
89633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89634   (eval $ac_try) 2>&5
89635   ac_status=$?
89636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89637   (exit $ac_status); }; }; then
89638   eval "$as_ac_var=yes"
89639 else
89640   echo "$as_me: failed program was:" >&5
89641 sed 's/^/| /' conftest.$ac_ext >&5
89642
89643 eval "$as_ac_var=no"
89644 fi
89645 rm -f conftest.err conftest.$ac_objext \
89646       conftest$ac_exeext conftest.$ac_ext
89647 fi
89648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89650 if test `eval echo '${'$as_ac_var'}'` = yes; then
89651   cat >>confdefs.h <<_ACEOF
89652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89653 _ACEOF
89654
89655 fi
89656 done
89657
89658     fi
89659   fi
89660
89661
89662
89663
89664
89665
89666   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89667 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89668   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89669     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89670   echo $ECHO_N "(cached) $ECHO_C" >&6
89671 else
89672
89673
89674
89675       ac_ext=cc
89676 ac_cpp='$CXXCPP $CPPFLAGS'
89677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89680
89681       cat >conftest.$ac_ext <<_ACEOF
89682 /* confdefs.h.  */
89683 _ACEOF
89684 cat confdefs.h >>conftest.$ac_ext
89685 cat >>conftest.$ac_ext <<_ACEOF
89686 /* end confdefs.h.  */
89687 #include <math.h>
89688                       #ifdef HAVE_IEEEFP_H
89689                       #include <ieeefp.h>
89690                       #endif
89691
89692 int
89693 main ()
89694 {
89695  fpclass(0);
89696   ;
89697   return 0;
89698 }
89699 _ACEOF
89700 rm -f conftest.$ac_objext
89701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89702   (eval $ac_compile) 2>conftest.er1
89703   ac_status=$?
89704   grep -v '^ *+' conftest.er1 >conftest.err
89705   rm -f conftest.er1
89706   cat conftest.err >&5
89707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89708   (exit $ac_status); } &&
89709          { ac_try='test -z "$ac_cxx_werror_flag"
89710                          || test ! -s conftest.err'
89711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89712   (eval $ac_try) 2>&5
89713   ac_status=$?
89714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89715   (exit $ac_status); }; } &&
89716          { ac_try='test -s conftest.$ac_objext'
89717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89718   (eval $ac_try) 2>&5
89719   ac_status=$?
89720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89721   (exit $ac_status); }; }; then
89722   glibcxx_cv_func_fpclass_use=yes
89723 else
89724   echo "$as_me: failed program was:" >&5
89725 sed 's/^/| /' conftest.$ac_ext >&5
89726
89727 glibcxx_cv_func_fpclass_use=no
89728 fi
89729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89730       ac_ext=c
89731 ac_cpp='$CPP $CPPFLAGS'
89732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89735
89736
89737 fi
89738
89739   fi
89740   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89741 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89742
89743   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89744
89745 for ac_func in fpclass
89746 do
89747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89748 echo "$as_me:$LINENO: checking for $ac_func" >&5
89749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89750 if eval "test \"\${$as_ac_var+set}\" = set"; then
89751   echo $ECHO_N "(cached) $ECHO_C" >&6
89752 else
89753   if test x$gcc_no_link = xyes; then
89754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89756    { (exit 1); exit 1; }; }
89757 fi
89758 cat >conftest.$ac_ext <<_ACEOF
89759 /* confdefs.h.  */
89760 _ACEOF
89761 cat confdefs.h >>conftest.$ac_ext
89762 cat >>conftest.$ac_ext <<_ACEOF
89763 /* end confdefs.h.  */
89764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89765    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89766 #define $ac_func innocuous_$ac_func
89767
89768 /* System header to define __stub macros and hopefully few prototypes,
89769     which can conflict with char $ac_func (); below.
89770     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89771     <limits.h> exists even on freestanding compilers.  */
89772
89773 #ifdef __STDC__
89774 # include <limits.h>
89775 #else
89776 # include <assert.h>
89777 #endif
89778
89779 #undef $ac_func
89780
89781 /* Override any gcc2 internal prototype to avoid an error.  */
89782 #ifdef __cplusplus
89783 extern "C"
89784 {
89785 #endif
89786 /* We use char because int might match the return type of a gcc2
89787    builtin and then its argument prototype would still apply.  */
89788 char $ac_func ();
89789 /* The GNU C library defines this for functions which it implements
89790     to always fail with ENOSYS.  Some functions are actually named
89791     something starting with __ and the normal name is an alias.  */
89792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89793 choke me
89794 #else
89795 char (*f) () = $ac_func;
89796 #endif
89797 #ifdef __cplusplus
89798 }
89799 #endif
89800
89801 int
89802 main ()
89803 {
89804 return f != $ac_func;
89805   ;
89806   return 0;
89807 }
89808 _ACEOF
89809 rm -f conftest.$ac_objext conftest$ac_exeext
89810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89811   (eval $ac_link) 2>conftest.er1
89812   ac_status=$?
89813   grep -v '^ *+' conftest.er1 >conftest.err
89814   rm -f conftest.er1
89815   cat conftest.err >&5
89816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89817   (exit $ac_status); } &&
89818          { ac_try='test -z "$ac_c_werror_flag"
89819                          || test ! -s conftest.err'
89820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89821   (eval $ac_try) 2>&5
89822   ac_status=$?
89823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89824   (exit $ac_status); }; } &&
89825          { ac_try='test -s conftest$ac_exeext'
89826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89827   (eval $ac_try) 2>&5
89828   ac_status=$?
89829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89830   (exit $ac_status); }; }; then
89831   eval "$as_ac_var=yes"
89832 else
89833   echo "$as_me: failed program was:" >&5
89834 sed 's/^/| /' conftest.$ac_ext >&5
89835
89836 eval "$as_ac_var=no"
89837 fi
89838 rm -f conftest.err conftest.$ac_objext \
89839       conftest$ac_exeext conftest.$ac_ext
89840 fi
89841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89843 if test `eval echo '${'$as_ac_var'}'` = yes; then
89844   cat >>confdefs.h <<_ACEOF
89845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89846 _ACEOF
89847
89848 fi
89849 done
89850
89851   else
89852
89853   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
89854 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
89855   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
89856     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
89857   echo $ECHO_N "(cached) $ECHO_C" >&6
89858 else
89859
89860
89861
89862       ac_ext=cc
89863 ac_cpp='$CXXCPP $CPPFLAGS'
89864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89867
89868       cat >conftest.$ac_ext <<_ACEOF
89869 /* confdefs.h.  */
89870 _ACEOF
89871 cat confdefs.h >>conftest.$ac_ext
89872 cat >>conftest.$ac_ext <<_ACEOF
89873 /* end confdefs.h.  */
89874 #include <math.h>
89875                       #ifdef HAVE_IEEEFP_H
89876                       #include <ieeefp.h>
89877                       #endif
89878
89879 int
89880 main ()
89881 {
89882  _fpclass(0);
89883   ;
89884   return 0;
89885 }
89886 _ACEOF
89887 rm -f conftest.$ac_objext
89888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89889   (eval $ac_compile) 2>conftest.er1
89890   ac_status=$?
89891   grep -v '^ *+' conftest.er1 >conftest.err
89892   rm -f conftest.er1
89893   cat conftest.err >&5
89894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89895   (exit $ac_status); } &&
89896          { ac_try='test -z "$ac_cxx_werror_flag"
89897                          || test ! -s conftest.err'
89898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89899   (eval $ac_try) 2>&5
89900   ac_status=$?
89901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89902   (exit $ac_status); }; } &&
89903          { ac_try='test -s conftest.$ac_objext'
89904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89905   (eval $ac_try) 2>&5
89906   ac_status=$?
89907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89908   (exit $ac_status); }; }; then
89909   glibcxx_cv_func__fpclass_use=yes
89910 else
89911   echo "$as_me: failed program was:" >&5
89912 sed 's/^/| /' conftest.$ac_ext >&5
89913
89914 glibcxx_cv_func__fpclass_use=no
89915 fi
89916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89917       ac_ext=c
89918 ac_cpp='$CPP $CPPFLAGS'
89919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89922
89923
89924 fi
89925
89926   fi
89927   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
89928 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
89929
89930     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
89931
89932 for ac_func in _fpclass
89933 do
89934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89935 echo "$as_me:$LINENO: checking for $ac_func" >&5
89936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89937 if eval "test \"\${$as_ac_var+set}\" = set"; then
89938   echo $ECHO_N "(cached) $ECHO_C" >&6
89939 else
89940   if test x$gcc_no_link = xyes; then
89941   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89943    { (exit 1); exit 1; }; }
89944 fi
89945 cat >conftest.$ac_ext <<_ACEOF
89946 /* confdefs.h.  */
89947 _ACEOF
89948 cat confdefs.h >>conftest.$ac_ext
89949 cat >>conftest.$ac_ext <<_ACEOF
89950 /* end confdefs.h.  */
89951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89952    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89953 #define $ac_func innocuous_$ac_func
89954
89955 /* System header to define __stub macros and hopefully few prototypes,
89956     which can conflict with char $ac_func (); below.
89957     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89958     <limits.h> exists even on freestanding compilers.  */
89959
89960 #ifdef __STDC__
89961 # include <limits.h>
89962 #else
89963 # include <assert.h>
89964 #endif
89965
89966 #undef $ac_func
89967
89968 /* Override any gcc2 internal prototype to avoid an error.  */
89969 #ifdef __cplusplus
89970 extern "C"
89971 {
89972 #endif
89973 /* We use char because int might match the return type of a gcc2
89974    builtin and then its argument prototype would still apply.  */
89975 char $ac_func ();
89976 /* The GNU C library defines this for functions which it implements
89977     to always fail with ENOSYS.  Some functions are actually named
89978     something starting with __ and the normal name is an alias.  */
89979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89980 choke me
89981 #else
89982 char (*f) () = $ac_func;
89983 #endif
89984 #ifdef __cplusplus
89985 }
89986 #endif
89987
89988 int
89989 main ()
89990 {
89991 return f != $ac_func;
89992   ;
89993   return 0;
89994 }
89995 _ACEOF
89996 rm -f conftest.$ac_objext conftest$ac_exeext
89997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89998   (eval $ac_link) 2>conftest.er1
89999   ac_status=$?
90000   grep -v '^ *+' conftest.er1 >conftest.err
90001   rm -f conftest.er1
90002   cat conftest.err >&5
90003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90004   (exit $ac_status); } &&
90005          { ac_try='test -z "$ac_c_werror_flag"
90006                          || test ! -s conftest.err'
90007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90008   (eval $ac_try) 2>&5
90009   ac_status=$?
90010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90011   (exit $ac_status); }; } &&
90012          { ac_try='test -s conftest$ac_exeext'
90013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90014   (eval $ac_try) 2>&5
90015   ac_status=$?
90016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90017   (exit $ac_status); }; }; then
90018   eval "$as_ac_var=yes"
90019 else
90020   echo "$as_me: failed program was:" >&5
90021 sed 's/^/| /' conftest.$ac_ext >&5
90022
90023 eval "$as_ac_var=no"
90024 fi
90025 rm -f conftest.err conftest.$ac_objext \
90026       conftest$ac_exeext conftest.$ac_ext
90027 fi
90028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90030 if test `eval echo '${'$as_ac_var'}'` = yes; then
90031   cat >>confdefs.h <<_ACEOF
90032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90033 _ACEOF
90034
90035 fi
90036 done
90037
90038     fi
90039   fi
90040
90041
90042
90043
90044
90045
90046   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90047 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90048   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90049     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90050   echo $ECHO_N "(cached) $ECHO_C" >&6
90051 else
90052
90053
90054
90055       ac_ext=cc
90056 ac_cpp='$CXXCPP $CPPFLAGS'
90057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90060
90061       cat >conftest.$ac_ext <<_ACEOF
90062 /* confdefs.h.  */
90063 _ACEOF
90064 cat confdefs.h >>conftest.$ac_ext
90065 cat >>conftest.$ac_ext <<_ACEOF
90066 /* end confdefs.h.  */
90067 #include <math.h>
90068                       #ifdef HAVE_IEEEFP_H
90069                       #include <ieeefp.h>
90070                       #endif
90071
90072 int
90073 main ()
90074 {
90075  qfpclass(0);
90076   ;
90077   return 0;
90078 }
90079 _ACEOF
90080 rm -f conftest.$ac_objext
90081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90082   (eval $ac_compile) 2>conftest.er1
90083   ac_status=$?
90084   grep -v '^ *+' conftest.er1 >conftest.err
90085   rm -f conftest.er1
90086   cat conftest.err >&5
90087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90088   (exit $ac_status); } &&
90089          { ac_try='test -z "$ac_cxx_werror_flag"
90090                          || test ! -s conftest.err'
90091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90092   (eval $ac_try) 2>&5
90093   ac_status=$?
90094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90095   (exit $ac_status); }; } &&
90096          { ac_try='test -s conftest.$ac_objext'
90097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90098   (eval $ac_try) 2>&5
90099   ac_status=$?
90100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90101   (exit $ac_status); }; }; then
90102   glibcxx_cv_func_qfpclass_use=yes
90103 else
90104   echo "$as_me: failed program was:" >&5
90105 sed 's/^/| /' conftest.$ac_ext >&5
90106
90107 glibcxx_cv_func_qfpclass_use=no
90108 fi
90109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90110       ac_ext=c
90111 ac_cpp='$CPP $CPPFLAGS'
90112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90115
90116
90117 fi
90118
90119   fi
90120   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90121 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90122
90123   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90124
90125 for ac_func in qfpclass
90126 do
90127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90128 echo "$as_me:$LINENO: checking for $ac_func" >&5
90129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90130 if eval "test \"\${$as_ac_var+set}\" = set"; then
90131   echo $ECHO_N "(cached) $ECHO_C" >&6
90132 else
90133   if test x$gcc_no_link = xyes; then
90134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90136    { (exit 1); exit 1; }; }
90137 fi
90138 cat >conftest.$ac_ext <<_ACEOF
90139 /* confdefs.h.  */
90140 _ACEOF
90141 cat confdefs.h >>conftest.$ac_ext
90142 cat >>conftest.$ac_ext <<_ACEOF
90143 /* end confdefs.h.  */
90144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90146 #define $ac_func innocuous_$ac_func
90147
90148 /* System header to define __stub macros and hopefully few prototypes,
90149     which can conflict with char $ac_func (); below.
90150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90151     <limits.h> exists even on freestanding compilers.  */
90152
90153 #ifdef __STDC__
90154 # include <limits.h>
90155 #else
90156 # include <assert.h>
90157 #endif
90158
90159 #undef $ac_func
90160
90161 /* Override any gcc2 internal prototype to avoid an error.  */
90162 #ifdef __cplusplus
90163 extern "C"
90164 {
90165 #endif
90166 /* We use char because int might match the return type of a gcc2
90167    builtin and then its argument prototype would still apply.  */
90168 char $ac_func ();
90169 /* The GNU C library defines this for functions which it implements
90170     to always fail with ENOSYS.  Some functions are actually named
90171     something starting with __ and the normal name is an alias.  */
90172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90173 choke me
90174 #else
90175 char (*f) () = $ac_func;
90176 #endif
90177 #ifdef __cplusplus
90178 }
90179 #endif
90180
90181 int
90182 main ()
90183 {
90184 return f != $ac_func;
90185   ;
90186   return 0;
90187 }
90188 _ACEOF
90189 rm -f conftest.$ac_objext conftest$ac_exeext
90190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90191   (eval $ac_link) 2>conftest.er1
90192   ac_status=$?
90193   grep -v '^ *+' conftest.er1 >conftest.err
90194   rm -f conftest.er1
90195   cat conftest.err >&5
90196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90197   (exit $ac_status); } &&
90198          { ac_try='test -z "$ac_c_werror_flag"
90199                          || test ! -s conftest.err'
90200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90201   (eval $ac_try) 2>&5
90202   ac_status=$?
90203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90204   (exit $ac_status); }; } &&
90205          { ac_try='test -s conftest$ac_exeext'
90206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90207   (eval $ac_try) 2>&5
90208   ac_status=$?
90209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90210   (exit $ac_status); }; }; then
90211   eval "$as_ac_var=yes"
90212 else
90213   echo "$as_me: failed program was:" >&5
90214 sed 's/^/| /' conftest.$ac_ext >&5
90215
90216 eval "$as_ac_var=no"
90217 fi
90218 rm -f conftest.err conftest.$ac_objext \
90219       conftest$ac_exeext conftest.$ac_ext
90220 fi
90221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90223 if test `eval echo '${'$as_ac_var'}'` = yes; then
90224   cat >>confdefs.h <<_ACEOF
90225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90226 _ACEOF
90227
90228 fi
90229 done
90230
90231   else
90232
90233   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90234 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90235   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90236     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90237   echo $ECHO_N "(cached) $ECHO_C" >&6
90238 else
90239
90240
90241
90242       ac_ext=cc
90243 ac_cpp='$CXXCPP $CPPFLAGS'
90244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90247
90248       cat >conftest.$ac_ext <<_ACEOF
90249 /* confdefs.h.  */
90250 _ACEOF
90251 cat confdefs.h >>conftest.$ac_ext
90252 cat >>conftest.$ac_ext <<_ACEOF
90253 /* end confdefs.h.  */
90254 #include <math.h>
90255                       #ifdef HAVE_IEEEFP_H
90256                       #include <ieeefp.h>
90257                       #endif
90258
90259 int
90260 main ()
90261 {
90262  _qfpclass(0);
90263   ;
90264   return 0;
90265 }
90266 _ACEOF
90267 rm -f conftest.$ac_objext
90268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90269   (eval $ac_compile) 2>conftest.er1
90270   ac_status=$?
90271   grep -v '^ *+' conftest.er1 >conftest.err
90272   rm -f conftest.er1
90273   cat conftest.err >&5
90274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90275   (exit $ac_status); } &&
90276          { ac_try='test -z "$ac_cxx_werror_flag"
90277                          || test ! -s conftest.err'
90278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90279   (eval $ac_try) 2>&5
90280   ac_status=$?
90281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90282   (exit $ac_status); }; } &&
90283          { ac_try='test -s conftest.$ac_objext'
90284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90285   (eval $ac_try) 2>&5
90286   ac_status=$?
90287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90288   (exit $ac_status); }; }; then
90289   glibcxx_cv_func__qfpclass_use=yes
90290 else
90291   echo "$as_me: failed program was:" >&5
90292 sed 's/^/| /' conftest.$ac_ext >&5
90293
90294 glibcxx_cv_func__qfpclass_use=no
90295 fi
90296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90297       ac_ext=c
90298 ac_cpp='$CPP $CPPFLAGS'
90299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90302
90303
90304 fi
90305
90306   fi
90307   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90308 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90309
90310     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90311
90312 for ac_func in _qfpclass
90313 do
90314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90315 echo "$as_me:$LINENO: checking for $ac_func" >&5
90316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90317 if eval "test \"\${$as_ac_var+set}\" = set"; then
90318   echo $ECHO_N "(cached) $ECHO_C" >&6
90319 else
90320   if test x$gcc_no_link = xyes; then
90321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90323    { (exit 1); exit 1; }; }
90324 fi
90325 cat >conftest.$ac_ext <<_ACEOF
90326 /* confdefs.h.  */
90327 _ACEOF
90328 cat confdefs.h >>conftest.$ac_ext
90329 cat >>conftest.$ac_ext <<_ACEOF
90330 /* end confdefs.h.  */
90331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90333 #define $ac_func innocuous_$ac_func
90334
90335 /* System header to define __stub macros and hopefully few prototypes,
90336     which can conflict with char $ac_func (); below.
90337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90338     <limits.h> exists even on freestanding compilers.  */
90339
90340 #ifdef __STDC__
90341 # include <limits.h>
90342 #else
90343 # include <assert.h>
90344 #endif
90345
90346 #undef $ac_func
90347
90348 /* Override any gcc2 internal prototype to avoid an error.  */
90349 #ifdef __cplusplus
90350 extern "C"
90351 {
90352 #endif
90353 /* We use char because int might match the return type of a gcc2
90354    builtin and then its argument prototype would still apply.  */
90355 char $ac_func ();
90356 /* The GNU C library defines this for functions which it implements
90357     to always fail with ENOSYS.  Some functions are actually named
90358     something starting with __ and the normal name is an alias.  */
90359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90360 choke me
90361 #else
90362 char (*f) () = $ac_func;
90363 #endif
90364 #ifdef __cplusplus
90365 }
90366 #endif
90367
90368 int
90369 main ()
90370 {
90371 return f != $ac_func;
90372   ;
90373   return 0;
90374 }
90375 _ACEOF
90376 rm -f conftest.$ac_objext conftest$ac_exeext
90377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90378   (eval $ac_link) 2>conftest.er1
90379   ac_status=$?
90380   grep -v '^ *+' conftest.er1 >conftest.err
90381   rm -f conftest.er1
90382   cat conftest.err >&5
90383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384   (exit $ac_status); } &&
90385          { ac_try='test -z "$ac_c_werror_flag"
90386                          || test ! -s conftest.err'
90387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90388   (eval $ac_try) 2>&5
90389   ac_status=$?
90390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90391   (exit $ac_status); }; } &&
90392          { ac_try='test -s conftest$ac_exeext'
90393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90394   (eval $ac_try) 2>&5
90395   ac_status=$?
90396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90397   (exit $ac_status); }; }; then
90398   eval "$as_ac_var=yes"
90399 else
90400   echo "$as_me: failed program was:" >&5
90401 sed 's/^/| /' conftest.$ac_ext >&5
90402
90403 eval "$as_ac_var=no"
90404 fi
90405 rm -f conftest.err conftest.$ac_objext \
90406       conftest$ac_exeext conftest.$ac_ext
90407 fi
90408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90410 if test `eval echo '${'$as_ac_var'}'` = yes; then
90411   cat >>confdefs.h <<_ACEOF
90412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90413 _ACEOF
90414
90415 fi
90416 done
90417
90418     fi
90419   fi
90420
90421
90422
90423
90424
90425
90426   echo "$as_me:$LINENO: checking for hypot declaration" >&5
90427 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90428   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90429     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90430   echo $ECHO_N "(cached) $ECHO_C" >&6
90431 else
90432
90433
90434
90435       ac_ext=cc
90436 ac_cpp='$CXXCPP $CPPFLAGS'
90437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90440
90441       cat >conftest.$ac_ext <<_ACEOF
90442 /* confdefs.h.  */
90443 _ACEOF
90444 cat confdefs.h >>conftest.$ac_ext
90445 cat >>conftest.$ac_ext <<_ACEOF
90446 /* end confdefs.h.  */
90447 #include <math.h>
90448 int
90449 main ()
90450 {
90451  hypot(0, 0);
90452   ;
90453   return 0;
90454 }
90455 _ACEOF
90456 rm -f conftest.$ac_objext
90457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90458   (eval $ac_compile) 2>conftest.er1
90459   ac_status=$?
90460   grep -v '^ *+' conftest.er1 >conftest.err
90461   rm -f conftest.er1
90462   cat conftest.err >&5
90463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90464   (exit $ac_status); } &&
90465          { ac_try='test -z "$ac_cxx_werror_flag"
90466                          || test ! -s conftest.err'
90467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90468   (eval $ac_try) 2>&5
90469   ac_status=$?
90470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90471   (exit $ac_status); }; } &&
90472          { ac_try='test -s conftest.$ac_objext'
90473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90474   (eval $ac_try) 2>&5
90475   ac_status=$?
90476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90477   (exit $ac_status); }; }; then
90478   glibcxx_cv_func_hypot_use=yes
90479 else
90480   echo "$as_me: failed program was:" >&5
90481 sed 's/^/| /' conftest.$ac_ext >&5
90482
90483 glibcxx_cv_func_hypot_use=no
90484 fi
90485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90486       ac_ext=c
90487 ac_cpp='$CPP $CPPFLAGS'
90488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90491
90492
90493 fi
90494
90495   fi
90496   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90497 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90498
90499   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90500
90501 for ac_func in hypot
90502 do
90503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90504 echo "$as_me:$LINENO: checking for $ac_func" >&5
90505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90506 if eval "test \"\${$as_ac_var+set}\" = set"; then
90507   echo $ECHO_N "(cached) $ECHO_C" >&6
90508 else
90509   if test x$gcc_no_link = xyes; then
90510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90512    { (exit 1); exit 1; }; }
90513 fi
90514 cat >conftest.$ac_ext <<_ACEOF
90515 /* confdefs.h.  */
90516 _ACEOF
90517 cat confdefs.h >>conftest.$ac_ext
90518 cat >>conftest.$ac_ext <<_ACEOF
90519 /* end confdefs.h.  */
90520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90522 #define $ac_func innocuous_$ac_func
90523
90524 /* System header to define __stub macros and hopefully few prototypes,
90525     which can conflict with char $ac_func (); below.
90526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90527     <limits.h> exists even on freestanding compilers.  */
90528
90529 #ifdef __STDC__
90530 # include <limits.h>
90531 #else
90532 # include <assert.h>
90533 #endif
90534
90535 #undef $ac_func
90536
90537 /* Override any gcc2 internal prototype to avoid an error.  */
90538 #ifdef __cplusplus
90539 extern "C"
90540 {
90541 #endif
90542 /* We use char because int might match the return type of a gcc2
90543    builtin and then its argument prototype would still apply.  */
90544 char $ac_func ();
90545 /* The GNU C library defines this for functions which it implements
90546     to always fail with ENOSYS.  Some functions are actually named
90547     something starting with __ and the normal name is an alias.  */
90548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90549 choke me
90550 #else
90551 char (*f) () = $ac_func;
90552 #endif
90553 #ifdef __cplusplus
90554 }
90555 #endif
90556
90557 int
90558 main ()
90559 {
90560 return f != $ac_func;
90561   ;
90562   return 0;
90563 }
90564 _ACEOF
90565 rm -f conftest.$ac_objext conftest$ac_exeext
90566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90567   (eval $ac_link) 2>conftest.er1
90568   ac_status=$?
90569   grep -v '^ *+' conftest.er1 >conftest.err
90570   rm -f conftest.er1
90571   cat conftest.err >&5
90572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90573   (exit $ac_status); } &&
90574          { ac_try='test -z "$ac_c_werror_flag"
90575                          || test ! -s conftest.err'
90576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90577   (eval $ac_try) 2>&5
90578   ac_status=$?
90579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90580   (exit $ac_status); }; } &&
90581          { ac_try='test -s conftest$ac_exeext'
90582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90583   (eval $ac_try) 2>&5
90584   ac_status=$?
90585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90586   (exit $ac_status); }; }; then
90587   eval "$as_ac_var=yes"
90588 else
90589   echo "$as_me: failed program was:" >&5
90590 sed 's/^/| /' conftest.$ac_ext >&5
90591
90592 eval "$as_ac_var=no"
90593 fi
90594 rm -f conftest.err conftest.$ac_objext \
90595       conftest$ac_exeext conftest.$ac_ext
90596 fi
90597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90599 if test `eval echo '${'$as_ac_var'}'` = yes; then
90600   cat >>confdefs.h <<_ACEOF
90601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90602 _ACEOF
90603
90604 fi
90605 done
90606
90607   else
90608
90609   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90610 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90611   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90612     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90613   echo $ECHO_N "(cached) $ECHO_C" >&6
90614 else
90615
90616
90617
90618       ac_ext=cc
90619 ac_cpp='$CXXCPP $CPPFLAGS'
90620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90623
90624       cat >conftest.$ac_ext <<_ACEOF
90625 /* confdefs.h.  */
90626 _ACEOF
90627 cat confdefs.h >>conftest.$ac_ext
90628 cat >>conftest.$ac_ext <<_ACEOF
90629 /* end confdefs.h.  */
90630 #include <math.h>
90631 int
90632 main ()
90633 {
90634  _hypot(0, 0);
90635   ;
90636   return 0;
90637 }
90638 _ACEOF
90639 rm -f conftest.$ac_objext
90640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90641   (eval $ac_compile) 2>conftest.er1
90642   ac_status=$?
90643   grep -v '^ *+' conftest.er1 >conftest.err
90644   rm -f conftest.er1
90645   cat conftest.err >&5
90646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90647   (exit $ac_status); } &&
90648          { ac_try='test -z "$ac_cxx_werror_flag"
90649                          || test ! -s conftest.err'
90650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90651   (eval $ac_try) 2>&5
90652   ac_status=$?
90653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90654   (exit $ac_status); }; } &&
90655          { ac_try='test -s conftest.$ac_objext'
90656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90657   (eval $ac_try) 2>&5
90658   ac_status=$?
90659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90660   (exit $ac_status); }; }; then
90661   glibcxx_cv_func__hypot_use=yes
90662 else
90663   echo "$as_me: failed program was:" >&5
90664 sed 's/^/| /' conftest.$ac_ext >&5
90665
90666 glibcxx_cv_func__hypot_use=no
90667 fi
90668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90669       ac_ext=c
90670 ac_cpp='$CPP $CPPFLAGS'
90671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90674
90675
90676 fi
90677
90678   fi
90679   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90680 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90681
90682     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90683
90684 for ac_func in _hypot
90685 do
90686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90687 echo "$as_me:$LINENO: checking for $ac_func" >&5
90688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90689 if eval "test \"\${$as_ac_var+set}\" = set"; then
90690   echo $ECHO_N "(cached) $ECHO_C" >&6
90691 else
90692   if test x$gcc_no_link = xyes; then
90693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90695    { (exit 1); exit 1; }; }
90696 fi
90697 cat >conftest.$ac_ext <<_ACEOF
90698 /* confdefs.h.  */
90699 _ACEOF
90700 cat confdefs.h >>conftest.$ac_ext
90701 cat >>conftest.$ac_ext <<_ACEOF
90702 /* end confdefs.h.  */
90703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90705 #define $ac_func innocuous_$ac_func
90706
90707 /* System header to define __stub macros and hopefully few prototypes,
90708     which can conflict with char $ac_func (); below.
90709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90710     <limits.h> exists even on freestanding compilers.  */
90711
90712 #ifdef __STDC__
90713 # include <limits.h>
90714 #else
90715 # include <assert.h>
90716 #endif
90717
90718 #undef $ac_func
90719
90720 /* Override any gcc2 internal prototype to avoid an error.  */
90721 #ifdef __cplusplus
90722 extern "C"
90723 {
90724 #endif
90725 /* We use char because int might match the return type of a gcc2
90726    builtin and then its argument prototype would still apply.  */
90727 char $ac_func ();
90728 /* The GNU C library defines this for functions which it implements
90729     to always fail with ENOSYS.  Some functions are actually named
90730     something starting with __ and the normal name is an alias.  */
90731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90732 choke me
90733 #else
90734 char (*f) () = $ac_func;
90735 #endif
90736 #ifdef __cplusplus
90737 }
90738 #endif
90739
90740 int
90741 main ()
90742 {
90743 return f != $ac_func;
90744   ;
90745   return 0;
90746 }
90747 _ACEOF
90748 rm -f conftest.$ac_objext conftest$ac_exeext
90749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90750   (eval $ac_link) 2>conftest.er1
90751   ac_status=$?
90752   grep -v '^ *+' conftest.er1 >conftest.err
90753   rm -f conftest.er1
90754   cat conftest.err >&5
90755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90756   (exit $ac_status); } &&
90757          { ac_try='test -z "$ac_c_werror_flag"
90758                          || test ! -s conftest.err'
90759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90760   (eval $ac_try) 2>&5
90761   ac_status=$?
90762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90763   (exit $ac_status); }; } &&
90764          { ac_try='test -s conftest$ac_exeext'
90765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90766   (eval $ac_try) 2>&5
90767   ac_status=$?
90768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90769   (exit $ac_status); }; }; then
90770   eval "$as_ac_var=yes"
90771 else
90772   echo "$as_me: failed program was:" >&5
90773 sed 's/^/| /' conftest.$ac_ext >&5
90774
90775 eval "$as_ac_var=no"
90776 fi
90777 rm -f conftest.err conftest.$ac_objext \
90778       conftest$ac_exeext conftest.$ac_ext
90779 fi
90780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90782 if test `eval echo '${'$as_ac_var'}'` = yes; then
90783   cat >>confdefs.h <<_ACEOF
90784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90785 _ACEOF
90786
90787 fi
90788 done
90789
90790     fi
90791   fi
90792
90793
90794
90795
90796
90797
90798     echo "$as_me:$LINENO: checking for float trig functions" >&5
90799 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90800   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90801   echo $ECHO_N "(cached) $ECHO_C" >&6
90802 else
90803
90804
90805
90806     ac_ext=cc
90807 ac_cpp='$CXXCPP $CPPFLAGS'
90808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90811
90812     cat >conftest.$ac_ext <<_ACEOF
90813 /* confdefs.h.  */
90814 _ACEOF
90815 cat confdefs.h >>conftest.$ac_ext
90816 cat >>conftest.$ac_ext <<_ACEOF
90817 /* end confdefs.h.  */
90818 #include <math.h>
90819 int
90820 main ()
90821 {
90822 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90823   ;
90824   return 0;
90825 }
90826 _ACEOF
90827 rm -f conftest.$ac_objext
90828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90829   (eval $ac_compile) 2>conftest.er1
90830   ac_status=$?
90831   grep -v '^ *+' conftest.er1 >conftest.err
90832   rm -f conftest.er1
90833   cat conftest.err >&5
90834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90835   (exit $ac_status); } &&
90836          { ac_try='test -z "$ac_cxx_werror_flag"
90837                          || test ! -s conftest.err'
90838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90839   (eval $ac_try) 2>&5
90840   ac_status=$?
90841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90842   (exit $ac_status); }; } &&
90843          { ac_try='test -s conftest.$ac_objext'
90844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90845   (eval $ac_try) 2>&5
90846   ac_status=$?
90847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90848   (exit $ac_status); }; }; then
90849   glibcxx_cv_func_float_trig_use=yes
90850 else
90851   echo "$as_me: failed program was:" >&5
90852 sed 's/^/| /' conftest.$ac_ext >&5
90853
90854 glibcxx_cv_func_float_trig_use=no
90855 fi
90856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90857     ac_ext=c
90858 ac_cpp='$CPP $CPPFLAGS'
90859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90862
90863 fi
90864
90865   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
90866 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
90867   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
90868
90869
90870
90871
90872
90873
90874
90875
90876
90877 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
90878 do
90879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90880 echo "$as_me:$LINENO: checking for $ac_func" >&5
90881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90882 if eval "test \"\${$as_ac_var+set}\" = set"; then
90883   echo $ECHO_N "(cached) $ECHO_C" >&6
90884 else
90885   if test x$gcc_no_link = xyes; then
90886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90888    { (exit 1); exit 1; }; }
90889 fi
90890 cat >conftest.$ac_ext <<_ACEOF
90891 /* confdefs.h.  */
90892 _ACEOF
90893 cat confdefs.h >>conftest.$ac_ext
90894 cat >>conftest.$ac_ext <<_ACEOF
90895 /* end confdefs.h.  */
90896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90898 #define $ac_func innocuous_$ac_func
90899
90900 /* System header to define __stub macros and hopefully few prototypes,
90901     which can conflict with char $ac_func (); below.
90902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90903     <limits.h> exists even on freestanding compilers.  */
90904
90905 #ifdef __STDC__
90906 # include <limits.h>
90907 #else
90908 # include <assert.h>
90909 #endif
90910
90911 #undef $ac_func
90912
90913 /* Override any gcc2 internal prototype to avoid an error.  */
90914 #ifdef __cplusplus
90915 extern "C"
90916 {
90917 #endif
90918 /* We use char because int might match the return type of a gcc2
90919    builtin and then its argument prototype would still apply.  */
90920 char $ac_func ();
90921 /* The GNU C library defines this for functions which it implements
90922     to always fail with ENOSYS.  Some functions are actually named
90923     something starting with __ and the normal name is an alias.  */
90924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90925 choke me
90926 #else
90927 char (*f) () = $ac_func;
90928 #endif
90929 #ifdef __cplusplus
90930 }
90931 #endif
90932
90933 int
90934 main ()
90935 {
90936 return f != $ac_func;
90937   ;
90938   return 0;
90939 }
90940 _ACEOF
90941 rm -f conftest.$ac_objext conftest$ac_exeext
90942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90943   (eval $ac_link) 2>conftest.er1
90944   ac_status=$?
90945   grep -v '^ *+' conftest.er1 >conftest.err
90946   rm -f conftest.er1
90947   cat conftest.err >&5
90948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90949   (exit $ac_status); } &&
90950          { ac_try='test -z "$ac_c_werror_flag"
90951                          || test ! -s conftest.err'
90952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90953   (eval $ac_try) 2>&5
90954   ac_status=$?
90955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90956   (exit $ac_status); }; } &&
90957          { ac_try='test -s conftest$ac_exeext'
90958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90959   (eval $ac_try) 2>&5
90960   ac_status=$?
90961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90962   (exit $ac_status); }; }; then
90963   eval "$as_ac_var=yes"
90964 else
90965   echo "$as_me: failed program was:" >&5
90966 sed 's/^/| /' conftest.$ac_ext >&5
90967
90968 eval "$as_ac_var=no"
90969 fi
90970 rm -f conftest.err conftest.$ac_objext \
90971       conftest$ac_exeext conftest.$ac_ext
90972 fi
90973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90975 if test `eval echo '${'$as_ac_var'}'` = yes; then
90976   cat >>confdefs.h <<_ACEOF
90977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90978 _ACEOF
90979
90980 fi
90981 done
90982
90983   else
90984     echo "$as_me:$LINENO: checking for _float trig functions" >&5
90985 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90986     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90987   echo $ECHO_N "(cached) $ECHO_C" >&6
90988 else
90989
90990
90991
90992       ac_ext=cc
90993 ac_cpp='$CXXCPP $CPPFLAGS'
90994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90997
90998       cat >conftest.$ac_ext <<_ACEOF
90999 /* confdefs.h.  */
91000 _ACEOF
91001 cat confdefs.h >>conftest.$ac_ext
91002 cat >>conftest.$ac_ext <<_ACEOF
91003 /* end confdefs.h.  */
91004 #include <math.h>
91005 int
91006 main ()
91007 {
91008 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91009   ;
91010   return 0;
91011 }
91012 _ACEOF
91013 rm -f conftest.$ac_objext
91014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91015   (eval $ac_compile) 2>conftest.er1
91016   ac_status=$?
91017   grep -v '^ *+' conftest.er1 >conftest.err
91018   rm -f conftest.er1
91019   cat conftest.err >&5
91020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91021   (exit $ac_status); } &&
91022          { ac_try='test -z "$ac_cxx_werror_flag"
91023                          || test ! -s conftest.err'
91024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91025   (eval $ac_try) 2>&5
91026   ac_status=$?
91027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91028   (exit $ac_status); }; } &&
91029          { ac_try='test -s conftest.$ac_objext'
91030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91031   (eval $ac_try) 2>&5
91032   ac_status=$?
91033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91034   (exit $ac_status); }; }; then
91035   glibcxx_cv_func__float_trig_use=yes
91036 else
91037   echo "$as_me: failed program was:" >&5
91038 sed 's/^/| /' conftest.$ac_ext >&5
91039
91040 glibcxx_cv_func__float_trig_use=no
91041 fi
91042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91043       ac_ext=c
91044 ac_cpp='$CPP $CPPFLAGS'
91045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91048
91049 fi
91050
91051     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91052 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91053     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91054
91055
91056
91057
91058
91059
91060
91061
91062
91063 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91064 do
91065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91066 echo "$as_me:$LINENO: checking for $ac_func" >&5
91067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91068 if eval "test \"\${$as_ac_var+set}\" = set"; then
91069   echo $ECHO_N "(cached) $ECHO_C" >&6
91070 else
91071   if test x$gcc_no_link = xyes; then
91072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91074    { (exit 1); exit 1; }; }
91075 fi
91076 cat >conftest.$ac_ext <<_ACEOF
91077 /* confdefs.h.  */
91078 _ACEOF
91079 cat confdefs.h >>conftest.$ac_ext
91080 cat >>conftest.$ac_ext <<_ACEOF
91081 /* end confdefs.h.  */
91082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91083    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91084 #define $ac_func innocuous_$ac_func
91085
91086 /* System header to define __stub macros and hopefully few prototypes,
91087     which can conflict with char $ac_func (); below.
91088     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91089     <limits.h> exists even on freestanding compilers.  */
91090
91091 #ifdef __STDC__
91092 # include <limits.h>
91093 #else
91094 # include <assert.h>
91095 #endif
91096
91097 #undef $ac_func
91098
91099 /* Override any gcc2 internal prototype to avoid an error.  */
91100 #ifdef __cplusplus
91101 extern "C"
91102 {
91103 #endif
91104 /* We use char because int might match the return type of a gcc2
91105    builtin and then its argument prototype would still apply.  */
91106 char $ac_func ();
91107 /* The GNU C library defines this for functions which it implements
91108     to always fail with ENOSYS.  Some functions are actually named
91109     something starting with __ and the normal name is an alias.  */
91110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91111 choke me
91112 #else
91113 char (*f) () = $ac_func;
91114 #endif
91115 #ifdef __cplusplus
91116 }
91117 #endif
91118
91119 int
91120 main ()
91121 {
91122 return f != $ac_func;
91123   ;
91124   return 0;
91125 }
91126 _ACEOF
91127 rm -f conftest.$ac_objext conftest$ac_exeext
91128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91129   (eval $ac_link) 2>conftest.er1
91130   ac_status=$?
91131   grep -v '^ *+' conftest.er1 >conftest.err
91132   rm -f conftest.er1
91133   cat conftest.err >&5
91134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91135   (exit $ac_status); } &&
91136          { ac_try='test -z "$ac_c_werror_flag"
91137                          || test ! -s conftest.err'
91138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91139   (eval $ac_try) 2>&5
91140   ac_status=$?
91141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91142   (exit $ac_status); }; } &&
91143          { ac_try='test -s conftest$ac_exeext'
91144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91145   (eval $ac_try) 2>&5
91146   ac_status=$?
91147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91148   (exit $ac_status); }; }; then
91149   eval "$as_ac_var=yes"
91150 else
91151   echo "$as_me: failed program was:" >&5
91152 sed 's/^/| /' conftest.$ac_ext >&5
91153
91154 eval "$as_ac_var=no"
91155 fi
91156 rm -f conftest.err conftest.$ac_objext \
91157       conftest$ac_exeext conftest.$ac_ext
91158 fi
91159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91161 if test `eval echo '${'$as_ac_var'}'` = yes; then
91162   cat >>confdefs.h <<_ACEOF
91163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91164 _ACEOF
91165
91166 fi
91167 done
91168
91169     fi
91170   fi
91171
91172
91173
91174
91175
91176
91177
91178
91179
91180
91181
91182
91183
91184
91185     echo "$as_me:$LINENO: checking for float round functions" >&5
91186 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91187   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91188   echo $ECHO_N "(cached) $ECHO_C" >&6
91189 else
91190
91191
91192
91193     ac_ext=cc
91194 ac_cpp='$CXXCPP $CPPFLAGS'
91195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91198
91199     cat >conftest.$ac_ext <<_ACEOF
91200 /* confdefs.h.  */
91201 _ACEOF
91202 cat confdefs.h >>conftest.$ac_ext
91203 cat >>conftest.$ac_ext <<_ACEOF
91204 /* end confdefs.h.  */
91205 #include <math.h>
91206 int
91207 main ()
91208 {
91209 ceilf (0); floorf (0);
91210   ;
91211   return 0;
91212 }
91213 _ACEOF
91214 rm -f conftest.$ac_objext
91215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91216   (eval $ac_compile) 2>conftest.er1
91217   ac_status=$?
91218   grep -v '^ *+' conftest.er1 >conftest.err
91219   rm -f conftest.er1
91220   cat conftest.err >&5
91221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91222   (exit $ac_status); } &&
91223          { ac_try='test -z "$ac_cxx_werror_flag"
91224                          || test ! -s conftest.err'
91225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91226   (eval $ac_try) 2>&5
91227   ac_status=$?
91228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91229   (exit $ac_status); }; } &&
91230          { ac_try='test -s conftest.$ac_objext'
91231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91232   (eval $ac_try) 2>&5
91233   ac_status=$?
91234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91235   (exit $ac_status); }; }; then
91236   glibcxx_cv_func_float_round_use=yes
91237 else
91238   echo "$as_me: failed program was:" >&5
91239 sed 's/^/| /' conftest.$ac_ext >&5
91240
91241 glibcxx_cv_func_float_round_use=no
91242 fi
91243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91244     ac_ext=c
91245 ac_cpp='$CPP $CPPFLAGS'
91246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91249
91250 fi
91251
91252   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91253 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91254   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91255
91256
91257 for ac_func in ceilf floorf
91258 do
91259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91260 echo "$as_me:$LINENO: checking for $ac_func" >&5
91261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91262 if eval "test \"\${$as_ac_var+set}\" = set"; then
91263   echo $ECHO_N "(cached) $ECHO_C" >&6
91264 else
91265   if test x$gcc_no_link = xyes; then
91266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91268    { (exit 1); exit 1; }; }
91269 fi
91270 cat >conftest.$ac_ext <<_ACEOF
91271 /* confdefs.h.  */
91272 _ACEOF
91273 cat confdefs.h >>conftest.$ac_ext
91274 cat >>conftest.$ac_ext <<_ACEOF
91275 /* end confdefs.h.  */
91276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91278 #define $ac_func innocuous_$ac_func
91279
91280 /* System header to define __stub macros and hopefully few prototypes,
91281     which can conflict with char $ac_func (); below.
91282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91283     <limits.h> exists even on freestanding compilers.  */
91284
91285 #ifdef __STDC__
91286 # include <limits.h>
91287 #else
91288 # include <assert.h>
91289 #endif
91290
91291 #undef $ac_func
91292
91293 /* Override any gcc2 internal prototype to avoid an error.  */
91294 #ifdef __cplusplus
91295 extern "C"
91296 {
91297 #endif
91298 /* We use char because int might match the return type of a gcc2
91299    builtin and then its argument prototype would still apply.  */
91300 char $ac_func ();
91301 /* The GNU C library defines this for functions which it implements
91302     to always fail with ENOSYS.  Some functions are actually named
91303     something starting with __ and the normal name is an alias.  */
91304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91305 choke me
91306 #else
91307 char (*f) () = $ac_func;
91308 #endif
91309 #ifdef __cplusplus
91310 }
91311 #endif
91312
91313 int
91314 main ()
91315 {
91316 return f != $ac_func;
91317   ;
91318   return 0;
91319 }
91320 _ACEOF
91321 rm -f conftest.$ac_objext conftest$ac_exeext
91322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91323   (eval $ac_link) 2>conftest.er1
91324   ac_status=$?
91325   grep -v '^ *+' conftest.er1 >conftest.err
91326   rm -f conftest.er1
91327   cat conftest.err >&5
91328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91329   (exit $ac_status); } &&
91330          { ac_try='test -z "$ac_c_werror_flag"
91331                          || test ! -s conftest.err'
91332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91333   (eval $ac_try) 2>&5
91334   ac_status=$?
91335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91336   (exit $ac_status); }; } &&
91337          { ac_try='test -s conftest$ac_exeext'
91338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91339   (eval $ac_try) 2>&5
91340   ac_status=$?
91341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91342   (exit $ac_status); }; }; then
91343   eval "$as_ac_var=yes"
91344 else
91345   echo "$as_me: failed program was:" >&5
91346 sed 's/^/| /' conftest.$ac_ext >&5
91347
91348 eval "$as_ac_var=no"
91349 fi
91350 rm -f conftest.err conftest.$ac_objext \
91351       conftest$ac_exeext conftest.$ac_ext
91352 fi
91353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91355 if test `eval echo '${'$as_ac_var'}'` = yes; then
91356   cat >>confdefs.h <<_ACEOF
91357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91358 _ACEOF
91359
91360 fi
91361 done
91362
91363   else
91364     echo "$as_me:$LINENO: checking for _float round functions" >&5
91365 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91366     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91367   echo $ECHO_N "(cached) $ECHO_C" >&6
91368 else
91369
91370
91371
91372       ac_ext=cc
91373 ac_cpp='$CXXCPP $CPPFLAGS'
91374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91377
91378       cat >conftest.$ac_ext <<_ACEOF
91379 /* confdefs.h.  */
91380 _ACEOF
91381 cat confdefs.h >>conftest.$ac_ext
91382 cat >>conftest.$ac_ext <<_ACEOF
91383 /* end confdefs.h.  */
91384 #include <math.h>
91385 int
91386 main ()
91387 {
91388 _ceilf (0); _floorf (0);
91389   ;
91390   return 0;
91391 }
91392 _ACEOF
91393 rm -f conftest.$ac_objext
91394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91395   (eval $ac_compile) 2>conftest.er1
91396   ac_status=$?
91397   grep -v '^ *+' conftest.er1 >conftest.err
91398   rm -f conftest.er1
91399   cat conftest.err >&5
91400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91401   (exit $ac_status); } &&
91402          { ac_try='test -z "$ac_cxx_werror_flag"
91403                          || test ! -s conftest.err'
91404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91405   (eval $ac_try) 2>&5
91406   ac_status=$?
91407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91408   (exit $ac_status); }; } &&
91409          { ac_try='test -s conftest.$ac_objext'
91410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91411   (eval $ac_try) 2>&5
91412   ac_status=$?
91413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91414   (exit $ac_status); }; }; then
91415   glibcxx_cv_func__float_round_use=yes
91416 else
91417   echo "$as_me: failed program was:" >&5
91418 sed 's/^/| /' conftest.$ac_ext >&5
91419
91420 glibcxx_cv_func__float_round_use=no
91421 fi
91422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91423       ac_ext=c
91424 ac_cpp='$CPP $CPPFLAGS'
91425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91428
91429 fi
91430
91431     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91432 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91433     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91434
91435
91436 for ac_func in _ceilf _floorf
91437 do
91438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91439 echo "$as_me:$LINENO: checking for $ac_func" >&5
91440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91441 if eval "test \"\${$as_ac_var+set}\" = set"; then
91442   echo $ECHO_N "(cached) $ECHO_C" >&6
91443 else
91444   if test x$gcc_no_link = xyes; then
91445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91447    { (exit 1); exit 1; }; }
91448 fi
91449 cat >conftest.$ac_ext <<_ACEOF
91450 /* confdefs.h.  */
91451 _ACEOF
91452 cat confdefs.h >>conftest.$ac_ext
91453 cat >>conftest.$ac_ext <<_ACEOF
91454 /* end confdefs.h.  */
91455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91457 #define $ac_func innocuous_$ac_func
91458
91459 /* System header to define __stub macros and hopefully few prototypes,
91460     which can conflict with char $ac_func (); below.
91461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91462     <limits.h> exists even on freestanding compilers.  */
91463
91464 #ifdef __STDC__
91465 # include <limits.h>
91466 #else
91467 # include <assert.h>
91468 #endif
91469
91470 #undef $ac_func
91471
91472 /* Override any gcc2 internal prototype to avoid an error.  */
91473 #ifdef __cplusplus
91474 extern "C"
91475 {
91476 #endif
91477 /* We use char because int might match the return type of a gcc2
91478    builtin and then its argument prototype would still apply.  */
91479 char $ac_func ();
91480 /* The GNU C library defines this for functions which it implements
91481     to always fail with ENOSYS.  Some functions are actually named
91482     something starting with __ and the normal name is an alias.  */
91483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91484 choke me
91485 #else
91486 char (*f) () = $ac_func;
91487 #endif
91488 #ifdef __cplusplus
91489 }
91490 #endif
91491
91492 int
91493 main ()
91494 {
91495 return f != $ac_func;
91496   ;
91497   return 0;
91498 }
91499 _ACEOF
91500 rm -f conftest.$ac_objext conftest$ac_exeext
91501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91502   (eval $ac_link) 2>conftest.er1
91503   ac_status=$?
91504   grep -v '^ *+' conftest.er1 >conftest.err
91505   rm -f conftest.er1
91506   cat conftest.err >&5
91507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91508   (exit $ac_status); } &&
91509          { ac_try='test -z "$ac_c_werror_flag"
91510                          || test ! -s conftest.err'
91511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91512   (eval $ac_try) 2>&5
91513   ac_status=$?
91514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91515   (exit $ac_status); }; } &&
91516          { ac_try='test -s conftest$ac_exeext'
91517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91518   (eval $ac_try) 2>&5
91519   ac_status=$?
91520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91521   (exit $ac_status); }; }; then
91522   eval "$as_ac_var=yes"
91523 else
91524   echo "$as_me: failed program was:" >&5
91525 sed 's/^/| /' conftest.$ac_ext >&5
91526
91527 eval "$as_ac_var=no"
91528 fi
91529 rm -f conftest.err conftest.$ac_objext \
91530       conftest$ac_exeext conftest.$ac_ext
91531 fi
91532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91534 if test `eval echo '${'$as_ac_var'}'` = yes; then
91535   cat >>confdefs.h <<_ACEOF
91536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91537 _ACEOF
91538
91539 fi
91540 done
91541
91542     fi
91543   fi
91544
91545
91546
91547
91548
91549
91550
91551
91552   echo "$as_me:$LINENO: checking for expf declaration" >&5
91553 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91554   if test x${glibcxx_cv_func_expf_use+set} != xset; then
91555     if test "${glibcxx_cv_func_expf_use+set}" = set; then
91556   echo $ECHO_N "(cached) $ECHO_C" >&6
91557 else
91558
91559
91560
91561       ac_ext=cc
91562 ac_cpp='$CXXCPP $CPPFLAGS'
91563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91566
91567       cat >conftest.$ac_ext <<_ACEOF
91568 /* confdefs.h.  */
91569 _ACEOF
91570 cat confdefs.h >>conftest.$ac_ext
91571 cat >>conftest.$ac_ext <<_ACEOF
91572 /* end confdefs.h.  */
91573 #include <math.h>
91574                       #ifdef HAVE_IEEEFP_H
91575                       #include <ieeefp.h>
91576                       #endif
91577
91578 int
91579 main ()
91580 {
91581  expf(0);
91582   ;
91583   return 0;
91584 }
91585 _ACEOF
91586 rm -f conftest.$ac_objext
91587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91588   (eval $ac_compile) 2>conftest.er1
91589   ac_status=$?
91590   grep -v '^ *+' conftest.er1 >conftest.err
91591   rm -f conftest.er1
91592   cat conftest.err >&5
91593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91594   (exit $ac_status); } &&
91595          { ac_try='test -z "$ac_cxx_werror_flag"
91596                          || test ! -s conftest.err'
91597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91598   (eval $ac_try) 2>&5
91599   ac_status=$?
91600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91601   (exit $ac_status); }; } &&
91602          { ac_try='test -s conftest.$ac_objext'
91603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91604   (eval $ac_try) 2>&5
91605   ac_status=$?
91606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91607   (exit $ac_status); }; }; then
91608   glibcxx_cv_func_expf_use=yes
91609 else
91610   echo "$as_me: failed program was:" >&5
91611 sed 's/^/| /' conftest.$ac_ext >&5
91612
91613 glibcxx_cv_func_expf_use=no
91614 fi
91615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91616       ac_ext=c
91617 ac_cpp='$CPP $CPPFLAGS'
91618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91621
91622
91623 fi
91624
91625   fi
91626   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91627 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91628
91629   if test x$glibcxx_cv_func_expf_use = x"yes"; then
91630
91631 for ac_func in expf
91632 do
91633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91634 echo "$as_me:$LINENO: checking for $ac_func" >&5
91635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91636 if eval "test \"\${$as_ac_var+set}\" = set"; then
91637   echo $ECHO_N "(cached) $ECHO_C" >&6
91638 else
91639   if test x$gcc_no_link = xyes; then
91640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91642    { (exit 1); exit 1; }; }
91643 fi
91644 cat >conftest.$ac_ext <<_ACEOF
91645 /* confdefs.h.  */
91646 _ACEOF
91647 cat confdefs.h >>conftest.$ac_ext
91648 cat >>conftest.$ac_ext <<_ACEOF
91649 /* end confdefs.h.  */
91650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91652 #define $ac_func innocuous_$ac_func
91653
91654 /* System header to define __stub macros and hopefully few prototypes,
91655     which can conflict with char $ac_func (); below.
91656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91657     <limits.h> exists even on freestanding compilers.  */
91658
91659 #ifdef __STDC__
91660 # include <limits.h>
91661 #else
91662 # include <assert.h>
91663 #endif
91664
91665 #undef $ac_func
91666
91667 /* Override any gcc2 internal prototype to avoid an error.  */
91668 #ifdef __cplusplus
91669 extern "C"
91670 {
91671 #endif
91672 /* We use char because int might match the return type of a gcc2
91673    builtin and then its argument prototype would still apply.  */
91674 char $ac_func ();
91675 /* The GNU C library defines this for functions which it implements
91676     to always fail with ENOSYS.  Some functions are actually named
91677     something starting with __ and the normal name is an alias.  */
91678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91679 choke me
91680 #else
91681 char (*f) () = $ac_func;
91682 #endif
91683 #ifdef __cplusplus
91684 }
91685 #endif
91686
91687 int
91688 main ()
91689 {
91690 return f != $ac_func;
91691   ;
91692   return 0;
91693 }
91694 _ACEOF
91695 rm -f conftest.$ac_objext conftest$ac_exeext
91696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91697   (eval $ac_link) 2>conftest.er1
91698   ac_status=$?
91699   grep -v '^ *+' conftest.er1 >conftest.err
91700   rm -f conftest.er1
91701   cat conftest.err >&5
91702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91703   (exit $ac_status); } &&
91704          { ac_try='test -z "$ac_c_werror_flag"
91705                          || test ! -s conftest.err'
91706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91707   (eval $ac_try) 2>&5
91708   ac_status=$?
91709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91710   (exit $ac_status); }; } &&
91711          { ac_try='test -s conftest$ac_exeext'
91712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91713   (eval $ac_try) 2>&5
91714   ac_status=$?
91715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91716   (exit $ac_status); }; }; then
91717   eval "$as_ac_var=yes"
91718 else
91719   echo "$as_me: failed program was:" >&5
91720 sed 's/^/| /' conftest.$ac_ext >&5
91721
91722 eval "$as_ac_var=no"
91723 fi
91724 rm -f conftest.err conftest.$ac_objext \
91725       conftest$ac_exeext conftest.$ac_ext
91726 fi
91727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91729 if test `eval echo '${'$as_ac_var'}'` = yes; then
91730   cat >>confdefs.h <<_ACEOF
91731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91732 _ACEOF
91733
91734 fi
91735 done
91736
91737   else
91738
91739   echo "$as_me:$LINENO: checking for _expf declaration" >&5
91740 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91741   if test x${glibcxx_cv_func__expf_use+set} != xset; then
91742     if test "${glibcxx_cv_func__expf_use+set}" = set; then
91743   echo $ECHO_N "(cached) $ECHO_C" >&6
91744 else
91745
91746
91747
91748       ac_ext=cc
91749 ac_cpp='$CXXCPP $CPPFLAGS'
91750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91753
91754       cat >conftest.$ac_ext <<_ACEOF
91755 /* confdefs.h.  */
91756 _ACEOF
91757 cat confdefs.h >>conftest.$ac_ext
91758 cat >>conftest.$ac_ext <<_ACEOF
91759 /* end confdefs.h.  */
91760 #include <math.h>
91761                       #ifdef HAVE_IEEEFP_H
91762                       #include <ieeefp.h>
91763                       #endif
91764
91765 int
91766 main ()
91767 {
91768  _expf(0);
91769   ;
91770   return 0;
91771 }
91772 _ACEOF
91773 rm -f conftest.$ac_objext
91774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91775   (eval $ac_compile) 2>conftest.er1
91776   ac_status=$?
91777   grep -v '^ *+' conftest.er1 >conftest.err
91778   rm -f conftest.er1
91779   cat conftest.err >&5
91780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91781   (exit $ac_status); } &&
91782          { ac_try='test -z "$ac_cxx_werror_flag"
91783                          || test ! -s conftest.err'
91784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91785   (eval $ac_try) 2>&5
91786   ac_status=$?
91787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91788   (exit $ac_status); }; } &&
91789          { ac_try='test -s conftest.$ac_objext'
91790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91791   (eval $ac_try) 2>&5
91792   ac_status=$?
91793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91794   (exit $ac_status); }; }; then
91795   glibcxx_cv_func__expf_use=yes
91796 else
91797   echo "$as_me: failed program was:" >&5
91798 sed 's/^/| /' conftest.$ac_ext >&5
91799
91800 glibcxx_cv_func__expf_use=no
91801 fi
91802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91803       ac_ext=c
91804 ac_cpp='$CPP $CPPFLAGS'
91805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91808
91809
91810 fi
91811
91812   fi
91813   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91814 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91815
91816     if test x$glibcxx_cv_func__expf_use = x"yes"; then
91817
91818 for ac_func in _expf
91819 do
91820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91821 echo "$as_me:$LINENO: checking for $ac_func" >&5
91822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91823 if eval "test \"\${$as_ac_var+set}\" = set"; then
91824   echo $ECHO_N "(cached) $ECHO_C" >&6
91825 else
91826   if test x$gcc_no_link = xyes; then
91827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91829    { (exit 1); exit 1; }; }
91830 fi
91831 cat >conftest.$ac_ext <<_ACEOF
91832 /* confdefs.h.  */
91833 _ACEOF
91834 cat confdefs.h >>conftest.$ac_ext
91835 cat >>conftest.$ac_ext <<_ACEOF
91836 /* end confdefs.h.  */
91837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91839 #define $ac_func innocuous_$ac_func
91840
91841 /* System header to define __stub macros and hopefully few prototypes,
91842     which can conflict with char $ac_func (); below.
91843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91844     <limits.h> exists even on freestanding compilers.  */
91845
91846 #ifdef __STDC__
91847 # include <limits.h>
91848 #else
91849 # include <assert.h>
91850 #endif
91851
91852 #undef $ac_func
91853
91854 /* Override any gcc2 internal prototype to avoid an error.  */
91855 #ifdef __cplusplus
91856 extern "C"
91857 {
91858 #endif
91859 /* We use char because int might match the return type of a gcc2
91860    builtin and then its argument prototype would still apply.  */
91861 char $ac_func ();
91862 /* The GNU C library defines this for functions which it implements
91863     to always fail with ENOSYS.  Some functions are actually named
91864     something starting with __ and the normal name is an alias.  */
91865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91866 choke me
91867 #else
91868 char (*f) () = $ac_func;
91869 #endif
91870 #ifdef __cplusplus
91871 }
91872 #endif
91873
91874 int
91875 main ()
91876 {
91877 return f != $ac_func;
91878   ;
91879   return 0;
91880 }
91881 _ACEOF
91882 rm -f conftest.$ac_objext conftest$ac_exeext
91883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91884   (eval $ac_link) 2>conftest.er1
91885   ac_status=$?
91886   grep -v '^ *+' conftest.er1 >conftest.err
91887   rm -f conftest.er1
91888   cat conftest.err >&5
91889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91890   (exit $ac_status); } &&
91891          { ac_try='test -z "$ac_c_werror_flag"
91892                          || test ! -s conftest.err'
91893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91894   (eval $ac_try) 2>&5
91895   ac_status=$?
91896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91897   (exit $ac_status); }; } &&
91898          { ac_try='test -s conftest$ac_exeext'
91899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91900   (eval $ac_try) 2>&5
91901   ac_status=$?
91902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91903   (exit $ac_status); }; }; then
91904   eval "$as_ac_var=yes"
91905 else
91906   echo "$as_me: failed program was:" >&5
91907 sed 's/^/| /' conftest.$ac_ext >&5
91908
91909 eval "$as_ac_var=no"
91910 fi
91911 rm -f conftest.err conftest.$ac_objext \
91912       conftest$ac_exeext conftest.$ac_ext
91913 fi
91914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91916 if test `eval echo '${'$as_ac_var'}'` = yes; then
91917   cat >>confdefs.h <<_ACEOF
91918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91919 _ACEOF
91920
91921 fi
91922 done
91923
91924     fi
91925   fi
91926
91927
91928
91929
91930
91931
91932   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
91933 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
91934   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
91935     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
91936   echo $ECHO_N "(cached) $ECHO_C" >&6
91937 else
91938
91939
91940
91941       ac_ext=cc
91942 ac_cpp='$CXXCPP $CPPFLAGS'
91943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91946
91947       cat >conftest.$ac_ext <<_ACEOF
91948 /* confdefs.h.  */
91949 _ACEOF
91950 cat confdefs.h >>conftest.$ac_ext
91951 cat >>conftest.$ac_ext <<_ACEOF
91952 /* end confdefs.h.  */
91953 #include <math.h>
91954                       #ifdef HAVE_IEEEFP_H
91955                       #include <ieeefp.h>
91956                       #endif
91957
91958 int
91959 main ()
91960 {
91961  isnanf(0);
91962   ;
91963   return 0;
91964 }
91965 _ACEOF
91966 rm -f conftest.$ac_objext
91967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91968   (eval $ac_compile) 2>conftest.er1
91969   ac_status=$?
91970   grep -v '^ *+' conftest.er1 >conftest.err
91971   rm -f conftest.er1
91972   cat conftest.err >&5
91973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91974   (exit $ac_status); } &&
91975          { ac_try='test -z "$ac_cxx_werror_flag"
91976                          || test ! -s conftest.err'
91977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91978   (eval $ac_try) 2>&5
91979   ac_status=$?
91980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91981   (exit $ac_status); }; } &&
91982          { ac_try='test -s conftest.$ac_objext'
91983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91984   (eval $ac_try) 2>&5
91985   ac_status=$?
91986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91987   (exit $ac_status); }; }; then
91988   glibcxx_cv_func_isnanf_use=yes
91989 else
91990   echo "$as_me: failed program was:" >&5
91991 sed 's/^/| /' conftest.$ac_ext >&5
91992
91993 glibcxx_cv_func_isnanf_use=no
91994 fi
91995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91996       ac_ext=c
91997 ac_cpp='$CPP $CPPFLAGS'
91998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92001
92002
92003 fi
92004
92005   fi
92006   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92007 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92008
92009   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92010
92011 for ac_func in isnanf
92012 do
92013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92014 echo "$as_me:$LINENO: checking for $ac_func" >&5
92015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92016 if eval "test \"\${$as_ac_var+set}\" = set"; then
92017   echo $ECHO_N "(cached) $ECHO_C" >&6
92018 else
92019   if test x$gcc_no_link = xyes; then
92020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92022    { (exit 1); exit 1; }; }
92023 fi
92024 cat >conftest.$ac_ext <<_ACEOF
92025 /* confdefs.h.  */
92026 _ACEOF
92027 cat confdefs.h >>conftest.$ac_ext
92028 cat >>conftest.$ac_ext <<_ACEOF
92029 /* end confdefs.h.  */
92030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92032 #define $ac_func innocuous_$ac_func
92033
92034 /* System header to define __stub macros and hopefully few prototypes,
92035     which can conflict with char $ac_func (); below.
92036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92037     <limits.h> exists even on freestanding compilers.  */
92038
92039 #ifdef __STDC__
92040 # include <limits.h>
92041 #else
92042 # include <assert.h>
92043 #endif
92044
92045 #undef $ac_func
92046
92047 /* Override any gcc2 internal prototype to avoid an error.  */
92048 #ifdef __cplusplus
92049 extern "C"
92050 {
92051 #endif
92052 /* We use char because int might match the return type of a gcc2
92053    builtin and then its argument prototype would still apply.  */
92054 char $ac_func ();
92055 /* The GNU C library defines this for functions which it implements
92056     to always fail with ENOSYS.  Some functions are actually named
92057     something starting with __ and the normal name is an alias.  */
92058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92059 choke me
92060 #else
92061 char (*f) () = $ac_func;
92062 #endif
92063 #ifdef __cplusplus
92064 }
92065 #endif
92066
92067 int
92068 main ()
92069 {
92070 return f != $ac_func;
92071   ;
92072   return 0;
92073 }
92074 _ACEOF
92075 rm -f conftest.$ac_objext conftest$ac_exeext
92076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92077   (eval $ac_link) 2>conftest.er1
92078   ac_status=$?
92079   grep -v '^ *+' conftest.er1 >conftest.err
92080   rm -f conftest.er1
92081   cat conftest.err >&5
92082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92083   (exit $ac_status); } &&
92084          { ac_try='test -z "$ac_c_werror_flag"
92085                          || test ! -s conftest.err'
92086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92087   (eval $ac_try) 2>&5
92088   ac_status=$?
92089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92090   (exit $ac_status); }; } &&
92091          { ac_try='test -s conftest$ac_exeext'
92092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92093   (eval $ac_try) 2>&5
92094   ac_status=$?
92095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92096   (exit $ac_status); }; }; then
92097   eval "$as_ac_var=yes"
92098 else
92099   echo "$as_me: failed program was:" >&5
92100 sed 's/^/| /' conftest.$ac_ext >&5
92101
92102 eval "$as_ac_var=no"
92103 fi
92104 rm -f conftest.err conftest.$ac_objext \
92105       conftest$ac_exeext conftest.$ac_ext
92106 fi
92107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92109 if test `eval echo '${'$as_ac_var'}'` = yes; then
92110   cat >>confdefs.h <<_ACEOF
92111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92112 _ACEOF
92113
92114 fi
92115 done
92116
92117   else
92118
92119   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92120 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92121   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92122     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92123   echo $ECHO_N "(cached) $ECHO_C" >&6
92124 else
92125
92126
92127
92128       ac_ext=cc
92129 ac_cpp='$CXXCPP $CPPFLAGS'
92130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92133
92134       cat >conftest.$ac_ext <<_ACEOF
92135 /* confdefs.h.  */
92136 _ACEOF
92137 cat confdefs.h >>conftest.$ac_ext
92138 cat >>conftest.$ac_ext <<_ACEOF
92139 /* end confdefs.h.  */
92140 #include <math.h>
92141                       #ifdef HAVE_IEEEFP_H
92142                       #include <ieeefp.h>
92143                       #endif
92144
92145 int
92146 main ()
92147 {
92148  _isnanf(0);
92149   ;
92150   return 0;
92151 }
92152 _ACEOF
92153 rm -f conftest.$ac_objext
92154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92155   (eval $ac_compile) 2>conftest.er1
92156   ac_status=$?
92157   grep -v '^ *+' conftest.er1 >conftest.err
92158   rm -f conftest.er1
92159   cat conftest.err >&5
92160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92161   (exit $ac_status); } &&
92162          { ac_try='test -z "$ac_cxx_werror_flag"
92163                          || test ! -s conftest.err'
92164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92165   (eval $ac_try) 2>&5
92166   ac_status=$?
92167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92168   (exit $ac_status); }; } &&
92169          { ac_try='test -s conftest.$ac_objext'
92170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92171   (eval $ac_try) 2>&5
92172   ac_status=$?
92173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92174   (exit $ac_status); }; }; then
92175   glibcxx_cv_func__isnanf_use=yes
92176 else
92177   echo "$as_me: failed program was:" >&5
92178 sed 's/^/| /' conftest.$ac_ext >&5
92179
92180 glibcxx_cv_func__isnanf_use=no
92181 fi
92182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92183       ac_ext=c
92184 ac_cpp='$CPP $CPPFLAGS'
92185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92188
92189
92190 fi
92191
92192   fi
92193   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92194 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92195
92196     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92197
92198 for ac_func in _isnanf
92199 do
92200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92201 echo "$as_me:$LINENO: checking for $ac_func" >&5
92202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92203 if eval "test \"\${$as_ac_var+set}\" = set"; then
92204   echo $ECHO_N "(cached) $ECHO_C" >&6
92205 else
92206   if test x$gcc_no_link = xyes; then
92207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92209    { (exit 1); exit 1; }; }
92210 fi
92211 cat >conftest.$ac_ext <<_ACEOF
92212 /* confdefs.h.  */
92213 _ACEOF
92214 cat confdefs.h >>conftest.$ac_ext
92215 cat >>conftest.$ac_ext <<_ACEOF
92216 /* end confdefs.h.  */
92217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92219 #define $ac_func innocuous_$ac_func
92220
92221 /* System header to define __stub macros and hopefully few prototypes,
92222     which can conflict with char $ac_func (); below.
92223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92224     <limits.h> exists even on freestanding compilers.  */
92225
92226 #ifdef __STDC__
92227 # include <limits.h>
92228 #else
92229 # include <assert.h>
92230 #endif
92231
92232 #undef $ac_func
92233
92234 /* Override any gcc2 internal prototype to avoid an error.  */
92235 #ifdef __cplusplus
92236 extern "C"
92237 {
92238 #endif
92239 /* We use char because int might match the return type of a gcc2
92240    builtin and then its argument prototype would still apply.  */
92241 char $ac_func ();
92242 /* The GNU C library defines this for functions which it implements
92243     to always fail with ENOSYS.  Some functions are actually named
92244     something starting with __ and the normal name is an alias.  */
92245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92246 choke me
92247 #else
92248 char (*f) () = $ac_func;
92249 #endif
92250 #ifdef __cplusplus
92251 }
92252 #endif
92253
92254 int
92255 main ()
92256 {
92257 return f != $ac_func;
92258   ;
92259   return 0;
92260 }
92261 _ACEOF
92262 rm -f conftest.$ac_objext conftest$ac_exeext
92263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92264   (eval $ac_link) 2>conftest.er1
92265   ac_status=$?
92266   grep -v '^ *+' conftest.er1 >conftest.err
92267   rm -f conftest.er1
92268   cat conftest.err >&5
92269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92270   (exit $ac_status); } &&
92271          { ac_try='test -z "$ac_c_werror_flag"
92272                          || test ! -s conftest.err'
92273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92274   (eval $ac_try) 2>&5
92275   ac_status=$?
92276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92277   (exit $ac_status); }; } &&
92278          { ac_try='test -s conftest$ac_exeext'
92279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92280   (eval $ac_try) 2>&5
92281   ac_status=$?
92282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92283   (exit $ac_status); }; }; then
92284   eval "$as_ac_var=yes"
92285 else
92286   echo "$as_me: failed program was:" >&5
92287 sed 's/^/| /' conftest.$ac_ext >&5
92288
92289 eval "$as_ac_var=no"
92290 fi
92291 rm -f conftest.err conftest.$ac_objext \
92292       conftest$ac_exeext conftest.$ac_ext
92293 fi
92294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92296 if test `eval echo '${'$as_ac_var'}'` = yes; then
92297   cat >>confdefs.h <<_ACEOF
92298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92299 _ACEOF
92300
92301 fi
92302 done
92303
92304     fi
92305   fi
92306
92307
92308
92309
92310
92311
92312   echo "$as_me:$LINENO: checking for isinff declaration" >&5
92313 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92314   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92315     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92316   echo $ECHO_N "(cached) $ECHO_C" >&6
92317 else
92318
92319
92320
92321       ac_ext=cc
92322 ac_cpp='$CXXCPP $CPPFLAGS'
92323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92326
92327       cat >conftest.$ac_ext <<_ACEOF
92328 /* confdefs.h.  */
92329 _ACEOF
92330 cat confdefs.h >>conftest.$ac_ext
92331 cat >>conftest.$ac_ext <<_ACEOF
92332 /* end confdefs.h.  */
92333 #include <math.h>
92334                       #ifdef HAVE_IEEEFP_H
92335                       #include <ieeefp.h>
92336                       #endif
92337
92338 int
92339 main ()
92340 {
92341  isinff(0);
92342   ;
92343   return 0;
92344 }
92345 _ACEOF
92346 rm -f conftest.$ac_objext
92347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92348   (eval $ac_compile) 2>conftest.er1
92349   ac_status=$?
92350   grep -v '^ *+' conftest.er1 >conftest.err
92351   rm -f conftest.er1
92352   cat conftest.err >&5
92353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354   (exit $ac_status); } &&
92355          { ac_try='test -z "$ac_cxx_werror_flag"
92356                          || test ! -s conftest.err'
92357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92358   (eval $ac_try) 2>&5
92359   ac_status=$?
92360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92361   (exit $ac_status); }; } &&
92362          { ac_try='test -s conftest.$ac_objext'
92363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92364   (eval $ac_try) 2>&5
92365   ac_status=$?
92366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92367   (exit $ac_status); }; }; then
92368   glibcxx_cv_func_isinff_use=yes
92369 else
92370   echo "$as_me: failed program was:" >&5
92371 sed 's/^/| /' conftest.$ac_ext >&5
92372
92373 glibcxx_cv_func_isinff_use=no
92374 fi
92375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92376       ac_ext=c
92377 ac_cpp='$CPP $CPPFLAGS'
92378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92381
92382
92383 fi
92384
92385   fi
92386   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92387 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92388
92389   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92390
92391 for ac_func in isinff
92392 do
92393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92394 echo "$as_me:$LINENO: checking for $ac_func" >&5
92395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92396 if eval "test \"\${$as_ac_var+set}\" = set"; then
92397   echo $ECHO_N "(cached) $ECHO_C" >&6
92398 else
92399   if test x$gcc_no_link = xyes; then
92400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92402    { (exit 1); exit 1; }; }
92403 fi
92404 cat >conftest.$ac_ext <<_ACEOF
92405 /* confdefs.h.  */
92406 _ACEOF
92407 cat confdefs.h >>conftest.$ac_ext
92408 cat >>conftest.$ac_ext <<_ACEOF
92409 /* end confdefs.h.  */
92410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92412 #define $ac_func innocuous_$ac_func
92413
92414 /* System header to define __stub macros and hopefully few prototypes,
92415     which can conflict with char $ac_func (); below.
92416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92417     <limits.h> exists even on freestanding compilers.  */
92418
92419 #ifdef __STDC__
92420 # include <limits.h>
92421 #else
92422 # include <assert.h>
92423 #endif
92424
92425 #undef $ac_func
92426
92427 /* Override any gcc2 internal prototype to avoid an error.  */
92428 #ifdef __cplusplus
92429 extern "C"
92430 {
92431 #endif
92432 /* We use char because int might match the return type of a gcc2
92433    builtin and then its argument prototype would still apply.  */
92434 char $ac_func ();
92435 /* The GNU C library defines this for functions which it implements
92436     to always fail with ENOSYS.  Some functions are actually named
92437     something starting with __ and the normal name is an alias.  */
92438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92439 choke me
92440 #else
92441 char (*f) () = $ac_func;
92442 #endif
92443 #ifdef __cplusplus
92444 }
92445 #endif
92446
92447 int
92448 main ()
92449 {
92450 return f != $ac_func;
92451   ;
92452   return 0;
92453 }
92454 _ACEOF
92455 rm -f conftest.$ac_objext conftest$ac_exeext
92456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92457   (eval $ac_link) 2>conftest.er1
92458   ac_status=$?
92459   grep -v '^ *+' conftest.er1 >conftest.err
92460   rm -f conftest.er1
92461   cat conftest.err >&5
92462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92463   (exit $ac_status); } &&
92464          { ac_try='test -z "$ac_c_werror_flag"
92465                          || test ! -s conftest.err'
92466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92467   (eval $ac_try) 2>&5
92468   ac_status=$?
92469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92470   (exit $ac_status); }; } &&
92471          { ac_try='test -s conftest$ac_exeext'
92472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92473   (eval $ac_try) 2>&5
92474   ac_status=$?
92475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92476   (exit $ac_status); }; }; then
92477   eval "$as_ac_var=yes"
92478 else
92479   echo "$as_me: failed program was:" >&5
92480 sed 's/^/| /' conftest.$ac_ext >&5
92481
92482 eval "$as_ac_var=no"
92483 fi
92484 rm -f conftest.err conftest.$ac_objext \
92485       conftest$ac_exeext conftest.$ac_ext
92486 fi
92487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92489 if test `eval echo '${'$as_ac_var'}'` = yes; then
92490   cat >>confdefs.h <<_ACEOF
92491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92492 _ACEOF
92493
92494 fi
92495 done
92496
92497   else
92498
92499   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92500 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92501   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92502     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92503   echo $ECHO_N "(cached) $ECHO_C" >&6
92504 else
92505
92506
92507
92508       ac_ext=cc
92509 ac_cpp='$CXXCPP $CPPFLAGS'
92510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92513
92514       cat >conftest.$ac_ext <<_ACEOF
92515 /* confdefs.h.  */
92516 _ACEOF
92517 cat confdefs.h >>conftest.$ac_ext
92518 cat >>conftest.$ac_ext <<_ACEOF
92519 /* end confdefs.h.  */
92520 #include <math.h>
92521                       #ifdef HAVE_IEEEFP_H
92522                       #include <ieeefp.h>
92523                       #endif
92524
92525 int
92526 main ()
92527 {
92528  _isinff(0);
92529   ;
92530   return 0;
92531 }
92532 _ACEOF
92533 rm -f conftest.$ac_objext
92534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92535   (eval $ac_compile) 2>conftest.er1
92536   ac_status=$?
92537   grep -v '^ *+' conftest.er1 >conftest.err
92538   rm -f conftest.er1
92539   cat conftest.err >&5
92540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92541   (exit $ac_status); } &&
92542          { ac_try='test -z "$ac_cxx_werror_flag"
92543                          || test ! -s conftest.err'
92544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92545   (eval $ac_try) 2>&5
92546   ac_status=$?
92547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92548   (exit $ac_status); }; } &&
92549          { ac_try='test -s conftest.$ac_objext'
92550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92551   (eval $ac_try) 2>&5
92552   ac_status=$?
92553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92554   (exit $ac_status); }; }; then
92555   glibcxx_cv_func__isinff_use=yes
92556 else
92557   echo "$as_me: failed program was:" >&5
92558 sed 's/^/| /' conftest.$ac_ext >&5
92559
92560 glibcxx_cv_func__isinff_use=no
92561 fi
92562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92563       ac_ext=c
92564 ac_cpp='$CPP $CPPFLAGS'
92565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92568
92569
92570 fi
92571
92572   fi
92573   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92574 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92575
92576     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92577
92578 for ac_func in _isinff
92579 do
92580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92581 echo "$as_me:$LINENO: checking for $ac_func" >&5
92582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92583 if eval "test \"\${$as_ac_var+set}\" = set"; then
92584   echo $ECHO_N "(cached) $ECHO_C" >&6
92585 else
92586   if test x$gcc_no_link = xyes; then
92587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92589    { (exit 1); exit 1; }; }
92590 fi
92591 cat >conftest.$ac_ext <<_ACEOF
92592 /* confdefs.h.  */
92593 _ACEOF
92594 cat confdefs.h >>conftest.$ac_ext
92595 cat >>conftest.$ac_ext <<_ACEOF
92596 /* end confdefs.h.  */
92597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92599 #define $ac_func innocuous_$ac_func
92600
92601 /* System header to define __stub macros and hopefully few prototypes,
92602     which can conflict with char $ac_func (); below.
92603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92604     <limits.h> exists even on freestanding compilers.  */
92605
92606 #ifdef __STDC__
92607 # include <limits.h>
92608 #else
92609 # include <assert.h>
92610 #endif
92611
92612 #undef $ac_func
92613
92614 /* Override any gcc2 internal prototype to avoid an error.  */
92615 #ifdef __cplusplus
92616 extern "C"
92617 {
92618 #endif
92619 /* We use char because int might match the return type of a gcc2
92620    builtin and then its argument prototype would still apply.  */
92621 char $ac_func ();
92622 /* The GNU C library defines this for functions which it implements
92623     to always fail with ENOSYS.  Some functions are actually named
92624     something starting with __ and the normal name is an alias.  */
92625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92626 choke me
92627 #else
92628 char (*f) () = $ac_func;
92629 #endif
92630 #ifdef __cplusplus
92631 }
92632 #endif
92633
92634 int
92635 main ()
92636 {
92637 return f != $ac_func;
92638   ;
92639   return 0;
92640 }
92641 _ACEOF
92642 rm -f conftest.$ac_objext conftest$ac_exeext
92643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92644   (eval $ac_link) 2>conftest.er1
92645   ac_status=$?
92646   grep -v '^ *+' conftest.er1 >conftest.err
92647   rm -f conftest.er1
92648   cat conftest.err >&5
92649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92650   (exit $ac_status); } &&
92651          { ac_try='test -z "$ac_c_werror_flag"
92652                          || test ! -s conftest.err'
92653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92654   (eval $ac_try) 2>&5
92655   ac_status=$?
92656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92657   (exit $ac_status); }; } &&
92658          { ac_try='test -s conftest$ac_exeext'
92659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92660   (eval $ac_try) 2>&5
92661   ac_status=$?
92662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92663   (exit $ac_status); }; }; then
92664   eval "$as_ac_var=yes"
92665 else
92666   echo "$as_me: failed program was:" >&5
92667 sed 's/^/| /' conftest.$ac_ext >&5
92668
92669 eval "$as_ac_var=no"
92670 fi
92671 rm -f conftest.err conftest.$ac_objext \
92672       conftest$ac_exeext conftest.$ac_ext
92673 fi
92674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92676 if test `eval echo '${'$as_ac_var'}'` = yes; then
92677   cat >>confdefs.h <<_ACEOF
92678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92679 _ACEOF
92680
92681 fi
92682 done
92683
92684     fi
92685   fi
92686
92687
92688
92689
92690
92691
92692   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92693 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92694   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92695     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92696   echo $ECHO_N "(cached) $ECHO_C" >&6
92697 else
92698
92699
92700
92701       ac_ext=cc
92702 ac_cpp='$CXXCPP $CPPFLAGS'
92703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92706
92707       cat >conftest.$ac_ext <<_ACEOF
92708 /* confdefs.h.  */
92709 _ACEOF
92710 cat confdefs.h >>conftest.$ac_ext
92711 cat >>conftest.$ac_ext <<_ACEOF
92712 /* end confdefs.h.  */
92713 #include <math.h>
92714 int
92715 main ()
92716 {
92717  atan2f(0, 0);
92718   ;
92719   return 0;
92720 }
92721 _ACEOF
92722 rm -f conftest.$ac_objext
92723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92724   (eval $ac_compile) 2>conftest.er1
92725   ac_status=$?
92726   grep -v '^ *+' conftest.er1 >conftest.err
92727   rm -f conftest.er1
92728   cat conftest.err >&5
92729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92730   (exit $ac_status); } &&
92731          { ac_try='test -z "$ac_cxx_werror_flag"
92732                          || test ! -s conftest.err'
92733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92734   (eval $ac_try) 2>&5
92735   ac_status=$?
92736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92737   (exit $ac_status); }; } &&
92738          { ac_try='test -s conftest.$ac_objext'
92739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92740   (eval $ac_try) 2>&5
92741   ac_status=$?
92742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92743   (exit $ac_status); }; }; then
92744   glibcxx_cv_func_atan2f_use=yes
92745 else
92746   echo "$as_me: failed program was:" >&5
92747 sed 's/^/| /' conftest.$ac_ext >&5
92748
92749 glibcxx_cv_func_atan2f_use=no
92750 fi
92751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92752       ac_ext=c
92753 ac_cpp='$CPP $CPPFLAGS'
92754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92757
92758
92759 fi
92760
92761   fi
92762   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92763 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92764
92765   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92766
92767 for ac_func in atan2f
92768 do
92769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92770 echo "$as_me:$LINENO: checking for $ac_func" >&5
92771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92772 if eval "test \"\${$as_ac_var+set}\" = set"; then
92773   echo $ECHO_N "(cached) $ECHO_C" >&6
92774 else
92775   if test x$gcc_no_link = xyes; then
92776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92778    { (exit 1); exit 1; }; }
92779 fi
92780 cat >conftest.$ac_ext <<_ACEOF
92781 /* confdefs.h.  */
92782 _ACEOF
92783 cat confdefs.h >>conftest.$ac_ext
92784 cat >>conftest.$ac_ext <<_ACEOF
92785 /* end confdefs.h.  */
92786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92788 #define $ac_func innocuous_$ac_func
92789
92790 /* System header to define __stub macros and hopefully few prototypes,
92791     which can conflict with char $ac_func (); below.
92792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92793     <limits.h> exists even on freestanding compilers.  */
92794
92795 #ifdef __STDC__
92796 # include <limits.h>
92797 #else
92798 # include <assert.h>
92799 #endif
92800
92801 #undef $ac_func
92802
92803 /* Override any gcc2 internal prototype to avoid an error.  */
92804 #ifdef __cplusplus
92805 extern "C"
92806 {
92807 #endif
92808 /* We use char because int might match the return type of a gcc2
92809    builtin and then its argument prototype would still apply.  */
92810 char $ac_func ();
92811 /* The GNU C library defines this for functions which it implements
92812     to always fail with ENOSYS.  Some functions are actually named
92813     something starting with __ and the normal name is an alias.  */
92814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92815 choke me
92816 #else
92817 char (*f) () = $ac_func;
92818 #endif
92819 #ifdef __cplusplus
92820 }
92821 #endif
92822
92823 int
92824 main ()
92825 {
92826 return f != $ac_func;
92827   ;
92828   return 0;
92829 }
92830 _ACEOF
92831 rm -f conftest.$ac_objext conftest$ac_exeext
92832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92833   (eval $ac_link) 2>conftest.er1
92834   ac_status=$?
92835   grep -v '^ *+' conftest.er1 >conftest.err
92836   rm -f conftest.er1
92837   cat conftest.err >&5
92838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92839   (exit $ac_status); } &&
92840          { ac_try='test -z "$ac_c_werror_flag"
92841                          || test ! -s conftest.err'
92842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92843   (eval $ac_try) 2>&5
92844   ac_status=$?
92845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92846   (exit $ac_status); }; } &&
92847          { ac_try='test -s conftest$ac_exeext'
92848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92849   (eval $ac_try) 2>&5
92850   ac_status=$?
92851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92852   (exit $ac_status); }; }; then
92853   eval "$as_ac_var=yes"
92854 else
92855   echo "$as_me: failed program was:" >&5
92856 sed 's/^/| /' conftest.$ac_ext >&5
92857
92858 eval "$as_ac_var=no"
92859 fi
92860 rm -f conftest.err conftest.$ac_objext \
92861       conftest$ac_exeext conftest.$ac_ext
92862 fi
92863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92865 if test `eval echo '${'$as_ac_var'}'` = yes; then
92866   cat >>confdefs.h <<_ACEOF
92867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92868 _ACEOF
92869
92870 fi
92871 done
92872
92873   else
92874
92875   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
92876 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
92877   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
92878     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
92879   echo $ECHO_N "(cached) $ECHO_C" >&6
92880 else
92881
92882
92883
92884       ac_ext=cc
92885 ac_cpp='$CXXCPP $CPPFLAGS'
92886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92889
92890       cat >conftest.$ac_ext <<_ACEOF
92891 /* confdefs.h.  */
92892 _ACEOF
92893 cat confdefs.h >>conftest.$ac_ext
92894 cat >>conftest.$ac_ext <<_ACEOF
92895 /* end confdefs.h.  */
92896 #include <math.h>
92897 int
92898 main ()
92899 {
92900  _atan2f(0, 0);
92901   ;
92902   return 0;
92903 }
92904 _ACEOF
92905 rm -f conftest.$ac_objext
92906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92907   (eval $ac_compile) 2>conftest.er1
92908   ac_status=$?
92909   grep -v '^ *+' conftest.er1 >conftest.err
92910   rm -f conftest.er1
92911   cat conftest.err >&5
92912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92913   (exit $ac_status); } &&
92914          { ac_try='test -z "$ac_cxx_werror_flag"
92915                          || test ! -s conftest.err'
92916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92917   (eval $ac_try) 2>&5
92918   ac_status=$?
92919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92920   (exit $ac_status); }; } &&
92921          { ac_try='test -s conftest.$ac_objext'
92922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92923   (eval $ac_try) 2>&5
92924   ac_status=$?
92925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92926   (exit $ac_status); }; }; then
92927   glibcxx_cv_func__atan2f_use=yes
92928 else
92929   echo "$as_me: failed program was:" >&5
92930 sed 's/^/| /' conftest.$ac_ext >&5
92931
92932 glibcxx_cv_func__atan2f_use=no
92933 fi
92934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92935       ac_ext=c
92936 ac_cpp='$CPP $CPPFLAGS'
92937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92940
92941
92942 fi
92943
92944   fi
92945   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
92946 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
92947
92948     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
92949
92950 for ac_func in _atan2f
92951 do
92952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92953 echo "$as_me:$LINENO: checking for $ac_func" >&5
92954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92955 if eval "test \"\${$as_ac_var+set}\" = set"; then
92956   echo $ECHO_N "(cached) $ECHO_C" >&6
92957 else
92958   if test x$gcc_no_link = xyes; then
92959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92961    { (exit 1); exit 1; }; }
92962 fi
92963 cat >conftest.$ac_ext <<_ACEOF
92964 /* confdefs.h.  */
92965 _ACEOF
92966 cat confdefs.h >>conftest.$ac_ext
92967 cat >>conftest.$ac_ext <<_ACEOF
92968 /* end confdefs.h.  */
92969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92971 #define $ac_func innocuous_$ac_func
92972
92973 /* System header to define __stub macros and hopefully few prototypes,
92974     which can conflict with char $ac_func (); below.
92975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92976     <limits.h> exists even on freestanding compilers.  */
92977
92978 #ifdef __STDC__
92979 # include <limits.h>
92980 #else
92981 # include <assert.h>
92982 #endif
92983
92984 #undef $ac_func
92985
92986 /* Override any gcc2 internal prototype to avoid an error.  */
92987 #ifdef __cplusplus
92988 extern "C"
92989 {
92990 #endif
92991 /* We use char because int might match the return type of a gcc2
92992    builtin and then its argument prototype would still apply.  */
92993 char $ac_func ();
92994 /* The GNU C library defines this for functions which it implements
92995     to always fail with ENOSYS.  Some functions are actually named
92996     something starting with __ and the normal name is an alias.  */
92997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92998 choke me
92999 #else
93000 char (*f) () = $ac_func;
93001 #endif
93002 #ifdef __cplusplus
93003 }
93004 #endif
93005
93006 int
93007 main ()
93008 {
93009 return f != $ac_func;
93010   ;
93011   return 0;
93012 }
93013 _ACEOF
93014 rm -f conftest.$ac_objext conftest$ac_exeext
93015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93016   (eval $ac_link) 2>conftest.er1
93017   ac_status=$?
93018   grep -v '^ *+' conftest.er1 >conftest.err
93019   rm -f conftest.er1
93020   cat conftest.err >&5
93021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93022   (exit $ac_status); } &&
93023          { ac_try='test -z "$ac_c_werror_flag"
93024                          || test ! -s conftest.err'
93025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93026   (eval $ac_try) 2>&5
93027   ac_status=$?
93028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93029   (exit $ac_status); }; } &&
93030          { ac_try='test -s conftest$ac_exeext'
93031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93032   (eval $ac_try) 2>&5
93033   ac_status=$?
93034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93035   (exit $ac_status); }; }; then
93036   eval "$as_ac_var=yes"
93037 else
93038   echo "$as_me: failed program was:" >&5
93039 sed 's/^/| /' conftest.$ac_ext >&5
93040
93041 eval "$as_ac_var=no"
93042 fi
93043 rm -f conftest.err conftest.$ac_objext \
93044       conftest$ac_exeext conftest.$ac_ext
93045 fi
93046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93048 if test `eval echo '${'$as_ac_var'}'` = yes; then
93049   cat >>confdefs.h <<_ACEOF
93050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93051 _ACEOF
93052
93053 fi
93054 done
93055
93056     fi
93057   fi
93058
93059
93060
93061
93062
93063
93064   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93065 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93066   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93067     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93068   echo $ECHO_N "(cached) $ECHO_C" >&6
93069 else
93070
93071
93072
93073       ac_ext=cc
93074 ac_cpp='$CXXCPP $CPPFLAGS'
93075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93078
93079       cat >conftest.$ac_ext <<_ACEOF
93080 /* confdefs.h.  */
93081 _ACEOF
93082 cat confdefs.h >>conftest.$ac_ext
93083 cat >>conftest.$ac_ext <<_ACEOF
93084 /* end confdefs.h.  */
93085 #include <math.h>
93086                       #ifdef HAVE_IEEEFP_H
93087                       #include <ieeefp.h>
93088                       #endif
93089
93090 int
93091 main ()
93092 {
93093  fabsf(0);
93094   ;
93095   return 0;
93096 }
93097 _ACEOF
93098 rm -f conftest.$ac_objext
93099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93100   (eval $ac_compile) 2>conftest.er1
93101   ac_status=$?
93102   grep -v '^ *+' conftest.er1 >conftest.err
93103   rm -f conftest.er1
93104   cat conftest.err >&5
93105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93106   (exit $ac_status); } &&
93107          { ac_try='test -z "$ac_cxx_werror_flag"
93108                          || test ! -s conftest.err'
93109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93110   (eval $ac_try) 2>&5
93111   ac_status=$?
93112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93113   (exit $ac_status); }; } &&
93114          { ac_try='test -s conftest.$ac_objext'
93115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93116   (eval $ac_try) 2>&5
93117   ac_status=$?
93118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93119   (exit $ac_status); }; }; then
93120   glibcxx_cv_func_fabsf_use=yes
93121 else
93122   echo "$as_me: failed program was:" >&5
93123 sed 's/^/| /' conftest.$ac_ext >&5
93124
93125 glibcxx_cv_func_fabsf_use=no
93126 fi
93127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93128       ac_ext=c
93129 ac_cpp='$CPP $CPPFLAGS'
93130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93133
93134
93135 fi
93136
93137   fi
93138   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93139 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93140
93141   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93142
93143 for ac_func in fabsf
93144 do
93145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93146 echo "$as_me:$LINENO: checking for $ac_func" >&5
93147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93148 if eval "test \"\${$as_ac_var+set}\" = set"; then
93149   echo $ECHO_N "(cached) $ECHO_C" >&6
93150 else
93151   if test x$gcc_no_link = xyes; then
93152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93154    { (exit 1); exit 1; }; }
93155 fi
93156 cat >conftest.$ac_ext <<_ACEOF
93157 /* confdefs.h.  */
93158 _ACEOF
93159 cat confdefs.h >>conftest.$ac_ext
93160 cat >>conftest.$ac_ext <<_ACEOF
93161 /* end confdefs.h.  */
93162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93164 #define $ac_func innocuous_$ac_func
93165
93166 /* System header to define __stub macros and hopefully few prototypes,
93167     which can conflict with char $ac_func (); below.
93168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93169     <limits.h> exists even on freestanding compilers.  */
93170
93171 #ifdef __STDC__
93172 # include <limits.h>
93173 #else
93174 # include <assert.h>
93175 #endif
93176
93177 #undef $ac_func
93178
93179 /* Override any gcc2 internal prototype to avoid an error.  */
93180 #ifdef __cplusplus
93181 extern "C"
93182 {
93183 #endif
93184 /* We use char because int might match the return type of a gcc2
93185    builtin and then its argument prototype would still apply.  */
93186 char $ac_func ();
93187 /* The GNU C library defines this for functions which it implements
93188     to always fail with ENOSYS.  Some functions are actually named
93189     something starting with __ and the normal name is an alias.  */
93190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93191 choke me
93192 #else
93193 char (*f) () = $ac_func;
93194 #endif
93195 #ifdef __cplusplus
93196 }
93197 #endif
93198
93199 int
93200 main ()
93201 {
93202 return f != $ac_func;
93203   ;
93204   return 0;
93205 }
93206 _ACEOF
93207 rm -f conftest.$ac_objext conftest$ac_exeext
93208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93209   (eval $ac_link) 2>conftest.er1
93210   ac_status=$?
93211   grep -v '^ *+' conftest.er1 >conftest.err
93212   rm -f conftest.er1
93213   cat conftest.err >&5
93214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93215   (exit $ac_status); } &&
93216          { ac_try='test -z "$ac_c_werror_flag"
93217                          || test ! -s conftest.err'
93218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93219   (eval $ac_try) 2>&5
93220   ac_status=$?
93221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93222   (exit $ac_status); }; } &&
93223          { ac_try='test -s conftest$ac_exeext'
93224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93225   (eval $ac_try) 2>&5
93226   ac_status=$?
93227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93228   (exit $ac_status); }; }; then
93229   eval "$as_ac_var=yes"
93230 else
93231   echo "$as_me: failed program was:" >&5
93232 sed 's/^/| /' conftest.$ac_ext >&5
93233
93234 eval "$as_ac_var=no"
93235 fi
93236 rm -f conftest.err conftest.$ac_objext \
93237       conftest$ac_exeext conftest.$ac_ext
93238 fi
93239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93241 if test `eval echo '${'$as_ac_var'}'` = yes; then
93242   cat >>confdefs.h <<_ACEOF
93243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93244 _ACEOF
93245
93246 fi
93247 done
93248
93249   else
93250
93251   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93252 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93253   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93254     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93255   echo $ECHO_N "(cached) $ECHO_C" >&6
93256 else
93257
93258
93259
93260       ac_ext=cc
93261 ac_cpp='$CXXCPP $CPPFLAGS'
93262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93265
93266       cat >conftest.$ac_ext <<_ACEOF
93267 /* confdefs.h.  */
93268 _ACEOF
93269 cat confdefs.h >>conftest.$ac_ext
93270 cat >>conftest.$ac_ext <<_ACEOF
93271 /* end confdefs.h.  */
93272 #include <math.h>
93273                       #ifdef HAVE_IEEEFP_H
93274                       #include <ieeefp.h>
93275                       #endif
93276
93277 int
93278 main ()
93279 {
93280  _fabsf(0);
93281   ;
93282   return 0;
93283 }
93284 _ACEOF
93285 rm -f conftest.$ac_objext
93286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93287   (eval $ac_compile) 2>conftest.er1
93288   ac_status=$?
93289   grep -v '^ *+' conftest.er1 >conftest.err
93290   rm -f conftest.er1
93291   cat conftest.err >&5
93292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93293   (exit $ac_status); } &&
93294          { ac_try='test -z "$ac_cxx_werror_flag"
93295                          || test ! -s conftest.err'
93296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93297   (eval $ac_try) 2>&5
93298   ac_status=$?
93299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93300   (exit $ac_status); }; } &&
93301          { ac_try='test -s conftest.$ac_objext'
93302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93303   (eval $ac_try) 2>&5
93304   ac_status=$?
93305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93306   (exit $ac_status); }; }; then
93307   glibcxx_cv_func__fabsf_use=yes
93308 else
93309   echo "$as_me: failed program was:" >&5
93310 sed 's/^/| /' conftest.$ac_ext >&5
93311
93312 glibcxx_cv_func__fabsf_use=no
93313 fi
93314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93315       ac_ext=c
93316 ac_cpp='$CPP $CPPFLAGS'
93317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93320
93321
93322 fi
93323
93324   fi
93325   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93326 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93327
93328     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93329
93330 for ac_func in _fabsf
93331 do
93332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93333 echo "$as_me:$LINENO: checking for $ac_func" >&5
93334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93335 if eval "test \"\${$as_ac_var+set}\" = set"; then
93336   echo $ECHO_N "(cached) $ECHO_C" >&6
93337 else
93338   if test x$gcc_no_link = xyes; then
93339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93341    { (exit 1); exit 1; }; }
93342 fi
93343 cat >conftest.$ac_ext <<_ACEOF
93344 /* confdefs.h.  */
93345 _ACEOF
93346 cat confdefs.h >>conftest.$ac_ext
93347 cat >>conftest.$ac_ext <<_ACEOF
93348 /* end confdefs.h.  */
93349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93351 #define $ac_func innocuous_$ac_func
93352
93353 /* System header to define __stub macros and hopefully few prototypes,
93354     which can conflict with char $ac_func (); below.
93355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93356     <limits.h> exists even on freestanding compilers.  */
93357
93358 #ifdef __STDC__
93359 # include <limits.h>
93360 #else
93361 # include <assert.h>
93362 #endif
93363
93364 #undef $ac_func
93365
93366 /* Override any gcc2 internal prototype to avoid an error.  */
93367 #ifdef __cplusplus
93368 extern "C"
93369 {
93370 #endif
93371 /* We use char because int might match the return type of a gcc2
93372    builtin and then its argument prototype would still apply.  */
93373 char $ac_func ();
93374 /* The GNU C library defines this for functions which it implements
93375     to always fail with ENOSYS.  Some functions are actually named
93376     something starting with __ and the normal name is an alias.  */
93377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93378 choke me
93379 #else
93380 char (*f) () = $ac_func;
93381 #endif
93382 #ifdef __cplusplus
93383 }
93384 #endif
93385
93386 int
93387 main ()
93388 {
93389 return f != $ac_func;
93390   ;
93391   return 0;
93392 }
93393 _ACEOF
93394 rm -f conftest.$ac_objext conftest$ac_exeext
93395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93396   (eval $ac_link) 2>conftest.er1
93397   ac_status=$?
93398   grep -v '^ *+' conftest.er1 >conftest.err
93399   rm -f conftest.er1
93400   cat conftest.err >&5
93401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93402   (exit $ac_status); } &&
93403          { ac_try='test -z "$ac_c_werror_flag"
93404                          || test ! -s conftest.err'
93405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93406   (eval $ac_try) 2>&5
93407   ac_status=$?
93408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93409   (exit $ac_status); }; } &&
93410          { ac_try='test -s conftest$ac_exeext'
93411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93412   (eval $ac_try) 2>&5
93413   ac_status=$?
93414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93415   (exit $ac_status); }; }; then
93416   eval "$as_ac_var=yes"
93417 else
93418   echo "$as_me: failed program was:" >&5
93419 sed 's/^/| /' conftest.$ac_ext >&5
93420
93421 eval "$as_ac_var=no"
93422 fi
93423 rm -f conftest.err conftest.$ac_objext \
93424       conftest$ac_exeext conftest.$ac_ext
93425 fi
93426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93428 if test `eval echo '${'$as_ac_var'}'` = yes; then
93429   cat >>confdefs.h <<_ACEOF
93430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93431 _ACEOF
93432
93433 fi
93434 done
93435
93436     fi
93437   fi
93438
93439
93440
93441
93442
93443
93444   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93445 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93446   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93447     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93448   echo $ECHO_N "(cached) $ECHO_C" >&6
93449 else
93450
93451
93452
93453       ac_ext=cc
93454 ac_cpp='$CXXCPP $CPPFLAGS'
93455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93458
93459       cat >conftest.$ac_ext <<_ACEOF
93460 /* confdefs.h.  */
93461 _ACEOF
93462 cat confdefs.h >>conftest.$ac_ext
93463 cat >>conftest.$ac_ext <<_ACEOF
93464 /* end confdefs.h.  */
93465 #include <math.h>
93466 int
93467 main ()
93468 {
93469  fmodf(0, 0);
93470   ;
93471   return 0;
93472 }
93473 _ACEOF
93474 rm -f conftest.$ac_objext
93475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93476   (eval $ac_compile) 2>conftest.er1
93477   ac_status=$?
93478   grep -v '^ *+' conftest.er1 >conftest.err
93479   rm -f conftest.er1
93480   cat conftest.err >&5
93481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93482   (exit $ac_status); } &&
93483          { ac_try='test -z "$ac_cxx_werror_flag"
93484                          || test ! -s conftest.err'
93485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93486   (eval $ac_try) 2>&5
93487   ac_status=$?
93488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93489   (exit $ac_status); }; } &&
93490          { ac_try='test -s conftest.$ac_objext'
93491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93492   (eval $ac_try) 2>&5
93493   ac_status=$?
93494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93495   (exit $ac_status); }; }; then
93496   glibcxx_cv_func_fmodf_use=yes
93497 else
93498   echo "$as_me: failed program was:" >&5
93499 sed 's/^/| /' conftest.$ac_ext >&5
93500
93501 glibcxx_cv_func_fmodf_use=no
93502 fi
93503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93504       ac_ext=c
93505 ac_cpp='$CPP $CPPFLAGS'
93506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93509
93510
93511 fi
93512
93513   fi
93514   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93515 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93516
93517   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93518
93519 for ac_func in fmodf
93520 do
93521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93522 echo "$as_me:$LINENO: checking for $ac_func" >&5
93523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93524 if eval "test \"\${$as_ac_var+set}\" = set"; then
93525   echo $ECHO_N "(cached) $ECHO_C" >&6
93526 else
93527   if test x$gcc_no_link = xyes; then
93528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93530    { (exit 1); exit 1; }; }
93531 fi
93532 cat >conftest.$ac_ext <<_ACEOF
93533 /* confdefs.h.  */
93534 _ACEOF
93535 cat confdefs.h >>conftest.$ac_ext
93536 cat >>conftest.$ac_ext <<_ACEOF
93537 /* end confdefs.h.  */
93538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93540 #define $ac_func innocuous_$ac_func
93541
93542 /* System header to define __stub macros and hopefully few prototypes,
93543     which can conflict with char $ac_func (); below.
93544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93545     <limits.h> exists even on freestanding compilers.  */
93546
93547 #ifdef __STDC__
93548 # include <limits.h>
93549 #else
93550 # include <assert.h>
93551 #endif
93552
93553 #undef $ac_func
93554
93555 /* Override any gcc2 internal prototype to avoid an error.  */
93556 #ifdef __cplusplus
93557 extern "C"
93558 {
93559 #endif
93560 /* We use char because int might match the return type of a gcc2
93561    builtin and then its argument prototype would still apply.  */
93562 char $ac_func ();
93563 /* The GNU C library defines this for functions which it implements
93564     to always fail with ENOSYS.  Some functions are actually named
93565     something starting with __ and the normal name is an alias.  */
93566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93567 choke me
93568 #else
93569 char (*f) () = $ac_func;
93570 #endif
93571 #ifdef __cplusplus
93572 }
93573 #endif
93574
93575 int
93576 main ()
93577 {
93578 return f != $ac_func;
93579   ;
93580   return 0;
93581 }
93582 _ACEOF
93583 rm -f conftest.$ac_objext conftest$ac_exeext
93584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93585   (eval $ac_link) 2>conftest.er1
93586   ac_status=$?
93587   grep -v '^ *+' conftest.er1 >conftest.err
93588   rm -f conftest.er1
93589   cat conftest.err >&5
93590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93591   (exit $ac_status); } &&
93592          { ac_try='test -z "$ac_c_werror_flag"
93593                          || test ! -s conftest.err'
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); }; } &&
93599          { ac_try='test -s conftest$ac_exeext'
93600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93601   (eval $ac_try) 2>&5
93602   ac_status=$?
93603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93604   (exit $ac_status); }; }; then
93605   eval "$as_ac_var=yes"
93606 else
93607   echo "$as_me: failed program was:" >&5
93608 sed 's/^/| /' conftest.$ac_ext >&5
93609
93610 eval "$as_ac_var=no"
93611 fi
93612 rm -f conftest.err conftest.$ac_objext \
93613       conftest$ac_exeext conftest.$ac_ext
93614 fi
93615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93617 if test `eval echo '${'$as_ac_var'}'` = yes; then
93618   cat >>confdefs.h <<_ACEOF
93619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93620 _ACEOF
93621
93622 fi
93623 done
93624
93625   else
93626
93627   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93628 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93629   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93630     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93631   echo $ECHO_N "(cached) $ECHO_C" >&6
93632 else
93633
93634
93635
93636       ac_ext=cc
93637 ac_cpp='$CXXCPP $CPPFLAGS'
93638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93641
93642       cat >conftest.$ac_ext <<_ACEOF
93643 /* confdefs.h.  */
93644 _ACEOF
93645 cat confdefs.h >>conftest.$ac_ext
93646 cat >>conftest.$ac_ext <<_ACEOF
93647 /* end confdefs.h.  */
93648 #include <math.h>
93649 int
93650 main ()
93651 {
93652  _fmodf(0, 0);
93653   ;
93654   return 0;
93655 }
93656 _ACEOF
93657 rm -f conftest.$ac_objext
93658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93659   (eval $ac_compile) 2>conftest.er1
93660   ac_status=$?
93661   grep -v '^ *+' conftest.er1 >conftest.err
93662   rm -f conftest.er1
93663   cat conftest.err >&5
93664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93665   (exit $ac_status); } &&
93666          { ac_try='test -z "$ac_cxx_werror_flag"
93667                          || test ! -s conftest.err'
93668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93669   (eval $ac_try) 2>&5
93670   ac_status=$?
93671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93672   (exit $ac_status); }; } &&
93673          { ac_try='test -s conftest.$ac_objext'
93674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93675   (eval $ac_try) 2>&5
93676   ac_status=$?
93677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93678   (exit $ac_status); }; }; then
93679   glibcxx_cv_func__fmodf_use=yes
93680 else
93681   echo "$as_me: failed program was:" >&5
93682 sed 's/^/| /' conftest.$ac_ext >&5
93683
93684 glibcxx_cv_func__fmodf_use=no
93685 fi
93686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93687       ac_ext=c
93688 ac_cpp='$CPP $CPPFLAGS'
93689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93692
93693
93694 fi
93695
93696   fi
93697   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93698 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93699
93700     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93701
93702 for ac_func in _fmodf
93703 do
93704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93705 echo "$as_me:$LINENO: checking for $ac_func" >&5
93706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93707 if eval "test \"\${$as_ac_var+set}\" = set"; then
93708   echo $ECHO_N "(cached) $ECHO_C" >&6
93709 else
93710   if test x$gcc_no_link = xyes; then
93711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93713    { (exit 1); exit 1; }; }
93714 fi
93715 cat >conftest.$ac_ext <<_ACEOF
93716 /* confdefs.h.  */
93717 _ACEOF
93718 cat confdefs.h >>conftest.$ac_ext
93719 cat >>conftest.$ac_ext <<_ACEOF
93720 /* end confdefs.h.  */
93721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93723 #define $ac_func innocuous_$ac_func
93724
93725 /* System header to define __stub macros and hopefully few prototypes,
93726     which can conflict with char $ac_func (); below.
93727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93728     <limits.h> exists even on freestanding compilers.  */
93729
93730 #ifdef __STDC__
93731 # include <limits.h>
93732 #else
93733 # include <assert.h>
93734 #endif
93735
93736 #undef $ac_func
93737
93738 /* Override any gcc2 internal prototype to avoid an error.  */
93739 #ifdef __cplusplus
93740 extern "C"
93741 {
93742 #endif
93743 /* We use char because int might match the return type of a gcc2
93744    builtin and then its argument prototype would still apply.  */
93745 char $ac_func ();
93746 /* The GNU C library defines this for functions which it implements
93747     to always fail with ENOSYS.  Some functions are actually named
93748     something starting with __ and the normal name is an alias.  */
93749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93750 choke me
93751 #else
93752 char (*f) () = $ac_func;
93753 #endif
93754 #ifdef __cplusplus
93755 }
93756 #endif
93757
93758 int
93759 main ()
93760 {
93761 return f != $ac_func;
93762   ;
93763   return 0;
93764 }
93765 _ACEOF
93766 rm -f conftest.$ac_objext conftest$ac_exeext
93767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93768   (eval $ac_link) 2>conftest.er1
93769   ac_status=$?
93770   grep -v '^ *+' conftest.er1 >conftest.err
93771   rm -f conftest.er1
93772   cat conftest.err >&5
93773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93774   (exit $ac_status); } &&
93775          { ac_try='test -z "$ac_c_werror_flag"
93776                          || test ! -s conftest.err'
93777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93778   (eval $ac_try) 2>&5
93779   ac_status=$?
93780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93781   (exit $ac_status); }; } &&
93782          { ac_try='test -s conftest$ac_exeext'
93783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93784   (eval $ac_try) 2>&5
93785   ac_status=$?
93786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93787   (exit $ac_status); }; }; then
93788   eval "$as_ac_var=yes"
93789 else
93790   echo "$as_me: failed program was:" >&5
93791 sed 's/^/| /' conftest.$ac_ext >&5
93792
93793 eval "$as_ac_var=no"
93794 fi
93795 rm -f conftest.err conftest.$ac_objext \
93796       conftest$ac_exeext conftest.$ac_ext
93797 fi
93798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93800 if test `eval echo '${'$as_ac_var'}'` = yes; then
93801   cat >>confdefs.h <<_ACEOF
93802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93803 _ACEOF
93804
93805 fi
93806 done
93807
93808     fi
93809   fi
93810
93811
93812
93813
93814
93815
93816   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93817 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93818   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93819     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93820   echo $ECHO_N "(cached) $ECHO_C" >&6
93821 else
93822
93823
93824
93825       ac_ext=cc
93826 ac_cpp='$CXXCPP $CPPFLAGS'
93827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93830
93831       cat >conftest.$ac_ext <<_ACEOF
93832 /* confdefs.h.  */
93833 _ACEOF
93834 cat confdefs.h >>conftest.$ac_ext
93835 cat >>conftest.$ac_ext <<_ACEOF
93836 /* end confdefs.h.  */
93837 #include <math.h>
93838 int
93839 main ()
93840 {
93841  frexpf(0, 0);
93842   ;
93843   return 0;
93844 }
93845 _ACEOF
93846 rm -f conftest.$ac_objext
93847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93848   (eval $ac_compile) 2>conftest.er1
93849   ac_status=$?
93850   grep -v '^ *+' conftest.er1 >conftest.err
93851   rm -f conftest.er1
93852   cat conftest.err >&5
93853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93854   (exit $ac_status); } &&
93855          { ac_try='test -z "$ac_cxx_werror_flag"
93856                          || test ! -s conftest.err'
93857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93858   (eval $ac_try) 2>&5
93859   ac_status=$?
93860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93861   (exit $ac_status); }; } &&
93862          { ac_try='test -s conftest.$ac_objext'
93863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93864   (eval $ac_try) 2>&5
93865   ac_status=$?
93866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93867   (exit $ac_status); }; }; then
93868   glibcxx_cv_func_frexpf_use=yes
93869 else
93870   echo "$as_me: failed program was:" >&5
93871 sed 's/^/| /' conftest.$ac_ext >&5
93872
93873 glibcxx_cv_func_frexpf_use=no
93874 fi
93875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93876       ac_ext=c
93877 ac_cpp='$CPP $CPPFLAGS'
93878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93881
93882
93883 fi
93884
93885   fi
93886   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
93887 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
93888
93889   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
93890
93891 for ac_func in frexpf
93892 do
93893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93894 echo "$as_me:$LINENO: checking for $ac_func" >&5
93895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93896 if eval "test \"\${$as_ac_var+set}\" = set"; then
93897   echo $ECHO_N "(cached) $ECHO_C" >&6
93898 else
93899   if test x$gcc_no_link = xyes; then
93900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93902    { (exit 1); exit 1; }; }
93903 fi
93904 cat >conftest.$ac_ext <<_ACEOF
93905 /* confdefs.h.  */
93906 _ACEOF
93907 cat confdefs.h >>conftest.$ac_ext
93908 cat >>conftest.$ac_ext <<_ACEOF
93909 /* end confdefs.h.  */
93910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93912 #define $ac_func innocuous_$ac_func
93913
93914 /* System header to define __stub macros and hopefully few prototypes,
93915     which can conflict with char $ac_func (); below.
93916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93917     <limits.h> exists even on freestanding compilers.  */
93918
93919 #ifdef __STDC__
93920 # include <limits.h>
93921 #else
93922 # include <assert.h>
93923 #endif
93924
93925 #undef $ac_func
93926
93927 /* Override any gcc2 internal prototype to avoid an error.  */
93928 #ifdef __cplusplus
93929 extern "C"
93930 {
93931 #endif
93932 /* We use char because int might match the return type of a gcc2
93933    builtin and then its argument prototype would still apply.  */
93934 char $ac_func ();
93935 /* The GNU C library defines this for functions which it implements
93936     to always fail with ENOSYS.  Some functions are actually named
93937     something starting with __ and the normal name is an alias.  */
93938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93939 choke me
93940 #else
93941 char (*f) () = $ac_func;
93942 #endif
93943 #ifdef __cplusplus
93944 }
93945 #endif
93946
93947 int
93948 main ()
93949 {
93950 return f != $ac_func;
93951   ;
93952   return 0;
93953 }
93954 _ACEOF
93955 rm -f conftest.$ac_objext conftest$ac_exeext
93956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93957   (eval $ac_link) 2>conftest.er1
93958   ac_status=$?
93959   grep -v '^ *+' conftest.er1 >conftest.err
93960   rm -f conftest.er1
93961   cat conftest.err >&5
93962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93963   (exit $ac_status); } &&
93964          { ac_try='test -z "$ac_c_werror_flag"
93965                          || test ! -s conftest.err'
93966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93967   (eval $ac_try) 2>&5
93968   ac_status=$?
93969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93970   (exit $ac_status); }; } &&
93971          { ac_try='test -s conftest$ac_exeext'
93972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93973   (eval $ac_try) 2>&5
93974   ac_status=$?
93975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93976   (exit $ac_status); }; }; then
93977   eval "$as_ac_var=yes"
93978 else
93979   echo "$as_me: failed program was:" >&5
93980 sed 's/^/| /' conftest.$ac_ext >&5
93981
93982 eval "$as_ac_var=no"
93983 fi
93984 rm -f conftest.err conftest.$ac_objext \
93985       conftest$ac_exeext conftest.$ac_ext
93986 fi
93987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93989 if test `eval echo '${'$as_ac_var'}'` = yes; then
93990   cat >>confdefs.h <<_ACEOF
93991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93992 _ACEOF
93993
93994 fi
93995 done
93996
93997   else
93998
93999   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94000 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94001   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94002     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94003   echo $ECHO_N "(cached) $ECHO_C" >&6
94004 else
94005
94006
94007
94008       ac_ext=cc
94009 ac_cpp='$CXXCPP $CPPFLAGS'
94010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94013
94014       cat >conftest.$ac_ext <<_ACEOF
94015 /* confdefs.h.  */
94016 _ACEOF
94017 cat confdefs.h >>conftest.$ac_ext
94018 cat >>conftest.$ac_ext <<_ACEOF
94019 /* end confdefs.h.  */
94020 #include <math.h>
94021 int
94022 main ()
94023 {
94024  _frexpf(0, 0);
94025   ;
94026   return 0;
94027 }
94028 _ACEOF
94029 rm -f conftest.$ac_objext
94030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94031   (eval $ac_compile) 2>conftest.er1
94032   ac_status=$?
94033   grep -v '^ *+' conftest.er1 >conftest.err
94034   rm -f conftest.er1
94035   cat conftest.err >&5
94036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94037   (exit $ac_status); } &&
94038          { ac_try='test -z "$ac_cxx_werror_flag"
94039                          || test ! -s conftest.err'
94040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94041   (eval $ac_try) 2>&5
94042   ac_status=$?
94043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94044   (exit $ac_status); }; } &&
94045          { ac_try='test -s conftest.$ac_objext'
94046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94047   (eval $ac_try) 2>&5
94048   ac_status=$?
94049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94050   (exit $ac_status); }; }; then
94051   glibcxx_cv_func__frexpf_use=yes
94052 else
94053   echo "$as_me: failed program was:" >&5
94054 sed 's/^/| /' conftest.$ac_ext >&5
94055
94056 glibcxx_cv_func__frexpf_use=no
94057 fi
94058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94059       ac_ext=c
94060 ac_cpp='$CPP $CPPFLAGS'
94061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94064
94065
94066 fi
94067
94068   fi
94069   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94070 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94071
94072     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94073
94074 for ac_func in _frexpf
94075 do
94076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94077 echo "$as_me:$LINENO: checking for $ac_func" >&5
94078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94079 if eval "test \"\${$as_ac_var+set}\" = set"; then
94080   echo $ECHO_N "(cached) $ECHO_C" >&6
94081 else
94082   if test x$gcc_no_link = xyes; then
94083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94085    { (exit 1); exit 1; }; }
94086 fi
94087 cat >conftest.$ac_ext <<_ACEOF
94088 /* confdefs.h.  */
94089 _ACEOF
94090 cat confdefs.h >>conftest.$ac_ext
94091 cat >>conftest.$ac_ext <<_ACEOF
94092 /* end confdefs.h.  */
94093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94095 #define $ac_func innocuous_$ac_func
94096
94097 /* System header to define __stub macros and hopefully few prototypes,
94098     which can conflict with char $ac_func (); below.
94099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94100     <limits.h> exists even on freestanding compilers.  */
94101
94102 #ifdef __STDC__
94103 # include <limits.h>
94104 #else
94105 # include <assert.h>
94106 #endif
94107
94108 #undef $ac_func
94109
94110 /* Override any gcc2 internal prototype to avoid an error.  */
94111 #ifdef __cplusplus
94112 extern "C"
94113 {
94114 #endif
94115 /* We use char because int might match the return type of a gcc2
94116    builtin and then its argument prototype would still apply.  */
94117 char $ac_func ();
94118 /* The GNU C library defines this for functions which it implements
94119     to always fail with ENOSYS.  Some functions are actually named
94120     something starting with __ and the normal name is an alias.  */
94121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94122 choke me
94123 #else
94124 char (*f) () = $ac_func;
94125 #endif
94126 #ifdef __cplusplus
94127 }
94128 #endif
94129
94130 int
94131 main ()
94132 {
94133 return f != $ac_func;
94134   ;
94135   return 0;
94136 }
94137 _ACEOF
94138 rm -f conftest.$ac_objext conftest$ac_exeext
94139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94140   (eval $ac_link) 2>conftest.er1
94141   ac_status=$?
94142   grep -v '^ *+' conftest.er1 >conftest.err
94143   rm -f conftest.er1
94144   cat conftest.err >&5
94145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94146   (exit $ac_status); } &&
94147          { ac_try='test -z "$ac_c_werror_flag"
94148                          || test ! -s conftest.err'
94149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94150   (eval $ac_try) 2>&5
94151   ac_status=$?
94152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94153   (exit $ac_status); }; } &&
94154          { ac_try='test -s conftest$ac_exeext'
94155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94156   (eval $ac_try) 2>&5
94157   ac_status=$?
94158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94159   (exit $ac_status); }; }; then
94160   eval "$as_ac_var=yes"
94161 else
94162   echo "$as_me: failed program was:" >&5
94163 sed 's/^/| /' conftest.$ac_ext >&5
94164
94165 eval "$as_ac_var=no"
94166 fi
94167 rm -f conftest.err conftest.$ac_objext \
94168       conftest$ac_exeext conftest.$ac_ext
94169 fi
94170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94172 if test `eval echo '${'$as_ac_var'}'` = yes; then
94173   cat >>confdefs.h <<_ACEOF
94174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94175 _ACEOF
94176
94177 fi
94178 done
94179
94180     fi
94181   fi
94182
94183
94184
94185
94186
94187
94188   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94189 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94190   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94191     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94192   echo $ECHO_N "(cached) $ECHO_C" >&6
94193 else
94194
94195
94196
94197       ac_ext=cc
94198 ac_cpp='$CXXCPP $CPPFLAGS'
94199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94202
94203       cat >conftest.$ac_ext <<_ACEOF
94204 /* confdefs.h.  */
94205 _ACEOF
94206 cat confdefs.h >>conftest.$ac_ext
94207 cat >>conftest.$ac_ext <<_ACEOF
94208 /* end confdefs.h.  */
94209 #include <math.h>
94210 int
94211 main ()
94212 {
94213  hypotf(0, 0);
94214   ;
94215   return 0;
94216 }
94217 _ACEOF
94218 rm -f conftest.$ac_objext
94219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94220   (eval $ac_compile) 2>conftest.er1
94221   ac_status=$?
94222   grep -v '^ *+' conftest.er1 >conftest.err
94223   rm -f conftest.er1
94224   cat conftest.err >&5
94225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94226   (exit $ac_status); } &&
94227          { ac_try='test -z "$ac_cxx_werror_flag"
94228                          || test ! -s conftest.err'
94229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94230   (eval $ac_try) 2>&5
94231   ac_status=$?
94232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94233   (exit $ac_status); }; } &&
94234          { ac_try='test -s conftest.$ac_objext'
94235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94236   (eval $ac_try) 2>&5
94237   ac_status=$?
94238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94239   (exit $ac_status); }; }; then
94240   glibcxx_cv_func_hypotf_use=yes
94241 else
94242   echo "$as_me: failed program was:" >&5
94243 sed 's/^/| /' conftest.$ac_ext >&5
94244
94245 glibcxx_cv_func_hypotf_use=no
94246 fi
94247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94248       ac_ext=c
94249 ac_cpp='$CPP $CPPFLAGS'
94250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94253
94254
94255 fi
94256
94257   fi
94258   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94259 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94260
94261   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94262
94263 for ac_func in hypotf
94264 do
94265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94266 echo "$as_me:$LINENO: checking for $ac_func" >&5
94267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94268 if eval "test \"\${$as_ac_var+set}\" = set"; then
94269   echo $ECHO_N "(cached) $ECHO_C" >&6
94270 else
94271   if test x$gcc_no_link = xyes; then
94272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94274    { (exit 1); exit 1; }; }
94275 fi
94276 cat >conftest.$ac_ext <<_ACEOF
94277 /* confdefs.h.  */
94278 _ACEOF
94279 cat confdefs.h >>conftest.$ac_ext
94280 cat >>conftest.$ac_ext <<_ACEOF
94281 /* end confdefs.h.  */
94282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94284 #define $ac_func innocuous_$ac_func
94285
94286 /* System header to define __stub macros and hopefully few prototypes,
94287     which can conflict with char $ac_func (); below.
94288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94289     <limits.h> exists even on freestanding compilers.  */
94290
94291 #ifdef __STDC__
94292 # include <limits.h>
94293 #else
94294 # include <assert.h>
94295 #endif
94296
94297 #undef $ac_func
94298
94299 /* Override any gcc2 internal prototype to avoid an error.  */
94300 #ifdef __cplusplus
94301 extern "C"
94302 {
94303 #endif
94304 /* We use char because int might match the return type of a gcc2
94305    builtin and then its argument prototype would still apply.  */
94306 char $ac_func ();
94307 /* The GNU C library defines this for functions which it implements
94308     to always fail with ENOSYS.  Some functions are actually named
94309     something starting with __ and the normal name is an alias.  */
94310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94311 choke me
94312 #else
94313 char (*f) () = $ac_func;
94314 #endif
94315 #ifdef __cplusplus
94316 }
94317 #endif
94318
94319 int
94320 main ()
94321 {
94322 return f != $ac_func;
94323   ;
94324   return 0;
94325 }
94326 _ACEOF
94327 rm -f conftest.$ac_objext conftest$ac_exeext
94328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94329   (eval $ac_link) 2>conftest.er1
94330   ac_status=$?
94331   grep -v '^ *+' conftest.er1 >conftest.err
94332   rm -f conftest.er1
94333   cat conftest.err >&5
94334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94335   (exit $ac_status); } &&
94336          { ac_try='test -z "$ac_c_werror_flag"
94337                          || test ! -s conftest.err'
94338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94339   (eval $ac_try) 2>&5
94340   ac_status=$?
94341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94342   (exit $ac_status); }; } &&
94343          { ac_try='test -s conftest$ac_exeext'
94344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94345   (eval $ac_try) 2>&5
94346   ac_status=$?
94347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94348   (exit $ac_status); }; }; then
94349   eval "$as_ac_var=yes"
94350 else
94351   echo "$as_me: failed program was:" >&5
94352 sed 's/^/| /' conftest.$ac_ext >&5
94353
94354 eval "$as_ac_var=no"
94355 fi
94356 rm -f conftest.err conftest.$ac_objext \
94357       conftest$ac_exeext conftest.$ac_ext
94358 fi
94359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94361 if test `eval echo '${'$as_ac_var'}'` = yes; then
94362   cat >>confdefs.h <<_ACEOF
94363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94364 _ACEOF
94365
94366 fi
94367 done
94368
94369   else
94370
94371   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94372 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94373   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94374     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94375   echo $ECHO_N "(cached) $ECHO_C" >&6
94376 else
94377
94378
94379
94380       ac_ext=cc
94381 ac_cpp='$CXXCPP $CPPFLAGS'
94382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94385
94386       cat >conftest.$ac_ext <<_ACEOF
94387 /* confdefs.h.  */
94388 _ACEOF
94389 cat confdefs.h >>conftest.$ac_ext
94390 cat >>conftest.$ac_ext <<_ACEOF
94391 /* end confdefs.h.  */
94392 #include <math.h>
94393 int
94394 main ()
94395 {
94396  _hypotf(0, 0);
94397   ;
94398   return 0;
94399 }
94400 _ACEOF
94401 rm -f conftest.$ac_objext
94402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94403   (eval $ac_compile) 2>conftest.er1
94404   ac_status=$?
94405   grep -v '^ *+' conftest.er1 >conftest.err
94406   rm -f conftest.er1
94407   cat conftest.err >&5
94408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94409   (exit $ac_status); } &&
94410          { ac_try='test -z "$ac_cxx_werror_flag"
94411                          || test ! -s conftest.err'
94412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94413   (eval $ac_try) 2>&5
94414   ac_status=$?
94415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94416   (exit $ac_status); }; } &&
94417          { ac_try='test -s conftest.$ac_objext'
94418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94419   (eval $ac_try) 2>&5
94420   ac_status=$?
94421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94422   (exit $ac_status); }; }; then
94423   glibcxx_cv_func__hypotf_use=yes
94424 else
94425   echo "$as_me: failed program was:" >&5
94426 sed 's/^/| /' conftest.$ac_ext >&5
94427
94428 glibcxx_cv_func__hypotf_use=no
94429 fi
94430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94431       ac_ext=c
94432 ac_cpp='$CPP $CPPFLAGS'
94433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94436
94437
94438 fi
94439
94440   fi
94441   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94442 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94443
94444     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94445
94446 for ac_func in _hypotf
94447 do
94448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94449 echo "$as_me:$LINENO: checking for $ac_func" >&5
94450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94451 if eval "test \"\${$as_ac_var+set}\" = set"; then
94452   echo $ECHO_N "(cached) $ECHO_C" >&6
94453 else
94454   if test x$gcc_no_link = xyes; then
94455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94457    { (exit 1); exit 1; }; }
94458 fi
94459 cat >conftest.$ac_ext <<_ACEOF
94460 /* confdefs.h.  */
94461 _ACEOF
94462 cat confdefs.h >>conftest.$ac_ext
94463 cat >>conftest.$ac_ext <<_ACEOF
94464 /* end confdefs.h.  */
94465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94467 #define $ac_func innocuous_$ac_func
94468
94469 /* System header to define __stub macros and hopefully few prototypes,
94470     which can conflict with char $ac_func (); below.
94471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94472     <limits.h> exists even on freestanding compilers.  */
94473
94474 #ifdef __STDC__
94475 # include <limits.h>
94476 #else
94477 # include <assert.h>
94478 #endif
94479
94480 #undef $ac_func
94481
94482 /* Override any gcc2 internal prototype to avoid an error.  */
94483 #ifdef __cplusplus
94484 extern "C"
94485 {
94486 #endif
94487 /* We use char because int might match the return type of a gcc2
94488    builtin and then its argument prototype would still apply.  */
94489 char $ac_func ();
94490 /* The GNU C library defines this for functions which it implements
94491     to always fail with ENOSYS.  Some functions are actually named
94492     something starting with __ and the normal name is an alias.  */
94493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94494 choke me
94495 #else
94496 char (*f) () = $ac_func;
94497 #endif
94498 #ifdef __cplusplus
94499 }
94500 #endif
94501
94502 int
94503 main ()
94504 {
94505 return f != $ac_func;
94506   ;
94507   return 0;
94508 }
94509 _ACEOF
94510 rm -f conftest.$ac_objext conftest$ac_exeext
94511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94512   (eval $ac_link) 2>conftest.er1
94513   ac_status=$?
94514   grep -v '^ *+' conftest.er1 >conftest.err
94515   rm -f conftest.er1
94516   cat conftest.err >&5
94517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94518   (exit $ac_status); } &&
94519          { ac_try='test -z "$ac_c_werror_flag"
94520                          || test ! -s conftest.err'
94521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94522   (eval $ac_try) 2>&5
94523   ac_status=$?
94524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94525   (exit $ac_status); }; } &&
94526          { ac_try='test -s conftest$ac_exeext'
94527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94528   (eval $ac_try) 2>&5
94529   ac_status=$?
94530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94531   (exit $ac_status); }; }; then
94532   eval "$as_ac_var=yes"
94533 else
94534   echo "$as_me: failed program was:" >&5
94535 sed 's/^/| /' conftest.$ac_ext >&5
94536
94537 eval "$as_ac_var=no"
94538 fi
94539 rm -f conftest.err conftest.$ac_objext \
94540       conftest$ac_exeext conftest.$ac_ext
94541 fi
94542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94544 if test `eval echo '${'$as_ac_var'}'` = yes; then
94545   cat >>confdefs.h <<_ACEOF
94546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94547 _ACEOF
94548
94549 fi
94550 done
94551
94552     fi
94553   fi
94554
94555
94556
94557
94558
94559
94560   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94561 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94562   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94563     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94564   echo $ECHO_N "(cached) $ECHO_C" >&6
94565 else
94566
94567
94568
94569       ac_ext=cc
94570 ac_cpp='$CXXCPP $CPPFLAGS'
94571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94574
94575       cat >conftest.$ac_ext <<_ACEOF
94576 /* confdefs.h.  */
94577 _ACEOF
94578 cat confdefs.h >>conftest.$ac_ext
94579 cat >>conftest.$ac_ext <<_ACEOF
94580 /* end confdefs.h.  */
94581 #include <math.h>
94582 int
94583 main ()
94584 {
94585  ldexpf(0, 0);
94586   ;
94587   return 0;
94588 }
94589 _ACEOF
94590 rm -f conftest.$ac_objext
94591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94592   (eval $ac_compile) 2>conftest.er1
94593   ac_status=$?
94594   grep -v '^ *+' conftest.er1 >conftest.err
94595   rm -f conftest.er1
94596   cat conftest.err >&5
94597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94598   (exit $ac_status); } &&
94599          { ac_try='test -z "$ac_cxx_werror_flag"
94600                          || test ! -s conftest.err'
94601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94602   (eval $ac_try) 2>&5
94603   ac_status=$?
94604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94605   (exit $ac_status); }; } &&
94606          { ac_try='test -s conftest.$ac_objext'
94607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94608   (eval $ac_try) 2>&5
94609   ac_status=$?
94610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94611   (exit $ac_status); }; }; then
94612   glibcxx_cv_func_ldexpf_use=yes
94613 else
94614   echo "$as_me: failed program was:" >&5
94615 sed 's/^/| /' conftest.$ac_ext >&5
94616
94617 glibcxx_cv_func_ldexpf_use=no
94618 fi
94619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94620       ac_ext=c
94621 ac_cpp='$CPP $CPPFLAGS'
94622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94625
94626
94627 fi
94628
94629   fi
94630   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94631 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94632
94633   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94634
94635 for ac_func in ldexpf
94636 do
94637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94638 echo "$as_me:$LINENO: checking for $ac_func" >&5
94639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94640 if eval "test \"\${$as_ac_var+set}\" = set"; then
94641   echo $ECHO_N "(cached) $ECHO_C" >&6
94642 else
94643   if test x$gcc_no_link = xyes; then
94644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94646    { (exit 1); exit 1; }; }
94647 fi
94648 cat >conftest.$ac_ext <<_ACEOF
94649 /* confdefs.h.  */
94650 _ACEOF
94651 cat confdefs.h >>conftest.$ac_ext
94652 cat >>conftest.$ac_ext <<_ACEOF
94653 /* end confdefs.h.  */
94654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94656 #define $ac_func innocuous_$ac_func
94657
94658 /* System header to define __stub macros and hopefully few prototypes,
94659     which can conflict with char $ac_func (); below.
94660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94661     <limits.h> exists even on freestanding compilers.  */
94662
94663 #ifdef __STDC__
94664 # include <limits.h>
94665 #else
94666 # include <assert.h>
94667 #endif
94668
94669 #undef $ac_func
94670
94671 /* Override any gcc2 internal prototype to avoid an error.  */
94672 #ifdef __cplusplus
94673 extern "C"
94674 {
94675 #endif
94676 /* We use char because int might match the return type of a gcc2
94677    builtin and then its argument prototype would still apply.  */
94678 char $ac_func ();
94679 /* The GNU C library defines this for functions which it implements
94680     to always fail with ENOSYS.  Some functions are actually named
94681     something starting with __ and the normal name is an alias.  */
94682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94683 choke me
94684 #else
94685 char (*f) () = $ac_func;
94686 #endif
94687 #ifdef __cplusplus
94688 }
94689 #endif
94690
94691 int
94692 main ()
94693 {
94694 return f != $ac_func;
94695   ;
94696   return 0;
94697 }
94698 _ACEOF
94699 rm -f conftest.$ac_objext conftest$ac_exeext
94700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94701   (eval $ac_link) 2>conftest.er1
94702   ac_status=$?
94703   grep -v '^ *+' conftest.er1 >conftest.err
94704   rm -f conftest.er1
94705   cat conftest.err >&5
94706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94707   (exit $ac_status); } &&
94708          { ac_try='test -z "$ac_c_werror_flag"
94709                          || test ! -s conftest.err'
94710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94711   (eval $ac_try) 2>&5
94712   ac_status=$?
94713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94714   (exit $ac_status); }; } &&
94715          { ac_try='test -s conftest$ac_exeext'
94716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94717   (eval $ac_try) 2>&5
94718   ac_status=$?
94719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94720   (exit $ac_status); }; }; then
94721   eval "$as_ac_var=yes"
94722 else
94723   echo "$as_me: failed program was:" >&5
94724 sed 's/^/| /' conftest.$ac_ext >&5
94725
94726 eval "$as_ac_var=no"
94727 fi
94728 rm -f conftest.err conftest.$ac_objext \
94729       conftest$ac_exeext conftest.$ac_ext
94730 fi
94731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94733 if test `eval echo '${'$as_ac_var'}'` = yes; then
94734   cat >>confdefs.h <<_ACEOF
94735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94736 _ACEOF
94737
94738 fi
94739 done
94740
94741   else
94742
94743   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94744 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94745   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94746     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94747   echo $ECHO_N "(cached) $ECHO_C" >&6
94748 else
94749
94750
94751
94752       ac_ext=cc
94753 ac_cpp='$CXXCPP $CPPFLAGS'
94754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94757
94758       cat >conftest.$ac_ext <<_ACEOF
94759 /* confdefs.h.  */
94760 _ACEOF
94761 cat confdefs.h >>conftest.$ac_ext
94762 cat >>conftest.$ac_ext <<_ACEOF
94763 /* end confdefs.h.  */
94764 #include <math.h>
94765 int
94766 main ()
94767 {
94768  _ldexpf(0, 0);
94769   ;
94770   return 0;
94771 }
94772 _ACEOF
94773 rm -f conftest.$ac_objext
94774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94775   (eval $ac_compile) 2>conftest.er1
94776   ac_status=$?
94777   grep -v '^ *+' conftest.er1 >conftest.err
94778   rm -f conftest.er1
94779   cat conftest.err >&5
94780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94781   (exit $ac_status); } &&
94782          { ac_try='test -z "$ac_cxx_werror_flag"
94783                          || test ! -s conftest.err'
94784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94785   (eval $ac_try) 2>&5
94786   ac_status=$?
94787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94788   (exit $ac_status); }; } &&
94789          { ac_try='test -s conftest.$ac_objext'
94790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94791   (eval $ac_try) 2>&5
94792   ac_status=$?
94793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94794   (exit $ac_status); }; }; then
94795   glibcxx_cv_func__ldexpf_use=yes
94796 else
94797   echo "$as_me: failed program was:" >&5
94798 sed 's/^/| /' conftest.$ac_ext >&5
94799
94800 glibcxx_cv_func__ldexpf_use=no
94801 fi
94802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94803       ac_ext=c
94804 ac_cpp='$CPP $CPPFLAGS'
94805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94808
94809
94810 fi
94811
94812   fi
94813   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94814 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94815
94816     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94817
94818 for ac_func in _ldexpf
94819 do
94820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94821 echo "$as_me:$LINENO: checking for $ac_func" >&5
94822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94823 if eval "test \"\${$as_ac_var+set}\" = set"; then
94824   echo $ECHO_N "(cached) $ECHO_C" >&6
94825 else
94826   if test x$gcc_no_link = xyes; then
94827   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94829    { (exit 1); exit 1; }; }
94830 fi
94831 cat >conftest.$ac_ext <<_ACEOF
94832 /* confdefs.h.  */
94833 _ACEOF
94834 cat confdefs.h >>conftest.$ac_ext
94835 cat >>conftest.$ac_ext <<_ACEOF
94836 /* end confdefs.h.  */
94837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94838    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94839 #define $ac_func innocuous_$ac_func
94840
94841 /* System header to define __stub macros and hopefully few prototypes,
94842     which can conflict with char $ac_func (); below.
94843     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94844     <limits.h> exists even on freestanding compilers.  */
94845
94846 #ifdef __STDC__
94847 # include <limits.h>
94848 #else
94849 # include <assert.h>
94850 #endif
94851
94852 #undef $ac_func
94853
94854 /* Override any gcc2 internal prototype to avoid an error.  */
94855 #ifdef __cplusplus
94856 extern "C"
94857 {
94858 #endif
94859 /* We use char because int might match the return type of a gcc2
94860    builtin and then its argument prototype would still apply.  */
94861 char $ac_func ();
94862 /* The GNU C library defines this for functions which it implements
94863     to always fail with ENOSYS.  Some functions are actually named
94864     something starting with __ and the normal name is an alias.  */
94865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94866 choke me
94867 #else
94868 char (*f) () = $ac_func;
94869 #endif
94870 #ifdef __cplusplus
94871 }
94872 #endif
94873
94874 int
94875 main ()
94876 {
94877 return f != $ac_func;
94878   ;
94879   return 0;
94880 }
94881 _ACEOF
94882 rm -f conftest.$ac_objext conftest$ac_exeext
94883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94884   (eval $ac_link) 2>conftest.er1
94885   ac_status=$?
94886   grep -v '^ *+' conftest.er1 >conftest.err
94887   rm -f conftest.er1
94888   cat conftest.err >&5
94889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94890   (exit $ac_status); } &&
94891          { ac_try='test -z "$ac_c_werror_flag"
94892                          || test ! -s conftest.err'
94893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94894   (eval $ac_try) 2>&5
94895   ac_status=$?
94896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94897   (exit $ac_status); }; } &&
94898          { ac_try='test -s conftest$ac_exeext'
94899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94900   (eval $ac_try) 2>&5
94901   ac_status=$?
94902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94903   (exit $ac_status); }; }; then
94904   eval "$as_ac_var=yes"
94905 else
94906   echo "$as_me: failed program was:" >&5
94907 sed 's/^/| /' conftest.$ac_ext >&5
94908
94909 eval "$as_ac_var=no"
94910 fi
94911 rm -f conftest.err conftest.$ac_objext \
94912       conftest$ac_exeext conftest.$ac_ext
94913 fi
94914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94916 if test `eval echo '${'$as_ac_var'}'` = yes; then
94917   cat >>confdefs.h <<_ACEOF
94918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94919 _ACEOF
94920
94921 fi
94922 done
94923
94924     fi
94925   fi
94926
94927
94928
94929
94930
94931
94932   echo "$as_me:$LINENO: checking for logf declaration" >&5
94933 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
94934   if test x${glibcxx_cv_func_logf_use+set} != xset; then
94935     if test "${glibcxx_cv_func_logf_use+set}" = set; then
94936   echo $ECHO_N "(cached) $ECHO_C" >&6
94937 else
94938
94939
94940
94941       ac_ext=cc
94942 ac_cpp='$CXXCPP $CPPFLAGS'
94943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94946
94947       cat >conftest.$ac_ext <<_ACEOF
94948 /* confdefs.h.  */
94949 _ACEOF
94950 cat confdefs.h >>conftest.$ac_ext
94951 cat >>conftest.$ac_ext <<_ACEOF
94952 /* end confdefs.h.  */
94953 #include <math.h>
94954                       #ifdef HAVE_IEEEFP_H
94955                       #include <ieeefp.h>
94956                       #endif
94957
94958 int
94959 main ()
94960 {
94961  logf(0);
94962   ;
94963   return 0;
94964 }
94965 _ACEOF
94966 rm -f conftest.$ac_objext
94967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94968   (eval $ac_compile) 2>conftest.er1
94969   ac_status=$?
94970   grep -v '^ *+' conftest.er1 >conftest.err
94971   rm -f conftest.er1
94972   cat conftest.err >&5
94973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94974   (exit $ac_status); } &&
94975          { ac_try='test -z "$ac_cxx_werror_flag"
94976                          || test ! -s conftest.err'
94977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94978   (eval $ac_try) 2>&5
94979   ac_status=$?
94980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94981   (exit $ac_status); }; } &&
94982          { ac_try='test -s conftest.$ac_objext'
94983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94984   (eval $ac_try) 2>&5
94985   ac_status=$?
94986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94987   (exit $ac_status); }; }; then
94988   glibcxx_cv_func_logf_use=yes
94989 else
94990   echo "$as_me: failed program was:" >&5
94991 sed 's/^/| /' conftest.$ac_ext >&5
94992
94993 glibcxx_cv_func_logf_use=no
94994 fi
94995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94996       ac_ext=c
94997 ac_cpp='$CPP $CPPFLAGS'
94998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95001
95002
95003 fi
95004
95005   fi
95006   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95007 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95008
95009   if test x$glibcxx_cv_func_logf_use = x"yes"; then
95010
95011 for ac_func in logf
95012 do
95013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95014 echo "$as_me:$LINENO: checking for $ac_func" >&5
95015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95016 if eval "test \"\${$as_ac_var+set}\" = set"; then
95017   echo $ECHO_N "(cached) $ECHO_C" >&6
95018 else
95019   if test x$gcc_no_link = xyes; then
95020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95022    { (exit 1); exit 1; }; }
95023 fi
95024 cat >conftest.$ac_ext <<_ACEOF
95025 /* confdefs.h.  */
95026 _ACEOF
95027 cat confdefs.h >>conftest.$ac_ext
95028 cat >>conftest.$ac_ext <<_ACEOF
95029 /* end confdefs.h.  */
95030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95032 #define $ac_func innocuous_$ac_func
95033
95034 /* System header to define __stub macros and hopefully few prototypes,
95035     which can conflict with char $ac_func (); below.
95036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95037     <limits.h> exists even on freestanding compilers.  */
95038
95039 #ifdef __STDC__
95040 # include <limits.h>
95041 #else
95042 # include <assert.h>
95043 #endif
95044
95045 #undef $ac_func
95046
95047 /* Override any gcc2 internal prototype to avoid an error.  */
95048 #ifdef __cplusplus
95049 extern "C"
95050 {
95051 #endif
95052 /* We use char because int might match the return type of a gcc2
95053    builtin and then its argument prototype would still apply.  */
95054 char $ac_func ();
95055 /* The GNU C library defines this for functions which it implements
95056     to always fail with ENOSYS.  Some functions are actually named
95057     something starting with __ and the normal name is an alias.  */
95058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95059 choke me
95060 #else
95061 char (*f) () = $ac_func;
95062 #endif
95063 #ifdef __cplusplus
95064 }
95065 #endif
95066
95067 int
95068 main ()
95069 {
95070 return f != $ac_func;
95071   ;
95072   return 0;
95073 }
95074 _ACEOF
95075 rm -f conftest.$ac_objext conftest$ac_exeext
95076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95077   (eval $ac_link) 2>conftest.er1
95078   ac_status=$?
95079   grep -v '^ *+' conftest.er1 >conftest.err
95080   rm -f conftest.er1
95081   cat conftest.err >&5
95082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95083   (exit $ac_status); } &&
95084          { ac_try='test -z "$ac_c_werror_flag"
95085                          || test ! -s conftest.err'
95086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95087   (eval $ac_try) 2>&5
95088   ac_status=$?
95089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95090   (exit $ac_status); }; } &&
95091          { ac_try='test -s conftest$ac_exeext'
95092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95093   (eval $ac_try) 2>&5
95094   ac_status=$?
95095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95096   (exit $ac_status); }; }; then
95097   eval "$as_ac_var=yes"
95098 else
95099   echo "$as_me: failed program was:" >&5
95100 sed 's/^/| /' conftest.$ac_ext >&5
95101
95102 eval "$as_ac_var=no"
95103 fi
95104 rm -f conftest.err conftest.$ac_objext \
95105       conftest$ac_exeext conftest.$ac_ext
95106 fi
95107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95109 if test `eval echo '${'$as_ac_var'}'` = yes; then
95110   cat >>confdefs.h <<_ACEOF
95111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95112 _ACEOF
95113
95114 fi
95115 done
95116
95117   else
95118
95119   echo "$as_me:$LINENO: checking for _logf declaration" >&5
95120 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95121   if test x${glibcxx_cv_func__logf_use+set} != xset; then
95122     if test "${glibcxx_cv_func__logf_use+set}" = set; then
95123   echo $ECHO_N "(cached) $ECHO_C" >&6
95124 else
95125
95126
95127
95128       ac_ext=cc
95129 ac_cpp='$CXXCPP $CPPFLAGS'
95130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95133
95134       cat >conftest.$ac_ext <<_ACEOF
95135 /* confdefs.h.  */
95136 _ACEOF
95137 cat confdefs.h >>conftest.$ac_ext
95138 cat >>conftest.$ac_ext <<_ACEOF
95139 /* end confdefs.h.  */
95140 #include <math.h>
95141                       #ifdef HAVE_IEEEFP_H
95142                       #include <ieeefp.h>
95143                       #endif
95144
95145 int
95146 main ()
95147 {
95148  _logf(0);
95149   ;
95150   return 0;
95151 }
95152 _ACEOF
95153 rm -f conftest.$ac_objext
95154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95155   (eval $ac_compile) 2>conftest.er1
95156   ac_status=$?
95157   grep -v '^ *+' conftest.er1 >conftest.err
95158   rm -f conftest.er1
95159   cat conftest.err >&5
95160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95161   (exit $ac_status); } &&
95162          { ac_try='test -z "$ac_cxx_werror_flag"
95163                          || test ! -s conftest.err'
95164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95165   (eval $ac_try) 2>&5
95166   ac_status=$?
95167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95168   (exit $ac_status); }; } &&
95169          { ac_try='test -s conftest.$ac_objext'
95170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95171   (eval $ac_try) 2>&5
95172   ac_status=$?
95173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95174   (exit $ac_status); }; }; then
95175   glibcxx_cv_func__logf_use=yes
95176 else
95177   echo "$as_me: failed program was:" >&5
95178 sed 's/^/| /' conftest.$ac_ext >&5
95179
95180 glibcxx_cv_func__logf_use=no
95181 fi
95182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95183       ac_ext=c
95184 ac_cpp='$CPP $CPPFLAGS'
95185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95188
95189
95190 fi
95191
95192   fi
95193   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95194 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95195
95196     if test x$glibcxx_cv_func__logf_use = x"yes"; then
95197
95198 for ac_func in _logf
95199 do
95200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95201 echo "$as_me:$LINENO: checking for $ac_func" >&5
95202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95203 if eval "test \"\${$as_ac_var+set}\" = set"; then
95204   echo $ECHO_N "(cached) $ECHO_C" >&6
95205 else
95206   if test x$gcc_no_link = xyes; then
95207   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95209    { (exit 1); exit 1; }; }
95210 fi
95211 cat >conftest.$ac_ext <<_ACEOF
95212 /* confdefs.h.  */
95213 _ACEOF
95214 cat confdefs.h >>conftest.$ac_ext
95215 cat >>conftest.$ac_ext <<_ACEOF
95216 /* end confdefs.h.  */
95217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95218    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95219 #define $ac_func innocuous_$ac_func
95220
95221 /* System header to define __stub macros and hopefully few prototypes,
95222     which can conflict with char $ac_func (); below.
95223     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95224     <limits.h> exists even on freestanding compilers.  */
95225
95226 #ifdef __STDC__
95227 # include <limits.h>
95228 #else
95229 # include <assert.h>
95230 #endif
95231
95232 #undef $ac_func
95233
95234 /* Override any gcc2 internal prototype to avoid an error.  */
95235 #ifdef __cplusplus
95236 extern "C"
95237 {
95238 #endif
95239 /* We use char because int might match the return type of a gcc2
95240    builtin and then its argument prototype would still apply.  */
95241 char $ac_func ();
95242 /* The GNU C library defines this for functions which it implements
95243     to always fail with ENOSYS.  Some functions are actually named
95244     something starting with __ and the normal name is an alias.  */
95245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95246 choke me
95247 #else
95248 char (*f) () = $ac_func;
95249 #endif
95250 #ifdef __cplusplus
95251 }
95252 #endif
95253
95254 int
95255 main ()
95256 {
95257 return f != $ac_func;
95258   ;
95259   return 0;
95260 }
95261 _ACEOF
95262 rm -f conftest.$ac_objext conftest$ac_exeext
95263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95264   (eval $ac_link) 2>conftest.er1
95265   ac_status=$?
95266   grep -v '^ *+' conftest.er1 >conftest.err
95267   rm -f conftest.er1
95268   cat conftest.err >&5
95269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95270   (exit $ac_status); } &&
95271          { ac_try='test -z "$ac_c_werror_flag"
95272                          || test ! -s conftest.err'
95273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95274   (eval $ac_try) 2>&5
95275   ac_status=$?
95276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95277   (exit $ac_status); }; } &&
95278          { ac_try='test -s conftest$ac_exeext'
95279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95280   (eval $ac_try) 2>&5
95281   ac_status=$?
95282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95283   (exit $ac_status); }; }; then
95284   eval "$as_ac_var=yes"
95285 else
95286   echo "$as_me: failed program was:" >&5
95287 sed 's/^/| /' conftest.$ac_ext >&5
95288
95289 eval "$as_ac_var=no"
95290 fi
95291 rm -f conftest.err conftest.$ac_objext \
95292       conftest$ac_exeext conftest.$ac_ext
95293 fi
95294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95296 if test `eval echo '${'$as_ac_var'}'` = yes; then
95297   cat >>confdefs.h <<_ACEOF
95298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95299 _ACEOF
95300
95301 fi
95302 done
95303
95304     fi
95305   fi
95306
95307
95308
95309
95310
95311
95312   echo "$as_me:$LINENO: checking for log10f declaration" >&5
95313 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95314   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95315     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95316   echo $ECHO_N "(cached) $ECHO_C" >&6
95317 else
95318
95319
95320
95321       ac_ext=cc
95322 ac_cpp='$CXXCPP $CPPFLAGS'
95323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95326
95327       cat >conftest.$ac_ext <<_ACEOF
95328 /* confdefs.h.  */
95329 _ACEOF
95330 cat confdefs.h >>conftest.$ac_ext
95331 cat >>conftest.$ac_ext <<_ACEOF
95332 /* end confdefs.h.  */
95333 #include <math.h>
95334                       #ifdef HAVE_IEEEFP_H
95335                       #include <ieeefp.h>
95336                       #endif
95337
95338 int
95339 main ()
95340 {
95341  log10f(0);
95342   ;
95343   return 0;
95344 }
95345 _ACEOF
95346 rm -f conftest.$ac_objext
95347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95348   (eval $ac_compile) 2>conftest.er1
95349   ac_status=$?
95350   grep -v '^ *+' conftest.er1 >conftest.err
95351   rm -f conftest.er1
95352   cat conftest.err >&5
95353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95354   (exit $ac_status); } &&
95355          { ac_try='test -z "$ac_cxx_werror_flag"
95356                          || test ! -s conftest.err'
95357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95358   (eval $ac_try) 2>&5
95359   ac_status=$?
95360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95361   (exit $ac_status); }; } &&
95362          { ac_try='test -s conftest.$ac_objext'
95363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95364   (eval $ac_try) 2>&5
95365   ac_status=$?
95366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95367   (exit $ac_status); }; }; then
95368   glibcxx_cv_func_log10f_use=yes
95369 else
95370   echo "$as_me: failed program was:" >&5
95371 sed 's/^/| /' conftest.$ac_ext >&5
95372
95373 glibcxx_cv_func_log10f_use=no
95374 fi
95375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95376       ac_ext=c
95377 ac_cpp='$CPP $CPPFLAGS'
95378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95381
95382
95383 fi
95384
95385   fi
95386   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95387 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95388
95389   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95390
95391 for ac_func in log10f
95392 do
95393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95394 echo "$as_me:$LINENO: checking for $ac_func" >&5
95395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95396 if eval "test \"\${$as_ac_var+set}\" = set"; then
95397   echo $ECHO_N "(cached) $ECHO_C" >&6
95398 else
95399   if test x$gcc_no_link = xyes; then
95400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95402    { (exit 1); exit 1; }; }
95403 fi
95404 cat >conftest.$ac_ext <<_ACEOF
95405 /* confdefs.h.  */
95406 _ACEOF
95407 cat confdefs.h >>conftest.$ac_ext
95408 cat >>conftest.$ac_ext <<_ACEOF
95409 /* end confdefs.h.  */
95410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95412 #define $ac_func innocuous_$ac_func
95413
95414 /* System header to define __stub macros and hopefully few prototypes,
95415     which can conflict with char $ac_func (); below.
95416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95417     <limits.h> exists even on freestanding compilers.  */
95418
95419 #ifdef __STDC__
95420 # include <limits.h>
95421 #else
95422 # include <assert.h>
95423 #endif
95424
95425 #undef $ac_func
95426
95427 /* Override any gcc2 internal prototype to avoid an error.  */
95428 #ifdef __cplusplus
95429 extern "C"
95430 {
95431 #endif
95432 /* We use char because int might match the return type of a gcc2
95433    builtin and then its argument prototype would still apply.  */
95434 char $ac_func ();
95435 /* The GNU C library defines this for functions which it implements
95436     to always fail with ENOSYS.  Some functions are actually named
95437     something starting with __ and the normal name is an alias.  */
95438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95439 choke me
95440 #else
95441 char (*f) () = $ac_func;
95442 #endif
95443 #ifdef __cplusplus
95444 }
95445 #endif
95446
95447 int
95448 main ()
95449 {
95450 return f != $ac_func;
95451   ;
95452   return 0;
95453 }
95454 _ACEOF
95455 rm -f conftest.$ac_objext conftest$ac_exeext
95456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95457   (eval $ac_link) 2>conftest.er1
95458   ac_status=$?
95459   grep -v '^ *+' conftest.er1 >conftest.err
95460   rm -f conftest.er1
95461   cat conftest.err >&5
95462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95463   (exit $ac_status); } &&
95464          { ac_try='test -z "$ac_c_werror_flag"
95465                          || test ! -s conftest.err'
95466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95467   (eval $ac_try) 2>&5
95468   ac_status=$?
95469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95470   (exit $ac_status); }; } &&
95471          { ac_try='test -s conftest$ac_exeext'
95472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95473   (eval $ac_try) 2>&5
95474   ac_status=$?
95475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95476   (exit $ac_status); }; }; then
95477   eval "$as_ac_var=yes"
95478 else
95479   echo "$as_me: failed program was:" >&5
95480 sed 's/^/| /' conftest.$ac_ext >&5
95481
95482 eval "$as_ac_var=no"
95483 fi
95484 rm -f conftest.err conftest.$ac_objext \
95485       conftest$ac_exeext conftest.$ac_ext
95486 fi
95487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95489 if test `eval echo '${'$as_ac_var'}'` = yes; then
95490   cat >>confdefs.h <<_ACEOF
95491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95492 _ACEOF
95493
95494 fi
95495 done
95496
95497   else
95498
95499   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95500 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95501   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95502     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95503   echo $ECHO_N "(cached) $ECHO_C" >&6
95504 else
95505
95506
95507
95508       ac_ext=cc
95509 ac_cpp='$CXXCPP $CPPFLAGS'
95510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95513
95514       cat >conftest.$ac_ext <<_ACEOF
95515 /* confdefs.h.  */
95516 _ACEOF
95517 cat confdefs.h >>conftest.$ac_ext
95518 cat >>conftest.$ac_ext <<_ACEOF
95519 /* end confdefs.h.  */
95520 #include <math.h>
95521                       #ifdef HAVE_IEEEFP_H
95522                       #include <ieeefp.h>
95523                       #endif
95524
95525 int
95526 main ()
95527 {
95528  _log10f(0);
95529   ;
95530   return 0;
95531 }
95532 _ACEOF
95533 rm -f conftest.$ac_objext
95534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95535   (eval $ac_compile) 2>conftest.er1
95536   ac_status=$?
95537   grep -v '^ *+' conftest.er1 >conftest.err
95538   rm -f conftest.er1
95539   cat conftest.err >&5
95540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95541   (exit $ac_status); } &&
95542          { ac_try='test -z "$ac_cxx_werror_flag"
95543                          || test ! -s conftest.err'
95544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95545   (eval $ac_try) 2>&5
95546   ac_status=$?
95547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95548   (exit $ac_status); }; } &&
95549          { ac_try='test -s conftest.$ac_objext'
95550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95551   (eval $ac_try) 2>&5
95552   ac_status=$?
95553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95554   (exit $ac_status); }; }; then
95555   glibcxx_cv_func__log10f_use=yes
95556 else
95557   echo "$as_me: failed program was:" >&5
95558 sed 's/^/| /' conftest.$ac_ext >&5
95559
95560 glibcxx_cv_func__log10f_use=no
95561 fi
95562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95563       ac_ext=c
95564 ac_cpp='$CPP $CPPFLAGS'
95565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95568
95569
95570 fi
95571
95572   fi
95573   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95574 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95575
95576     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95577
95578 for ac_func in _log10f
95579 do
95580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95581 echo "$as_me:$LINENO: checking for $ac_func" >&5
95582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95583 if eval "test \"\${$as_ac_var+set}\" = set"; then
95584   echo $ECHO_N "(cached) $ECHO_C" >&6
95585 else
95586   if test x$gcc_no_link = xyes; then
95587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95589    { (exit 1); exit 1; }; }
95590 fi
95591 cat >conftest.$ac_ext <<_ACEOF
95592 /* confdefs.h.  */
95593 _ACEOF
95594 cat confdefs.h >>conftest.$ac_ext
95595 cat >>conftest.$ac_ext <<_ACEOF
95596 /* end confdefs.h.  */
95597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95599 #define $ac_func innocuous_$ac_func
95600
95601 /* System header to define __stub macros and hopefully few prototypes,
95602     which can conflict with char $ac_func (); below.
95603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95604     <limits.h> exists even on freestanding compilers.  */
95605
95606 #ifdef __STDC__
95607 # include <limits.h>
95608 #else
95609 # include <assert.h>
95610 #endif
95611
95612 #undef $ac_func
95613
95614 /* Override any gcc2 internal prototype to avoid an error.  */
95615 #ifdef __cplusplus
95616 extern "C"
95617 {
95618 #endif
95619 /* We use char because int might match the return type of a gcc2
95620    builtin and then its argument prototype would still apply.  */
95621 char $ac_func ();
95622 /* The GNU C library defines this for functions which it implements
95623     to always fail with ENOSYS.  Some functions are actually named
95624     something starting with __ and the normal name is an alias.  */
95625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95626 choke me
95627 #else
95628 char (*f) () = $ac_func;
95629 #endif
95630 #ifdef __cplusplus
95631 }
95632 #endif
95633
95634 int
95635 main ()
95636 {
95637 return f != $ac_func;
95638   ;
95639   return 0;
95640 }
95641 _ACEOF
95642 rm -f conftest.$ac_objext conftest$ac_exeext
95643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95644   (eval $ac_link) 2>conftest.er1
95645   ac_status=$?
95646   grep -v '^ *+' conftest.er1 >conftest.err
95647   rm -f conftest.er1
95648   cat conftest.err >&5
95649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95650   (exit $ac_status); } &&
95651          { ac_try='test -z "$ac_c_werror_flag"
95652                          || test ! -s conftest.err'
95653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95654   (eval $ac_try) 2>&5
95655   ac_status=$?
95656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95657   (exit $ac_status); }; } &&
95658          { ac_try='test -s conftest$ac_exeext'
95659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95660   (eval $ac_try) 2>&5
95661   ac_status=$?
95662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95663   (exit $ac_status); }; }; then
95664   eval "$as_ac_var=yes"
95665 else
95666   echo "$as_me: failed program was:" >&5
95667 sed 's/^/| /' conftest.$ac_ext >&5
95668
95669 eval "$as_ac_var=no"
95670 fi
95671 rm -f conftest.err conftest.$ac_objext \
95672       conftest$ac_exeext conftest.$ac_ext
95673 fi
95674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95676 if test `eval echo '${'$as_ac_var'}'` = yes; then
95677   cat >>confdefs.h <<_ACEOF
95678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95679 _ACEOF
95680
95681 fi
95682 done
95683
95684     fi
95685   fi
95686
95687
95688
95689
95690
95691
95692   echo "$as_me:$LINENO: checking for modff declaration" >&5
95693 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95694   if test x${glibcxx_cv_func_modff_use+set} != xset; then
95695     if test "${glibcxx_cv_func_modff_use+set}" = set; then
95696   echo $ECHO_N "(cached) $ECHO_C" >&6
95697 else
95698
95699
95700
95701       ac_ext=cc
95702 ac_cpp='$CXXCPP $CPPFLAGS'
95703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95706
95707       cat >conftest.$ac_ext <<_ACEOF
95708 /* confdefs.h.  */
95709 _ACEOF
95710 cat confdefs.h >>conftest.$ac_ext
95711 cat >>conftest.$ac_ext <<_ACEOF
95712 /* end confdefs.h.  */
95713 #include <math.h>
95714 int
95715 main ()
95716 {
95717  modff(0, 0);
95718   ;
95719   return 0;
95720 }
95721 _ACEOF
95722 rm -f conftest.$ac_objext
95723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95724   (eval $ac_compile) 2>conftest.er1
95725   ac_status=$?
95726   grep -v '^ *+' conftest.er1 >conftest.err
95727   rm -f conftest.er1
95728   cat conftest.err >&5
95729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95730   (exit $ac_status); } &&
95731          { ac_try='test -z "$ac_cxx_werror_flag"
95732                          || test ! -s conftest.err'
95733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95734   (eval $ac_try) 2>&5
95735   ac_status=$?
95736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95737   (exit $ac_status); }; } &&
95738          { ac_try='test -s conftest.$ac_objext'
95739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95740   (eval $ac_try) 2>&5
95741   ac_status=$?
95742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95743   (exit $ac_status); }; }; then
95744   glibcxx_cv_func_modff_use=yes
95745 else
95746   echo "$as_me: failed program was:" >&5
95747 sed 's/^/| /' conftest.$ac_ext >&5
95748
95749 glibcxx_cv_func_modff_use=no
95750 fi
95751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95752       ac_ext=c
95753 ac_cpp='$CPP $CPPFLAGS'
95754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95757
95758
95759 fi
95760
95761   fi
95762   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95763 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95764
95765   if test x$glibcxx_cv_func_modff_use = x"yes"; then
95766
95767 for ac_func in modff
95768 do
95769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95770 echo "$as_me:$LINENO: checking for $ac_func" >&5
95771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95772 if eval "test \"\${$as_ac_var+set}\" = set"; then
95773   echo $ECHO_N "(cached) $ECHO_C" >&6
95774 else
95775   if test x$gcc_no_link = xyes; then
95776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95778    { (exit 1); exit 1; }; }
95779 fi
95780 cat >conftest.$ac_ext <<_ACEOF
95781 /* confdefs.h.  */
95782 _ACEOF
95783 cat confdefs.h >>conftest.$ac_ext
95784 cat >>conftest.$ac_ext <<_ACEOF
95785 /* end confdefs.h.  */
95786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95788 #define $ac_func innocuous_$ac_func
95789
95790 /* System header to define __stub macros and hopefully few prototypes,
95791     which can conflict with char $ac_func (); below.
95792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95793     <limits.h> exists even on freestanding compilers.  */
95794
95795 #ifdef __STDC__
95796 # include <limits.h>
95797 #else
95798 # include <assert.h>
95799 #endif
95800
95801 #undef $ac_func
95802
95803 /* Override any gcc2 internal prototype to avoid an error.  */
95804 #ifdef __cplusplus
95805 extern "C"
95806 {
95807 #endif
95808 /* We use char because int might match the return type of a gcc2
95809    builtin and then its argument prototype would still apply.  */
95810 char $ac_func ();
95811 /* The GNU C library defines this for functions which it implements
95812     to always fail with ENOSYS.  Some functions are actually named
95813     something starting with __ and the normal name is an alias.  */
95814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95815 choke me
95816 #else
95817 char (*f) () = $ac_func;
95818 #endif
95819 #ifdef __cplusplus
95820 }
95821 #endif
95822
95823 int
95824 main ()
95825 {
95826 return f != $ac_func;
95827   ;
95828   return 0;
95829 }
95830 _ACEOF
95831 rm -f conftest.$ac_objext conftest$ac_exeext
95832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95833   (eval $ac_link) 2>conftest.er1
95834   ac_status=$?
95835   grep -v '^ *+' conftest.er1 >conftest.err
95836   rm -f conftest.er1
95837   cat conftest.err >&5
95838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95839   (exit $ac_status); } &&
95840          { ac_try='test -z "$ac_c_werror_flag"
95841                          || test ! -s conftest.err'
95842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95843   (eval $ac_try) 2>&5
95844   ac_status=$?
95845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95846   (exit $ac_status); }; } &&
95847          { ac_try='test -s conftest$ac_exeext'
95848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95849   (eval $ac_try) 2>&5
95850   ac_status=$?
95851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95852   (exit $ac_status); }; }; then
95853   eval "$as_ac_var=yes"
95854 else
95855   echo "$as_me: failed program was:" >&5
95856 sed 's/^/| /' conftest.$ac_ext >&5
95857
95858 eval "$as_ac_var=no"
95859 fi
95860 rm -f conftest.err conftest.$ac_objext \
95861       conftest$ac_exeext conftest.$ac_ext
95862 fi
95863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95865 if test `eval echo '${'$as_ac_var'}'` = yes; then
95866   cat >>confdefs.h <<_ACEOF
95867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95868 _ACEOF
95869
95870 fi
95871 done
95872
95873   else
95874
95875   echo "$as_me:$LINENO: checking for _modff declaration" >&5
95876 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
95877   if test x${glibcxx_cv_func__modff_use+set} != xset; then
95878     if test "${glibcxx_cv_func__modff_use+set}" = set; then
95879   echo $ECHO_N "(cached) $ECHO_C" >&6
95880 else
95881
95882
95883
95884       ac_ext=cc
95885 ac_cpp='$CXXCPP $CPPFLAGS'
95886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95889
95890       cat >conftest.$ac_ext <<_ACEOF
95891 /* confdefs.h.  */
95892 _ACEOF
95893 cat confdefs.h >>conftest.$ac_ext
95894 cat >>conftest.$ac_ext <<_ACEOF
95895 /* end confdefs.h.  */
95896 #include <math.h>
95897 int
95898 main ()
95899 {
95900  _modff(0, 0);
95901   ;
95902   return 0;
95903 }
95904 _ACEOF
95905 rm -f conftest.$ac_objext
95906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95907   (eval $ac_compile) 2>conftest.er1
95908   ac_status=$?
95909   grep -v '^ *+' conftest.er1 >conftest.err
95910   rm -f conftest.er1
95911   cat conftest.err >&5
95912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95913   (exit $ac_status); } &&
95914          { ac_try='test -z "$ac_cxx_werror_flag"
95915                          || test ! -s conftest.err'
95916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95917   (eval $ac_try) 2>&5
95918   ac_status=$?
95919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95920   (exit $ac_status); }; } &&
95921          { ac_try='test -s conftest.$ac_objext'
95922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95923   (eval $ac_try) 2>&5
95924   ac_status=$?
95925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95926   (exit $ac_status); }; }; then
95927   glibcxx_cv_func__modff_use=yes
95928 else
95929   echo "$as_me: failed program was:" >&5
95930 sed 's/^/| /' conftest.$ac_ext >&5
95931
95932 glibcxx_cv_func__modff_use=no
95933 fi
95934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95935       ac_ext=c
95936 ac_cpp='$CPP $CPPFLAGS'
95937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95940
95941
95942 fi
95943
95944   fi
95945   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
95946 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
95947
95948     if test x$glibcxx_cv_func__modff_use = x"yes"; then
95949
95950 for ac_func in _modff
95951 do
95952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95953 echo "$as_me:$LINENO: checking for $ac_func" >&5
95954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95955 if eval "test \"\${$as_ac_var+set}\" = set"; then
95956   echo $ECHO_N "(cached) $ECHO_C" >&6
95957 else
95958   if test x$gcc_no_link = xyes; then
95959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95961    { (exit 1); exit 1; }; }
95962 fi
95963 cat >conftest.$ac_ext <<_ACEOF
95964 /* confdefs.h.  */
95965 _ACEOF
95966 cat confdefs.h >>conftest.$ac_ext
95967 cat >>conftest.$ac_ext <<_ACEOF
95968 /* end confdefs.h.  */
95969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95971 #define $ac_func innocuous_$ac_func
95972
95973 /* System header to define __stub macros and hopefully few prototypes,
95974     which can conflict with char $ac_func (); below.
95975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95976     <limits.h> exists even on freestanding compilers.  */
95977
95978 #ifdef __STDC__
95979 # include <limits.h>
95980 #else
95981 # include <assert.h>
95982 #endif
95983
95984 #undef $ac_func
95985
95986 /* Override any gcc2 internal prototype to avoid an error.  */
95987 #ifdef __cplusplus
95988 extern "C"
95989 {
95990 #endif
95991 /* We use char because int might match the return type of a gcc2
95992    builtin and then its argument prototype would still apply.  */
95993 char $ac_func ();
95994 /* The GNU C library defines this for functions which it implements
95995     to always fail with ENOSYS.  Some functions are actually named
95996     something starting with __ and the normal name is an alias.  */
95997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95998 choke me
95999 #else
96000 char (*f) () = $ac_func;
96001 #endif
96002 #ifdef __cplusplus
96003 }
96004 #endif
96005
96006 int
96007 main ()
96008 {
96009 return f != $ac_func;
96010   ;
96011   return 0;
96012 }
96013 _ACEOF
96014 rm -f conftest.$ac_objext conftest$ac_exeext
96015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96016   (eval $ac_link) 2>conftest.er1
96017   ac_status=$?
96018   grep -v '^ *+' conftest.er1 >conftest.err
96019   rm -f conftest.er1
96020   cat conftest.err >&5
96021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96022   (exit $ac_status); } &&
96023          { ac_try='test -z "$ac_c_werror_flag"
96024                          || test ! -s conftest.err'
96025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96026   (eval $ac_try) 2>&5
96027   ac_status=$?
96028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96029   (exit $ac_status); }; } &&
96030          { ac_try='test -s conftest$ac_exeext'
96031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96032   (eval $ac_try) 2>&5
96033   ac_status=$?
96034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96035   (exit $ac_status); }; }; then
96036   eval "$as_ac_var=yes"
96037 else
96038   echo "$as_me: failed program was:" >&5
96039 sed 's/^/| /' conftest.$ac_ext >&5
96040
96041 eval "$as_ac_var=no"
96042 fi
96043 rm -f conftest.err conftest.$ac_objext \
96044       conftest$ac_exeext conftest.$ac_ext
96045 fi
96046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96048 if test `eval echo '${'$as_ac_var'}'` = yes; then
96049   cat >>confdefs.h <<_ACEOF
96050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96051 _ACEOF
96052
96053 fi
96054 done
96055
96056     fi
96057   fi
96058
96059
96060
96061
96062
96063
96064   echo "$as_me:$LINENO: checking for modf declaration" >&5
96065 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96066   if test x${glibcxx_cv_func_modf_use+set} != xset; then
96067     if test "${glibcxx_cv_func_modf_use+set}" = set; then
96068   echo $ECHO_N "(cached) $ECHO_C" >&6
96069 else
96070
96071
96072
96073       ac_ext=cc
96074 ac_cpp='$CXXCPP $CPPFLAGS'
96075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96078
96079       cat >conftest.$ac_ext <<_ACEOF
96080 /* confdefs.h.  */
96081 _ACEOF
96082 cat confdefs.h >>conftest.$ac_ext
96083 cat >>conftest.$ac_ext <<_ACEOF
96084 /* end confdefs.h.  */
96085 #include <math.h>
96086 int
96087 main ()
96088 {
96089  modf(0, 0);
96090   ;
96091   return 0;
96092 }
96093 _ACEOF
96094 rm -f conftest.$ac_objext
96095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96096   (eval $ac_compile) 2>conftest.er1
96097   ac_status=$?
96098   grep -v '^ *+' conftest.er1 >conftest.err
96099   rm -f conftest.er1
96100   cat conftest.err >&5
96101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96102   (exit $ac_status); } &&
96103          { ac_try='test -z "$ac_cxx_werror_flag"
96104                          || test ! -s conftest.err'
96105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96106   (eval $ac_try) 2>&5
96107   ac_status=$?
96108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96109   (exit $ac_status); }; } &&
96110          { ac_try='test -s conftest.$ac_objext'
96111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96112   (eval $ac_try) 2>&5
96113   ac_status=$?
96114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96115   (exit $ac_status); }; }; then
96116   glibcxx_cv_func_modf_use=yes
96117 else
96118   echo "$as_me: failed program was:" >&5
96119 sed 's/^/| /' conftest.$ac_ext >&5
96120
96121 glibcxx_cv_func_modf_use=no
96122 fi
96123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96124       ac_ext=c
96125 ac_cpp='$CPP $CPPFLAGS'
96126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96129
96130
96131 fi
96132
96133   fi
96134   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96135 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96136
96137   if test x$glibcxx_cv_func_modf_use = x"yes"; then
96138
96139 for ac_func in modf
96140 do
96141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96142 echo "$as_me:$LINENO: checking for $ac_func" >&5
96143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96144 if eval "test \"\${$as_ac_var+set}\" = set"; then
96145   echo $ECHO_N "(cached) $ECHO_C" >&6
96146 else
96147   if test x$gcc_no_link = xyes; then
96148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96150    { (exit 1); exit 1; }; }
96151 fi
96152 cat >conftest.$ac_ext <<_ACEOF
96153 /* confdefs.h.  */
96154 _ACEOF
96155 cat confdefs.h >>conftest.$ac_ext
96156 cat >>conftest.$ac_ext <<_ACEOF
96157 /* end confdefs.h.  */
96158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96159    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96160 #define $ac_func innocuous_$ac_func
96161
96162 /* System header to define __stub macros and hopefully few prototypes,
96163     which can conflict with char $ac_func (); below.
96164     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96165     <limits.h> exists even on freestanding compilers.  */
96166
96167 #ifdef __STDC__
96168 # include <limits.h>
96169 #else
96170 # include <assert.h>
96171 #endif
96172
96173 #undef $ac_func
96174
96175 /* Override any gcc2 internal prototype to avoid an error.  */
96176 #ifdef __cplusplus
96177 extern "C"
96178 {
96179 #endif
96180 /* We use char because int might match the return type of a gcc2
96181    builtin and then its argument prototype would still apply.  */
96182 char $ac_func ();
96183 /* The GNU C library defines this for functions which it implements
96184     to always fail with ENOSYS.  Some functions are actually named
96185     something starting with __ and the normal name is an alias.  */
96186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96187 choke me
96188 #else
96189 char (*f) () = $ac_func;
96190 #endif
96191 #ifdef __cplusplus
96192 }
96193 #endif
96194
96195 int
96196 main ()
96197 {
96198 return f != $ac_func;
96199   ;
96200   return 0;
96201 }
96202 _ACEOF
96203 rm -f conftest.$ac_objext conftest$ac_exeext
96204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96205   (eval $ac_link) 2>conftest.er1
96206   ac_status=$?
96207   grep -v '^ *+' conftest.er1 >conftest.err
96208   rm -f conftest.er1
96209   cat conftest.err >&5
96210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96211   (exit $ac_status); } &&
96212          { ac_try='test -z "$ac_c_werror_flag"
96213                          || test ! -s conftest.err'
96214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96215   (eval $ac_try) 2>&5
96216   ac_status=$?
96217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96218   (exit $ac_status); }; } &&
96219          { ac_try='test -s conftest$ac_exeext'
96220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96221   (eval $ac_try) 2>&5
96222   ac_status=$?
96223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96224   (exit $ac_status); }; }; then
96225   eval "$as_ac_var=yes"
96226 else
96227   echo "$as_me: failed program was:" >&5
96228 sed 's/^/| /' conftest.$ac_ext >&5
96229
96230 eval "$as_ac_var=no"
96231 fi
96232 rm -f conftest.err conftest.$ac_objext \
96233       conftest$ac_exeext conftest.$ac_ext
96234 fi
96235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96237 if test `eval echo '${'$as_ac_var'}'` = yes; then
96238   cat >>confdefs.h <<_ACEOF
96239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96240 _ACEOF
96241
96242 fi
96243 done
96244
96245   else
96246
96247   echo "$as_me:$LINENO: checking for _modf declaration" >&5
96248 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96249   if test x${glibcxx_cv_func__modf_use+set} != xset; then
96250     if test "${glibcxx_cv_func__modf_use+set}" = set; then
96251   echo $ECHO_N "(cached) $ECHO_C" >&6
96252 else
96253
96254
96255
96256       ac_ext=cc
96257 ac_cpp='$CXXCPP $CPPFLAGS'
96258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96261
96262       cat >conftest.$ac_ext <<_ACEOF
96263 /* confdefs.h.  */
96264 _ACEOF
96265 cat confdefs.h >>conftest.$ac_ext
96266 cat >>conftest.$ac_ext <<_ACEOF
96267 /* end confdefs.h.  */
96268 #include <math.h>
96269 int
96270 main ()
96271 {
96272  _modf(0, 0);
96273   ;
96274   return 0;
96275 }
96276 _ACEOF
96277 rm -f conftest.$ac_objext
96278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96279   (eval $ac_compile) 2>conftest.er1
96280   ac_status=$?
96281   grep -v '^ *+' conftest.er1 >conftest.err
96282   rm -f conftest.er1
96283   cat conftest.err >&5
96284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96285   (exit $ac_status); } &&
96286          { ac_try='test -z "$ac_cxx_werror_flag"
96287                          || test ! -s conftest.err'
96288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96289   (eval $ac_try) 2>&5
96290   ac_status=$?
96291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96292   (exit $ac_status); }; } &&
96293          { ac_try='test -s conftest.$ac_objext'
96294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96295   (eval $ac_try) 2>&5
96296   ac_status=$?
96297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96298   (exit $ac_status); }; }; then
96299   glibcxx_cv_func__modf_use=yes
96300 else
96301   echo "$as_me: failed program was:" >&5
96302 sed 's/^/| /' conftest.$ac_ext >&5
96303
96304 glibcxx_cv_func__modf_use=no
96305 fi
96306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96307       ac_ext=c
96308 ac_cpp='$CPP $CPPFLAGS'
96309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96312
96313
96314 fi
96315
96316   fi
96317   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96318 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96319
96320     if test x$glibcxx_cv_func__modf_use = x"yes"; then
96321
96322 for ac_func in _modf
96323 do
96324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96325 echo "$as_me:$LINENO: checking for $ac_func" >&5
96326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96327 if eval "test \"\${$as_ac_var+set}\" = set"; then
96328   echo $ECHO_N "(cached) $ECHO_C" >&6
96329 else
96330   if test x$gcc_no_link = xyes; then
96331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96333    { (exit 1); exit 1; }; }
96334 fi
96335 cat >conftest.$ac_ext <<_ACEOF
96336 /* confdefs.h.  */
96337 _ACEOF
96338 cat confdefs.h >>conftest.$ac_ext
96339 cat >>conftest.$ac_ext <<_ACEOF
96340 /* end confdefs.h.  */
96341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96343 #define $ac_func innocuous_$ac_func
96344
96345 /* System header to define __stub macros and hopefully few prototypes,
96346     which can conflict with char $ac_func (); below.
96347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96348     <limits.h> exists even on freestanding compilers.  */
96349
96350 #ifdef __STDC__
96351 # include <limits.h>
96352 #else
96353 # include <assert.h>
96354 #endif
96355
96356 #undef $ac_func
96357
96358 /* Override any gcc2 internal prototype to avoid an error.  */
96359 #ifdef __cplusplus
96360 extern "C"
96361 {
96362 #endif
96363 /* We use char because int might match the return type of a gcc2
96364    builtin and then its argument prototype would still apply.  */
96365 char $ac_func ();
96366 /* The GNU C library defines this for functions which it implements
96367     to always fail with ENOSYS.  Some functions are actually named
96368     something starting with __ and the normal name is an alias.  */
96369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96370 choke me
96371 #else
96372 char (*f) () = $ac_func;
96373 #endif
96374 #ifdef __cplusplus
96375 }
96376 #endif
96377
96378 int
96379 main ()
96380 {
96381 return f != $ac_func;
96382   ;
96383   return 0;
96384 }
96385 _ACEOF
96386 rm -f conftest.$ac_objext conftest$ac_exeext
96387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96388   (eval $ac_link) 2>conftest.er1
96389   ac_status=$?
96390   grep -v '^ *+' conftest.er1 >conftest.err
96391   rm -f conftest.er1
96392   cat conftest.err >&5
96393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96394   (exit $ac_status); } &&
96395          { ac_try='test -z "$ac_c_werror_flag"
96396                          || test ! -s conftest.err'
96397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96398   (eval $ac_try) 2>&5
96399   ac_status=$?
96400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96401   (exit $ac_status); }; } &&
96402          { ac_try='test -s conftest$ac_exeext'
96403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96404   (eval $ac_try) 2>&5
96405   ac_status=$?
96406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96407   (exit $ac_status); }; }; then
96408   eval "$as_ac_var=yes"
96409 else
96410   echo "$as_me: failed program was:" >&5
96411 sed 's/^/| /' conftest.$ac_ext >&5
96412
96413 eval "$as_ac_var=no"
96414 fi
96415 rm -f conftest.err conftest.$ac_objext \
96416       conftest$ac_exeext conftest.$ac_ext
96417 fi
96418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96420 if test `eval echo '${'$as_ac_var'}'` = yes; then
96421   cat >>confdefs.h <<_ACEOF
96422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96423 _ACEOF
96424
96425 fi
96426 done
96427
96428     fi
96429   fi
96430
96431
96432
96433
96434
96435
96436   echo "$as_me:$LINENO: checking for powf declaration" >&5
96437 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96438   if test x${glibcxx_cv_func_powf_use+set} != xset; then
96439     if test "${glibcxx_cv_func_powf_use+set}" = set; then
96440   echo $ECHO_N "(cached) $ECHO_C" >&6
96441 else
96442
96443
96444
96445       ac_ext=cc
96446 ac_cpp='$CXXCPP $CPPFLAGS'
96447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96450
96451       cat >conftest.$ac_ext <<_ACEOF
96452 /* confdefs.h.  */
96453 _ACEOF
96454 cat confdefs.h >>conftest.$ac_ext
96455 cat >>conftest.$ac_ext <<_ACEOF
96456 /* end confdefs.h.  */
96457 #include <math.h>
96458 int
96459 main ()
96460 {
96461  powf(0, 0);
96462   ;
96463   return 0;
96464 }
96465 _ACEOF
96466 rm -f conftest.$ac_objext
96467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96468   (eval $ac_compile) 2>conftest.er1
96469   ac_status=$?
96470   grep -v '^ *+' conftest.er1 >conftest.err
96471   rm -f conftest.er1
96472   cat conftest.err >&5
96473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96474   (exit $ac_status); } &&
96475          { ac_try='test -z "$ac_cxx_werror_flag"
96476                          || test ! -s conftest.err'
96477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96478   (eval $ac_try) 2>&5
96479   ac_status=$?
96480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96481   (exit $ac_status); }; } &&
96482          { ac_try='test -s conftest.$ac_objext'
96483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96484   (eval $ac_try) 2>&5
96485   ac_status=$?
96486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96487   (exit $ac_status); }; }; then
96488   glibcxx_cv_func_powf_use=yes
96489 else
96490   echo "$as_me: failed program was:" >&5
96491 sed 's/^/| /' conftest.$ac_ext >&5
96492
96493 glibcxx_cv_func_powf_use=no
96494 fi
96495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96496       ac_ext=c
96497 ac_cpp='$CPP $CPPFLAGS'
96498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96501
96502
96503 fi
96504
96505   fi
96506   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96507 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96508
96509   if test x$glibcxx_cv_func_powf_use = x"yes"; then
96510
96511 for ac_func in powf
96512 do
96513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96514 echo "$as_me:$LINENO: checking for $ac_func" >&5
96515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96516 if eval "test \"\${$as_ac_var+set}\" = set"; then
96517   echo $ECHO_N "(cached) $ECHO_C" >&6
96518 else
96519   if test x$gcc_no_link = xyes; then
96520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96522    { (exit 1); exit 1; }; }
96523 fi
96524 cat >conftest.$ac_ext <<_ACEOF
96525 /* confdefs.h.  */
96526 _ACEOF
96527 cat confdefs.h >>conftest.$ac_ext
96528 cat >>conftest.$ac_ext <<_ACEOF
96529 /* end confdefs.h.  */
96530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96532 #define $ac_func innocuous_$ac_func
96533
96534 /* System header to define __stub macros and hopefully few prototypes,
96535     which can conflict with char $ac_func (); below.
96536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96537     <limits.h> exists even on freestanding compilers.  */
96538
96539 #ifdef __STDC__
96540 # include <limits.h>
96541 #else
96542 # include <assert.h>
96543 #endif
96544
96545 #undef $ac_func
96546
96547 /* Override any gcc2 internal prototype to avoid an error.  */
96548 #ifdef __cplusplus
96549 extern "C"
96550 {
96551 #endif
96552 /* We use char because int might match the return type of a gcc2
96553    builtin and then its argument prototype would still apply.  */
96554 char $ac_func ();
96555 /* The GNU C library defines this for functions which it implements
96556     to always fail with ENOSYS.  Some functions are actually named
96557     something starting with __ and the normal name is an alias.  */
96558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96559 choke me
96560 #else
96561 char (*f) () = $ac_func;
96562 #endif
96563 #ifdef __cplusplus
96564 }
96565 #endif
96566
96567 int
96568 main ()
96569 {
96570 return f != $ac_func;
96571   ;
96572   return 0;
96573 }
96574 _ACEOF
96575 rm -f conftest.$ac_objext conftest$ac_exeext
96576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96577   (eval $ac_link) 2>conftest.er1
96578   ac_status=$?
96579   grep -v '^ *+' conftest.er1 >conftest.err
96580   rm -f conftest.er1
96581   cat conftest.err >&5
96582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96583   (exit $ac_status); } &&
96584          { ac_try='test -z "$ac_c_werror_flag"
96585                          || test ! -s conftest.err'
96586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96587   (eval $ac_try) 2>&5
96588   ac_status=$?
96589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96590   (exit $ac_status); }; } &&
96591          { ac_try='test -s conftest$ac_exeext'
96592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96593   (eval $ac_try) 2>&5
96594   ac_status=$?
96595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96596   (exit $ac_status); }; }; then
96597   eval "$as_ac_var=yes"
96598 else
96599   echo "$as_me: failed program was:" >&5
96600 sed 's/^/| /' conftest.$ac_ext >&5
96601
96602 eval "$as_ac_var=no"
96603 fi
96604 rm -f conftest.err conftest.$ac_objext \
96605       conftest$ac_exeext conftest.$ac_ext
96606 fi
96607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96609 if test `eval echo '${'$as_ac_var'}'` = yes; then
96610   cat >>confdefs.h <<_ACEOF
96611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96612 _ACEOF
96613
96614 fi
96615 done
96616
96617   else
96618
96619   echo "$as_me:$LINENO: checking for _powf declaration" >&5
96620 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96621   if test x${glibcxx_cv_func__powf_use+set} != xset; then
96622     if test "${glibcxx_cv_func__powf_use+set}" = set; then
96623   echo $ECHO_N "(cached) $ECHO_C" >&6
96624 else
96625
96626
96627
96628       ac_ext=cc
96629 ac_cpp='$CXXCPP $CPPFLAGS'
96630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96633
96634       cat >conftest.$ac_ext <<_ACEOF
96635 /* confdefs.h.  */
96636 _ACEOF
96637 cat confdefs.h >>conftest.$ac_ext
96638 cat >>conftest.$ac_ext <<_ACEOF
96639 /* end confdefs.h.  */
96640 #include <math.h>
96641 int
96642 main ()
96643 {
96644  _powf(0, 0);
96645   ;
96646   return 0;
96647 }
96648 _ACEOF
96649 rm -f conftest.$ac_objext
96650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96651   (eval $ac_compile) 2>conftest.er1
96652   ac_status=$?
96653   grep -v '^ *+' conftest.er1 >conftest.err
96654   rm -f conftest.er1
96655   cat conftest.err >&5
96656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96657   (exit $ac_status); } &&
96658          { ac_try='test -z "$ac_cxx_werror_flag"
96659                          || test ! -s conftest.err'
96660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96661   (eval $ac_try) 2>&5
96662   ac_status=$?
96663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96664   (exit $ac_status); }; } &&
96665          { ac_try='test -s conftest.$ac_objext'
96666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96667   (eval $ac_try) 2>&5
96668   ac_status=$?
96669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96670   (exit $ac_status); }; }; then
96671   glibcxx_cv_func__powf_use=yes
96672 else
96673   echo "$as_me: failed program was:" >&5
96674 sed 's/^/| /' conftest.$ac_ext >&5
96675
96676 glibcxx_cv_func__powf_use=no
96677 fi
96678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96679       ac_ext=c
96680 ac_cpp='$CPP $CPPFLAGS'
96681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96684
96685
96686 fi
96687
96688   fi
96689   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96690 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96691
96692     if test x$glibcxx_cv_func__powf_use = x"yes"; then
96693
96694 for ac_func in _powf
96695 do
96696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96697 echo "$as_me:$LINENO: checking for $ac_func" >&5
96698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96699 if eval "test \"\${$as_ac_var+set}\" = set"; then
96700   echo $ECHO_N "(cached) $ECHO_C" >&6
96701 else
96702   if test x$gcc_no_link = xyes; then
96703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96705    { (exit 1); exit 1; }; }
96706 fi
96707 cat >conftest.$ac_ext <<_ACEOF
96708 /* confdefs.h.  */
96709 _ACEOF
96710 cat confdefs.h >>conftest.$ac_ext
96711 cat >>conftest.$ac_ext <<_ACEOF
96712 /* end confdefs.h.  */
96713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96715 #define $ac_func innocuous_$ac_func
96716
96717 /* System header to define __stub macros and hopefully few prototypes,
96718     which can conflict with char $ac_func (); below.
96719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96720     <limits.h> exists even on freestanding compilers.  */
96721
96722 #ifdef __STDC__
96723 # include <limits.h>
96724 #else
96725 # include <assert.h>
96726 #endif
96727
96728 #undef $ac_func
96729
96730 /* Override any gcc2 internal prototype to avoid an error.  */
96731 #ifdef __cplusplus
96732 extern "C"
96733 {
96734 #endif
96735 /* We use char because int might match the return type of a gcc2
96736    builtin and then its argument prototype would still apply.  */
96737 char $ac_func ();
96738 /* The GNU C library defines this for functions which it implements
96739     to always fail with ENOSYS.  Some functions are actually named
96740     something starting with __ and the normal name is an alias.  */
96741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96742 choke me
96743 #else
96744 char (*f) () = $ac_func;
96745 #endif
96746 #ifdef __cplusplus
96747 }
96748 #endif
96749
96750 int
96751 main ()
96752 {
96753 return f != $ac_func;
96754   ;
96755   return 0;
96756 }
96757 _ACEOF
96758 rm -f conftest.$ac_objext conftest$ac_exeext
96759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96760   (eval $ac_link) 2>conftest.er1
96761   ac_status=$?
96762   grep -v '^ *+' conftest.er1 >conftest.err
96763   rm -f conftest.er1
96764   cat conftest.err >&5
96765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96766   (exit $ac_status); } &&
96767          { ac_try='test -z "$ac_c_werror_flag"
96768                          || test ! -s conftest.err'
96769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96770   (eval $ac_try) 2>&5
96771   ac_status=$?
96772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96773   (exit $ac_status); }; } &&
96774          { ac_try='test -s conftest$ac_exeext'
96775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96776   (eval $ac_try) 2>&5
96777   ac_status=$?
96778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96779   (exit $ac_status); }; }; then
96780   eval "$as_ac_var=yes"
96781 else
96782   echo "$as_me: failed program was:" >&5
96783 sed 's/^/| /' conftest.$ac_ext >&5
96784
96785 eval "$as_ac_var=no"
96786 fi
96787 rm -f conftest.err conftest.$ac_objext \
96788       conftest$ac_exeext conftest.$ac_ext
96789 fi
96790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96792 if test `eval echo '${'$as_ac_var'}'` = yes; then
96793   cat >>confdefs.h <<_ACEOF
96794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96795 _ACEOF
96796
96797 fi
96798 done
96799
96800     fi
96801   fi
96802
96803
96804
96805
96806
96807
96808   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96809 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96810   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96811     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96812   echo $ECHO_N "(cached) $ECHO_C" >&6
96813 else
96814
96815
96816
96817       ac_ext=cc
96818 ac_cpp='$CXXCPP $CPPFLAGS'
96819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96822
96823       cat >conftest.$ac_ext <<_ACEOF
96824 /* confdefs.h.  */
96825 _ACEOF
96826 cat confdefs.h >>conftest.$ac_ext
96827 cat >>conftest.$ac_ext <<_ACEOF
96828 /* end confdefs.h.  */
96829 #include <math.h>
96830                       #ifdef HAVE_IEEEFP_H
96831                       #include <ieeefp.h>
96832                       #endif
96833
96834 int
96835 main ()
96836 {
96837  sqrtf(0);
96838   ;
96839   return 0;
96840 }
96841 _ACEOF
96842 rm -f conftest.$ac_objext
96843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96844   (eval $ac_compile) 2>conftest.er1
96845   ac_status=$?
96846   grep -v '^ *+' conftest.er1 >conftest.err
96847   rm -f conftest.er1
96848   cat conftest.err >&5
96849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96850   (exit $ac_status); } &&
96851          { ac_try='test -z "$ac_cxx_werror_flag"
96852                          || test ! -s conftest.err'
96853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96854   (eval $ac_try) 2>&5
96855   ac_status=$?
96856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96857   (exit $ac_status); }; } &&
96858          { ac_try='test -s conftest.$ac_objext'
96859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96860   (eval $ac_try) 2>&5
96861   ac_status=$?
96862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96863   (exit $ac_status); }; }; then
96864   glibcxx_cv_func_sqrtf_use=yes
96865 else
96866   echo "$as_me: failed program was:" >&5
96867 sed 's/^/| /' conftest.$ac_ext >&5
96868
96869 glibcxx_cv_func_sqrtf_use=no
96870 fi
96871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96872       ac_ext=c
96873 ac_cpp='$CPP $CPPFLAGS'
96874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96877
96878
96879 fi
96880
96881   fi
96882   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
96883 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
96884
96885   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
96886
96887 for ac_func in sqrtf
96888 do
96889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96890 echo "$as_me:$LINENO: checking for $ac_func" >&5
96891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96892 if eval "test \"\${$as_ac_var+set}\" = set"; then
96893   echo $ECHO_N "(cached) $ECHO_C" >&6
96894 else
96895   if test x$gcc_no_link = xyes; then
96896   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96898    { (exit 1); exit 1; }; }
96899 fi
96900 cat >conftest.$ac_ext <<_ACEOF
96901 /* confdefs.h.  */
96902 _ACEOF
96903 cat confdefs.h >>conftest.$ac_ext
96904 cat >>conftest.$ac_ext <<_ACEOF
96905 /* end confdefs.h.  */
96906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96907    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96908 #define $ac_func innocuous_$ac_func
96909
96910 /* System header to define __stub macros and hopefully few prototypes,
96911     which can conflict with char $ac_func (); below.
96912     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96913     <limits.h> exists even on freestanding compilers.  */
96914
96915 #ifdef __STDC__
96916 # include <limits.h>
96917 #else
96918 # include <assert.h>
96919 #endif
96920
96921 #undef $ac_func
96922
96923 /* Override any gcc2 internal prototype to avoid an error.  */
96924 #ifdef __cplusplus
96925 extern "C"
96926 {
96927 #endif
96928 /* We use char because int might match the return type of a gcc2
96929    builtin and then its argument prototype would still apply.  */
96930 char $ac_func ();
96931 /* The GNU C library defines this for functions which it implements
96932     to always fail with ENOSYS.  Some functions are actually named
96933     something starting with __ and the normal name is an alias.  */
96934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96935 choke me
96936 #else
96937 char (*f) () = $ac_func;
96938 #endif
96939 #ifdef __cplusplus
96940 }
96941 #endif
96942
96943 int
96944 main ()
96945 {
96946 return f != $ac_func;
96947   ;
96948   return 0;
96949 }
96950 _ACEOF
96951 rm -f conftest.$ac_objext conftest$ac_exeext
96952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96953   (eval $ac_link) 2>conftest.er1
96954   ac_status=$?
96955   grep -v '^ *+' conftest.er1 >conftest.err
96956   rm -f conftest.er1
96957   cat conftest.err >&5
96958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96959   (exit $ac_status); } &&
96960          { ac_try='test -z "$ac_c_werror_flag"
96961                          || test ! -s conftest.err'
96962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96963   (eval $ac_try) 2>&5
96964   ac_status=$?
96965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96966   (exit $ac_status); }; } &&
96967          { ac_try='test -s conftest$ac_exeext'
96968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96969   (eval $ac_try) 2>&5
96970   ac_status=$?
96971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96972   (exit $ac_status); }; }; then
96973   eval "$as_ac_var=yes"
96974 else
96975   echo "$as_me: failed program was:" >&5
96976 sed 's/^/| /' conftest.$ac_ext >&5
96977
96978 eval "$as_ac_var=no"
96979 fi
96980 rm -f conftest.err conftest.$ac_objext \
96981       conftest$ac_exeext conftest.$ac_ext
96982 fi
96983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96985 if test `eval echo '${'$as_ac_var'}'` = yes; then
96986   cat >>confdefs.h <<_ACEOF
96987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96988 _ACEOF
96989
96990 fi
96991 done
96992
96993   else
96994
96995   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96996 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96997   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96998     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96999   echo $ECHO_N "(cached) $ECHO_C" >&6
97000 else
97001
97002
97003
97004       ac_ext=cc
97005 ac_cpp='$CXXCPP $CPPFLAGS'
97006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97009
97010       cat >conftest.$ac_ext <<_ACEOF
97011 /* confdefs.h.  */
97012 _ACEOF
97013 cat confdefs.h >>conftest.$ac_ext
97014 cat >>conftest.$ac_ext <<_ACEOF
97015 /* end confdefs.h.  */
97016 #include <math.h>
97017                       #ifdef HAVE_IEEEFP_H
97018                       #include <ieeefp.h>
97019                       #endif
97020
97021 int
97022 main ()
97023 {
97024  _sqrtf(0);
97025   ;
97026   return 0;
97027 }
97028 _ACEOF
97029 rm -f conftest.$ac_objext
97030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97031   (eval $ac_compile) 2>conftest.er1
97032   ac_status=$?
97033   grep -v '^ *+' conftest.er1 >conftest.err
97034   rm -f conftest.er1
97035   cat conftest.err >&5
97036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97037   (exit $ac_status); } &&
97038          { ac_try='test -z "$ac_cxx_werror_flag"
97039                          || test ! -s conftest.err'
97040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97041   (eval $ac_try) 2>&5
97042   ac_status=$?
97043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97044   (exit $ac_status); }; } &&
97045          { ac_try='test -s conftest.$ac_objext'
97046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97047   (eval $ac_try) 2>&5
97048   ac_status=$?
97049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97050   (exit $ac_status); }; }; then
97051   glibcxx_cv_func__sqrtf_use=yes
97052 else
97053   echo "$as_me: failed program was:" >&5
97054 sed 's/^/| /' conftest.$ac_ext >&5
97055
97056 glibcxx_cv_func__sqrtf_use=no
97057 fi
97058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97059       ac_ext=c
97060 ac_cpp='$CPP $CPPFLAGS'
97061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97064
97065
97066 fi
97067
97068   fi
97069   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97070 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97071
97072     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97073
97074 for ac_func in _sqrtf
97075 do
97076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97077 echo "$as_me:$LINENO: checking for $ac_func" >&5
97078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97079 if eval "test \"\${$as_ac_var+set}\" = set"; then
97080   echo $ECHO_N "(cached) $ECHO_C" >&6
97081 else
97082   if test x$gcc_no_link = xyes; then
97083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97085    { (exit 1); exit 1; }; }
97086 fi
97087 cat >conftest.$ac_ext <<_ACEOF
97088 /* confdefs.h.  */
97089 _ACEOF
97090 cat confdefs.h >>conftest.$ac_ext
97091 cat >>conftest.$ac_ext <<_ACEOF
97092 /* end confdefs.h.  */
97093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97095 #define $ac_func innocuous_$ac_func
97096
97097 /* System header to define __stub macros and hopefully few prototypes,
97098     which can conflict with char $ac_func (); below.
97099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97100     <limits.h> exists even on freestanding compilers.  */
97101
97102 #ifdef __STDC__
97103 # include <limits.h>
97104 #else
97105 # include <assert.h>
97106 #endif
97107
97108 #undef $ac_func
97109
97110 /* Override any gcc2 internal prototype to avoid an error.  */
97111 #ifdef __cplusplus
97112 extern "C"
97113 {
97114 #endif
97115 /* We use char because int might match the return type of a gcc2
97116    builtin and then its argument prototype would still apply.  */
97117 char $ac_func ();
97118 /* The GNU C library defines this for functions which it implements
97119     to always fail with ENOSYS.  Some functions are actually named
97120     something starting with __ and the normal name is an alias.  */
97121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97122 choke me
97123 #else
97124 char (*f) () = $ac_func;
97125 #endif
97126 #ifdef __cplusplus
97127 }
97128 #endif
97129
97130 int
97131 main ()
97132 {
97133 return f != $ac_func;
97134   ;
97135   return 0;
97136 }
97137 _ACEOF
97138 rm -f conftest.$ac_objext conftest$ac_exeext
97139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97140   (eval $ac_link) 2>conftest.er1
97141   ac_status=$?
97142   grep -v '^ *+' conftest.er1 >conftest.err
97143   rm -f conftest.er1
97144   cat conftest.err >&5
97145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97146   (exit $ac_status); } &&
97147          { ac_try='test -z "$ac_c_werror_flag"
97148                          || test ! -s conftest.err'
97149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97150   (eval $ac_try) 2>&5
97151   ac_status=$?
97152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97153   (exit $ac_status); }; } &&
97154          { ac_try='test -s conftest$ac_exeext'
97155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97156   (eval $ac_try) 2>&5
97157   ac_status=$?
97158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97159   (exit $ac_status); }; }; then
97160   eval "$as_ac_var=yes"
97161 else
97162   echo "$as_me: failed program was:" >&5
97163 sed 's/^/| /' conftest.$ac_ext >&5
97164
97165 eval "$as_ac_var=no"
97166 fi
97167 rm -f conftest.err conftest.$ac_objext \
97168       conftest$ac_exeext conftest.$ac_ext
97169 fi
97170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97172 if test `eval echo '${'$as_ac_var'}'` = yes; then
97173   cat >>confdefs.h <<_ACEOF
97174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97175 _ACEOF
97176
97177 fi
97178 done
97179
97180     fi
97181   fi
97182
97183
97184
97185
97186
97187
97188   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97189 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97190   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97191     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97192   echo $ECHO_N "(cached) $ECHO_C" >&6
97193 else
97194
97195
97196
97197       ac_ext=cc
97198 ac_cpp='$CXXCPP $CPPFLAGS'
97199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97202
97203       cat >conftest.$ac_ext <<_ACEOF
97204 /* confdefs.h.  */
97205 _ACEOF
97206 cat confdefs.h >>conftest.$ac_ext
97207 cat >>conftest.$ac_ext <<_ACEOF
97208 /* end confdefs.h.  */
97209 #include <math.h>
97210 int
97211 main ()
97212 {
97213  sincosf(0, 0, 0);
97214   ;
97215   return 0;
97216 }
97217 _ACEOF
97218 rm -f conftest.$ac_objext
97219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97220   (eval $ac_compile) 2>conftest.er1
97221   ac_status=$?
97222   grep -v '^ *+' conftest.er1 >conftest.err
97223   rm -f conftest.er1
97224   cat conftest.err >&5
97225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97226   (exit $ac_status); } &&
97227          { ac_try='test -z "$ac_cxx_werror_flag"
97228                          || test ! -s conftest.err'
97229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97230   (eval $ac_try) 2>&5
97231   ac_status=$?
97232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97233   (exit $ac_status); }; } &&
97234          { ac_try='test -s conftest.$ac_objext'
97235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97236   (eval $ac_try) 2>&5
97237   ac_status=$?
97238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97239   (exit $ac_status); }; }; then
97240   glibcxx_cv_func_sincosf_use=yes
97241 else
97242   echo "$as_me: failed program was:" >&5
97243 sed 's/^/| /' conftest.$ac_ext >&5
97244
97245 glibcxx_cv_func_sincosf_use=no
97246 fi
97247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97248       ac_ext=c
97249 ac_cpp='$CPP $CPPFLAGS'
97250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97253
97254
97255 fi
97256
97257   fi
97258   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97259 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97260
97261   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97262
97263 for ac_func in sincosf
97264 do
97265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97266 echo "$as_me:$LINENO: checking for $ac_func" >&5
97267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97268 if eval "test \"\${$as_ac_var+set}\" = set"; then
97269   echo $ECHO_N "(cached) $ECHO_C" >&6
97270 else
97271   if test x$gcc_no_link = xyes; then
97272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97274    { (exit 1); exit 1; }; }
97275 fi
97276 cat >conftest.$ac_ext <<_ACEOF
97277 /* confdefs.h.  */
97278 _ACEOF
97279 cat confdefs.h >>conftest.$ac_ext
97280 cat >>conftest.$ac_ext <<_ACEOF
97281 /* end confdefs.h.  */
97282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97284 #define $ac_func innocuous_$ac_func
97285
97286 /* System header to define __stub macros and hopefully few prototypes,
97287     which can conflict with char $ac_func (); below.
97288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97289     <limits.h> exists even on freestanding compilers.  */
97290
97291 #ifdef __STDC__
97292 # include <limits.h>
97293 #else
97294 # include <assert.h>
97295 #endif
97296
97297 #undef $ac_func
97298
97299 /* Override any gcc2 internal prototype to avoid an error.  */
97300 #ifdef __cplusplus
97301 extern "C"
97302 {
97303 #endif
97304 /* We use char because int might match the return type of a gcc2
97305    builtin and then its argument prototype would still apply.  */
97306 char $ac_func ();
97307 /* The GNU C library defines this for functions which it implements
97308     to always fail with ENOSYS.  Some functions are actually named
97309     something starting with __ and the normal name is an alias.  */
97310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97311 choke me
97312 #else
97313 char (*f) () = $ac_func;
97314 #endif
97315 #ifdef __cplusplus
97316 }
97317 #endif
97318
97319 int
97320 main ()
97321 {
97322 return f != $ac_func;
97323   ;
97324   return 0;
97325 }
97326 _ACEOF
97327 rm -f conftest.$ac_objext conftest$ac_exeext
97328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97329   (eval $ac_link) 2>conftest.er1
97330   ac_status=$?
97331   grep -v '^ *+' conftest.er1 >conftest.err
97332   rm -f conftest.er1
97333   cat conftest.err >&5
97334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97335   (exit $ac_status); } &&
97336          { ac_try='test -z "$ac_c_werror_flag"
97337                          || test ! -s conftest.err'
97338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97339   (eval $ac_try) 2>&5
97340   ac_status=$?
97341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97342   (exit $ac_status); }; } &&
97343          { ac_try='test -s conftest$ac_exeext'
97344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97345   (eval $ac_try) 2>&5
97346   ac_status=$?
97347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97348   (exit $ac_status); }; }; then
97349   eval "$as_ac_var=yes"
97350 else
97351   echo "$as_me: failed program was:" >&5
97352 sed 's/^/| /' conftest.$ac_ext >&5
97353
97354 eval "$as_ac_var=no"
97355 fi
97356 rm -f conftest.err conftest.$ac_objext \
97357       conftest$ac_exeext conftest.$ac_ext
97358 fi
97359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97361 if test `eval echo '${'$as_ac_var'}'` = yes; then
97362   cat >>confdefs.h <<_ACEOF
97363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97364 _ACEOF
97365
97366 fi
97367 done
97368
97369   else
97370
97371   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97372 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97373   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97374     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97375   echo $ECHO_N "(cached) $ECHO_C" >&6
97376 else
97377
97378
97379
97380       ac_ext=cc
97381 ac_cpp='$CXXCPP $CPPFLAGS'
97382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97385
97386       cat >conftest.$ac_ext <<_ACEOF
97387 /* confdefs.h.  */
97388 _ACEOF
97389 cat confdefs.h >>conftest.$ac_ext
97390 cat >>conftest.$ac_ext <<_ACEOF
97391 /* end confdefs.h.  */
97392 #include <math.h>
97393 int
97394 main ()
97395 {
97396  _sincosf(0, 0, 0);
97397   ;
97398   return 0;
97399 }
97400 _ACEOF
97401 rm -f conftest.$ac_objext
97402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97403   (eval $ac_compile) 2>conftest.er1
97404   ac_status=$?
97405   grep -v '^ *+' conftest.er1 >conftest.err
97406   rm -f conftest.er1
97407   cat conftest.err >&5
97408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97409   (exit $ac_status); } &&
97410          { ac_try='test -z "$ac_cxx_werror_flag"
97411                          || test ! -s conftest.err'
97412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97413   (eval $ac_try) 2>&5
97414   ac_status=$?
97415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97416   (exit $ac_status); }; } &&
97417          { ac_try='test -s conftest.$ac_objext'
97418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97419   (eval $ac_try) 2>&5
97420   ac_status=$?
97421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97422   (exit $ac_status); }; }; then
97423   glibcxx_cv_func__sincosf_use=yes
97424 else
97425   echo "$as_me: failed program was:" >&5
97426 sed 's/^/| /' conftest.$ac_ext >&5
97427
97428 glibcxx_cv_func__sincosf_use=no
97429 fi
97430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97431       ac_ext=c
97432 ac_cpp='$CPP $CPPFLAGS'
97433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97436
97437
97438 fi
97439
97440   fi
97441   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97442 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97443
97444     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97445
97446 for ac_func in _sincosf
97447 do
97448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97449 echo "$as_me:$LINENO: checking for $ac_func" >&5
97450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97451 if eval "test \"\${$as_ac_var+set}\" = set"; then
97452   echo $ECHO_N "(cached) $ECHO_C" >&6
97453 else
97454   if test x$gcc_no_link = xyes; then
97455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97457    { (exit 1); exit 1; }; }
97458 fi
97459 cat >conftest.$ac_ext <<_ACEOF
97460 /* confdefs.h.  */
97461 _ACEOF
97462 cat confdefs.h >>conftest.$ac_ext
97463 cat >>conftest.$ac_ext <<_ACEOF
97464 /* end confdefs.h.  */
97465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97467 #define $ac_func innocuous_$ac_func
97468
97469 /* System header to define __stub macros and hopefully few prototypes,
97470     which can conflict with char $ac_func (); below.
97471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97472     <limits.h> exists even on freestanding compilers.  */
97473
97474 #ifdef __STDC__
97475 # include <limits.h>
97476 #else
97477 # include <assert.h>
97478 #endif
97479
97480 #undef $ac_func
97481
97482 /* Override any gcc2 internal prototype to avoid an error.  */
97483 #ifdef __cplusplus
97484 extern "C"
97485 {
97486 #endif
97487 /* We use char because int might match the return type of a gcc2
97488    builtin and then its argument prototype would still apply.  */
97489 char $ac_func ();
97490 /* The GNU C library defines this for functions which it implements
97491     to always fail with ENOSYS.  Some functions are actually named
97492     something starting with __ and the normal name is an alias.  */
97493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97494 choke me
97495 #else
97496 char (*f) () = $ac_func;
97497 #endif
97498 #ifdef __cplusplus
97499 }
97500 #endif
97501
97502 int
97503 main ()
97504 {
97505 return f != $ac_func;
97506   ;
97507   return 0;
97508 }
97509 _ACEOF
97510 rm -f conftest.$ac_objext conftest$ac_exeext
97511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97512   (eval $ac_link) 2>conftest.er1
97513   ac_status=$?
97514   grep -v '^ *+' conftest.er1 >conftest.err
97515   rm -f conftest.er1
97516   cat conftest.err >&5
97517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97518   (exit $ac_status); } &&
97519          { ac_try='test -z "$ac_c_werror_flag"
97520                          || test ! -s conftest.err'
97521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97522   (eval $ac_try) 2>&5
97523   ac_status=$?
97524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97525   (exit $ac_status); }; } &&
97526          { ac_try='test -s conftest$ac_exeext'
97527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97528   (eval $ac_try) 2>&5
97529   ac_status=$?
97530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97531   (exit $ac_status); }; }; then
97532   eval "$as_ac_var=yes"
97533 else
97534   echo "$as_me: failed program was:" >&5
97535 sed 's/^/| /' conftest.$ac_ext >&5
97536
97537 eval "$as_ac_var=no"
97538 fi
97539 rm -f conftest.err conftest.$ac_objext \
97540       conftest$ac_exeext conftest.$ac_ext
97541 fi
97542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97544 if test `eval echo '${'$as_ac_var'}'` = yes; then
97545   cat >>confdefs.h <<_ACEOF
97546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97547 _ACEOF
97548
97549 fi
97550 done
97551
97552     fi
97553   fi
97554
97555
97556
97557
97558
97559
97560   echo "$as_me:$LINENO: checking for finitef declaration" >&5
97561 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97562   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97563     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97564   echo $ECHO_N "(cached) $ECHO_C" >&6
97565 else
97566
97567
97568
97569       ac_ext=cc
97570 ac_cpp='$CXXCPP $CPPFLAGS'
97571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97574
97575       cat >conftest.$ac_ext <<_ACEOF
97576 /* confdefs.h.  */
97577 _ACEOF
97578 cat confdefs.h >>conftest.$ac_ext
97579 cat >>conftest.$ac_ext <<_ACEOF
97580 /* end confdefs.h.  */
97581 #include <math.h>
97582                       #ifdef HAVE_IEEEFP_H
97583                       #include <ieeefp.h>
97584                       #endif
97585
97586 int
97587 main ()
97588 {
97589  finitef(0);
97590   ;
97591   return 0;
97592 }
97593 _ACEOF
97594 rm -f conftest.$ac_objext
97595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97596   (eval $ac_compile) 2>conftest.er1
97597   ac_status=$?
97598   grep -v '^ *+' conftest.er1 >conftest.err
97599   rm -f conftest.er1
97600   cat conftest.err >&5
97601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97602   (exit $ac_status); } &&
97603          { ac_try='test -z "$ac_cxx_werror_flag"
97604                          || test ! -s conftest.err'
97605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97606   (eval $ac_try) 2>&5
97607   ac_status=$?
97608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97609   (exit $ac_status); }; } &&
97610          { ac_try='test -s conftest.$ac_objext'
97611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97612   (eval $ac_try) 2>&5
97613   ac_status=$?
97614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97615   (exit $ac_status); }; }; then
97616   glibcxx_cv_func_finitef_use=yes
97617 else
97618   echo "$as_me: failed program was:" >&5
97619 sed 's/^/| /' conftest.$ac_ext >&5
97620
97621 glibcxx_cv_func_finitef_use=no
97622 fi
97623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97624       ac_ext=c
97625 ac_cpp='$CPP $CPPFLAGS'
97626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97629
97630
97631 fi
97632
97633   fi
97634   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97635 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97636
97637   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97638
97639 for ac_func in finitef
97640 do
97641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97642 echo "$as_me:$LINENO: checking for $ac_func" >&5
97643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97644 if eval "test \"\${$as_ac_var+set}\" = set"; then
97645   echo $ECHO_N "(cached) $ECHO_C" >&6
97646 else
97647   if test x$gcc_no_link = xyes; then
97648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97650    { (exit 1); exit 1; }; }
97651 fi
97652 cat >conftest.$ac_ext <<_ACEOF
97653 /* confdefs.h.  */
97654 _ACEOF
97655 cat confdefs.h >>conftest.$ac_ext
97656 cat >>conftest.$ac_ext <<_ACEOF
97657 /* end confdefs.h.  */
97658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97659    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97660 #define $ac_func innocuous_$ac_func
97661
97662 /* System header to define __stub macros and hopefully few prototypes,
97663     which can conflict with char $ac_func (); below.
97664     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97665     <limits.h> exists even on freestanding compilers.  */
97666
97667 #ifdef __STDC__
97668 # include <limits.h>
97669 #else
97670 # include <assert.h>
97671 #endif
97672
97673 #undef $ac_func
97674
97675 /* Override any gcc2 internal prototype to avoid an error.  */
97676 #ifdef __cplusplus
97677 extern "C"
97678 {
97679 #endif
97680 /* We use char because int might match the return type of a gcc2
97681    builtin and then its argument prototype would still apply.  */
97682 char $ac_func ();
97683 /* The GNU C library defines this for functions which it implements
97684     to always fail with ENOSYS.  Some functions are actually named
97685     something starting with __ and the normal name is an alias.  */
97686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97687 choke me
97688 #else
97689 char (*f) () = $ac_func;
97690 #endif
97691 #ifdef __cplusplus
97692 }
97693 #endif
97694
97695 int
97696 main ()
97697 {
97698 return f != $ac_func;
97699   ;
97700   return 0;
97701 }
97702 _ACEOF
97703 rm -f conftest.$ac_objext conftest$ac_exeext
97704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97705   (eval $ac_link) 2>conftest.er1
97706   ac_status=$?
97707   grep -v '^ *+' conftest.er1 >conftest.err
97708   rm -f conftest.er1
97709   cat conftest.err >&5
97710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97711   (exit $ac_status); } &&
97712          { ac_try='test -z "$ac_c_werror_flag"
97713                          || test ! -s conftest.err'
97714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97715   (eval $ac_try) 2>&5
97716   ac_status=$?
97717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97718   (exit $ac_status); }; } &&
97719          { ac_try='test -s conftest$ac_exeext'
97720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97721   (eval $ac_try) 2>&5
97722   ac_status=$?
97723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97724   (exit $ac_status); }; }; then
97725   eval "$as_ac_var=yes"
97726 else
97727   echo "$as_me: failed program was:" >&5
97728 sed 's/^/| /' conftest.$ac_ext >&5
97729
97730 eval "$as_ac_var=no"
97731 fi
97732 rm -f conftest.err conftest.$ac_objext \
97733       conftest$ac_exeext conftest.$ac_ext
97734 fi
97735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97737 if test `eval echo '${'$as_ac_var'}'` = yes; then
97738   cat >>confdefs.h <<_ACEOF
97739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97740 _ACEOF
97741
97742 fi
97743 done
97744
97745   else
97746
97747   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97748 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97749   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97750     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97751   echo $ECHO_N "(cached) $ECHO_C" >&6
97752 else
97753
97754
97755
97756       ac_ext=cc
97757 ac_cpp='$CXXCPP $CPPFLAGS'
97758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97761
97762       cat >conftest.$ac_ext <<_ACEOF
97763 /* confdefs.h.  */
97764 _ACEOF
97765 cat confdefs.h >>conftest.$ac_ext
97766 cat >>conftest.$ac_ext <<_ACEOF
97767 /* end confdefs.h.  */
97768 #include <math.h>
97769                       #ifdef HAVE_IEEEFP_H
97770                       #include <ieeefp.h>
97771                       #endif
97772
97773 int
97774 main ()
97775 {
97776  _finitef(0);
97777   ;
97778   return 0;
97779 }
97780 _ACEOF
97781 rm -f conftest.$ac_objext
97782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97783   (eval $ac_compile) 2>conftest.er1
97784   ac_status=$?
97785   grep -v '^ *+' conftest.er1 >conftest.err
97786   rm -f conftest.er1
97787   cat conftest.err >&5
97788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97789   (exit $ac_status); } &&
97790          { ac_try='test -z "$ac_cxx_werror_flag"
97791                          || test ! -s conftest.err'
97792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97793   (eval $ac_try) 2>&5
97794   ac_status=$?
97795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97796   (exit $ac_status); }; } &&
97797          { ac_try='test -s conftest.$ac_objext'
97798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97799   (eval $ac_try) 2>&5
97800   ac_status=$?
97801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97802   (exit $ac_status); }; }; then
97803   glibcxx_cv_func__finitef_use=yes
97804 else
97805   echo "$as_me: failed program was:" >&5
97806 sed 's/^/| /' conftest.$ac_ext >&5
97807
97808 glibcxx_cv_func__finitef_use=no
97809 fi
97810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97811       ac_ext=c
97812 ac_cpp='$CPP $CPPFLAGS'
97813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97816
97817
97818 fi
97819
97820   fi
97821   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97822 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97823
97824     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97825
97826 for ac_func in _finitef
97827 do
97828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97829 echo "$as_me:$LINENO: checking for $ac_func" >&5
97830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97831 if eval "test \"\${$as_ac_var+set}\" = set"; then
97832   echo $ECHO_N "(cached) $ECHO_C" >&6
97833 else
97834   if test x$gcc_no_link = xyes; then
97835   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97837    { (exit 1); exit 1; }; }
97838 fi
97839 cat >conftest.$ac_ext <<_ACEOF
97840 /* confdefs.h.  */
97841 _ACEOF
97842 cat confdefs.h >>conftest.$ac_ext
97843 cat >>conftest.$ac_ext <<_ACEOF
97844 /* end confdefs.h.  */
97845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97846    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97847 #define $ac_func innocuous_$ac_func
97848
97849 /* System header to define __stub macros and hopefully few prototypes,
97850     which can conflict with char $ac_func (); below.
97851     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97852     <limits.h> exists even on freestanding compilers.  */
97853
97854 #ifdef __STDC__
97855 # include <limits.h>
97856 #else
97857 # include <assert.h>
97858 #endif
97859
97860 #undef $ac_func
97861
97862 /* Override any gcc2 internal prototype to avoid an error.  */
97863 #ifdef __cplusplus
97864 extern "C"
97865 {
97866 #endif
97867 /* We use char because int might match the return type of a gcc2
97868    builtin and then its argument prototype would still apply.  */
97869 char $ac_func ();
97870 /* The GNU C library defines this for functions which it implements
97871     to always fail with ENOSYS.  Some functions are actually named
97872     something starting with __ and the normal name is an alias.  */
97873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97874 choke me
97875 #else
97876 char (*f) () = $ac_func;
97877 #endif
97878 #ifdef __cplusplus
97879 }
97880 #endif
97881
97882 int
97883 main ()
97884 {
97885 return f != $ac_func;
97886   ;
97887   return 0;
97888 }
97889 _ACEOF
97890 rm -f conftest.$ac_objext conftest$ac_exeext
97891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97892   (eval $ac_link) 2>conftest.er1
97893   ac_status=$?
97894   grep -v '^ *+' conftest.er1 >conftest.err
97895   rm -f conftest.er1
97896   cat conftest.err >&5
97897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97898   (exit $ac_status); } &&
97899          { ac_try='test -z "$ac_c_werror_flag"
97900                          || test ! -s conftest.err'
97901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97902   (eval $ac_try) 2>&5
97903   ac_status=$?
97904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97905   (exit $ac_status); }; } &&
97906          { ac_try='test -s conftest$ac_exeext'
97907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97908   (eval $ac_try) 2>&5
97909   ac_status=$?
97910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97911   (exit $ac_status); }; }; then
97912   eval "$as_ac_var=yes"
97913 else
97914   echo "$as_me: failed program was:" >&5
97915 sed 's/^/| /' conftest.$ac_ext >&5
97916
97917 eval "$as_ac_var=no"
97918 fi
97919 rm -f conftest.err conftest.$ac_objext \
97920       conftest$ac_exeext conftest.$ac_ext
97921 fi
97922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97924 if test `eval echo '${'$as_ac_var'}'` = yes; then
97925   cat >>confdefs.h <<_ACEOF
97926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97927 _ACEOF
97928
97929 fi
97930 done
97931
97932     fi
97933   fi
97934
97935
97936
97937
97938
97939
97940     echo "$as_me:$LINENO: checking for long double trig functions" >&5
97941 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
97942   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
97943   echo $ECHO_N "(cached) $ECHO_C" >&6
97944 else
97945
97946
97947
97948     ac_ext=cc
97949 ac_cpp='$CXXCPP $CPPFLAGS'
97950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97953
97954     cat >conftest.$ac_ext <<_ACEOF
97955 /* confdefs.h.  */
97956 _ACEOF
97957 cat confdefs.h >>conftest.$ac_ext
97958 cat >>conftest.$ac_ext <<_ACEOF
97959 /* end confdefs.h.  */
97960 #include <math.h>
97961 int
97962 main ()
97963 {
97964 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97965   ;
97966   return 0;
97967 }
97968 _ACEOF
97969 rm -f conftest.$ac_objext
97970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97971   (eval $ac_compile) 2>conftest.er1
97972   ac_status=$?
97973   grep -v '^ *+' conftest.er1 >conftest.err
97974   rm -f conftest.er1
97975   cat conftest.err >&5
97976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97977   (exit $ac_status); } &&
97978          { ac_try='test -z "$ac_cxx_werror_flag"
97979                          || test ! -s conftest.err'
97980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97981   (eval $ac_try) 2>&5
97982   ac_status=$?
97983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97984   (exit $ac_status); }; } &&
97985          { ac_try='test -s conftest.$ac_objext'
97986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97987   (eval $ac_try) 2>&5
97988   ac_status=$?
97989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97990   (exit $ac_status); }; }; then
97991   glibcxx_cv_func_long_double_trig_use=yes
97992 else
97993   echo "$as_me: failed program was:" >&5
97994 sed 's/^/| /' conftest.$ac_ext >&5
97995
97996 glibcxx_cv_func_long_double_trig_use=no
97997 fi
97998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97999     ac_ext=c
98000 ac_cpp='$CPP $CPPFLAGS'
98001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98004
98005 fi
98006
98007   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98008 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98009   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98010
98011
98012
98013
98014
98015
98016
98017
98018
98019 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98020 do
98021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98022 echo "$as_me:$LINENO: checking for $ac_func" >&5
98023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98024 if eval "test \"\${$as_ac_var+set}\" = set"; then
98025   echo $ECHO_N "(cached) $ECHO_C" >&6
98026 else
98027   if test x$gcc_no_link = xyes; then
98028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98030    { (exit 1); exit 1; }; }
98031 fi
98032 cat >conftest.$ac_ext <<_ACEOF
98033 /* confdefs.h.  */
98034 _ACEOF
98035 cat confdefs.h >>conftest.$ac_ext
98036 cat >>conftest.$ac_ext <<_ACEOF
98037 /* end confdefs.h.  */
98038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98040 #define $ac_func innocuous_$ac_func
98041
98042 /* System header to define __stub macros and hopefully few prototypes,
98043     which can conflict with char $ac_func (); below.
98044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98045     <limits.h> exists even on freestanding compilers.  */
98046
98047 #ifdef __STDC__
98048 # include <limits.h>
98049 #else
98050 # include <assert.h>
98051 #endif
98052
98053 #undef $ac_func
98054
98055 /* Override any gcc2 internal prototype to avoid an error.  */
98056 #ifdef __cplusplus
98057 extern "C"
98058 {
98059 #endif
98060 /* We use char because int might match the return type of a gcc2
98061    builtin and then its argument prototype would still apply.  */
98062 char $ac_func ();
98063 /* The GNU C library defines this for functions which it implements
98064     to always fail with ENOSYS.  Some functions are actually named
98065     something starting with __ and the normal name is an alias.  */
98066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98067 choke me
98068 #else
98069 char (*f) () = $ac_func;
98070 #endif
98071 #ifdef __cplusplus
98072 }
98073 #endif
98074
98075 int
98076 main ()
98077 {
98078 return f != $ac_func;
98079   ;
98080   return 0;
98081 }
98082 _ACEOF
98083 rm -f conftest.$ac_objext conftest$ac_exeext
98084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98085   (eval $ac_link) 2>conftest.er1
98086   ac_status=$?
98087   grep -v '^ *+' conftest.er1 >conftest.err
98088   rm -f conftest.er1
98089   cat conftest.err >&5
98090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98091   (exit $ac_status); } &&
98092          { ac_try='test -z "$ac_c_werror_flag"
98093                          || test ! -s conftest.err'
98094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98095   (eval $ac_try) 2>&5
98096   ac_status=$?
98097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98098   (exit $ac_status); }; } &&
98099          { ac_try='test -s conftest$ac_exeext'
98100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98101   (eval $ac_try) 2>&5
98102   ac_status=$?
98103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98104   (exit $ac_status); }; }; then
98105   eval "$as_ac_var=yes"
98106 else
98107   echo "$as_me: failed program was:" >&5
98108 sed 's/^/| /' conftest.$ac_ext >&5
98109
98110 eval "$as_ac_var=no"
98111 fi
98112 rm -f conftest.err conftest.$ac_objext \
98113       conftest$ac_exeext conftest.$ac_ext
98114 fi
98115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98117 if test `eval echo '${'$as_ac_var'}'` = yes; then
98118   cat >>confdefs.h <<_ACEOF
98119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98120 _ACEOF
98121
98122 fi
98123 done
98124
98125   else
98126     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98127 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98128     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98129   echo $ECHO_N "(cached) $ECHO_C" >&6
98130 else
98131
98132
98133
98134       ac_ext=cc
98135 ac_cpp='$CXXCPP $CPPFLAGS'
98136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98139
98140       cat >conftest.$ac_ext <<_ACEOF
98141 /* confdefs.h.  */
98142 _ACEOF
98143 cat confdefs.h >>conftest.$ac_ext
98144 cat >>conftest.$ac_ext <<_ACEOF
98145 /* end confdefs.h.  */
98146 #include <math.h>
98147 int
98148 main ()
98149 {
98150 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98151   ;
98152   return 0;
98153 }
98154 _ACEOF
98155 rm -f conftest.$ac_objext
98156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98157   (eval $ac_compile) 2>conftest.er1
98158   ac_status=$?
98159   grep -v '^ *+' conftest.er1 >conftest.err
98160   rm -f conftest.er1
98161   cat conftest.err >&5
98162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98163   (exit $ac_status); } &&
98164          { ac_try='test -z "$ac_cxx_werror_flag"
98165                          || test ! -s conftest.err'
98166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98167   (eval $ac_try) 2>&5
98168   ac_status=$?
98169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98170   (exit $ac_status); }; } &&
98171          { ac_try='test -s conftest.$ac_objext'
98172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98173   (eval $ac_try) 2>&5
98174   ac_status=$?
98175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98176   (exit $ac_status); }; }; then
98177   glibcxx_cv_func__long_double_trig_use=yes
98178 else
98179   echo "$as_me: failed program was:" >&5
98180 sed 's/^/| /' conftest.$ac_ext >&5
98181
98182 glibcxx_cv_func__long_double_trig_use=no
98183 fi
98184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98185       ac_ext=c
98186 ac_cpp='$CPP $CPPFLAGS'
98187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98190
98191 fi
98192
98193     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98194 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98195     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98196
98197
98198
98199
98200
98201
98202
98203
98204
98205 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98206 do
98207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98208 echo "$as_me:$LINENO: checking for $ac_func" >&5
98209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98210 if eval "test \"\${$as_ac_var+set}\" = set"; then
98211   echo $ECHO_N "(cached) $ECHO_C" >&6
98212 else
98213   if test x$gcc_no_link = xyes; then
98214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98216    { (exit 1); exit 1; }; }
98217 fi
98218 cat >conftest.$ac_ext <<_ACEOF
98219 /* confdefs.h.  */
98220 _ACEOF
98221 cat confdefs.h >>conftest.$ac_ext
98222 cat >>conftest.$ac_ext <<_ACEOF
98223 /* end confdefs.h.  */
98224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98226 #define $ac_func innocuous_$ac_func
98227
98228 /* System header to define __stub macros and hopefully few prototypes,
98229     which can conflict with char $ac_func (); below.
98230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98231     <limits.h> exists even on freestanding compilers.  */
98232
98233 #ifdef __STDC__
98234 # include <limits.h>
98235 #else
98236 # include <assert.h>
98237 #endif
98238
98239 #undef $ac_func
98240
98241 /* Override any gcc2 internal prototype to avoid an error.  */
98242 #ifdef __cplusplus
98243 extern "C"
98244 {
98245 #endif
98246 /* We use char because int might match the return type of a gcc2
98247    builtin and then its argument prototype would still apply.  */
98248 char $ac_func ();
98249 /* The GNU C library defines this for functions which it implements
98250     to always fail with ENOSYS.  Some functions are actually named
98251     something starting with __ and the normal name is an alias.  */
98252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98253 choke me
98254 #else
98255 char (*f) () = $ac_func;
98256 #endif
98257 #ifdef __cplusplus
98258 }
98259 #endif
98260
98261 int
98262 main ()
98263 {
98264 return f != $ac_func;
98265   ;
98266   return 0;
98267 }
98268 _ACEOF
98269 rm -f conftest.$ac_objext conftest$ac_exeext
98270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98271   (eval $ac_link) 2>conftest.er1
98272   ac_status=$?
98273   grep -v '^ *+' conftest.er1 >conftest.err
98274   rm -f conftest.er1
98275   cat conftest.err >&5
98276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98277   (exit $ac_status); } &&
98278          { ac_try='test -z "$ac_c_werror_flag"
98279                          || test ! -s conftest.err'
98280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98281   (eval $ac_try) 2>&5
98282   ac_status=$?
98283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98284   (exit $ac_status); }; } &&
98285          { ac_try='test -s conftest$ac_exeext'
98286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98287   (eval $ac_try) 2>&5
98288   ac_status=$?
98289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98290   (exit $ac_status); }; }; then
98291   eval "$as_ac_var=yes"
98292 else
98293   echo "$as_me: failed program was:" >&5
98294 sed 's/^/| /' conftest.$ac_ext >&5
98295
98296 eval "$as_ac_var=no"
98297 fi
98298 rm -f conftest.err conftest.$ac_objext \
98299       conftest$ac_exeext conftest.$ac_ext
98300 fi
98301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98303 if test `eval echo '${'$as_ac_var'}'` = yes; then
98304   cat >>confdefs.h <<_ACEOF
98305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98306 _ACEOF
98307
98308 fi
98309 done
98310
98311     fi
98312   fi
98313
98314
98315
98316
98317
98318
98319
98320
98321
98322
98323
98324
98325
98326
98327     echo "$as_me:$LINENO: checking for long double round functions" >&5
98328 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98329   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98330   echo $ECHO_N "(cached) $ECHO_C" >&6
98331 else
98332
98333
98334
98335     ac_ext=cc
98336 ac_cpp='$CXXCPP $CPPFLAGS'
98337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98340
98341     cat >conftest.$ac_ext <<_ACEOF
98342 /* confdefs.h.  */
98343 _ACEOF
98344 cat confdefs.h >>conftest.$ac_ext
98345 cat >>conftest.$ac_ext <<_ACEOF
98346 /* end confdefs.h.  */
98347 #include <math.h>
98348 int
98349 main ()
98350 {
98351 ceill (0); floorl (0);
98352   ;
98353   return 0;
98354 }
98355 _ACEOF
98356 rm -f conftest.$ac_objext
98357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98358   (eval $ac_compile) 2>conftest.er1
98359   ac_status=$?
98360   grep -v '^ *+' conftest.er1 >conftest.err
98361   rm -f conftest.er1
98362   cat conftest.err >&5
98363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98364   (exit $ac_status); } &&
98365          { ac_try='test -z "$ac_cxx_werror_flag"
98366                          || test ! -s conftest.err'
98367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98368   (eval $ac_try) 2>&5
98369   ac_status=$?
98370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98371   (exit $ac_status); }; } &&
98372          { ac_try='test -s conftest.$ac_objext'
98373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98374   (eval $ac_try) 2>&5
98375   ac_status=$?
98376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98377   (exit $ac_status); }; }; then
98378   glibcxx_cv_func_long_double_round_use=yes
98379 else
98380   echo "$as_me: failed program was:" >&5
98381 sed 's/^/| /' conftest.$ac_ext >&5
98382
98383 glibcxx_cv_func_long_double_round_use=no
98384 fi
98385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98386     ac_ext=c
98387 ac_cpp='$CPP $CPPFLAGS'
98388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98391
98392 fi
98393
98394   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98395 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98396   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98397
98398
98399 for ac_func in ceill floorl
98400 do
98401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98402 echo "$as_me:$LINENO: checking for $ac_func" >&5
98403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98404 if eval "test \"\${$as_ac_var+set}\" = set"; then
98405   echo $ECHO_N "(cached) $ECHO_C" >&6
98406 else
98407   if test x$gcc_no_link = xyes; then
98408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98410    { (exit 1); exit 1; }; }
98411 fi
98412 cat >conftest.$ac_ext <<_ACEOF
98413 /* confdefs.h.  */
98414 _ACEOF
98415 cat confdefs.h >>conftest.$ac_ext
98416 cat >>conftest.$ac_ext <<_ACEOF
98417 /* end confdefs.h.  */
98418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98420 #define $ac_func innocuous_$ac_func
98421
98422 /* System header to define __stub macros and hopefully few prototypes,
98423     which can conflict with char $ac_func (); below.
98424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98425     <limits.h> exists even on freestanding compilers.  */
98426
98427 #ifdef __STDC__
98428 # include <limits.h>
98429 #else
98430 # include <assert.h>
98431 #endif
98432
98433 #undef $ac_func
98434
98435 /* Override any gcc2 internal prototype to avoid an error.  */
98436 #ifdef __cplusplus
98437 extern "C"
98438 {
98439 #endif
98440 /* We use char because int might match the return type of a gcc2
98441    builtin and then its argument prototype would still apply.  */
98442 char $ac_func ();
98443 /* The GNU C library defines this for functions which it implements
98444     to always fail with ENOSYS.  Some functions are actually named
98445     something starting with __ and the normal name is an alias.  */
98446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98447 choke me
98448 #else
98449 char (*f) () = $ac_func;
98450 #endif
98451 #ifdef __cplusplus
98452 }
98453 #endif
98454
98455 int
98456 main ()
98457 {
98458 return f != $ac_func;
98459   ;
98460   return 0;
98461 }
98462 _ACEOF
98463 rm -f conftest.$ac_objext conftest$ac_exeext
98464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98465   (eval $ac_link) 2>conftest.er1
98466   ac_status=$?
98467   grep -v '^ *+' conftest.er1 >conftest.err
98468   rm -f conftest.er1
98469   cat conftest.err >&5
98470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98471   (exit $ac_status); } &&
98472          { ac_try='test -z "$ac_c_werror_flag"
98473                          || test ! -s conftest.err'
98474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98475   (eval $ac_try) 2>&5
98476   ac_status=$?
98477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98478   (exit $ac_status); }; } &&
98479          { ac_try='test -s conftest$ac_exeext'
98480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98481   (eval $ac_try) 2>&5
98482   ac_status=$?
98483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98484   (exit $ac_status); }; }; then
98485   eval "$as_ac_var=yes"
98486 else
98487   echo "$as_me: failed program was:" >&5
98488 sed 's/^/| /' conftest.$ac_ext >&5
98489
98490 eval "$as_ac_var=no"
98491 fi
98492 rm -f conftest.err conftest.$ac_objext \
98493       conftest$ac_exeext conftest.$ac_ext
98494 fi
98495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98497 if test `eval echo '${'$as_ac_var'}'` = yes; then
98498   cat >>confdefs.h <<_ACEOF
98499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98500 _ACEOF
98501
98502 fi
98503 done
98504
98505   else
98506     echo "$as_me:$LINENO: checking for _long double round functions" >&5
98507 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98508     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98509   echo $ECHO_N "(cached) $ECHO_C" >&6
98510 else
98511
98512
98513
98514       ac_ext=cc
98515 ac_cpp='$CXXCPP $CPPFLAGS'
98516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98519
98520       cat >conftest.$ac_ext <<_ACEOF
98521 /* confdefs.h.  */
98522 _ACEOF
98523 cat confdefs.h >>conftest.$ac_ext
98524 cat >>conftest.$ac_ext <<_ACEOF
98525 /* end confdefs.h.  */
98526 #include <math.h>
98527 int
98528 main ()
98529 {
98530 _ceill (0); _floorl (0);
98531   ;
98532   return 0;
98533 }
98534 _ACEOF
98535 rm -f conftest.$ac_objext
98536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98537   (eval $ac_compile) 2>conftest.er1
98538   ac_status=$?
98539   grep -v '^ *+' conftest.er1 >conftest.err
98540   rm -f conftest.er1
98541   cat conftest.err >&5
98542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98543   (exit $ac_status); } &&
98544          { ac_try='test -z "$ac_cxx_werror_flag"
98545                          || test ! -s conftest.err'
98546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98547   (eval $ac_try) 2>&5
98548   ac_status=$?
98549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98550   (exit $ac_status); }; } &&
98551          { ac_try='test -s conftest.$ac_objext'
98552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98553   (eval $ac_try) 2>&5
98554   ac_status=$?
98555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98556   (exit $ac_status); }; }; then
98557   glibcxx_cv_func__long_double_round_use=yes
98558 else
98559   echo "$as_me: failed program was:" >&5
98560 sed 's/^/| /' conftest.$ac_ext >&5
98561
98562 glibcxx_cv_func__long_double_round_use=no
98563 fi
98564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98565       ac_ext=c
98566 ac_cpp='$CPP $CPPFLAGS'
98567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98570
98571 fi
98572
98573     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98574 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98575     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98576
98577
98578 for ac_func in _ceill _floorl
98579 do
98580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98581 echo "$as_me:$LINENO: checking for $ac_func" >&5
98582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98583 if eval "test \"\${$as_ac_var+set}\" = set"; then
98584   echo $ECHO_N "(cached) $ECHO_C" >&6
98585 else
98586   if test x$gcc_no_link = xyes; then
98587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98589    { (exit 1); exit 1; }; }
98590 fi
98591 cat >conftest.$ac_ext <<_ACEOF
98592 /* confdefs.h.  */
98593 _ACEOF
98594 cat confdefs.h >>conftest.$ac_ext
98595 cat >>conftest.$ac_ext <<_ACEOF
98596 /* end confdefs.h.  */
98597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98598    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98599 #define $ac_func innocuous_$ac_func
98600
98601 /* System header to define __stub macros and hopefully few prototypes,
98602     which can conflict with char $ac_func (); below.
98603     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98604     <limits.h> exists even on freestanding compilers.  */
98605
98606 #ifdef __STDC__
98607 # include <limits.h>
98608 #else
98609 # include <assert.h>
98610 #endif
98611
98612 #undef $ac_func
98613
98614 /* Override any gcc2 internal prototype to avoid an error.  */
98615 #ifdef __cplusplus
98616 extern "C"
98617 {
98618 #endif
98619 /* We use char because int might match the return type of a gcc2
98620    builtin and then its argument prototype would still apply.  */
98621 char $ac_func ();
98622 /* The GNU C library defines this for functions which it implements
98623     to always fail with ENOSYS.  Some functions are actually named
98624     something starting with __ and the normal name is an alias.  */
98625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98626 choke me
98627 #else
98628 char (*f) () = $ac_func;
98629 #endif
98630 #ifdef __cplusplus
98631 }
98632 #endif
98633
98634 int
98635 main ()
98636 {
98637 return f != $ac_func;
98638   ;
98639   return 0;
98640 }
98641 _ACEOF
98642 rm -f conftest.$ac_objext conftest$ac_exeext
98643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98644   (eval $ac_link) 2>conftest.er1
98645   ac_status=$?
98646   grep -v '^ *+' conftest.er1 >conftest.err
98647   rm -f conftest.er1
98648   cat conftest.err >&5
98649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98650   (exit $ac_status); } &&
98651          { ac_try='test -z "$ac_c_werror_flag"
98652                          || test ! -s conftest.err'
98653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98654   (eval $ac_try) 2>&5
98655   ac_status=$?
98656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98657   (exit $ac_status); }; } &&
98658          { ac_try='test -s conftest$ac_exeext'
98659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98660   (eval $ac_try) 2>&5
98661   ac_status=$?
98662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98663   (exit $ac_status); }; }; then
98664   eval "$as_ac_var=yes"
98665 else
98666   echo "$as_me: failed program was:" >&5
98667 sed 's/^/| /' conftest.$ac_ext >&5
98668
98669 eval "$as_ac_var=no"
98670 fi
98671 rm -f conftest.err conftest.$ac_objext \
98672       conftest$ac_exeext conftest.$ac_ext
98673 fi
98674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98676 if test `eval echo '${'$as_ac_var'}'` = yes; then
98677   cat >>confdefs.h <<_ACEOF
98678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98679 _ACEOF
98680
98681 fi
98682 done
98683
98684     fi
98685   fi
98686
98687
98688
98689
98690
98691
98692
98693
98694   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98695 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98696   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98697     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98698   echo $ECHO_N "(cached) $ECHO_C" >&6
98699 else
98700
98701
98702
98703       ac_ext=cc
98704 ac_cpp='$CXXCPP $CPPFLAGS'
98705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98708
98709       cat >conftest.$ac_ext <<_ACEOF
98710 /* confdefs.h.  */
98711 _ACEOF
98712 cat confdefs.h >>conftest.$ac_ext
98713 cat >>conftest.$ac_ext <<_ACEOF
98714 /* end confdefs.h.  */
98715 #include <math.h>
98716                       #ifdef HAVE_IEEEFP_H
98717                       #include <ieeefp.h>
98718                       #endif
98719
98720 int
98721 main ()
98722 {
98723  isnanl(0);
98724   ;
98725   return 0;
98726 }
98727 _ACEOF
98728 rm -f conftest.$ac_objext
98729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98730   (eval $ac_compile) 2>conftest.er1
98731   ac_status=$?
98732   grep -v '^ *+' conftest.er1 >conftest.err
98733   rm -f conftest.er1
98734   cat conftest.err >&5
98735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98736   (exit $ac_status); } &&
98737          { ac_try='test -z "$ac_cxx_werror_flag"
98738                          || test ! -s conftest.err'
98739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98740   (eval $ac_try) 2>&5
98741   ac_status=$?
98742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98743   (exit $ac_status); }; } &&
98744          { ac_try='test -s conftest.$ac_objext'
98745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98746   (eval $ac_try) 2>&5
98747   ac_status=$?
98748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98749   (exit $ac_status); }; }; then
98750   glibcxx_cv_func_isnanl_use=yes
98751 else
98752   echo "$as_me: failed program was:" >&5
98753 sed 's/^/| /' conftest.$ac_ext >&5
98754
98755 glibcxx_cv_func_isnanl_use=no
98756 fi
98757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98758       ac_ext=c
98759 ac_cpp='$CPP $CPPFLAGS'
98760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98763
98764
98765 fi
98766
98767   fi
98768   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98769 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98770
98771   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98772
98773 for ac_func in isnanl
98774 do
98775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98776 echo "$as_me:$LINENO: checking for $ac_func" >&5
98777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98778 if eval "test \"\${$as_ac_var+set}\" = set"; then
98779   echo $ECHO_N "(cached) $ECHO_C" >&6
98780 else
98781   if test x$gcc_no_link = xyes; then
98782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98784    { (exit 1); exit 1; }; }
98785 fi
98786 cat >conftest.$ac_ext <<_ACEOF
98787 /* confdefs.h.  */
98788 _ACEOF
98789 cat confdefs.h >>conftest.$ac_ext
98790 cat >>conftest.$ac_ext <<_ACEOF
98791 /* end confdefs.h.  */
98792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98794 #define $ac_func innocuous_$ac_func
98795
98796 /* System header to define __stub macros and hopefully few prototypes,
98797     which can conflict with char $ac_func (); below.
98798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98799     <limits.h> exists even on freestanding compilers.  */
98800
98801 #ifdef __STDC__
98802 # include <limits.h>
98803 #else
98804 # include <assert.h>
98805 #endif
98806
98807 #undef $ac_func
98808
98809 /* Override any gcc2 internal prototype to avoid an error.  */
98810 #ifdef __cplusplus
98811 extern "C"
98812 {
98813 #endif
98814 /* We use char because int might match the return type of a gcc2
98815    builtin and then its argument prototype would still apply.  */
98816 char $ac_func ();
98817 /* The GNU C library defines this for functions which it implements
98818     to always fail with ENOSYS.  Some functions are actually named
98819     something starting with __ and the normal name is an alias.  */
98820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98821 choke me
98822 #else
98823 char (*f) () = $ac_func;
98824 #endif
98825 #ifdef __cplusplus
98826 }
98827 #endif
98828
98829 int
98830 main ()
98831 {
98832 return f != $ac_func;
98833   ;
98834   return 0;
98835 }
98836 _ACEOF
98837 rm -f conftest.$ac_objext conftest$ac_exeext
98838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98839   (eval $ac_link) 2>conftest.er1
98840   ac_status=$?
98841   grep -v '^ *+' conftest.er1 >conftest.err
98842   rm -f conftest.er1
98843   cat conftest.err >&5
98844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98845   (exit $ac_status); } &&
98846          { ac_try='test -z "$ac_c_werror_flag"
98847                          || test ! -s conftest.err'
98848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98849   (eval $ac_try) 2>&5
98850   ac_status=$?
98851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98852   (exit $ac_status); }; } &&
98853          { ac_try='test -s conftest$ac_exeext'
98854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98855   (eval $ac_try) 2>&5
98856   ac_status=$?
98857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98858   (exit $ac_status); }; }; then
98859   eval "$as_ac_var=yes"
98860 else
98861   echo "$as_me: failed program was:" >&5
98862 sed 's/^/| /' conftest.$ac_ext >&5
98863
98864 eval "$as_ac_var=no"
98865 fi
98866 rm -f conftest.err conftest.$ac_objext \
98867       conftest$ac_exeext conftest.$ac_ext
98868 fi
98869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98871 if test `eval echo '${'$as_ac_var'}'` = yes; then
98872   cat >>confdefs.h <<_ACEOF
98873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98874 _ACEOF
98875
98876 fi
98877 done
98878
98879   else
98880
98881   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
98882 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
98883   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
98884     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
98885   echo $ECHO_N "(cached) $ECHO_C" >&6
98886 else
98887
98888
98889
98890       ac_ext=cc
98891 ac_cpp='$CXXCPP $CPPFLAGS'
98892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98895
98896       cat >conftest.$ac_ext <<_ACEOF
98897 /* confdefs.h.  */
98898 _ACEOF
98899 cat confdefs.h >>conftest.$ac_ext
98900 cat >>conftest.$ac_ext <<_ACEOF
98901 /* end confdefs.h.  */
98902 #include <math.h>
98903                       #ifdef HAVE_IEEEFP_H
98904                       #include <ieeefp.h>
98905                       #endif
98906
98907 int
98908 main ()
98909 {
98910  _isnanl(0);
98911   ;
98912   return 0;
98913 }
98914 _ACEOF
98915 rm -f conftest.$ac_objext
98916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98917   (eval $ac_compile) 2>conftest.er1
98918   ac_status=$?
98919   grep -v '^ *+' conftest.er1 >conftest.err
98920   rm -f conftest.er1
98921   cat conftest.err >&5
98922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98923   (exit $ac_status); } &&
98924          { ac_try='test -z "$ac_cxx_werror_flag"
98925                          || test ! -s conftest.err'
98926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98927   (eval $ac_try) 2>&5
98928   ac_status=$?
98929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98930   (exit $ac_status); }; } &&
98931          { ac_try='test -s conftest.$ac_objext'
98932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98933   (eval $ac_try) 2>&5
98934   ac_status=$?
98935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98936   (exit $ac_status); }; }; then
98937   glibcxx_cv_func__isnanl_use=yes
98938 else
98939   echo "$as_me: failed program was:" >&5
98940 sed 's/^/| /' conftest.$ac_ext >&5
98941
98942 glibcxx_cv_func__isnanl_use=no
98943 fi
98944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98945       ac_ext=c
98946 ac_cpp='$CPP $CPPFLAGS'
98947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98950
98951
98952 fi
98953
98954   fi
98955   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
98956 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
98957
98958     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
98959
98960 for ac_func in _isnanl
98961 do
98962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98963 echo "$as_me:$LINENO: checking for $ac_func" >&5
98964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98965 if eval "test \"\${$as_ac_var+set}\" = set"; then
98966   echo $ECHO_N "(cached) $ECHO_C" >&6
98967 else
98968   if test x$gcc_no_link = xyes; then
98969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98971    { (exit 1); exit 1; }; }
98972 fi
98973 cat >conftest.$ac_ext <<_ACEOF
98974 /* confdefs.h.  */
98975 _ACEOF
98976 cat confdefs.h >>conftest.$ac_ext
98977 cat >>conftest.$ac_ext <<_ACEOF
98978 /* end confdefs.h.  */
98979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98981 #define $ac_func innocuous_$ac_func
98982
98983 /* System header to define __stub macros and hopefully few prototypes,
98984     which can conflict with char $ac_func (); below.
98985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98986     <limits.h> exists even on freestanding compilers.  */
98987
98988 #ifdef __STDC__
98989 # include <limits.h>
98990 #else
98991 # include <assert.h>
98992 #endif
98993
98994 #undef $ac_func
98995
98996 /* Override any gcc2 internal prototype to avoid an error.  */
98997 #ifdef __cplusplus
98998 extern "C"
98999 {
99000 #endif
99001 /* We use char because int might match the return type of a gcc2
99002    builtin and then its argument prototype would still apply.  */
99003 char $ac_func ();
99004 /* The GNU C library defines this for functions which it implements
99005     to always fail with ENOSYS.  Some functions are actually named
99006     something starting with __ and the normal name is an alias.  */
99007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99008 choke me
99009 #else
99010 char (*f) () = $ac_func;
99011 #endif
99012 #ifdef __cplusplus
99013 }
99014 #endif
99015
99016 int
99017 main ()
99018 {
99019 return f != $ac_func;
99020   ;
99021   return 0;
99022 }
99023 _ACEOF
99024 rm -f conftest.$ac_objext conftest$ac_exeext
99025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99026   (eval $ac_link) 2>conftest.er1
99027   ac_status=$?
99028   grep -v '^ *+' conftest.er1 >conftest.err
99029   rm -f conftest.er1
99030   cat conftest.err >&5
99031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99032   (exit $ac_status); } &&
99033          { ac_try='test -z "$ac_c_werror_flag"
99034                          || test ! -s conftest.err'
99035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99036   (eval $ac_try) 2>&5
99037   ac_status=$?
99038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99039   (exit $ac_status); }; } &&
99040          { ac_try='test -s conftest$ac_exeext'
99041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99042   (eval $ac_try) 2>&5
99043   ac_status=$?
99044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99045   (exit $ac_status); }; }; then
99046   eval "$as_ac_var=yes"
99047 else
99048   echo "$as_me: failed program was:" >&5
99049 sed 's/^/| /' conftest.$ac_ext >&5
99050
99051 eval "$as_ac_var=no"
99052 fi
99053 rm -f conftest.err conftest.$ac_objext \
99054       conftest$ac_exeext conftest.$ac_ext
99055 fi
99056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99058 if test `eval echo '${'$as_ac_var'}'` = yes; then
99059   cat >>confdefs.h <<_ACEOF
99060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99061 _ACEOF
99062
99063 fi
99064 done
99065
99066     fi
99067   fi
99068
99069
99070
99071
99072
99073
99074   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99075 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99076   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99077     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99078   echo $ECHO_N "(cached) $ECHO_C" >&6
99079 else
99080
99081
99082
99083       ac_ext=cc
99084 ac_cpp='$CXXCPP $CPPFLAGS'
99085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99088
99089       cat >conftest.$ac_ext <<_ACEOF
99090 /* confdefs.h.  */
99091 _ACEOF
99092 cat confdefs.h >>conftest.$ac_ext
99093 cat >>conftest.$ac_ext <<_ACEOF
99094 /* end confdefs.h.  */
99095 #include <math.h>
99096                       #ifdef HAVE_IEEEFP_H
99097                       #include <ieeefp.h>
99098                       #endif
99099
99100 int
99101 main ()
99102 {
99103  isinfl(0);
99104   ;
99105   return 0;
99106 }
99107 _ACEOF
99108 rm -f conftest.$ac_objext
99109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99110   (eval $ac_compile) 2>conftest.er1
99111   ac_status=$?
99112   grep -v '^ *+' conftest.er1 >conftest.err
99113   rm -f conftest.er1
99114   cat conftest.err >&5
99115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99116   (exit $ac_status); } &&
99117          { ac_try='test -z "$ac_cxx_werror_flag"
99118                          || test ! -s conftest.err'
99119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99120   (eval $ac_try) 2>&5
99121   ac_status=$?
99122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99123   (exit $ac_status); }; } &&
99124          { ac_try='test -s conftest.$ac_objext'
99125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99126   (eval $ac_try) 2>&5
99127   ac_status=$?
99128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99129   (exit $ac_status); }; }; then
99130   glibcxx_cv_func_isinfl_use=yes
99131 else
99132   echo "$as_me: failed program was:" >&5
99133 sed 's/^/| /' conftest.$ac_ext >&5
99134
99135 glibcxx_cv_func_isinfl_use=no
99136 fi
99137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99138       ac_ext=c
99139 ac_cpp='$CPP $CPPFLAGS'
99140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99143
99144
99145 fi
99146
99147   fi
99148   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99149 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99150
99151   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99152
99153 for ac_func in isinfl
99154 do
99155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99156 echo "$as_me:$LINENO: checking for $ac_func" >&5
99157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99158 if eval "test \"\${$as_ac_var+set}\" = set"; then
99159   echo $ECHO_N "(cached) $ECHO_C" >&6
99160 else
99161   if test x$gcc_no_link = xyes; then
99162   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99164    { (exit 1); exit 1; }; }
99165 fi
99166 cat >conftest.$ac_ext <<_ACEOF
99167 /* confdefs.h.  */
99168 _ACEOF
99169 cat confdefs.h >>conftest.$ac_ext
99170 cat >>conftest.$ac_ext <<_ACEOF
99171 /* end confdefs.h.  */
99172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99173    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99174 #define $ac_func innocuous_$ac_func
99175
99176 /* System header to define __stub macros and hopefully few prototypes,
99177     which can conflict with char $ac_func (); below.
99178     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99179     <limits.h> exists even on freestanding compilers.  */
99180
99181 #ifdef __STDC__
99182 # include <limits.h>
99183 #else
99184 # include <assert.h>
99185 #endif
99186
99187 #undef $ac_func
99188
99189 /* Override any gcc2 internal prototype to avoid an error.  */
99190 #ifdef __cplusplus
99191 extern "C"
99192 {
99193 #endif
99194 /* We use char because int might match the return type of a gcc2
99195    builtin and then its argument prototype would still apply.  */
99196 char $ac_func ();
99197 /* The GNU C library defines this for functions which it implements
99198     to always fail with ENOSYS.  Some functions are actually named
99199     something starting with __ and the normal name is an alias.  */
99200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99201 choke me
99202 #else
99203 char (*f) () = $ac_func;
99204 #endif
99205 #ifdef __cplusplus
99206 }
99207 #endif
99208
99209 int
99210 main ()
99211 {
99212 return f != $ac_func;
99213   ;
99214   return 0;
99215 }
99216 _ACEOF
99217 rm -f conftest.$ac_objext conftest$ac_exeext
99218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99219   (eval $ac_link) 2>conftest.er1
99220   ac_status=$?
99221   grep -v '^ *+' conftest.er1 >conftest.err
99222   rm -f conftest.er1
99223   cat conftest.err >&5
99224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99225   (exit $ac_status); } &&
99226          { ac_try='test -z "$ac_c_werror_flag"
99227                          || test ! -s conftest.err'
99228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99229   (eval $ac_try) 2>&5
99230   ac_status=$?
99231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99232   (exit $ac_status); }; } &&
99233          { ac_try='test -s conftest$ac_exeext'
99234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99235   (eval $ac_try) 2>&5
99236   ac_status=$?
99237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99238   (exit $ac_status); }; }; then
99239   eval "$as_ac_var=yes"
99240 else
99241   echo "$as_me: failed program was:" >&5
99242 sed 's/^/| /' conftest.$ac_ext >&5
99243
99244 eval "$as_ac_var=no"
99245 fi
99246 rm -f conftest.err conftest.$ac_objext \
99247       conftest$ac_exeext conftest.$ac_ext
99248 fi
99249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99251 if test `eval echo '${'$as_ac_var'}'` = yes; then
99252   cat >>confdefs.h <<_ACEOF
99253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99254 _ACEOF
99255
99256 fi
99257 done
99258
99259   else
99260
99261   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99262 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99263   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99264     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99265   echo $ECHO_N "(cached) $ECHO_C" >&6
99266 else
99267
99268
99269
99270       ac_ext=cc
99271 ac_cpp='$CXXCPP $CPPFLAGS'
99272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99275
99276       cat >conftest.$ac_ext <<_ACEOF
99277 /* confdefs.h.  */
99278 _ACEOF
99279 cat confdefs.h >>conftest.$ac_ext
99280 cat >>conftest.$ac_ext <<_ACEOF
99281 /* end confdefs.h.  */
99282 #include <math.h>
99283                       #ifdef HAVE_IEEEFP_H
99284                       #include <ieeefp.h>
99285                       #endif
99286
99287 int
99288 main ()
99289 {
99290  _isinfl(0);
99291   ;
99292   return 0;
99293 }
99294 _ACEOF
99295 rm -f conftest.$ac_objext
99296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99297   (eval $ac_compile) 2>conftest.er1
99298   ac_status=$?
99299   grep -v '^ *+' conftest.er1 >conftest.err
99300   rm -f conftest.er1
99301   cat conftest.err >&5
99302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99303   (exit $ac_status); } &&
99304          { ac_try='test -z "$ac_cxx_werror_flag"
99305                          || test ! -s conftest.err'
99306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99307   (eval $ac_try) 2>&5
99308   ac_status=$?
99309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99310   (exit $ac_status); }; } &&
99311          { ac_try='test -s conftest.$ac_objext'
99312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99313   (eval $ac_try) 2>&5
99314   ac_status=$?
99315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99316   (exit $ac_status); }; }; then
99317   glibcxx_cv_func__isinfl_use=yes
99318 else
99319   echo "$as_me: failed program was:" >&5
99320 sed 's/^/| /' conftest.$ac_ext >&5
99321
99322 glibcxx_cv_func__isinfl_use=no
99323 fi
99324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99325       ac_ext=c
99326 ac_cpp='$CPP $CPPFLAGS'
99327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99330
99331
99332 fi
99333
99334   fi
99335   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99336 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99337
99338     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99339
99340 for ac_func in _isinfl
99341 do
99342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99343 echo "$as_me:$LINENO: checking for $ac_func" >&5
99344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99345 if eval "test \"\${$as_ac_var+set}\" = set"; then
99346   echo $ECHO_N "(cached) $ECHO_C" >&6
99347 else
99348   if test x$gcc_no_link = xyes; then
99349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99351    { (exit 1); exit 1; }; }
99352 fi
99353 cat >conftest.$ac_ext <<_ACEOF
99354 /* confdefs.h.  */
99355 _ACEOF
99356 cat confdefs.h >>conftest.$ac_ext
99357 cat >>conftest.$ac_ext <<_ACEOF
99358 /* end confdefs.h.  */
99359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99361 #define $ac_func innocuous_$ac_func
99362
99363 /* System header to define __stub macros and hopefully few prototypes,
99364     which can conflict with char $ac_func (); below.
99365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99366     <limits.h> exists even on freestanding compilers.  */
99367
99368 #ifdef __STDC__
99369 # include <limits.h>
99370 #else
99371 # include <assert.h>
99372 #endif
99373
99374 #undef $ac_func
99375
99376 /* Override any gcc2 internal prototype to avoid an error.  */
99377 #ifdef __cplusplus
99378 extern "C"
99379 {
99380 #endif
99381 /* We use char because int might match the return type of a gcc2
99382    builtin and then its argument prototype would still apply.  */
99383 char $ac_func ();
99384 /* The GNU C library defines this for functions which it implements
99385     to always fail with ENOSYS.  Some functions are actually named
99386     something starting with __ and the normal name is an alias.  */
99387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99388 choke me
99389 #else
99390 char (*f) () = $ac_func;
99391 #endif
99392 #ifdef __cplusplus
99393 }
99394 #endif
99395
99396 int
99397 main ()
99398 {
99399 return f != $ac_func;
99400   ;
99401   return 0;
99402 }
99403 _ACEOF
99404 rm -f conftest.$ac_objext conftest$ac_exeext
99405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99406   (eval $ac_link) 2>conftest.er1
99407   ac_status=$?
99408   grep -v '^ *+' conftest.er1 >conftest.err
99409   rm -f conftest.er1
99410   cat conftest.err >&5
99411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99412   (exit $ac_status); } &&
99413          { ac_try='test -z "$ac_c_werror_flag"
99414                          || test ! -s conftest.err'
99415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99416   (eval $ac_try) 2>&5
99417   ac_status=$?
99418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99419   (exit $ac_status); }; } &&
99420          { ac_try='test -s conftest$ac_exeext'
99421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99422   (eval $ac_try) 2>&5
99423   ac_status=$?
99424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99425   (exit $ac_status); }; }; then
99426   eval "$as_ac_var=yes"
99427 else
99428   echo "$as_me: failed program was:" >&5
99429 sed 's/^/| /' conftest.$ac_ext >&5
99430
99431 eval "$as_ac_var=no"
99432 fi
99433 rm -f conftest.err conftest.$ac_objext \
99434       conftest$ac_exeext conftest.$ac_ext
99435 fi
99436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99438 if test `eval echo '${'$as_ac_var'}'` = yes; then
99439   cat >>confdefs.h <<_ACEOF
99440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99441 _ACEOF
99442
99443 fi
99444 done
99445
99446     fi
99447   fi
99448
99449
99450
99451
99452
99453
99454   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99455 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99456   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99457     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99458   echo $ECHO_N "(cached) $ECHO_C" >&6
99459 else
99460
99461
99462
99463       ac_ext=cc
99464 ac_cpp='$CXXCPP $CPPFLAGS'
99465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99468
99469       cat >conftest.$ac_ext <<_ACEOF
99470 /* confdefs.h.  */
99471 _ACEOF
99472 cat confdefs.h >>conftest.$ac_ext
99473 cat >>conftest.$ac_ext <<_ACEOF
99474 /* end confdefs.h.  */
99475 #include <math.h>
99476 int
99477 main ()
99478 {
99479  copysignl(0, 0);
99480   ;
99481   return 0;
99482 }
99483 _ACEOF
99484 rm -f conftest.$ac_objext
99485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99486   (eval $ac_compile) 2>conftest.er1
99487   ac_status=$?
99488   grep -v '^ *+' conftest.er1 >conftest.err
99489   rm -f conftest.er1
99490   cat conftest.err >&5
99491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99492   (exit $ac_status); } &&
99493          { ac_try='test -z "$ac_cxx_werror_flag"
99494                          || test ! -s conftest.err'
99495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99496   (eval $ac_try) 2>&5
99497   ac_status=$?
99498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99499   (exit $ac_status); }; } &&
99500          { ac_try='test -s conftest.$ac_objext'
99501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99502   (eval $ac_try) 2>&5
99503   ac_status=$?
99504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99505   (exit $ac_status); }; }; then
99506   glibcxx_cv_func_copysignl_use=yes
99507 else
99508   echo "$as_me: failed program was:" >&5
99509 sed 's/^/| /' conftest.$ac_ext >&5
99510
99511 glibcxx_cv_func_copysignl_use=no
99512 fi
99513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99514       ac_ext=c
99515 ac_cpp='$CPP $CPPFLAGS'
99516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99519
99520
99521 fi
99522
99523   fi
99524   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99525 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99526
99527   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99528
99529 for ac_func in copysignl
99530 do
99531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99532 echo "$as_me:$LINENO: checking for $ac_func" >&5
99533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99534 if eval "test \"\${$as_ac_var+set}\" = set"; then
99535   echo $ECHO_N "(cached) $ECHO_C" >&6
99536 else
99537   if test x$gcc_no_link = xyes; then
99538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99540    { (exit 1); exit 1; }; }
99541 fi
99542 cat >conftest.$ac_ext <<_ACEOF
99543 /* confdefs.h.  */
99544 _ACEOF
99545 cat confdefs.h >>conftest.$ac_ext
99546 cat >>conftest.$ac_ext <<_ACEOF
99547 /* end confdefs.h.  */
99548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99550 #define $ac_func innocuous_$ac_func
99551
99552 /* System header to define __stub macros and hopefully few prototypes,
99553     which can conflict with char $ac_func (); below.
99554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99555     <limits.h> exists even on freestanding compilers.  */
99556
99557 #ifdef __STDC__
99558 # include <limits.h>
99559 #else
99560 # include <assert.h>
99561 #endif
99562
99563 #undef $ac_func
99564
99565 /* Override any gcc2 internal prototype to avoid an error.  */
99566 #ifdef __cplusplus
99567 extern "C"
99568 {
99569 #endif
99570 /* We use char because int might match the return type of a gcc2
99571    builtin and then its argument prototype would still apply.  */
99572 char $ac_func ();
99573 /* The GNU C library defines this for functions which it implements
99574     to always fail with ENOSYS.  Some functions are actually named
99575     something starting with __ and the normal name is an alias.  */
99576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99577 choke me
99578 #else
99579 char (*f) () = $ac_func;
99580 #endif
99581 #ifdef __cplusplus
99582 }
99583 #endif
99584
99585 int
99586 main ()
99587 {
99588 return f != $ac_func;
99589   ;
99590   return 0;
99591 }
99592 _ACEOF
99593 rm -f conftest.$ac_objext conftest$ac_exeext
99594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99595   (eval $ac_link) 2>conftest.er1
99596   ac_status=$?
99597   grep -v '^ *+' conftest.er1 >conftest.err
99598   rm -f conftest.er1
99599   cat conftest.err >&5
99600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99601   (exit $ac_status); } &&
99602          { ac_try='test -z "$ac_c_werror_flag"
99603                          || test ! -s conftest.err'
99604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99605   (eval $ac_try) 2>&5
99606   ac_status=$?
99607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99608   (exit $ac_status); }; } &&
99609          { ac_try='test -s conftest$ac_exeext'
99610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99611   (eval $ac_try) 2>&5
99612   ac_status=$?
99613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99614   (exit $ac_status); }; }; then
99615   eval "$as_ac_var=yes"
99616 else
99617   echo "$as_me: failed program was:" >&5
99618 sed 's/^/| /' conftest.$ac_ext >&5
99619
99620 eval "$as_ac_var=no"
99621 fi
99622 rm -f conftest.err conftest.$ac_objext \
99623       conftest$ac_exeext conftest.$ac_ext
99624 fi
99625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99627 if test `eval echo '${'$as_ac_var'}'` = yes; then
99628   cat >>confdefs.h <<_ACEOF
99629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99630 _ACEOF
99631
99632 fi
99633 done
99634
99635   else
99636
99637   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99638 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99639   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99640     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99641   echo $ECHO_N "(cached) $ECHO_C" >&6
99642 else
99643
99644
99645
99646       ac_ext=cc
99647 ac_cpp='$CXXCPP $CPPFLAGS'
99648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99651
99652       cat >conftest.$ac_ext <<_ACEOF
99653 /* confdefs.h.  */
99654 _ACEOF
99655 cat confdefs.h >>conftest.$ac_ext
99656 cat >>conftest.$ac_ext <<_ACEOF
99657 /* end confdefs.h.  */
99658 #include <math.h>
99659 int
99660 main ()
99661 {
99662  _copysignl(0, 0);
99663   ;
99664   return 0;
99665 }
99666 _ACEOF
99667 rm -f conftest.$ac_objext
99668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99669   (eval $ac_compile) 2>conftest.er1
99670   ac_status=$?
99671   grep -v '^ *+' conftest.er1 >conftest.err
99672   rm -f conftest.er1
99673   cat conftest.err >&5
99674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99675   (exit $ac_status); } &&
99676          { ac_try='test -z "$ac_cxx_werror_flag"
99677                          || test ! -s conftest.err'
99678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99679   (eval $ac_try) 2>&5
99680   ac_status=$?
99681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99682   (exit $ac_status); }; } &&
99683          { ac_try='test -s conftest.$ac_objext'
99684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99685   (eval $ac_try) 2>&5
99686   ac_status=$?
99687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99688   (exit $ac_status); }; }; then
99689   glibcxx_cv_func__copysignl_use=yes
99690 else
99691   echo "$as_me: failed program was:" >&5
99692 sed 's/^/| /' conftest.$ac_ext >&5
99693
99694 glibcxx_cv_func__copysignl_use=no
99695 fi
99696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99697       ac_ext=c
99698 ac_cpp='$CPP $CPPFLAGS'
99699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99702
99703
99704 fi
99705
99706   fi
99707   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99708 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99709
99710     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99711
99712 for ac_func in _copysignl
99713 do
99714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99715 echo "$as_me:$LINENO: checking for $ac_func" >&5
99716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99717 if eval "test \"\${$as_ac_var+set}\" = set"; then
99718   echo $ECHO_N "(cached) $ECHO_C" >&6
99719 else
99720   if test x$gcc_no_link = xyes; then
99721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99723    { (exit 1); exit 1; }; }
99724 fi
99725 cat >conftest.$ac_ext <<_ACEOF
99726 /* confdefs.h.  */
99727 _ACEOF
99728 cat confdefs.h >>conftest.$ac_ext
99729 cat >>conftest.$ac_ext <<_ACEOF
99730 /* end confdefs.h.  */
99731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99733 #define $ac_func innocuous_$ac_func
99734
99735 /* System header to define __stub macros and hopefully few prototypes,
99736     which can conflict with char $ac_func (); below.
99737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99738     <limits.h> exists even on freestanding compilers.  */
99739
99740 #ifdef __STDC__
99741 # include <limits.h>
99742 #else
99743 # include <assert.h>
99744 #endif
99745
99746 #undef $ac_func
99747
99748 /* Override any gcc2 internal prototype to avoid an error.  */
99749 #ifdef __cplusplus
99750 extern "C"
99751 {
99752 #endif
99753 /* We use char because int might match the return type of a gcc2
99754    builtin and then its argument prototype would still apply.  */
99755 char $ac_func ();
99756 /* The GNU C library defines this for functions which it implements
99757     to always fail with ENOSYS.  Some functions are actually named
99758     something starting with __ and the normal name is an alias.  */
99759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99760 choke me
99761 #else
99762 char (*f) () = $ac_func;
99763 #endif
99764 #ifdef __cplusplus
99765 }
99766 #endif
99767
99768 int
99769 main ()
99770 {
99771 return f != $ac_func;
99772   ;
99773   return 0;
99774 }
99775 _ACEOF
99776 rm -f conftest.$ac_objext conftest$ac_exeext
99777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99778   (eval $ac_link) 2>conftest.er1
99779   ac_status=$?
99780   grep -v '^ *+' conftest.er1 >conftest.err
99781   rm -f conftest.er1
99782   cat conftest.err >&5
99783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99784   (exit $ac_status); } &&
99785          { ac_try='test -z "$ac_c_werror_flag"
99786                          || test ! -s conftest.err'
99787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99788   (eval $ac_try) 2>&5
99789   ac_status=$?
99790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99791   (exit $ac_status); }; } &&
99792          { ac_try='test -s conftest$ac_exeext'
99793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99794   (eval $ac_try) 2>&5
99795   ac_status=$?
99796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99797   (exit $ac_status); }; }; then
99798   eval "$as_ac_var=yes"
99799 else
99800   echo "$as_me: failed program was:" >&5
99801 sed 's/^/| /' conftest.$ac_ext >&5
99802
99803 eval "$as_ac_var=no"
99804 fi
99805 rm -f conftest.err conftest.$ac_objext \
99806       conftest$ac_exeext conftest.$ac_ext
99807 fi
99808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99810 if test `eval echo '${'$as_ac_var'}'` = yes; then
99811   cat >>confdefs.h <<_ACEOF
99812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99813 _ACEOF
99814
99815 fi
99816 done
99817
99818     fi
99819   fi
99820
99821
99822
99823
99824
99825
99826   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99827 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99828   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99829     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99830   echo $ECHO_N "(cached) $ECHO_C" >&6
99831 else
99832
99833
99834
99835       ac_ext=cc
99836 ac_cpp='$CXXCPP $CPPFLAGS'
99837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99840
99841       cat >conftest.$ac_ext <<_ACEOF
99842 /* confdefs.h.  */
99843 _ACEOF
99844 cat confdefs.h >>conftest.$ac_ext
99845 cat >>conftest.$ac_ext <<_ACEOF
99846 /* end confdefs.h.  */
99847 #include <math.h>
99848 int
99849 main ()
99850 {
99851  atan2l(0, 0);
99852   ;
99853   return 0;
99854 }
99855 _ACEOF
99856 rm -f conftest.$ac_objext
99857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99858   (eval $ac_compile) 2>conftest.er1
99859   ac_status=$?
99860   grep -v '^ *+' conftest.er1 >conftest.err
99861   rm -f conftest.er1
99862   cat conftest.err >&5
99863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99864   (exit $ac_status); } &&
99865          { ac_try='test -z "$ac_cxx_werror_flag"
99866                          || test ! -s conftest.err'
99867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99868   (eval $ac_try) 2>&5
99869   ac_status=$?
99870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99871   (exit $ac_status); }; } &&
99872          { ac_try='test -s conftest.$ac_objext'
99873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99874   (eval $ac_try) 2>&5
99875   ac_status=$?
99876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99877   (exit $ac_status); }; }; then
99878   glibcxx_cv_func_atan2l_use=yes
99879 else
99880   echo "$as_me: failed program was:" >&5
99881 sed 's/^/| /' conftest.$ac_ext >&5
99882
99883 glibcxx_cv_func_atan2l_use=no
99884 fi
99885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99886       ac_ext=c
99887 ac_cpp='$CPP $CPPFLAGS'
99888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99891
99892
99893 fi
99894
99895   fi
99896   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
99897 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
99898
99899   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
99900
99901 for ac_func in atan2l
99902 do
99903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99904 echo "$as_me:$LINENO: checking for $ac_func" >&5
99905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99906 if eval "test \"\${$as_ac_var+set}\" = set"; then
99907   echo $ECHO_N "(cached) $ECHO_C" >&6
99908 else
99909   if test x$gcc_no_link = xyes; then
99910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99912    { (exit 1); exit 1; }; }
99913 fi
99914 cat >conftest.$ac_ext <<_ACEOF
99915 /* confdefs.h.  */
99916 _ACEOF
99917 cat confdefs.h >>conftest.$ac_ext
99918 cat >>conftest.$ac_ext <<_ACEOF
99919 /* end confdefs.h.  */
99920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99922 #define $ac_func innocuous_$ac_func
99923
99924 /* System header to define __stub macros and hopefully few prototypes,
99925     which can conflict with char $ac_func (); below.
99926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99927     <limits.h> exists even on freestanding compilers.  */
99928
99929 #ifdef __STDC__
99930 # include <limits.h>
99931 #else
99932 # include <assert.h>
99933 #endif
99934
99935 #undef $ac_func
99936
99937 /* Override any gcc2 internal prototype to avoid an error.  */
99938 #ifdef __cplusplus
99939 extern "C"
99940 {
99941 #endif
99942 /* We use char because int might match the return type of a gcc2
99943    builtin and then its argument prototype would still apply.  */
99944 char $ac_func ();
99945 /* The GNU C library defines this for functions which it implements
99946     to always fail with ENOSYS.  Some functions are actually named
99947     something starting with __ and the normal name is an alias.  */
99948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99949 choke me
99950 #else
99951 char (*f) () = $ac_func;
99952 #endif
99953 #ifdef __cplusplus
99954 }
99955 #endif
99956
99957 int
99958 main ()
99959 {
99960 return f != $ac_func;
99961   ;
99962   return 0;
99963 }
99964 _ACEOF
99965 rm -f conftest.$ac_objext conftest$ac_exeext
99966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99967   (eval $ac_link) 2>conftest.er1
99968   ac_status=$?
99969   grep -v '^ *+' conftest.er1 >conftest.err
99970   rm -f conftest.er1
99971   cat conftest.err >&5
99972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99973   (exit $ac_status); } &&
99974          { ac_try='test -z "$ac_c_werror_flag"
99975                          || test ! -s conftest.err'
99976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99977   (eval $ac_try) 2>&5
99978   ac_status=$?
99979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99980   (exit $ac_status); }; } &&
99981          { ac_try='test -s conftest$ac_exeext'
99982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99983   (eval $ac_try) 2>&5
99984   ac_status=$?
99985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99986   (exit $ac_status); }; }; then
99987   eval "$as_ac_var=yes"
99988 else
99989   echo "$as_me: failed program was:" >&5
99990 sed 's/^/| /' conftest.$ac_ext >&5
99991
99992 eval "$as_ac_var=no"
99993 fi
99994 rm -f conftest.err conftest.$ac_objext \
99995       conftest$ac_exeext conftest.$ac_ext
99996 fi
99997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99999 if test `eval echo '${'$as_ac_var'}'` = yes; then
100000   cat >>confdefs.h <<_ACEOF
100001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100002 _ACEOF
100003
100004 fi
100005 done
100006
100007   else
100008
100009   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100010 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100011   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100012     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100013   echo $ECHO_N "(cached) $ECHO_C" >&6
100014 else
100015
100016
100017
100018       ac_ext=cc
100019 ac_cpp='$CXXCPP $CPPFLAGS'
100020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100023
100024       cat >conftest.$ac_ext <<_ACEOF
100025 /* confdefs.h.  */
100026 _ACEOF
100027 cat confdefs.h >>conftest.$ac_ext
100028 cat >>conftest.$ac_ext <<_ACEOF
100029 /* end confdefs.h.  */
100030 #include <math.h>
100031 int
100032 main ()
100033 {
100034  _atan2l(0, 0);
100035   ;
100036   return 0;
100037 }
100038 _ACEOF
100039 rm -f conftest.$ac_objext
100040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100041   (eval $ac_compile) 2>conftest.er1
100042   ac_status=$?
100043   grep -v '^ *+' conftest.er1 >conftest.err
100044   rm -f conftest.er1
100045   cat conftest.err >&5
100046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100047   (exit $ac_status); } &&
100048          { ac_try='test -z "$ac_cxx_werror_flag"
100049                          || test ! -s conftest.err'
100050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100051   (eval $ac_try) 2>&5
100052   ac_status=$?
100053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100054   (exit $ac_status); }; } &&
100055          { ac_try='test -s conftest.$ac_objext'
100056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100057   (eval $ac_try) 2>&5
100058   ac_status=$?
100059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100060   (exit $ac_status); }; }; then
100061   glibcxx_cv_func__atan2l_use=yes
100062 else
100063   echo "$as_me: failed program was:" >&5
100064 sed 's/^/| /' conftest.$ac_ext >&5
100065
100066 glibcxx_cv_func__atan2l_use=no
100067 fi
100068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100069       ac_ext=c
100070 ac_cpp='$CPP $CPPFLAGS'
100071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100074
100075
100076 fi
100077
100078   fi
100079   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100080 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100081
100082     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100083
100084 for ac_func in _atan2l
100085 do
100086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100087 echo "$as_me:$LINENO: checking for $ac_func" >&5
100088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100089 if eval "test \"\${$as_ac_var+set}\" = set"; then
100090   echo $ECHO_N "(cached) $ECHO_C" >&6
100091 else
100092   if test x$gcc_no_link = xyes; then
100093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100095    { (exit 1); exit 1; }; }
100096 fi
100097 cat >conftest.$ac_ext <<_ACEOF
100098 /* confdefs.h.  */
100099 _ACEOF
100100 cat confdefs.h >>conftest.$ac_ext
100101 cat >>conftest.$ac_ext <<_ACEOF
100102 /* end confdefs.h.  */
100103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100105 #define $ac_func innocuous_$ac_func
100106
100107 /* System header to define __stub macros and hopefully few prototypes,
100108     which can conflict with char $ac_func (); below.
100109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100110     <limits.h> exists even on freestanding compilers.  */
100111
100112 #ifdef __STDC__
100113 # include <limits.h>
100114 #else
100115 # include <assert.h>
100116 #endif
100117
100118 #undef $ac_func
100119
100120 /* Override any gcc2 internal prototype to avoid an error.  */
100121 #ifdef __cplusplus
100122 extern "C"
100123 {
100124 #endif
100125 /* We use char because int might match the return type of a gcc2
100126    builtin and then its argument prototype would still apply.  */
100127 char $ac_func ();
100128 /* The GNU C library defines this for functions which it implements
100129     to always fail with ENOSYS.  Some functions are actually named
100130     something starting with __ and the normal name is an alias.  */
100131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100132 choke me
100133 #else
100134 char (*f) () = $ac_func;
100135 #endif
100136 #ifdef __cplusplus
100137 }
100138 #endif
100139
100140 int
100141 main ()
100142 {
100143 return f != $ac_func;
100144   ;
100145   return 0;
100146 }
100147 _ACEOF
100148 rm -f conftest.$ac_objext conftest$ac_exeext
100149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100150   (eval $ac_link) 2>conftest.er1
100151   ac_status=$?
100152   grep -v '^ *+' conftest.er1 >conftest.err
100153   rm -f conftest.er1
100154   cat conftest.err >&5
100155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100156   (exit $ac_status); } &&
100157          { ac_try='test -z "$ac_c_werror_flag"
100158                          || test ! -s conftest.err'
100159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100160   (eval $ac_try) 2>&5
100161   ac_status=$?
100162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100163   (exit $ac_status); }; } &&
100164          { ac_try='test -s conftest$ac_exeext'
100165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100166   (eval $ac_try) 2>&5
100167   ac_status=$?
100168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100169   (exit $ac_status); }; }; then
100170   eval "$as_ac_var=yes"
100171 else
100172   echo "$as_me: failed program was:" >&5
100173 sed 's/^/| /' conftest.$ac_ext >&5
100174
100175 eval "$as_ac_var=no"
100176 fi
100177 rm -f conftest.err conftest.$ac_objext \
100178       conftest$ac_exeext conftest.$ac_ext
100179 fi
100180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100182 if test `eval echo '${'$as_ac_var'}'` = yes; then
100183   cat >>confdefs.h <<_ACEOF
100184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100185 _ACEOF
100186
100187 fi
100188 done
100189
100190     fi
100191   fi
100192
100193
100194
100195
100196
100197
100198   echo "$as_me:$LINENO: checking for expl declaration" >&5
100199 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100200   if test x${glibcxx_cv_func_expl_use+set} != xset; then
100201     if test "${glibcxx_cv_func_expl_use+set}" = set; then
100202   echo $ECHO_N "(cached) $ECHO_C" >&6
100203 else
100204
100205
100206
100207       ac_ext=cc
100208 ac_cpp='$CXXCPP $CPPFLAGS'
100209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100212
100213       cat >conftest.$ac_ext <<_ACEOF
100214 /* confdefs.h.  */
100215 _ACEOF
100216 cat confdefs.h >>conftest.$ac_ext
100217 cat >>conftest.$ac_ext <<_ACEOF
100218 /* end confdefs.h.  */
100219 #include <math.h>
100220                       #ifdef HAVE_IEEEFP_H
100221                       #include <ieeefp.h>
100222                       #endif
100223
100224 int
100225 main ()
100226 {
100227  expl(0);
100228   ;
100229   return 0;
100230 }
100231 _ACEOF
100232 rm -f conftest.$ac_objext
100233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100234   (eval $ac_compile) 2>conftest.er1
100235   ac_status=$?
100236   grep -v '^ *+' conftest.er1 >conftest.err
100237   rm -f conftest.er1
100238   cat conftest.err >&5
100239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100240   (exit $ac_status); } &&
100241          { ac_try='test -z "$ac_cxx_werror_flag"
100242                          || test ! -s conftest.err'
100243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100244   (eval $ac_try) 2>&5
100245   ac_status=$?
100246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100247   (exit $ac_status); }; } &&
100248          { ac_try='test -s conftest.$ac_objext'
100249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100250   (eval $ac_try) 2>&5
100251   ac_status=$?
100252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100253   (exit $ac_status); }; }; then
100254   glibcxx_cv_func_expl_use=yes
100255 else
100256   echo "$as_me: failed program was:" >&5
100257 sed 's/^/| /' conftest.$ac_ext >&5
100258
100259 glibcxx_cv_func_expl_use=no
100260 fi
100261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100262       ac_ext=c
100263 ac_cpp='$CPP $CPPFLAGS'
100264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100267
100268
100269 fi
100270
100271   fi
100272   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100273 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100274
100275   if test x$glibcxx_cv_func_expl_use = x"yes"; then
100276
100277 for ac_func in expl
100278 do
100279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100280 echo "$as_me:$LINENO: checking for $ac_func" >&5
100281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100282 if eval "test \"\${$as_ac_var+set}\" = set"; then
100283   echo $ECHO_N "(cached) $ECHO_C" >&6
100284 else
100285   if test x$gcc_no_link = xyes; then
100286   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100288    { (exit 1); exit 1; }; }
100289 fi
100290 cat >conftest.$ac_ext <<_ACEOF
100291 /* confdefs.h.  */
100292 _ACEOF
100293 cat confdefs.h >>conftest.$ac_ext
100294 cat >>conftest.$ac_ext <<_ACEOF
100295 /* end confdefs.h.  */
100296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100297    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100298 #define $ac_func innocuous_$ac_func
100299
100300 /* System header to define __stub macros and hopefully few prototypes,
100301     which can conflict with char $ac_func (); below.
100302     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100303     <limits.h> exists even on freestanding compilers.  */
100304
100305 #ifdef __STDC__
100306 # include <limits.h>
100307 #else
100308 # include <assert.h>
100309 #endif
100310
100311 #undef $ac_func
100312
100313 /* Override any gcc2 internal prototype to avoid an error.  */
100314 #ifdef __cplusplus
100315 extern "C"
100316 {
100317 #endif
100318 /* We use char because int might match the return type of a gcc2
100319    builtin and then its argument prototype would still apply.  */
100320 char $ac_func ();
100321 /* The GNU C library defines this for functions which it implements
100322     to always fail with ENOSYS.  Some functions are actually named
100323     something starting with __ and the normal name is an alias.  */
100324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100325 choke me
100326 #else
100327 char (*f) () = $ac_func;
100328 #endif
100329 #ifdef __cplusplus
100330 }
100331 #endif
100332
100333 int
100334 main ()
100335 {
100336 return f != $ac_func;
100337   ;
100338   return 0;
100339 }
100340 _ACEOF
100341 rm -f conftest.$ac_objext conftest$ac_exeext
100342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100343   (eval $ac_link) 2>conftest.er1
100344   ac_status=$?
100345   grep -v '^ *+' conftest.er1 >conftest.err
100346   rm -f conftest.er1
100347   cat conftest.err >&5
100348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100349   (exit $ac_status); } &&
100350          { ac_try='test -z "$ac_c_werror_flag"
100351                          || test ! -s conftest.err'
100352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100353   (eval $ac_try) 2>&5
100354   ac_status=$?
100355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100356   (exit $ac_status); }; } &&
100357          { ac_try='test -s conftest$ac_exeext'
100358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100359   (eval $ac_try) 2>&5
100360   ac_status=$?
100361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100362   (exit $ac_status); }; }; then
100363   eval "$as_ac_var=yes"
100364 else
100365   echo "$as_me: failed program was:" >&5
100366 sed 's/^/| /' conftest.$ac_ext >&5
100367
100368 eval "$as_ac_var=no"
100369 fi
100370 rm -f conftest.err conftest.$ac_objext \
100371       conftest$ac_exeext conftest.$ac_ext
100372 fi
100373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100375 if test `eval echo '${'$as_ac_var'}'` = yes; then
100376   cat >>confdefs.h <<_ACEOF
100377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100378 _ACEOF
100379
100380 fi
100381 done
100382
100383   else
100384
100385   echo "$as_me:$LINENO: checking for _expl declaration" >&5
100386 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100387   if test x${glibcxx_cv_func__expl_use+set} != xset; then
100388     if test "${glibcxx_cv_func__expl_use+set}" = set; then
100389   echo $ECHO_N "(cached) $ECHO_C" >&6
100390 else
100391
100392
100393
100394       ac_ext=cc
100395 ac_cpp='$CXXCPP $CPPFLAGS'
100396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100399
100400       cat >conftest.$ac_ext <<_ACEOF
100401 /* confdefs.h.  */
100402 _ACEOF
100403 cat confdefs.h >>conftest.$ac_ext
100404 cat >>conftest.$ac_ext <<_ACEOF
100405 /* end confdefs.h.  */
100406 #include <math.h>
100407                       #ifdef HAVE_IEEEFP_H
100408                       #include <ieeefp.h>
100409                       #endif
100410
100411 int
100412 main ()
100413 {
100414  _expl(0);
100415   ;
100416   return 0;
100417 }
100418 _ACEOF
100419 rm -f conftest.$ac_objext
100420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100421   (eval $ac_compile) 2>conftest.er1
100422   ac_status=$?
100423   grep -v '^ *+' conftest.er1 >conftest.err
100424   rm -f conftest.er1
100425   cat conftest.err >&5
100426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100427   (exit $ac_status); } &&
100428          { ac_try='test -z "$ac_cxx_werror_flag"
100429                          || test ! -s conftest.err'
100430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100431   (eval $ac_try) 2>&5
100432   ac_status=$?
100433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100434   (exit $ac_status); }; } &&
100435          { ac_try='test -s conftest.$ac_objext'
100436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100437   (eval $ac_try) 2>&5
100438   ac_status=$?
100439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100440   (exit $ac_status); }; }; then
100441   glibcxx_cv_func__expl_use=yes
100442 else
100443   echo "$as_me: failed program was:" >&5
100444 sed 's/^/| /' conftest.$ac_ext >&5
100445
100446 glibcxx_cv_func__expl_use=no
100447 fi
100448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100449       ac_ext=c
100450 ac_cpp='$CPP $CPPFLAGS'
100451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100454
100455
100456 fi
100457
100458   fi
100459   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100460 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100461
100462     if test x$glibcxx_cv_func__expl_use = x"yes"; then
100463
100464 for ac_func in _expl
100465 do
100466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100467 echo "$as_me:$LINENO: checking for $ac_func" >&5
100468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100469 if eval "test \"\${$as_ac_var+set}\" = set"; then
100470   echo $ECHO_N "(cached) $ECHO_C" >&6
100471 else
100472   if test x$gcc_no_link = xyes; then
100473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100475    { (exit 1); exit 1; }; }
100476 fi
100477 cat >conftest.$ac_ext <<_ACEOF
100478 /* confdefs.h.  */
100479 _ACEOF
100480 cat confdefs.h >>conftest.$ac_ext
100481 cat >>conftest.$ac_ext <<_ACEOF
100482 /* end confdefs.h.  */
100483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100485 #define $ac_func innocuous_$ac_func
100486
100487 /* System header to define __stub macros and hopefully few prototypes,
100488     which can conflict with char $ac_func (); below.
100489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100490     <limits.h> exists even on freestanding compilers.  */
100491
100492 #ifdef __STDC__
100493 # include <limits.h>
100494 #else
100495 # include <assert.h>
100496 #endif
100497
100498 #undef $ac_func
100499
100500 /* Override any gcc2 internal prototype to avoid an error.  */
100501 #ifdef __cplusplus
100502 extern "C"
100503 {
100504 #endif
100505 /* We use char because int might match the return type of a gcc2
100506    builtin and then its argument prototype would still apply.  */
100507 char $ac_func ();
100508 /* The GNU C library defines this for functions which it implements
100509     to always fail with ENOSYS.  Some functions are actually named
100510     something starting with __ and the normal name is an alias.  */
100511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100512 choke me
100513 #else
100514 char (*f) () = $ac_func;
100515 #endif
100516 #ifdef __cplusplus
100517 }
100518 #endif
100519
100520 int
100521 main ()
100522 {
100523 return f != $ac_func;
100524   ;
100525   return 0;
100526 }
100527 _ACEOF
100528 rm -f conftest.$ac_objext conftest$ac_exeext
100529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100530   (eval $ac_link) 2>conftest.er1
100531   ac_status=$?
100532   grep -v '^ *+' conftest.er1 >conftest.err
100533   rm -f conftest.er1
100534   cat conftest.err >&5
100535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100536   (exit $ac_status); } &&
100537          { ac_try='test -z "$ac_c_werror_flag"
100538                          || test ! -s conftest.err'
100539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100540   (eval $ac_try) 2>&5
100541   ac_status=$?
100542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100543   (exit $ac_status); }; } &&
100544          { ac_try='test -s conftest$ac_exeext'
100545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100546   (eval $ac_try) 2>&5
100547   ac_status=$?
100548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100549   (exit $ac_status); }; }; then
100550   eval "$as_ac_var=yes"
100551 else
100552   echo "$as_me: failed program was:" >&5
100553 sed 's/^/| /' conftest.$ac_ext >&5
100554
100555 eval "$as_ac_var=no"
100556 fi
100557 rm -f conftest.err conftest.$ac_objext \
100558       conftest$ac_exeext conftest.$ac_ext
100559 fi
100560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100562 if test `eval echo '${'$as_ac_var'}'` = yes; then
100563   cat >>confdefs.h <<_ACEOF
100564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100565 _ACEOF
100566
100567 fi
100568 done
100569
100570     fi
100571   fi
100572
100573
100574
100575
100576
100577
100578   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100579 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100580   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100581     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100582   echo $ECHO_N "(cached) $ECHO_C" >&6
100583 else
100584
100585
100586
100587       ac_ext=cc
100588 ac_cpp='$CXXCPP $CPPFLAGS'
100589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100592
100593       cat >conftest.$ac_ext <<_ACEOF
100594 /* confdefs.h.  */
100595 _ACEOF
100596 cat confdefs.h >>conftest.$ac_ext
100597 cat >>conftest.$ac_ext <<_ACEOF
100598 /* end confdefs.h.  */
100599 #include <math.h>
100600                       #ifdef HAVE_IEEEFP_H
100601                       #include <ieeefp.h>
100602                       #endif
100603
100604 int
100605 main ()
100606 {
100607  fabsl(0);
100608   ;
100609   return 0;
100610 }
100611 _ACEOF
100612 rm -f conftest.$ac_objext
100613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100614   (eval $ac_compile) 2>conftest.er1
100615   ac_status=$?
100616   grep -v '^ *+' conftest.er1 >conftest.err
100617   rm -f conftest.er1
100618   cat conftest.err >&5
100619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100620   (exit $ac_status); } &&
100621          { ac_try='test -z "$ac_cxx_werror_flag"
100622                          || test ! -s conftest.err'
100623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100624   (eval $ac_try) 2>&5
100625   ac_status=$?
100626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100627   (exit $ac_status); }; } &&
100628          { ac_try='test -s conftest.$ac_objext'
100629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100630   (eval $ac_try) 2>&5
100631   ac_status=$?
100632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100633   (exit $ac_status); }; }; then
100634   glibcxx_cv_func_fabsl_use=yes
100635 else
100636   echo "$as_me: failed program was:" >&5
100637 sed 's/^/| /' conftest.$ac_ext >&5
100638
100639 glibcxx_cv_func_fabsl_use=no
100640 fi
100641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100642       ac_ext=c
100643 ac_cpp='$CPP $CPPFLAGS'
100644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100647
100648
100649 fi
100650
100651   fi
100652   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100653 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100654
100655   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100656
100657 for ac_func in fabsl
100658 do
100659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100660 echo "$as_me:$LINENO: checking for $ac_func" >&5
100661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100662 if eval "test \"\${$as_ac_var+set}\" = set"; then
100663   echo $ECHO_N "(cached) $ECHO_C" >&6
100664 else
100665   if test x$gcc_no_link = xyes; then
100666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100668    { (exit 1); exit 1; }; }
100669 fi
100670 cat >conftest.$ac_ext <<_ACEOF
100671 /* confdefs.h.  */
100672 _ACEOF
100673 cat confdefs.h >>conftest.$ac_ext
100674 cat >>conftest.$ac_ext <<_ACEOF
100675 /* end confdefs.h.  */
100676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100678 #define $ac_func innocuous_$ac_func
100679
100680 /* System header to define __stub macros and hopefully few prototypes,
100681     which can conflict with char $ac_func (); below.
100682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100683     <limits.h> exists even on freestanding compilers.  */
100684
100685 #ifdef __STDC__
100686 # include <limits.h>
100687 #else
100688 # include <assert.h>
100689 #endif
100690
100691 #undef $ac_func
100692
100693 /* Override any gcc2 internal prototype to avoid an error.  */
100694 #ifdef __cplusplus
100695 extern "C"
100696 {
100697 #endif
100698 /* We use char because int might match the return type of a gcc2
100699    builtin and then its argument prototype would still apply.  */
100700 char $ac_func ();
100701 /* The GNU C library defines this for functions which it implements
100702     to always fail with ENOSYS.  Some functions are actually named
100703     something starting with __ and the normal name is an alias.  */
100704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100705 choke me
100706 #else
100707 char (*f) () = $ac_func;
100708 #endif
100709 #ifdef __cplusplus
100710 }
100711 #endif
100712
100713 int
100714 main ()
100715 {
100716 return f != $ac_func;
100717   ;
100718   return 0;
100719 }
100720 _ACEOF
100721 rm -f conftest.$ac_objext conftest$ac_exeext
100722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100723   (eval $ac_link) 2>conftest.er1
100724   ac_status=$?
100725   grep -v '^ *+' conftest.er1 >conftest.err
100726   rm -f conftest.er1
100727   cat conftest.err >&5
100728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100729   (exit $ac_status); } &&
100730          { ac_try='test -z "$ac_c_werror_flag"
100731                          || test ! -s conftest.err'
100732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100733   (eval $ac_try) 2>&5
100734   ac_status=$?
100735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100736   (exit $ac_status); }; } &&
100737          { ac_try='test -s conftest$ac_exeext'
100738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100739   (eval $ac_try) 2>&5
100740   ac_status=$?
100741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100742   (exit $ac_status); }; }; then
100743   eval "$as_ac_var=yes"
100744 else
100745   echo "$as_me: failed program was:" >&5
100746 sed 's/^/| /' conftest.$ac_ext >&5
100747
100748 eval "$as_ac_var=no"
100749 fi
100750 rm -f conftest.err conftest.$ac_objext \
100751       conftest$ac_exeext conftest.$ac_ext
100752 fi
100753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100755 if test `eval echo '${'$as_ac_var'}'` = yes; then
100756   cat >>confdefs.h <<_ACEOF
100757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100758 _ACEOF
100759
100760 fi
100761 done
100762
100763   else
100764
100765   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100766 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100767   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100768     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100769   echo $ECHO_N "(cached) $ECHO_C" >&6
100770 else
100771
100772
100773
100774       ac_ext=cc
100775 ac_cpp='$CXXCPP $CPPFLAGS'
100776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100779
100780       cat >conftest.$ac_ext <<_ACEOF
100781 /* confdefs.h.  */
100782 _ACEOF
100783 cat confdefs.h >>conftest.$ac_ext
100784 cat >>conftest.$ac_ext <<_ACEOF
100785 /* end confdefs.h.  */
100786 #include <math.h>
100787                       #ifdef HAVE_IEEEFP_H
100788                       #include <ieeefp.h>
100789                       #endif
100790
100791 int
100792 main ()
100793 {
100794  _fabsl(0);
100795   ;
100796   return 0;
100797 }
100798 _ACEOF
100799 rm -f conftest.$ac_objext
100800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100801   (eval $ac_compile) 2>conftest.er1
100802   ac_status=$?
100803   grep -v '^ *+' conftest.er1 >conftest.err
100804   rm -f conftest.er1
100805   cat conftest.err >&5
100806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100807   (exit $ac_status); } &&
100808          { ac_try='test -z "$ac_cxx_werror_flag"
100809                          || test ! -s conftest.err'
100810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100811   (eval $ac_try) 2>&5
100812   ac_status=$?
100813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100814   (exit $ac_status); }; } &&
100815          { ac_try='test -s conftest.$ac_objext'
100816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100817   (eval $ac_try) 2>&5
100818   ac_status=$?
100819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100820   (exit $ac_status); }; }; then
100821   glibcxx_cv_func__fabsl_use=yes
100822 else
100823   echo "$as_me: failed program was:" >&5
100824 sed 's/^/| /' conftest.$ac_ext >&5
100825
100826 glibcxx_cv_func__fabsl_use=no
100827 fi
100828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100829       ac_ext=c
100830 ac_cpp='$CPP $CPPFLAGS'
100831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100834
100835
100836 fi
100837
100838   fi
100839   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100840 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100841
100842     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
100843
100844 for ac_func in _fabsl
100845 do
100846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100847 echo "$as_me:$LINENO: checking for $ac_func" >&5
100848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100849 if eval "test \"\${$as_ac_var+set}\" = set"; then
100850   echo $ECHO_N "(cached) $ECHO_C" >&6
100851 else
100852   if test x$gcc_no_link = xyes; then
100853   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100855    { (exit 1); exit 1; }; }
100856 fi
100857 cat >conftest.$ac_ext <<_ACEOF
100858 /* confdefs.h.  */
100859 _ACEOF
100860 cat confdefs.h >>conftest.$ac_ext
100861 cat >>conftest.$ac_ext <<_ACEOF
100862 /* end confdefs.h.  */
100863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100865 #define $ac_func innocuous_$ac_func
100866
100867 /* System header to define __stub macros and hopefully few prototypes,
100868     which can conflict with char $ac_func (); below.
100869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100870     <limits.h> exists even on freestanding compilers.  */
100871
100872 #ifdef __STDC__
100873 # include <limits.h>
100874 #else
100875 # include <assert.h>
100876 #endif
100877
100878 #undef $ac_func
100879
100880 /* Override any gcc2 internal prototype to avoid an error.  */
100881 #ifdef __cplusplus
100882 extern "C"
100883 {
100884 #endif
100885 /* We use char because int might match the return type of a gcc2
100886    builtin and then its argument prototype would still apply.  */
100887 char $ac_func ();
100888 /* The GNU C library defines this for functions which it implements
100889     to always fail with ENOSYS.  Some functions are actually named
100890     something starting with __ and the normal name is an alias.  */
100891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100892 choke me
100893 #else
100894 char (*f) () = $ac_func;
100895 #endif
100896 #ifdef __cplusplus
100897 }
100898 #endif
100899
100900 int
100901 main ()
100902 {
100903 return f != $ac_func;
100904   ;
100905   return 0;
100906 }
100907 _ACEOF
100908 rm -f conftest.$ac_objext conftest$ac_exeext
100909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100910   (eval $ac_link) 2>conftest.er1
100911   ac_status=$?
100912   grep -v '^ *+' conftest.er1 >conftest.err
100913   rm -f conftest.er1
100914   cat conftest.err >&5
100915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100916   (exit $ac_status); } &&
100917          { ac_try='test -z "$ac_c_werror_flag"
100918                          || test ! -s conftest.err'
100919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100920   (eval $ac_try) 2>&5
100921   ac_status=$?
100922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100923   (exit $ac_status); }; } &&
100924          { ac_try='test -s conftest$ac_exeext'
100925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100926   (eval $ac_try) 2>&5
100927   ac_status=$?
100928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100929   (exit $ac_status); }; }; then
100930   eval "$as_ac_var=yes"
100931 else
100932   echo "$as_me: failed program was:" >&5
100933 sed 's/^/| /' conftest.$ac_ext >&5
100934
100935 eval "$as_ac_var=no"
100936 fi
100937 rm -f conftest.err conftest.$ac_objext \
100938       conftest$ac_exeext conftest.$ac_ext
100939 fi
100940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100942 if test `eval echo '${'$as_ac_var'}'` = yes; then
100943   cat >>confdefs.h <<_ACEOF
100944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100945 _ACEOF
100946
100947 fi
100948 done
100949
100950     fi
100951   fi
100952
100953
100954
100955
100956
100957
100958   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
100959 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100960   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100961     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100962   echo $ECHO_N "(cached) $ECHO_C" >&6
100963 else
100964
100965
100966
100967       ac_ext=cc
100968 ac_cpp='$CXXCPP $CPPFLAGS'
100969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100972
100973       cat >conftest.$ac_ext <<_ACEOF
100974 /* confdefs.h.  */
100975 _ACEOF
100976 cat confdefs.h >>conftest.$ac_ext
100977 cat >>conftest.$ac_ext <<_ACEOF
100978 /* end confdefs.h.  */
100979 #include <math.h>
100980 int
100981 main ()
100982 {
100983  fmodl(0, 0);
100984   ;
100985   return 0;
100986 }
100987 _ACEOF
100988 rm -f conftest.$ac_objext
100989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100990   (eval $ac_compile) 2>conftest.er1
100991   ac_status=$?
100992   grep -v '^ *+' conftest.er1 >conftest.err
100993   rm -f conftest.er1
100994   cat conftest.err >&5
100995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100996   (exit $ac_status); } &&
100997          { ac_try='test -z "$ac_cxx_werror_flag"
100998                          || test ! -s conftest.err'
100999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101000   (eval $ac_try) 2>&5
101001   ac_status=$?
101002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101003   (exit $ac_status); }; } &&
101004          { ac_try='test -s conftest.$ac_objext'
101005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101006   (eval $ac_try) 2>&5
101007   ac_status=$?
101008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101009   (exit $ac_status); }; }; then
101010   glibcxx_cv_func_fmodl_use=yes
101011 else
101012   echo "$as_me: failed program was:" >&5
101013 sed 's/^/| /' conftest.$ac_ext >&5
101014
101015 glibcxx_cv_func_fmodl_use=no
101016 fi
101017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101018       ac_ext=c
101019 ac_cpp='$CPP $CPPFLAGS'
101020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101023
101024
101025 fi
101026
101027   fi
101028   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101029 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101030
101031   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101032
101033 for ac_func in fmodl
101034 do
101035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101036 echo "$as_me:$LINENO: checking for $ac_func" >&5
101037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101038 if eval "test \"\${$as_ac_var+set}\" = set"; then
101039   echo $ECHO_N "(cached) $ECHO_C" >&6
101040 else
101041   if test x$gcc_no_link = xyes; then
101042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101044    { (exit 1); exit 1; }; }
101045 fi
101046 cat >conftest.$ac_ext <<_ACEOF
101047 /* confdefs.h.  */
101048 _ACEOF
101049 cat confdefs.h >>conftest.$ac_ext
101050 cat >>conftest.$ac_ext <<_ACEOF
101051 /* end confdefs.h.  */
101052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101054 #define $ac_func innocuous_$ac_func
101055
101056 /* System header to define __stub macros and hopefully few prototypes,
101057     which can conflict with char $ac_func (); below.
101058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101059     <limits.h> exists even on freestanding compilers.  */
101060
101061 #ifdef __STDC__
101062 # include <limits.h>
101063 #else
101064 # include <assert.h>
101065 #endif
101066
101067 #undef $ac_func
101068
101069 /* Override any gcc2 internal prototype to avoid an error.  */
101070 #ifdef __cplusplus
101071 extern "C"
101072 {
101073 #endif
101074 /* We use char because int might match the return type of a gcc2
101075    builtin and then its argument prototype would still apply.  */
101076 char $ac_func ();
101077 /* The GNU C library defines this for functions which it implements
101078     to always fail with ENOSYS.  Some functions are actually named
101079     something starting with __ and the normal name is an alias.  */
101080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101081 choke me
101082 #else
101083 char (*f) () = $ac_func;
101084 #endif
101085 #ifdef __cplusplus
101086 }
101087 #endif
101088
101089 int
101090 main ()
101091 {
101092 return f != $ac_func;
101093   ;
101094   return 0;
101095 }
101096 _ACEOF
101097 rm -f conftest.$ac_objext conftest$ac_exeext
101098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101099   (eval $ac_link) 2>conftest.er1
101100   ac_status=$?
101101   grep -v '^ *+' conftest.er1 >conftest.err
101102   rm -f conftest.er1
101103   cat conftest.err >&5
101104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101105   (exit $ac_status); } &&
101106          { ac_try='test -z "$ac_c_werror_flag"
101107                          || test ! -s conftest.err'
101108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101109   (eval $ac_try) 2>&5
101110   ac_status=$?
101111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101112   (exit $ac_status); }; } &&
101113          { ac_try='test -s conftest$ac_exeext'
101114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101115   (eval $ac_try) 2>&5
101116   ac_status=$?
101117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101118   (exit $ac_status); }; }; then
101119   eval "$as_ac_var=yes"
101120 else
101121   echo "$as_me: failed program was:" >&5
101122 sed 's/^/| /' conftest.$ac_ext >&5
101123
101124 eval "$as_ac_var=no"
101125 fi
101126 rm -f conftest.err conftest.$ac_objext \
101127       conftest$ac_exeext conftest.$ac_ext
101128 fi
101129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101131 if test `eval echo '${'$as_ac_var'}'` = yes; then
101132   cat >>confdefs.h <<_ACEOF
101133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101134 _ACEOF
101135
101136 fi
101137 done
101138
101139   else
101140
101141   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101142 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101143   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101144     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101145   echo $ECHO_N "(cached) $ECHO_C" >&6
101146 else
101147
101148
101149
101150       ac_ext=cc
101151 ac_cpp='$CXXCPP $CPPFLAGS'
101152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101155
101156       cat >conftest.$ac_ext <<_ACEOF
101157 /* confdefs.h.  */
101158 _ACEOF
101159 cat confdefs.h >>conftest.$ac_ext
101160 cat >>conftest.$ac_ext <<_ACEOF
101161 /* end confdefs.h.  */
101162 #include <math.h>
101163 int
101164 main ()
101165 {
101166  _fmodl(0, 0);
101167   ;
101168   return 0;
101169 }
101170 _ACEOF
101171 rm -f conftest.$ac_objext
101172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101173   (eval $ac_compile) 2>conftest.er1
101174   ac_status=$?
101175   grep -v '^ *+' conftest.er1 >conftest.err
101176   rm -f conftest.er1
101177   cat conftest.err >&5
101178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101179   (exit $ac_status); } &&
101180          { ac_try='test -z "$ac_cxx_werror_flag"
101181                          || test ! -s conftest.err'
101182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101183   (eval $ac_try) 2>&5
101184   ac_status=$?
101185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101186   (exit $ac_status); }; } &&
101187          { ac_try='test -s conftest.$ac_objext'
101188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101189   (eval $ac_try) 2>&5
101190   ac_status=$?
101191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101192   (exit $ac_status); }; }; then
101193   glibcxx_cv_func__fmodl_use=yes
101194 else
101195   echo "$as_me: failed program was:" >&5
101196 sed 's/^/| /' conftest.$ac_ext >&5
101197
101198 glibcxx_cv_func__fmodl_use=no
101199 fi
101200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101201       ac_ext=c
101202 ac_cpp='$CPP $CPPFLAGS'
101203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101206
101207
101208 fi
101209
101210   fi
101211   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101212 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101213
101214     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101215
101216 for ac_func in _fmodl
101217 do
101218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101219 echo "$as_me:$LINENO: checking for $ac_func" >&5
101220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101221 if eval "test \"\${$as_ac_var+set}\" = set"; then
101222   echo $ECHO_N "(cached) $ECHO_C" >&6
101223 else
101224   if test x$gcc_no_link = xyes; then
101225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101227    { (exit 1); exit 1; }; }
101228 fi
101229 cat >conftest.$ac_ext <<_ACEOF
101230 /* confdefs.h.  */
101231 _ACEOF
101232 cat confdefs.h >>conftest.$ac_ext
101233 cat >>conftest.$ac_ext <<_ACEOF
101234 /* end confdefs.h.  */
101235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101236    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101237 #define $ac_func innocuous_$ac_func
101238
101239 /* System header to define __stub macros and hopefully few prototypes,
101240     which can conflict with char $ac_func (); below.
101241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101242     <limits.h> exists even on freestanding compilers.  */
101243
101244 #ifdef __STDC__
101245 # include <limits.h>
101246 #else
101247 # include <assert.h>
101248 #endif
101249
101250 #undef $ac_func
101251
101252 /* Override any gcc2 internal prototype to avoid an error.  */
101253 #ifdef __cplusplus
101254 extern "C"
101255 {
101256 #endif
101257 /* We use char because int might match the return type of a gcc2
101258    builtin and then its argument prototype would still apply.  */
101259 char $ac_func ();
101260 /* The GNU C library defines this for functions which it implements
101261     to always fail with ENOSYS.  Some functions are actually named
101262     something starting with __ and the normal name is an alias.  */
101263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101264 choke me
101265 #else
101266 char (*f) () = $ac_func;
101267 #endif
101268 #ifdef __cplusplus
101269 }
101270 #endif
101271
101272 int
101273 main ()
101274 {
101275 return f != $ac_func;
101276   ;
101277   return 0;
101278 }
101279 _ACEOF
101280 rm -f conftest.$ac_objext conftest$ac_exeext
101281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101282   (eval $ac_link) 2>conftest.er1
101283   ac_status=$?
101284   grep -v '^ *+' conftest.er1 >conftest.err
101285   rm -f conftest.er1
101286   cat conftest.err >&5
101287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101288   (exit $ac_status); } &&
101289          { ac_try='test -z "$ac_c_werror_flag"
101290                          || test ! -s conftest.err'
101291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101292   (eval $ac_try) 2>&5
101293   ac_status=$?
101294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101295   (exit $ac_status); }; } &&
101296          { ac_try='test -s conftest$ac_exeext'
101297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101298   (eval $ac_try) 2>&5
101299   ac_status=$?
101300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101301   (exit $ac_status); }; }; then
101302   eval "$as_ac_var=yes"
101303 else
101304   echo "$as_me: failed program was:" >&5
101305 sed 's/^/| /' conftest.$ac_ext >&5
101306
101307 eval "$as_ac_var=no"
101308 fi
101309 rm -f conftest.err conftest.$ac_objext \
101310       conftest$ac_exeext conftest.$ac_ext
101311 fi
101312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101314 if test `eval echo '${'$as_ac_var'}'` = yes; then
101315   cat >>confdefs.h <<_ACEOF
101316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101317 _ACEOF
101318
101319 fi
101320 done
101321
101322     fi
101323   fi
101324
101325
101326
101327
101328
101329
101330   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101331 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101332   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101333     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101334   echo $ECHO_N "(cached) $ECHO_C" >&6
101335 else
101336
101337
101338
101339       ac_ext=cc
101340 ac_cpp='$CXXCPP $CPPFLAGS'
101341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101344
101345       cat >conftest.$ac_ext <<_ACEOF
101346 /* confdefs.h.  */
101347 _ACEOF
101348 cat confdefs.h >>conftest.$ac_ext
101349 cat >>conftest.$ac_ext <<_ACEOF
101350 /* end confdefs.h.  */
101351 #include <math.h>
101352 int
101353 main ()
101354 {
101355  frexpl(0, 0);
101356   ;
101357   return 0;
101358 }
101359 _ACEOF
101360 rm -f conftest.$ac_objext
101361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101362   (eval $ac_compile) 2>conftest.er1
101363   ac_status=$?
101364   grep -v '^ *+' conftest.er1 >conftest.err
101365   rm -f conftest.er1
101366   cat conftest.err >&5
101367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101368   (exit $ac_status); } &&
101369          { ac_try='test -z "$ac_cxx_werror_flag"
101370                          || test ! -s conftest.err'
101371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101372   (eval $ac_try) 2>&5
101373   ac_status=$?
101374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101375   (exit $ac_status); }; } &&
101376          { ac_try='test -s conftest.$ac_objext'
101377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101378   (eval $ac_try) 2>&5
101379   ac_status=$?
101380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101381   (exit $ac_status); }; }; then
101382   glibcxx_cv_func_frexpl_use=yes
101383 else
101384   echo "$as_me: failed program was:" >&5
101385 sed 's/^/| /' conftest.$ac_ext >&5
101386
101387 glibcxx_cv_func_frexpl_use=no
101388 fi
101389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101390       ac_ext=c
101391 ac_cpp='$CPP $CPPFLAGS'
101392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101395
101396
101397 fi
101398
101399   fi
101400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101401 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101402
101403   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101404
101405 for ac_func in frexpl
101406 do
101407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101408 echo "$as_me:$LINENO: checking for $ac_func" >&5
101409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101410 if eval "test \"\${$as_ac_var+set}\" = set"; then
101411   echo $ECHO_N "(cached) $ECHO_C" >&6
101412 else
101413   if test x$gcc_no_link = xyes; then
101414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101416    { (exit 1); exit 1; }; }
101417 fi
101418 cat >conftest.$ac_ext <<_ACEOF
101419 /* confdefs.h.  */
101420 _ACEOF
101421 cat confdefs.h >>conftest.$ac_ext
101422 cat >>conftest.$ac_ext <<_ACEOF
101423 /* end confdefs.h.  */
101424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101426 #define $ac_func innocuous_$ac_func
101427
101428 /* System header to define __stub macros and hopefully few prototypes,
101429     which can conflict with char $ac_func (); below.
101430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101431     <limits.h> exists even on freestanding compilers.  */
101432
101433 #ifdef __STDC__
101434 # include <limits.h>
101435 #else
101436 # include <assert.h>
101437 #endif
101438
101439 #undef $ac_func
101440
101441 /* Override any gcc2 internal prototype to avoid an error.  */
101442 #ifdef __cplusplus
101443 extern "C"
101444 {
101445 #endif
101446 /* We use char because int might match the return type of a gcc2
101447    builtin and then its argument prototype would still apply.  */
101448 char $ac_func ();
101449 /* The GNU C library defines this for functions which it implements
101450     to always fail with ENOSYS.  Some functions are actually named
101451     something starting with __ and the normal name is an alias.  */
101452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101453 choke me
101454 #else
101455 char (*f) () = $ac_func;
101456 #endif
101457 #ifdef __cplusplus
101458 }
101459 #endif
101460
101461 int
101462 main ()
101463 {
101464 return f != $ac_func;
101465   ;
101466   return 0;
101467 }
101468 _ACEOF
101469 rm -f conftest.$ac_objext conftest$ac_exeext
101470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101471   (eval $ac_link) 2>conftest.er1
101472   ac_status=$?
101473   grep -v '^ *+' conftest.er1 >conftest.err
101474   rm -f conftest.er1
101475   cat conftest.err >&5
101476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101477   (exit $ac_status); } &&
101478          { ac_try='test -z "$ac_c_werror_flag"
101479                          || test ! -s conftest.err'
101480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101481   (eval $ac_try) 2>&5
101482   ac_status=$?
101483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101484   (exit $ac_status); }; } &&
101485          { ac_try='test -s conftest$ac_exeext'
101486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101487   (eval $ac_try) 2>&5
101488   ac_status=$?
101489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101490   (exit $ac_status); }; }; then
101491   eval "$as_ac_var=yes"
101492 else
101493   echo "$as_me: failed program was:" >&5
101494 sed 's/^/| /' conftest.$ac_ext >&5
101495
101496 eval "$as_ac_var=no"
101497 fi
101498 rm -f conftest.err conftest.$ac_objext \
101499       conftest$ac_exeext conftest.$ac_ext
101500 fi
101501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101503 if test `eval echo '${'$as_ac_var'}'` = yes; then
101504   cat >>confdefs.h <<_ACEOF
101505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101506 _ACEOF
101507
101508 fi
101509 done
101510
101511   else
101512
101513   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101514 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101515   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101516     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101517   echo $ECHO_N "(cached) $ECHO_C" >&6
101518 else
101519
101520
101521
101522       ac_ext=cc
101523 ac_cpp='$CXXCPP $CPPFLAGS'
101524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101527
101528       cat >conftest.$ac_ext <<_ACEOF
101529 /* confdefs.h.  */
101530 _ACEOF
101531 cat confdefs.h >>conftest.$ac_ext
101532 cat >>conftest.$ac_ext <<_ACEOF
101533 /* end confdefs.h.  */
101534 #include <math.h>
101535 int
101536 main ()
101537 {
101538  _frexpl(0, 0);
101539   ;
101540   return 0;
101541 }
101542 _ACEOF
101543 rm -f conftest.$ac_objext
101544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101545   (eval $ac_compile) 2>conftest.er1
101546   ac_status=$?
101547   grep -v '^ *+' conftest.er1 >conftest.err
101548   rm -f conftest.er1
101549   cat conftest.err >&5
101550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101551   (exit $ac_status); } &&
101552          { ac_try='test -z "$ac_cxx_werror_flag"
101553                          || test ! -s conftest.err'
101554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101555   (eval $ac_try) 2>&5
101556   ac_status=$?
101557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101558   (exit $ac_status); }; } &&
101559          { ac_try='test -s conftest.$ac_objext'
101560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101561   (eval $ac_try) 2>&5
101562   ac_status=$?
101563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101564   (exit $ac_status); }; }; then
101565   glibcxx_cv_func__frexpl_use=yes
101566 else
101567   echo "$as_me: failed program was:" >&5
101568 sed 's/^/| /' conftest.$ac_ext >&5
101569
101570 glibcxx_cv_func__frexpl_use=no
101571 fi
101572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101573       ac_ext=c
101574 ac_cpp='$CPP $CPPFLAGS'
101575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101578
101579
101580 fi
101581
101582   fi
101583   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101584 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101585
101586     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101587
101588 for ac_func in _frexpl
101589 do
101590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101591 echo "$as_me:$LINENO: checking for $ac_func" >&5
101592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101593 if eval "test \"\${$as_ac_var+set}\" = set"; then
101594   echo $ECHO_N "(cached) $ECHO_C" >&6
101595 else
101596   if test x$gcc_no_link = xyes; then
101597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101599    { (exit 1); exit 1; }; }
101600 fi
101601 cat >conftest.$ac_ext <<_ACEOF
101602 /* confdefs.h.  */
101603 _ACEOF
101604 cat confdefs.h >>conftest.$ac_ext
101605 cat >>conftest.$ac_ext <<_ACEOF
101606 /* end confdefs.h.  */
101607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101609 #define $ac_func innocuous_$ac_func
101610
101611 /* System header to define __stub macros and hopefully few prototypes,
101612     which can conflict with char $ac_func (); below.
101613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101614     <limits.h> exists even on freestanding compilers.  */
101615
101616 #ifdef __STDC__
101617 # include <limits.h>
101618 #else
101619 # include <assert.h>
101620 #endif
101621
101622 #undef $ac_func
101623
101624 /* Override any gcc2 internal prototype to avoid an error.  */
101625 #ifdef __cplusplus
101626 extern "C"
101627 {
101628 #endif
101629 /* We use char because int might match the return type of a gcc2
101630    builtin and then its argument prototype would still apply.  */
101631 char $ac_func ();
101632 /* The GNU C library defines this for functions which it implements
101633     to always fail with ENOSYS.  Some functions are actually named
101634     something starting with __ and the normal name is an alias.  */
101635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101636 choke me
101637 #else
101638 char (*f) () = $ac_func;
101639 #endif
101640 #ifdef __cplusplus
101641 }
101642 #endif
101643
101644 int
101645 main ()
101646 {
101647 return f != $ac_func;
101648   ;
101649   return 0;
101650 }
101651 _ACEOF
101652 rm -f conftest.$ac_objext conftest$ac_exeext
101653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101654   (eval $ac_link) 2>conftest.er1
101655   ac_status=$?
101656   grep -v '^ *+' conftest.er1 >conftest.err
101657   rm -f conftest.er1
101658   cat conftest.err >&5
101659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101660   (exit $ac_status); } &&
101661          { ac_try='test -z "$ac_c_werror_flag"
101662                          || test ! -s conftest.err'
101663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101664   (eval $ac_try) 2>&5
101665   ac_status=$?
101666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101667   (exit $ac_status); }; } &&
101668          { ac_try='test -s conftest$ac_exeext'
101669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101670   (eval $ac_try) 2>&5
101671   ac_status=$?
101672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101673   (exit $ac_status); }; }; then
101674   eval "$as_ac_var=yes"
101675 else
101676   echo "$as_me: failed program was:" >&5
101677 sed 's/^/| /' conftest.$ac_ext >&5
101678
101679 eval "$as_ac_var=no"
101680 fi
101681 rm -f conftest.err conftest.$ac_objext \
101682       conftest$ac_exeext conftest.$ac_ext
101683 fi
101684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101686 if test `eval echo '${'$as_ac_var'}'` = yes; then
101687   cat >>confdefs.h <<_ACEOF
101688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101689 _ACEOF
101690
101691 fi
101692 done
101693
101694     fi
101695   fi
101696
101697
101698
101699
101700
101701
101702   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101703 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101704   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101705     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101706   echo $ECHO_N "(cached) $ECHO_C" >&6
101707 else
101708
101709
101710
101711       ac_ext=cc
101712 ac_cpp='$CXXCPP $CPPFLAGS'
101713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101716
101717       cat >conftest.$ac_ext <<_ACEOF
101718 /* confdefs.h.  */
101719 _ACEOF
101720 cat confdefs.h >>conftest.$ac_ext
101721 cat >>conftest.$ac_ext <<_ACEOF
101722 /* end confdefs.h.  */
101723 #include <math.h>
101724 int
101725 main ()
101726 {
101727  hypotl(0, 0);
101728   ;
101729   return 0;
101730 }
101731 _ACEOF
101732 rm -f conftest.$ac_objext
101733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101734   (eval $ac_compile) 2>conftest.er1
101735   ac_status=$?
101736   grep -v '^ *+' conftest.er1 >conftest.err
101737   rm -f conftest.er1
101738   cat conftest.err >&5
101739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101740   (exit $ac_status); } &&
101741          { ac_try='test -z "$ac_cxx_werror_flag"
101742                          || test ! -s conftest.err'
101743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101744   (eval $ac_try) 2>&5
101745   ac_status=$?
101746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101747   (exit $ac_status); }; } &&
101748          { ac_try='test -s conftest.$ac_objext'
101749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101750   (eval $ac_try) 2>&5
101751   ac_status=$?
101752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101753   (exit $ac_status); }; }; then
101754   glibcxx_cv_func_hypotl_use=yes
101755 else
101756   echo "$as_me: failed program was:" >&5
101757 sed 's/^/| /' conftest.$ac_ext >&5
101758
101759 glibcxx_cv_func_hypotl_use=no
101760 fi
101761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101762       ac_ext=c
101763 ac_cpp='$CPP $CPPFLAGS'
101764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101767
101768
101769 fi
101770
101771   fi
101772   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101773 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101774
101775   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101776
101777 for ac_func in hypotl
101778 do
101779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101780 echo "$as_me:$LINENO: checking for $ac_func" >&5
101781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101782 if eval "test \"\${$as_ac_var+set}\" = set"; then
101783   echo $ECHO_N "(cached) $ECHO_C" >&6
101784 else
101785   if test x$gcc_no_link = xyes; then
101786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101788    { (exit 1); exit 1; }; }
101789 fi
101790 cat >conftest.$ac_ext <<_ACEOF
101791 /* confdefs.h.  */
101792 _ACEOF
101793 cat confdefs.h >>conftest.$ac_ext
101794 cat >>conftest.$ac_ext <<_ACEOF
101795 /* end confdefs.h.  */
101796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101798 #define $ac_func innocuous_$ac_func
101799
101800 /* System header to define __stub macros and hopefully few prototypes,
101801     which can conflict with char $ac_func (); below.
101802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101803     <limits.h> exists even on freestanding compilers.  */
101804
101805 #ifdef __STDC__
101806 # include <limits.h>
101807 #else
101808 # include <assert.h>
101809 #endif
101810
101811 #undef $ac_func
101812
101813 /* Override any gcc2 internal prototype to avoid an error.  */
101814 #ifdef __cplusplus
101815 extern "C"
101816 {
101817 #endif
101818 /* We use char because int might match the return type of a gcc2
101819    builtin and then its argument prototype would still apply.  */
101820 char $ac_func ();
101821 /* The GNU C library defines this for functions which it implements
101822     to always fail with ENOSYS.  Some functions are actually named
101823     something starting with __ and the normal name is an alias.  */
101824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101825 choke me
101826 #else
101827 char (*f) () = $ac_func;
101828 #endif
101829 #ifdef __cplusplus
101830 }
101831 #endif
101832
101833 int
101834 main ()
101835 {
101836 return f != $ac_func;
101837   ;
101838   return 0;
101839 }
101840 _ACEOF
101841 rm -f conftest.$ac_objext conftest$ac_exeext
101842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101843   (eval $ac_link) 2>conftest.er1
101844   ac_status=$?
101845   grep -v '^ *+' conftest.er1 >conftest.err
101846   rm -f conftest.er1
101847   cat conftest.err >&5
101848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101849   (exit $ac_status); } &&
101850          { ac_try='test -z "$ac_c_werror_flag"
101851                          || test ! -s conftest.err'
101852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101853   (eval $ac_try) 2>&5
101854   ac_status=$?
101855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101856   (exit $ac_status); }; } &&
101857          { ac_try='test -s conftest$ac_exeext'
101858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101859   (eval $ac_try) 2>&5
101860   ac_status=$?
101861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101862   (exit $ac_status); }; }; then
101863   eval "$as_ac_var=yes"
101864 else
101865   echo "$as_me: failed program was:" >&5
101866 sed 's/^/| /' conftest.$ac_ext >&5
101867
101868 eval "$as_ac_var=no"
101869 fi
101870 rm -f conftest.err conftest.$ac_objext \
101871       conftest$ac_exeext conftest.$ac_ext
101872 fi
101873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101875 if test `eval echo '${'$as_ac_var'}'` = yes; then
101876   cat >>confdefs.h <<_ACEOF
101877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101878 _ACEOF
101879
101880 fi
101881 done
101882
101883   else
101884
101885   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
101886 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
101887   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
101888     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
101889   echo $ECHO_N "(cached) $ECHO_C" >&6
101890 else
101891
101892
101893
101894       ac_ext=cc
101895 ac_cpp='$CXXCPP $CPPFLAGS'
101896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101899
101900       cat >conftest.$ac_ext <<_ACEOF
101901 /* confdefs.h.  */
101902 _ACEOF
101903 cat confdefs.h >>conftest.$ac_ext
101904 cat >>conftest.$ac_ext <<_ACEOF
101905 /* end confdefs.h.  */
101906 #include <math.h>
101907 int
101908 main ()
101909 {
101910  _hypotl(0, 0);
101911   ;
101912   return 0;
101913 }
101914 _ACEOF
101915 rm -f conftest.$ac_objext
101916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101917   (eval $ac_compile) 2>conftest.er1
101918   ac_status=$?
101919   grep -v '^ *+' conftest.er1 >conftest.err
101920   rm -f conftest.er1
101921   cat conftest.err >&5
101922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101923   (exit $ac_status); } &&
101924          { ac_try='test -z "$ac_cxx_werror_flag"
101925                          || test ! -s conftest.err'
101926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101927   (eval $ac_try) 2>&5
101928   ac_status=$?
101929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101930   (exit $ac_status); }; } &&
101931          { ac_try='test -s conftest.$ac_objext'
101932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101933   (eval $ac_try) 2>&5
101934   ac_status=$?
101935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101936   (exit $ac_status); }; }; then
101937   glibcxx_cv_func__hypotl_use=yes
101938 else
101939   echo "$as_me: failed program was:" >&5
101940 sed 's/^/| /' conftest.$ac_ext >&5
101941
101942 glibcxx_cv_func__hypotl_use=no
101943 fi
101944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101945       ac_ext=c
101946 ac_cpp='$CPP $CPPFLAGS'
101947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101950
101951
101952 fi
101953
101954   fi
101955   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
101956 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
101957
101958     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
101959
101960 for ac_func in _hypotl
101961 do
101962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101963 echo "$as_me:$LINENO: checking for $ac_func" >&5
101964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101965 if eval "test \"\${$as_ac_var+set}\" = set"; then
101966   echo $ECHO_N "(cached) $ECHO_C" >&6
101967 else
101968   if test x$gcc_no_link = xyes; then
101969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101971    { (exit 1); exit 1; }; }
101972 fi
101973 cat >conftest.$ac_ext <<_ACEOF
101974 /* confdefs.h.  */
101975 _ACEOF
101976 cat confdefs.h >>conftest.$ac_ext
101977 cat >>conftest.$ac_ext <<_ACEOF
101978 /* end confdefs.h.  */
101979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101981 #define $ac_func innocuous_$ac_func
101982
101983 /* System header to define __stub macros and hopefully few prototypes,
101984     which can conflict with char $ac_func (); below.
101985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101986     <limits.h> exists even on freestanding compilers.  */
101987
101988 #ifdef __STDC__
101989 # include <limits.h>
101990 #else
101991 # include <assert.h>
101992 #endif
101993
101994 #undef $ac_func
101995
101996 /* Override any gcc2 internal prototype to avoid an error.  */
101997 #ifdef __cplusplus
101998 extern "C"
101999 {
102000 #endif
102001 /* We use char because int might match the return type of a gcc2
102002    builtin and then its argument prototype would still apply.  */
102003 char $ac_func ();
102004 /* The GNU C library defines this for functions which it implements
102005     to always fail with ENOSYS.  Some functions are actually named
102006     something starting with __ and the normal name is an alias.  */
102007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102008 choke me
102009 #else
102010 char (*f) () = $ac_func;
102011 #endif
102012 #ifdef __cplusplus
102013 }
102014 #endif
102015
102016 int
102017 main ()
102018 {
102019 return f != $ac_func;
102020   ;
102021   return 0;
102022 }
102023 _ACEOF
102024 rm -f conftest.$ac_objext conftest$ac_exeext
102025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102026   (eval $ac_link) 2>conftest.er1
102027   ac_status=$?
102028   grep -v '^ *+' conftest.er1 >conftest.err
102029   rm -f conftest.er1
102030   cat conftest.err >&5
102031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102032   (exit $ac_status); } &&
102033          { ac_try='test -z "$ac_c_werror_flag"
102034                          || test ! -s conftest.err'
102035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102036   (eval $ac_try) 2>&5
102037   ac_status=$?
102038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102039   (exit $ac_status); }; } &&
102040          { ac_try='test -s conftest$ac_exeext'
102041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102042   (eval $ac_try) 2>&5
102043   ac_status=$?
102044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102045   (exit $ac_status); }; }; then
102046   eval "$as_ac_var=yes"
102047 else
102048   echo "$as_me: failed program was:" >&5
102049 sed 's/^/| /' conftest.$ac_ext >&5
102050
102051 eval "$as_ac_var=no"
102052 fi
102053 rm -f conftest.err conftest.$ac_objext \
102054       conftest$ac_exeext conftest.$ac_ext
102055 fi
102056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102058 if test `eval echo '${'$as_ac_var'}'` = yes; then
102059   cat >>confdefs.h <<_ACEOF
102060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102061 _ACEOF
102062
102063 fi
102064 done
102065
102066     fi
102067   fi
102068
102069
102070
102071
102072
102073
102074   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102075 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102076   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102077     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102078   echo $ECHO_N "(cached) $ECHO_C" >&6
102079 else
102080
102081
102082
102083       ac_ext=cc
102084 ac_cpp='$CXXCPP $CPPFLAGS'
102085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102088
102089       cat >conftest.$ac_ext <<_ACEOF
102090 /* confdefs.h.  */
102091 _ACEOF
102092 cat confdefs.h >>conftest.$ac_ext
102093 cat >>conftest.$ac_ext <<_ACEOF
102094 /* end confdefs.h.  */
102095 #include <math.h>
102096 int
102097 main ()
102098 {
102099  ldexpl(0, 0);
102100   ;
102101   return 0;
102102 }
102103 _ACEOF
102104 rm -f conftest.$ac_objext
102105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102106   (eval $ac_compile) 2>conftest.er1
102107   ac_status=$?
102108   grep -v '^ *+' conftest.er1 >conftest.err
102109   rm -f conftest.er1
102110   cat conftest.err >&5
102111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102112   (exit $ac_status); } &&
102113          { ac_try='test -z "$ac_cxx_werror_flag"
102114                          || test ! -s conftest.err'
102115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102116   (eval $ac_try) 2>&5
102117   ac_status=$?
102118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102119   (exit $ac_status); }; } &&
102120          { ac_try='test -s conftest.$ac_objext'
102121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102122   (eval $ac_try) 2>&5
102123   ac_status=$?
102124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102125   (exit $ac_status); }; }; then
102126   glibcxx_cv_func_ldexpl_use=yes
102127 else
102128   echo "$as_me: failed program was:" >&5
102129 sed 's/^/| /' conftest.$ac_ext >&5
102130
102131 glibcxx_cv_func_ldexpl_use=no
102132 fi
102133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102134       ac_ext=c
102135 ac_cpp='$CPP $CPPFLAGS'
102136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102139
102140
102141 fi
102142
102143   fi
102144   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102145 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102146
102147   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102148
102149 for ac_func in ldexpl
102150 do
102151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102152 echo "$as_me:$LINENO: checking for $ac_func" >&5
102153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102154 if eval "test \"\${$as_ac_var+set}\" = set"; then
102155   echo $ECHO_N "(cached) $ECHO_C" >&6
102156 else
102157   if test x$gcc_no_link = xyes; then
102158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102160    { (exit 1); exit 1; }; }
102161 fi
102162 cat >conftest.$ac_ext <<_ACEOF
102163 /* confdefs.h.  */
102164 _ACEOF
102165 cat confdefs.h >>conftest.$ac_ext
102166 cat >>conftest.$ac_ext <<_ACEOF
102167 /* end confdefs.h.  */
102168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102170 #define $ac_func innocuous_$ac_func
102171
102172 /* System header to define __stub macros and hopefully few prototypes,
102173     which can conflict with char $ac_func (); below.
102174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102175     <limits.h> exists even on freestanding compilers.  */
102176
102177 #ifdef __STDC__
102178 # include <limits.h>
102179 #else
102180 # include <assert.h>
102181 #endif
102182
102183 #undef $ac_func
102184
102185 /* Override any gcc2 internal prototype to avoid an error.  */
102186 #ifdef __cplusplus
102187 extern "C"
102188 {
102189 #endif
102190 /* We use char because int might match the return type of a gcc2
102191    builtin and then its argument prototype would still apply.  */
102192 char $ac_func ();
102193 /* The GNU C library defines this for functions which it implements
102194     to always fail with ENOSYS.  Some functions are actually named
102195     something starting with __ and the normal name is an alias.  */
102196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102197 choke me
102198 #else
102199 char (*f) () = $ac_func;
102200 #endif
102201 #ifdef __cplusplus
102202 }
102203 #endif
102204
102205 int
102206 main ()
102207 {
102208 return f != $ac_func;
102209   ;
102210   return 0;
102211 }
102212 _ACEOF
102213 rm -f conftest.$ac_objext conftest$ac_exeext
102214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102215   (eval $ac_link) 2>conftest.er1
102216   ac_status=$?
102217   grep -v '^ *+' conftest.er1 >conftest.err
102218   rm -f conftest.er1
102219   cat conftest.err >&5
102220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102221   (exit $ac_status); } &&
102222          { ac_try='test -z "$ac_c_werror_flag"
102223                          || test ! -s conftest.err'
102224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102225   (eval $ac_try) 2>&5
102226   ac_status=$?
102227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102228   (exit $ac_status); }; } &&
102229          { ac_try='test -s conftest$ac_exeext'
102230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102231   (eval $ac_try) 2>&5
102232   ac_status=$?
102233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102234   (exit $ac_status); }; }; then
102235   eval "$as_ac_var=yes"
102236 else
102237   echo "$as_me: failed program was:" >&5
102238 sed 's/^/| /' conftest.$ac_ext >&5
102239
102240 eval "$as_ac_var=no"
102241 fi
102242 rm -f conftest.err conftest.$ac_objext \
102243       conftest$ac_exeext conftest.$ac_ext
102244 fi
102245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102247 if test `eval echo '${'$as_ac_var'}'` = yes; then
102248   cat >>confdefs.h <<_ACEOF
102249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102250 _ACEOF
102251
102252 fi
102253 done
102254
102255   else
102256
102257   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102258 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102259   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102260     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102261   echo $ECHO_N "(cached) $ECHO_C" >&6
102262 else
102263
102264
102265
102266       ac_ext=cc
102267 ac_cpp='$CXXCPP $CPPFLAGS'
102268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102271
102272       cat >conftest.$ac_ext <<_ACEOF
102273 /* confdefs.h.  */
102274 _ACEOF
102275 cat confdefs.h >>conftest.$ac_ext
102276 cat >>conftest.$ac_ext <<_ACEOF
102277 /* end confdefs.h.  */
102278 #include <math.h>
102279 int
102280 main ()
102281 {
102282  _ldexpl(0, 0);
102283   ;
102284   return 0;
102285 }
102286 _ACEOF
102287 rm -f conftest.$ac_objext
102288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102289   (eval $ac_compile) 2>conftest.er1
102290   ac_status=$?
102291   grep -v '^ *+' conftest.er1 >conftest.err
102292   rm -f conftest.er1
102293   cat conftest.err >&5
102294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102295   (exit $ac_status); } &&
102296          { ac_try='test -z "$ac_cxx_werror_flag"
102297                          || test ! -s conftest.err'
102298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102299   (eval $ac_try) 2>&5
102300   ac_status=$?
102301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102302   (exit $ac_status); }; } &&
102303          { ac_try='test -s conftest.$ac_objext'
102304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102305   (eval $ac_try) 2>&5
102306   ac_status=$?
102307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102308   (exit $ac_status); }; }; then
102309   glibcxx_cv_func__ldexpl_use=yes
102310 else
102311   echo "$as_me: failed program was:" >&5
102312 sed 's/^/| /' conftest.$ac_ext >&5
102313
102314 glibcxx_cv_func__ldexpl_use=no
102315 fi
102316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102317       ac_ext=c
102318 ac_cpp='$CPP $CPPFLAGS'
102319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102322
102323
102324 fi
102325
102326   fi
102327   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102328 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102329
102330     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102331
102332 for ac_func in _ldexpl
102333 do
102334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102335 echo "$as_me:$LINENO: checking for $ac_func" >&5
102336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102337 if eval "test \"\${$as_ac_var+set}\" = set"; then
102338   echo $ECHO_N "(cached) $ECHO_C" >&6
102339 else
102340   if test x$gcc_no_link = xyes; then
102341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102343    { (exit 1); exit 1; }; }
102344 fi
102345 cat >conftest.$ac_ext <<_ACEOF
102346 /* confdefs.h.  */
102347 _ACEOF
102348 cat confdefs.h >>conftest.$ac_ext
102349 cat >>conftest.$ac_ext <<_ACEOF
102350 /* end confdefs.h.  */
102351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102353 #define $ac_func innocuous_$ac_func
102354
102355 /* System header to define __stub macros and hopefully few prototypes,
102356     which can conflict with char $ac_func (); below.
102357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102358     <limits.h> exists even on freestanding compilers.  */
102359
102360 #ifdef __STDC__
102361 # include <limits.h>
102362 #else
102363 # include <assert.h>
102364 #endif
102365
102366 #undef $ac_func
102367
102368 /* Override any gcc2 internal prototype to avoid an error.  */
102369 #ifdef __cplusplus
102370 extern "C"
102371 {
102372 #endif
102373 /* We use char because int might match the return type of a gcc2
102374    builtin and then its argument prototype would still apply.  */
102375 char $ac_func ();
102376 /* The GNU C library defines this for functions which it implements
102377     to always fail with ENOSYS.  Some functions are actually named
102378     something starting with __ and the normal name is an alias.  */
102379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102380 choke me
102381 #else
102382 char (*f) () = $ac_func;
102383 #endif
102384 #ifdef __cplusplus
102385 }
102386 #endif
102387
102388 int
102389 main ()
102390 {
102391 return f != $ac_func;
102392   ;
102393   return 0;
102394 }
102395 _ACEOF
102396 rm -f conftest.$ac_objext conftest$ac_exeext
102397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102398   (eval $ac_link) 2>conftest.er1
102399   ac_status=$?
102400   grep -v '^ *+' conftest.er1 >conftest.err
102401   rm -f conftest.er1
102402   cat conftest.err >&5
102403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102404   (exit $ac_status); } &&
102405          { ac_try='test -z "$ac_c_werror_flag"
102406                          || test ! -s conftest.err'
102407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102408   (eval $ac_try) 2>&5
102409   ac_status=$?
102410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102411   (exit $ac_status); }; } &&
102412          { ac_try='test -s conftest$ac_exeext'
102413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102414   (eval $ac_try) 2>&5
102415   ac_status=$?
102416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102417   (exit $ac_status); }; }; then
102418   eval "$as_ac_var=yes"
102419 else
102420   echo "$as_me: failed program was:" >&5
102421 sed 's/^/| /' conftest.$ac_ext >&5
102422
102423 eval "$as_ac_var=no"
102424 fi
102425 rm -f conftest.err conftest.$ac_objext \
102426       conftest$ac_exeext conftest.$ac_ext
102427 fi
102428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102430 if test `eval echo '${'$as_ac_var'}'` = yes; then
102431   cat >>confdefs.h <<_ACEOF
102432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102433 _ACEOF
102434
102435 fi
102436 done
102437
102438     fi
102439   fi
102440
102441
102442
102443
102444
102445
102446   echo "$as_me:$LINENO: checking for logl declaration" >&5
102447 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102448   if test x${glibcxx_cv_func_logl_use+set} != xset; then
102449     if test "${glibcxx_cv_func_logl_use+set}" = set; then
102450   echo $ECHO_N "(cached) $ECHO_C" >&6
102451 else
102452
102453
102454
102455       ac_ext=cc
102456 ac_cpp='$CXXCPP $CPPFLAGS'
102457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102460
102461       cat >conftest.$ac_ext <<_ACEOF
102462 /* confdefs.h.  */
102463 _ACEOF
102464 cat confdefs.h >>conftest.$ac_ext
102465 cat >>conftest.$ac_ext <<_ACEOF
102466 /* end confdefs.h.  */
102467 #include <math.h>
102468                       #ifdef HAVE_IEEEFP_H
102469                       #include <ieeefp.h>
102470                       #endif
102471
102472 int
102473 main ()
102474 {
102475  logl(0);
102476   ;
102477   return 0;
102478 }
102479 _ACEOF
102480 rm -f conftest.$ac_objext
102481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102482   (eval $ac_compile) 2>conftest.er1
102483   ac_status=$?
102484   grep -v '^ *+' conftest.er1 >conftest.err
102485   rm -f conftest.er1
102486   cat conftest.err >&5
102487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102488   (exit $ac_status); } &&
102489          { ac_try='test -z "$ac_cxx_werror_flag"
102490                          || test ! -s conftest.err'
102491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102492   (eval $ac_try) 2>&5
102493   ac_status=$?
102494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102495   (exit $ac_status); }; } &&
102496          { ac_try='test -s conftest.$ac_objext'
102497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102498   (eval $ac_try) 2>&5
102499   ac_status=$?
102500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102501   (exit $ac_status); }; }; then
102502   glibcxx_cv_func_logl_use=yes
102503 else
102504   echo "$as_me: failed program was:" >&5
102505 sed 's/^/| /' conftest.$ac_ext >&5
102506
102507 glibcxx_cv_func_logl_use=no
102508 fi
102509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102510       ac_ext=c
102511 ac_cpp='$CPP $CPPFLAGS'
102512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102515
102516
102517 fi
102518
102519   fi
102520   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102521 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102522
102523   if test x$glibcxx_cv_func_logl_use = x"yes"; then
102524
102525 for ac_func in logl
102526 do
102527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102528 echo "$as_me:$LINENO: checking for $ac_func" >&5
102529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102530 if eval "test \"\${$as_ac_var+set}\" = set"; then
102531   echo $ECHO_N "(cached) $ECHO_C" >&6
102532 else
102533   if test x$gcc_no_link = xyes; then
102534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102536    { (exit 1); exit 1; }; }
102537 fi
102538 cat >conftest.$ac_ext <<_ACEOF
102539 /* confdefs.h.  */
102540 _ACEOF
102541 cat confdefs.h >>conftest.$ac_ext
102542 cat >>conftest.$ac_ext <<_ACEOF
102543 /* end confdefs.h.  */
102544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102545    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102546 #define $ac_func innocuous_$ac_func
102547
102548 /* System header to define __stub macros and hopefully few prototypes,
102549     which can conflict with char $ac_func (); below.
102550     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102551     <limits.h> exists even on freestanding compilers.  */
102552
102553 #ifdef __STDC__
102554 # include <limits.h>
102555 #else
102556 # include <assert.h>
102557 #endif
102558
102559 #undef $ac_func
102560
102561 /* Override any gcc2 internal prototype to avoid an error.  */
102562 #ifdef __cplusplus
102563 extern "C"
102564 {
102565 #endif
102566 /* We use char because int might match the return type of a gcc2
102567    builtin and then its argument prototype would still apply.  */
102568 char $ac_func ();
102569 /* The GNU C library defines this for functions which it implements
102570     to always fail with ENOSYS.  Some functions are actually named
102571     something starting with __ and the normal name is an alias.  */
102572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102573 choke me
102574 #else
102575 char (*f) () = $ac_func;
102576 #endif
102577 #ifdef __cplusplus
102578 }
102579 #endif
102580
102581 int
102582 main ()
102583 {
102584 return f != $ac_func;
102585   ;
102586   return 0;
102587 }
102588 _ACEOF
102589 rm -f conftest.$ac_objext conftest$ac_exeext
102590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102591   (eval $ac_link) 2>conftest.er1
102592   ac_status=$?
102593   grep -v '^ *+' conftest.er1 >conftest.err
102594   rm -f conftest.er1
102595   cat conftest.err >&5
102596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102597   (exit $ac_status); } &&
102598          { ac_try='test -z "$ac_c_werror_flag"
102599                          || test ! -s conftest.err'
102600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102601   (eval $ac_try) 2>&5
102602   ac_status=$?
102603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102604   (exit $ac_status); }; } &&
102605          { ac_try='test -s conftest$ac_exeext'
102606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102607   (eval $ac_try) 2>&5
102608   ac_status=$?
102609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102610   (exit $ac_status); }; }; then
102611   eval "$as_ac_var=yes"
102612 else
102613   echo "$as_me: failed program was:" >&5
102614 sed 's/^/| /' conftest.$ac_ext >&5
102615
102616 eval "$as_ac_var=no"
102617 fi
102618 rm -f conftest.err conftest.$ac_objext \
102619       conftest$ac_exeext conftest.$ac_ext
102620 fi
102621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102623 if test `eval echo '${'$as_ac_var'}'` = yes; then
102624   cat >>confdefs.h <<_ACEOF
102625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102626 _ACEOF
102627
102628 fi
102629 done
102630
102631   else
102632
102633   echo "$as_me:$LINENO: checking for _logl declaration" >&5
102634 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102635   if test x${glibcxx_cv_func__logl_use+set} != xset; then
102636     if test "${glibcxx_cv_func__logl_use+set}" = set; then
102637   echo $ECHO_N "(cached) $ECHO_C" >&6
102638 else
102639
102640
102641
102642       ac_ext=cc
102643 ac_cpp='$CXXCPP $CPPFLAGS'
102644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102647
102648       cat >conftest.$ac_ext <<_ACEOF
102649 /* confdefs.h.  */
102650 _ACEOF
102651 cat confdefs.h >>conftest.$ac_ext
102652 cat >>conftest.$ac_ext <<_ACEOF
102653 /* end confdefs.h.  */
102654 #include <math.h>
102655                       #ifdef HAVE_IEEEFP_H
102656                       #include <ieeefp.h>
102657                       #endif
102658
102659 int
102660 main ()
102661 {
102662  _logl(0);
102663   ;
102664   return 0;
102665 }
102666 _ACEOF
102667 rm -f conftest.$ac_objext
102668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102669   (eval $ac_compile) 2>conftest.er1
102670   ac_status=$?
102671   grep -v '^ *+' conftest.er1 >conftest.err
102672   rm -f conftest.er1
102673   cat conftest.err >&5
102674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102675   (exit $ac_status); } &&
102676          { ac_try='test -z "$ac_cxx_werror_flag"
102677                          || test ! -s conftest.err'
102678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102679   (eval $ac_try) 2>&5
102680   ac_status=$?
102681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102682   (exit $ac_status); }; } &&
102683          { ac_try='test -s conftest.$ac_objext'
102684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102685   (eval $ac_try) 2>&5
102686   ac_status=$?
102687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102688   (exit $ac_status); }; }; then
102689   glibcxx_cv_func__logl_use=yes
102690 else
102691   echo "$as_me: failed program was:" >&5
102692 sed 's/^/| /' conftest.$ac_ext >&5
102693
102694 glibcxx_cv_func__logl_use=no
102695 fi
102696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102697       ac_ext=c
102698 ac_cpp='$CPP $CPPFLAGS'
102699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102702
102703
102704 fi
102705
102706   fi
102707   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102708 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102709
102710     if test x$glibcxx_cv_func__logl_use = x"yes"; then
102711
102712 for ac_func in _logl
102713 do
102714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102715 echo "$as_me:$LINENO: checking for $ac_func" >&5
102716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102717 if eval "test \"\${$as_ac_var+set}\" = set"; then
102718   echo $ECHO_N "(cached) $ECHO_C" >&6
102719 else
102720   if test x$gcc_no_link = xyes; then
102721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102723    { (exit 1); exit 1; }; }
102724 fi
102725 cat >conftest.$ac_ext <<_ACEOF
102726 /* confdefs.h.  */
102727 _ACEOF
102728 cat confdefs.h >>conftest.$ac_ext
102729 cat >>conftest.$ac_ext <<_ACEOF
102730 /* end confdefs.h.  */
102731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102733 #define $ac_func innocuous_$ac_func
102734
102735 /* System header to define __stub macros and hopefully few prototypes,
102736     which can conflict with char $ac_func (); below.
102737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102738     <limits.h> exists even on freestanding compilers.  */
102739
102740 #ifdef __STDC__
102741 # include <limits.h>
102742 #else
102743 # include <assert.h>
102744 #endif
102745
102746 #undef $ac_func
102747
102748 /* Override any gcc2 internal prototype to avoid an error.  */
102749 #ifdef __cplusplus
102750 extern "C"
102751 {
102752 #endif
102753 /* We use char because int might match the return type of a gcc2
102754    builtin and then its argument prototype would still apply.  */
102755 char $ac_func ();
102756 /* The GNU C library defines this for functions which it implements
102757     to always fail with ENOSYS.  Some functions are actually named
102758     something starting with __ and the normal name is an alias.  */
102759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102760 choke me
102761 #else
102762 char (*f) () = $ac_func;
102763 #endif
102764 #ifdef __cplusplus
102765 }
102766 #endif
102767
102768 int
102769 main ()
102770 {
102771 return f != $ac_func;
102772   ;
102773   return 0;
102774 }
102775 _ACEOF
102776 rm -f conftest.$ac_objext conftest$ac_exeext
102777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102778   (eval $ac_link) 2>conftest.er1
102779   ac_status=$?
102780   grep -v '^ *+' conftest.er1 >conftest.err
102781   rm -f conftest.er1
102782   cat conftest.err >&5
102783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102784   (exit $ac_status); } &&
102785          { ac_try='test -z "$ac_c_werror_flag"
102786                          || test ! -s conftest.err'
102787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102788   (eval $ac_try) 2>&5
102789   ac_status=$?
102790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102791   (exit $ac_status); }; } &&
102792          { ac_try='test -s conftest$ac_exeext'
102793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102794   (eval $ac_try) 2>&5
102795   ac_status=$?
102796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102797   (exit $ac_status); }; }; then
102798   eval "$as_ac_var=yes"
102799 else
102800   echo "$as_me: failed program was:" >&5
102801 sed 's/^/| /' conftest.$ac_ext >&5
102802
102803 eval "$as_ac_var=no"
102804 fi
102805 rm -f conftest.err conftest.$ac_objext \
102806       conftest$ac_exeext conftest.$ac_ext
102807 fi
102808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102810 if test `eval echo '${'$as_ac_var'}'` = yes; then
102811   cat >>confdefs.h <<_ACEOF
102812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102813 _ACEOF
102814
102815 fi
102816 done
102817
102818     fi
102819   fi
102820
102821
102822
102823
102824
102825
102826   echo "$as_me:$LINENO: checking for log10l declaration" >&5
102827 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102828   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102829     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102830   echo $ECHO_N "(cached) $ECHO_C" >&6
102831 else
102832
102833
102834
102835       ac_ext=cc
102836 ac_cpp='$CXXCPP $CPPFLAGS'
102837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102840
102841       cat >conftest.$ac_ext <<_ACEOF
102842 /* confdefs.h.  */
102843 _ACEOF
102844 cat confdefs.h >>conftest.$ac_ext
102845 cat >>conftest.$ac_ext <<_ACEOF
102846 /* end confdefs.h.  */
102847 #include <math.h>
102848                       #ifdef HAVE_IEEEFP_H
102849                       #include <ieeefp.h>
102850                       #endif
102851
102852 int
102853 main ()
102854 {
102855  log10l(0);
102856   ;
102857   return 0;
102858 }
102859 _ACEOF
102860 rm -f conftest.$ac_objext
102861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102862   (eval $ac_compile) 2>conftest.er1
102863   ac_status=$?
102864   grep -v '^ *+' conftest.er1 >conftest.err
102865   rm -f conftest.er1
102866   cat conftest.err >&5
102867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102868   (exit $ac_status); } &&
102869          { ac_try='test -z "$ac_cxx_werror_flag"
102870                          || test ! -s conftest.err'
102871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102872   (eval $ac_try) 2>&5
102873   ac_status=$?
102874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102875   (exit $ac_status); }; } &&
102876          { ac_try='test -s conftest.$ac_objext'
102877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102878   (eval $ac_try) 2>&5
102879   ac_status=$?
102880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102881   (exit $ac_status); }; }; then
102882   glibcxx_cv_func_log10l_use=yes
102883 else
102884   echo "$as_me: failed program was:" >&5
102885 sed 's/^/| /' conftest.$ac_ext >&5
102886
102887 glibcxx_cv_func_log10l_use=no
102888 fi
102889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102890       ac_ext=c
102891 ac_cpp='$CPP $CPPFLAGS'
102892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102895
102896
102897 fi
102898
102899   fi
102900   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
102901 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
102902
102903   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
102904
102905 for ac_func in log10l
102906 do
102907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102908 echo "$as_me:$LINENO: checking for $ac_func" >&5
102909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102910 if eval "test \"\${$as_ac_var+set}\" = set"; then
102911   echo $ECHO_N "(cached) $ECHO_C" >&6
102912 else
102913   if test x$gcc_no_link = xyes; then
102914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102916    { (exit 1); exit 1; }; }
102917 fi
102918 cat >conftest.$ac_ext <<_ACEOF
102919 /* confdefs.h.  */
102920 _ACEOF
102921 cat confdefs.h >>conftest.$ac_ext
102922 cat >>conftest.$ac_ext <<_ACEOF
102923 /* end confdefs.h.  */
102924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102926 #define $ac_func innocuous_$ac_func
102927
102928 /* System header to define __stub macros and hopefully few prototypes,
102929     which can conflict with char $ac_func (); below.
102930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102931     <limits.h> exists even on freestanding compilers.  */
102932
102933 #ifdef __STDC__
102934 # include <limits.h>
102935 #else
102936 # include <assert.h>
102937 #endif
102938
102939 #undef $ac_func
102940
102941 /* Override any gcc2 internal prototype to avoid an error.  */
102942 #ifdef __cplusplus
102943 extern "C"
102944 {
102945 #endif
102946 /* We use char because int might match the return type of a gcc2
102947    builtin and then its argument prototype would still apply.  */
102948 char $ac_func ();
102949 /* The GNU C library defines this for functions which it implements
102950     to always fail with ENOSYS.  Some functions are actually named
102951     something starting with __ and the normal name is an alias.  */
102952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102953 choke me
102954 #else
102955 char (*f) () = $ac_func;
102956 #endif
102957 #ifdef __cplusplus
102958 }
102959 #endif
102960
102961 int
102962 main ()
102963 {
102964 return f != $ac_func;
102965   ;
102966   return 0;
102967 }
102968 _ACEOF
102969 rm -f conftest.$ac_objext conftest$ac_exeext
102970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102971   (eval $ac_link) 2>conftest.er1
102972   ac_status=$?
102973   grep -v '^ *+' conftest.er1 >conftest.err
102974   rm -f conftest.er1
102975   cat conftest.err >&5
102976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102977   (exit $ac_status); } &&
102978          { ac_try='test -z "$ac_c_werror_flag"
102979                          || test ! -s conftest.err'
102980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102981   (eval $ac_try) 2>&5
102982   ac_status=$?
102983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102984   (exit $ac_status); }; } &&
102985          { ac_try='test -s conftest$ac_exeext'
102986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102987   (eval $ac_try) 2>&5
102988   ac_status=$?
102989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102990   (exit $ac_status); }; }; then
102991   eval "$as_ac_var=yes"
102992 else
102993   echo "$as_me: failed program was:" >&5
102994 sed 's/^/| /' conftest.$ac_ext >&5
102995
102996 eval "$as_ac_var=no"
102997 fi
102998 rm -f conftest.err conftest.$ac_objext \
102999       conftest$ac_exeext conftest.$ac_ext
103000 fi
103001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103003 if test `eval echo '${'$as_ac_var'}'` = yes; then
103004   cat >>confdefs.h <<_ACEOF
103005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103006 _ACEOF
103007
103008 fi
103009 done
103010
103011   else
103012
103013   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103014 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103015   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103016     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103017   echo $ECHO_N "(cached) $ECHO_C" >&6
103018 else
103019
103020
103021
103022       ac_ext=cc
103023 ac_cpp='$CXXCPP $CPPFLAGS'
103024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103027
103028       cat >conftest.$ac_ext <<_ACEOF
103029 /* confdefs.h.  */
103030 _ACEOF
103031 cat confdefs.h >>conftest.$ac_ext
103032 cat >>conftest.$ac_ext <<_ACEOF
103033 /* end confdefs.h.  */
103034 #include <math.h>
103035                       #ifdef HAVE_IEEEFP_H
103036                       #include <ieeefp.h>
103037                       #endif
103038
103039 int
103040 main ()
103041 {
103042  _log10l(0);
103043   ;
103044   return 0;
103045 }
103046 _ACEOF
103047 rm -f conftest.$ac_objext
103048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103049   (eval $ac_compile) 2>conftest.er1
103050   ac_status=$?
103051   grep -v '^ *+' conftest.er1 >conftest.err
103052   rm -f conftest.er1
103053   cat conftest.err >&5
103054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103055   (exit $ac_status); } &&
103056          { ac_try='test -z "$ac_cxx_werror_flag"
103057                          || test ! -s conftest.err'
103058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103059   (eval $ac_try) 2>&5
103060   ac_status=$?
103061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103062   (exit $ac_status); }; } &&
103063          { ac_try='test -s conftest.$ac_objext'
103064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103065   (eval $ac_try) 2>&5
103066   ac_status=$?
103067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103068   (exit $ac_status); }; }; then
103069   glibcxx_cv_func__log10l_use=yes
103070 else
103071   echo "$as_me: failed program was:" >&5
103072 sed 's/^/| /' conftest.$ac_ext >&5
103073
103074 glibcxx_cv_func__log10l_use=no
103075 fi
103076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103077       ac_ext=c
103078 ac_cpp='$CPP $CPPFLAGS'
103079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103082
103083
103084 fi
103085
103086   fi
103087   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103088 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103089
103090     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103091
103092 for ac_func in _log10l
103093 do
103094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103095 echo "$as_me:$LINENO: checking for $ac_func" >&5
103096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103097 if eval "test \"\${$as_ac_var+set}\" = set"; then
103098   echo $ECHO_N "(cached) $ECHO_C" >&6
103099 else
103100   if test x$gcc_no_link = xyes; then
103101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103103    { (exit 1); exit 1; }; }
103104 fi
103105 cat >conftest.$ac_ext <<_ACEOF
103106 /* confdefs.h.  */
103107 _ACEOF
103108 cat confdefs.h >>conftest.$ac_ext
103109 cat >>conftest.$ac_ext <<_ACEOF
103110 /* end confdefs.h.  */
103111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103113 #define $ac_func innocuous_$ac_func
103114
103115 /* System header to define __stub macros and hopefully few prototypes,
103116     which can conflict with char $ac_func (); below.
103117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103118     <limits.h> exists even on freestanding compilers.  */
103119
103120 #ifdef __STDC__
103121 # include <limits.h>
103122 #else
103123 # include <assert.h>
103124 #endif
103125
103126 #undef $ac_func
103127
103128 /* Override any gcc2 internal prototype to avoid an error.  */
103129 #ifdef __cplusplus
103130 extern "C"
103131 {
103132 #endif
103133 /* We use char because int might match the return type of a gcc2
103134    builtin and then its argument prototype would still apply.  */
103135 char $ac_func ();
103136 /* The GNU C library defines this for functions which it implements
103137     to always fail with ENOSYS.  Some functions are actually named
103138     something starting with __ and the normal name is an alias.  */
103139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103140 choke me
103141 #else
103142 char (*f) () = $ac_func;
103143 #endif
103144 #ifdef __cplusplus
103145 }
103146 #endif
103147
103148 int
103149 main ()
103150 {
103151 return f != $ac_func;
103152   ;
103153   return 0;
103154 }
103155 _ACEOF
103156 rm -f conftest.$ac_objext conftest$ac_exeext
103157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103158   (eval $ac_link) 2>conftest.er1
103159   ac_status=$?
103160   grep -v '^ *+' conftest.er1 >conftest.err
103161   rm -f conftest.er1
103162   cat conftest.err >&5
103163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103164   (exit $ac_status); } &&
103165          { ac_try='test -z "$ac_c_werror_flag"
103166                          || test ! -s conftest.err'
103167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103168   (eval $ac_try) 2>&5
103169   ac_status=$?
103170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103171   (exit $ac_status); }; } &&
103172          { ac_try='test -s conftest$ac_exeext'
103173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103174   (eval $ac_try) 2>&5
103175   ac_status=$?
103176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103177   (exit $ac_status); }; }; then
103178   eval "$as_ac_var=yes"
103179 else
103180   echo "$as_me: failed program was:" >&5
103181 sed 's/^/| /' conftest.$ac_ext >&5
103182
103183 eval "$as_ac_var=no"
103184 fi
103185 rm -f conftest.err conftest.$ac_objext \
103186       conftest$ac_exeext conftest.$ac_ext
103187 fi
103188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103190 if test `eval echo '${'$as_ac_var'}'` = yes; then
103191   cat >>confdefs.h <<_ACEOF
103192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103193 _ACEOF
103194
103195 fi
103196 done
103197
103198     fi
103199   fi
103200
103201
103202
103203
103204
103205
103206   echo "$as_me:$LINENO: checking for modfl declaration" >&5
103207 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103208   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103209     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103210   echo $ECHO_N "(cached) $ECHO_C" >&6
103211 else
103212
103213
103214
103215       ac_ext=cc
103216 ac_cpp='$CXXCPP $CPPFLAGS'
103217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103220
103221       cat >conftest.$ac_ext <<_ACEOF
103222 /* confdefs.h.  */
103223 _ACEOF
103224 cat confdefs.h >>conftest.$ac_ext
103225 cat >>conftest.$ac_ext <<_ACEOF
103226 /* end confdefs.h.  */
103227 #include <math.h>
103228 int
103229 main ()
103230 {
103231  modfl(0, 0);
103232   ;
103233   return 0;
103234 }
103235 _ACEOF
103236 rm -f conftest.$ac_objext
103237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103238   (eval $ac_compile) 2>conftest.er1
103239   ac_status=$?
103240   grep -v '^ *+' conftest.er1 >conftest.err
103241   rm -f conftest.er1
103242   cat conftest.err >&5
103243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103244   (exit $ac_status); } &&
103245          { ac_try='test -z "$ac_cxx_werror_flag"
103246                          || test ! -s conftest.err'
103247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103248   (eval $ac_try) 2>&5
103249   ac_status=$?
103250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103251   (exit $ac_status); }; } &&
103252          { ac_try='test -s conftest.$ac_objext'
103253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103254   (eval $ac_try) 2>&5
103255   ac_status=$?
103256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103257   (exit $ac_status); }; }; then
103258   glibcxx_cv_func_modfl_use=yes
103259 else
103260   echo "$as_me: failed program was:" >&5
103261 sed 's/^/| /' conftest.$ac_ext >&5
103262
103263 glibcxx_cv_func_modfl_use=no
103264 fi
103265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103266       ac_ext=c
103267 ac_cpp='$CPP $CPPFLAGS'
103268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103271
103272
103273 fi
103274
103275   fi
103276   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103277 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103278
103279   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103280
103281 for ac_func in modfl
103282 do
103283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103284 echo "$as_me:$LINENO: checking for $ac_func" >&5
103285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103286 if eval "test \"\${$as_ac_var+set}\" = set"; then
103287   echo $ECHO_N "(cached) $ECHO_C" >&6
103288 else
103289   if test x$gcc_no_link = xyes; then
103290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103292    { (exit 1); exit 1; }; }
103293 fi
103294 cat >conftest.$ac_ext <<_ACEOF
103295 /* confdefs.h.  */
103296 _ACEOF
103297 cat confdefs.h >>conftest.$ac_ext
103298 cat >>conftest.$ac_ext <<_ACEOF
103299 /* end confdefs.h.  */
103300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103302 #define $ac_func innocuous_$ac_func
103303
103304 /* System header to define __stub macros and hopefully few prototypes,
103305     which can conflict with char $ac_func (); below.
103306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103307     <limits.h> exists even on freestanding compilers.  */
103308
103309 #ifdef __STDC__
103310 # include <limits.h>
103311 #else
103312 # include <assert.h>
103313 #endif
103314
103315 #undef $ac_func
103316
103317 /* Override any gcc2 internal prototype to avoid an error.  */
103318 #ifdef __cplusplus
103319 extern "C"
103320 {
103321 #endif
103322 /* We use char because int might match the return type of a gcc2
103323    builtin and then its argument prototype would still apply.  */
103324 char $ac_func ();
103325 /* The GNU C library defines this for functions which it implements
103326     to always fail with ENOSYS.  Some functions are actually named
103327     something starting with __ and the normal name is an alias.  */
103328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103329 choke me
103330 #else
103331 char (*f) () = $ac_func;
103332 #endif
103333 #ifdef __cplusplus
103334 }
103335 #endif
103336
103337 int
103338 main ()
103339 {
103340 return f != $ac_func;
103341   ;
103342   return 0;
103343 }
103344 _ACEOF
103345 rm -f conftest.$ac_objext conftest$ac_exeext
103346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103347   (eval $ac_link) 2>conftest.er1
103348   ac_status=$?
103349   grep -v '^ *+' conftest.er1 >conftest.err
103350   rm -f conftest.er1
103351   cat conftest.err >&5
103352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103353   (exit $ac_status); } &&
103354          { ac_try='test -z "$ac_c_werror_flag"
103355                          || test ! -s conftest.err'
103356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103357   (eval $ac_try) 2>&5
103358   ac_status=$?
103359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103360   (exit $ac_status); }; } &&
103361          { ac_try='test -s conftest$ac_exeext'
103362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103363   (eval $ac_try) 2>&5
103364   ac_status=$?
103365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103366   (exit $ac_status); }; }; then
103367   eval "$as_ac_var=yes"
103368 else
103369   echo "$as_me: failed program was:" >&5
103370 sed 's/^/| /' conftest.$ac_ext >&5
103371
103372 eval "$as_ac_var=no"
103373 fi
103374 rm -f conftest.err conftest.$ac_objext \
103375       conftest$ac_exeext conftest.$ac_ext
103376 fi
103377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103379 if test `eval echo '${'$as_ac_var'}'` = yes; then
103380   cat >>confdefs.h <<_ACEOF
103381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103382 _ACEOF
103383
103384 fi
103385 done
103386
103387   else
103388
103389   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103390 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103391   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103392     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103393   echo $ECHO_N "(cached) $ECHO_C" >&6
103394 else
103395
103396
103397
103398       ac_ext=cc
103399 ac_cpp='$CXXCPP $CPPFLAGS'
103400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103403
103404       cat >conftest.$ac_ext <<_ACEOF
103405 /* confdefs.h.  */
103406 _ACEOF
103407 cat confdefs.h >>conftest.$ac_ext
103408 cat >>conftest.$ac_ext <<_ACEOF
103409 /* end confdefs.h.  */
103410 #include <math.h>
103411 int
103412 main ()
103413 {
103414  _modfl(0, 0);
103415   ;
103416   return 0;
103417 }
103418 _ACEOF
103419 rm -f conftest.$ac_objext
103420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103421   (eval $ac_compile) 2>conftest.er1
103422   ac_status=$?
103423   grep -v '^ *+' conftest.er1 >conftest.err
103424   rm -f conftest.er1
103425   cat conftest.err >&5
103426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103427   (exit $ac_status); } &&
103428          { ac_try='test -z "$ac_cxx_werror_flag"
103429                          || test ! -s conftest.err'
103430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103431   (eval $ac_try) 2>&5
103432   ac_status=$?
103433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103434   (exit $ac_status); }; } &&
103435          { ac_try='test -s conftest.$ac_objext'
103436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103437   (eval $ac_try) 2>&5
103438   ac_status=$?
103439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103440   (exit $ac_status); }; }; then
103441   glibcxx_cv_func__modfl_use=yes
103442 else
103443   echo "$as_me: failed program was:" >&5
103444 sed 's/^/| /' conftest.$ac_ext >&5
103445
103446 glibcxx_cv_func__modfl_use=no
103447 fi
103448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103449       ac_ext=c
103450 ac_cpp='$CPP $CPPFLAGS'
103451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103454
103455
103456 fi
103457
103458   fi
103459   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103460 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103461
103462     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103463
103464 for ac_func in _modfl
103465 do
103466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103467 echo "$as_me:$LINENO: checking for $ac_func" >&5
103468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103469 if eval "test \"\${$as_ac_var+set}\" = set"; then
103470   echo $ECHO_N "(cached) $ECHO_C" >&6
103471 else
103472   if test x$gcc_no_link = xyes; then
103473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103475    { (exit 1); exit 1; }; }
103476 fi
103477 cat >conftest.$ac_ext <<_ACEOF
103478 /* confdefs.h.  */
103479 _ACEOF
103480 cat confdefs.h >>conftest.$ac_ext
103481 cat >>conftest.$ac_ext <<_ACEOF
103482 /* end confdefs.h.  */
103483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103485 #define $ac_func innocuous_$ac_func
103486
103487 /* System header to define __stub macros and hopefully few prototypes,
103488     which can conflict with char $ac_func (); below.
103489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103490     <limits.h> exists even on freestanding compilers.  */
103491
103492 #ifdef __STDC__
103493 # include <limits.h>
103494 #else
103495 # include <assert.h>
103496 #endif
103497
103498 #undef $ac_func
103499
103500 /* Override any gcc2 internal prototype to avoid an error.  */
103501 #ifdef __cplusplus
103502 extern "C"
103503 {
103504 #endif
103505 /* We use char because int might match the return type of a gcc2
103506    builtin and then its argument prototype would still apply.  */
103507 char $ac_func ();
103508 /* The GNU C library defines this for functions which it implements
103509     to always fail with ENOSYS.  Some functions are actually named
103510     something starting with __ and the normal name is an alias.  */
103511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103512 choke me
103513 #else
103514 char (*f) () = $ac_func;
103515 #endif
103516 #ifdef __cplusplus
103517 }
103518 #endif
103519
103520 int
103521 main ()
103522 {
103523 return f != $ac_func;
103524   ;
103525   return 0;
103526 }
103527 _ACEOF
103528 rm -f conftest.$ac_objext conftest$ac_exeext
103529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103530   (eval $ac_link) 2>conftest.er1
103531   ac_status=$?
103532   grep -v '^ *+' conftest.er1 >conftest.err
103533   rm -f conftest.er1
103534   cat conftest.err >&5
103535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103536   (exit $ac_status); } &&
103537          { ac_try='test -z "$ac_c_werror_flag"
103538                          || test ! -s conftest.err'
103539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103540   (eval $ac_try) 2>&5
103541   ac_status=$?
103542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103543   (exit $ac_status); }; } &&
103544          { ac_try='test -s conftest$ac_exeext'
103545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103546   (eval $ac_try) 2>&5
103547   ac_status=$?
103548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103549   (exit $ac_status); }; }; then
103550   eval "$as_ac_var=yes"
103551 else
103552   echo "$as_me: failed program was:" >&5
103553 sed 's/^/| /' conftest.$ac_ext >&5
103554
103555 eval "$as_ac_var=no"
103556 fi
103557 rm -f conftest.err conftest.$ac_objext \
103558       conftest$ac_exeext conftest.$ac_ext
103559 fi
103560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103562 if test `eval echo '${'$as_ac_var'}'` = yes; then
103563   cat >>confdefs.h <<_ACEOF
103564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103565 _ACEOF
103566
103567 fi
103568 done
103569
103570     fi
103571   fi
103572
103573
103574
103575
103576
103577
103578   echo "$as_me:$LINENO: checking for powl declaration" >&5
103579 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103580   if test x${glibcxx_cv_func_powl_use+set} != xset; then
103581     if test "${glibcxx_cv_func_powl_use+set}" = set; then
103582   echo $ECHO_N "(cached) $ECHO_C" >&6
103583 else
103584
103585
103586
103587       ac_ext=cc
103588 ac_cpp='$CXXCPP $CPPFLAGS'
103589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103592
103593       cat >conftest.$ac_ext <<_ACEOF
103594 /* confdefs.h.  */
103595 _ACEOF
103596 cat confdefs.h >>conftest.$ac_ext
103597 cat >>conftest.$ac_ext <<_ACEOF
103598 /* end confdefs.h.  */
103599 #include <math.h>
103600 int
103601 main ()
103602 {
103603  powl(0, 0);
103604   ;
103605   return 0;
103606 }
103607 _ACEOF
103608 rm -f conftest.$ac_objext
103609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103610   (eval $ac_compile) 2>conftest.er1
103611   ac_status=$?
103612   grep -v '^ *+' conftest.er1 >conftest.err
103613   rm -f conftest.er1
103614   cat conftest.err >&5
103615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103616   (exit $ac_status); } &&
103617          { ac_try='test -z "$ac_cxx_werror_flag"
103618                          || test ! -s conftest.err'
103619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103620   (eval $ac_try) 2>&5
103621   ac_status=$?
103622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103623   (exit $ac_status); }; } &&
103624          { ac_try='test -s conftest.$ac_objext'
103625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103626   (eval $ac_try) 2>&5
103627   ac_status=$?
103628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103629   (exit $ac_status); }; }; then
103630   glibcxx_cv_func_powl_use=yes
103631 else
103632   echo "$as_me: failed program was:" >&5
103633 sed 's/^/| /' conftest.$ac_ext >&5
103634
103635 glibcxx_cv_func_powl_use=no
103636 fi
103637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103638       ac_ext=c
103639 ac_cpp='$CPP $CPPFLAGS'
103640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103643
103644
103645 fi
103646
103647   fi
103648   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103649 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103650
103651   if test x$glibcxx_cv_func_powl_use = x"yes"; then
103652
103653 for ac_func in powl
103654 do
103655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103656 echo "$as_me:$LINENO: checking for $ac_func" >&5
103657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103658 if eval "test \"\${$as_ac_var+set}\" = set"; then
103659   echo $ECHO_N "(cached) $ECHO_C" >&6
103660 else
103661   if test x$gcc_no_link = xyes; then
103662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103664    { (exit 1); exit 1; }; }
103665 fi
103666 cat >conftest.$ac_ext <<_ACEOF
103667 /* confdefs.h.  */
103668 _ACEOF
103669 cat confdefs.h >>conftest.$ac_ext
103670 cat >>conftest.$ac_ext <<_ACEOF
103671 /* end confdefs.h.  */
103672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103674 #define $ac_func innocuous_$ac_func
103675
103676 /* System header to define __stub macros and hopefully few prototypes,
103677     which can conflict with char $ac_func (); below.
103678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103679     <limits.h> exists even on freestanding compilers.  */
103680
103681 #ifdef __STDC__
103682 # include <limits.h>
103683 #else
103684 # include <assert.h>
103685 #endif
103686
103687 #undef $ac_func
103688
103689 /* Override any gcc2 internal prototype to avoid an error.  */
103690 #ifdef __cplusplus
103691 extern "C"
103692 {
103693 #endif
103694 /* We use char because int might match the return type of a gcc2
103695    builtin and then its argument prototype would still apply.  */
103696 char $ac_func ();
103697 /* The GNU C library defines this for functions which it implements
103698     to always fail with ENOSYS.  Some functions are actually named
103699     something starting with __ and the normal name is an alias.  */
103700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103701 choke me
103702 #else
103703 char (*f) () = $ac_func;
103704 #endif
103705 #ifdef __cplusplus
103706 }
103707 #endif
103708
103709 int
103710 main ()
103711 {
103712 return f != $ac_func;
103713   ;
103714   return 0;
103715 }
103716 _ACEOF
103717 rm -f conftest.$ac_objext conftest$ac_exeext
103718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103719   (eval $ac_link) 2>conftest.er1
103720   ac_status=$?
103721   grep -v '^ *+' conftest.er1 >conftest.err
103722   rm -f conftest.er1
103723   cat conftest.err >&5
103724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103725   (exit $ac_status); } &&
103726          { ac_try='test -z "$ac_c_werror_flag"
103727                          || test ! -s conftest.err'
103728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103729   (eval $ac_try) 2>&5
103730   ac_status=$?
103731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103732   (exit $ac_status); }; } &&
103733          { ac_try='test -s conftest$ac_exeext'
103734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103735   (eval $ac_try) 2>&5
103736   ac_status=$?
103737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103738   (exit $ac_status); }; }; then
103739   eval "$as_ac_var=yes"
103740 else
103741   echo "$as_me: failed program was:" >&5
103742 sed 's/^/| /' conftest.$ac_ext >&5
103743
103744 eval "$as_ac_var=no"
103745 fi
103746 rm -f conftest.err conftest.$ac_objext \
103747       conftest$ac_exeext conftest.$ac_ext
103748 fi
103749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103751 if test `eval echo '${'$as_ac_var'}'` = yes; then
103752   cat >>confdefs.h <<_ACEOF
103753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103754 _ACEOF
103755
103756 fi
103757 done
103758
103759   else
103760
103761   echo "$as_me:$LINENO: checking for _powl declaration" >&5
103762 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103763   if test x${glibcxx_cv_func__powl_use+set} != xset; then
103764     if test "${glibcxx_cv_func__powl_use+set}" = set; then
103765   echo $ECHO_N "(cached) $ECHO_C" >&6
103766 else
103767
103768
103769
103770       ac_ext=cc
103771 ac_cpp='$CXXCPP $CPPFLAGS'
103772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103775
103776       cat >conftest.$ac_ext <<_ACEOF
103777 /* confdefs.h.  */
103778 _ACEOF
103779 cat confdefs.h >>conftest.$ac_ext
103780 cat >>conftest.$ac_ext <<_ACEOF
103781 /* end confdefs.h.  */
103782 #include <math.h>
103783 int
103784 main ()
103785 {
103786  _powl(0, 0);
103787   ;
103788   return 0;
103789 }
103790 _ACEOF
103791 rm -f conftest.$ac_objext
103792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103793   (eval $ac_compile) 2>conftest.er1
103794   ac_status=$?
103795   grep -v '^ *+' conftest.er1 >conftest.err
103796   rm -f conftest.er1
103797   cat conftest.err >&5
103798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103799   (exit $ac_status); } &&
103800          { ac_try='test -z "$ac_cxx_werror_flag"
103801                          || test ! -s conftest.err'
103802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103803   (eval $ac_try) 2>&5
103804   ac_status=$?
103805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103806   (exit $ac_status); }; } &&
103807          { ac_try='test -s conftest.$ac_objext'
103808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103809   (eval $ac_try) 2>&5
103810   ac_status=$?
103811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103812   (exit $ac_status); }; }; then
103813   glibcxx_cv_func__powl_use=yes
103814 else
103815   echo "$as_me: failed program was:" >&5
103816 sed 's/^/| /' conftest.$ac_ext >&5
103817
103818 glibcxx_cv_func__powl_use=no
103819 fi
103820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103821       ac_ext=c
103822 ac_cpp='$CPP $CPPFLAGS'
103823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103826
103827
103828 fi
103829
103830   fi
103831   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103832 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103833
103834     if test x$glibcxx_cv_func__powl_use = x"yes"; then
103835
103836 for ac_func in _powl
103837 do
103838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103839 echo "$as_me:$LINENO: checking for $ac_func" >&5
103840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103841 if eval "test \"\${$as_ac_var+set}\" = set"; then
103842   echo $ECHO_N "(cached) $ECHO_C" >&6
103843 else
103844   if test x$gcc_no_link = xyes; then
103845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103847    { (exit 1); exit 1; }; }
103848 fi
103849 cat >conftest.$ac_ext <<_ACEOF
103850 /* confdefs.h.  */
103851 _ACEOF
103852 cat confdefs.h >>conftest.$ac_ext
103853 cat >>conftest.$ac_ext <<_ACEOF
103854 /* end confdefs.h.  */
103855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103857 #define $ac_func innocuous_$ac_func
103858
103859 /* System header to define __stub macros and hopefully few prototypes,
103860     which can conflict with char $ac_func (); below.
103861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103862     <limits.h> exists even on freestanding compilers.  */
103863
103864 #ifdef __STDC__
103865 # include <limits.h>
103866 #else
103867 # include <assert.h>
103868 #endif
103869
103870 #undef $ac_func
103871
103872 /* Override any gcc2 internal prototype to avoid an error.  */
103873 #ifdef __cplusplus
103874 extern "C"
103875 {
103876 #endif
103877 /* We use char because int might match the return type of a gcc2
103878    builtin and then its argument prototype would still apply.  */
103879 char $ac_func ();
103880 /* The GNU C library defines this for functions which it implements
103881     to always fail with ENOSYS.  Some functions are actually named
103882     something starting with __ and the normal name is an alias.  */
103883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103884 choke me
103885 #else
103886 char (*f) () = $ac_func;
103887 #endif
103888 #ifdef __cplusplus
103889 }
103890 #endif
103891
103892 int
103893 main ()
103894 {
103895 return f != $ac_func;
103896   ;
103897   return 0;
103898 }
103899 _ACEOF
103900 rm -f conftest.$ac_objext conftest$ac_exeext
103901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103902   (eval $ac_link) 2>conftest.er1
103903   ac_status=$?
103904   grep -v '^ *+' conftest.er1 >conftest.err
103905   rm -f conftest.er1
103906   cat conftest.err >&5
103907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103908   (exit $ac_status); } &&
103909          { ac_try='test -z "$ac_c_werror_flag"
103910                          || test ! -s conftest.err'
103911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103912   (eval $ac_try) 2>&5
103913   ac_status=$?
103914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103915   (exit $ac_status); }; } &&
103916          { ac_try='test -s conftest$ac_exeext'
103917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103918   (eval $ac_try) 2>&5
103919   ac_status=$?
103920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103921   (exit $ac_status); }; }; then
103922   eval "$as_ac_var=yes"
103923 else
103924   echo "$as_me: failed program was:" >&5
103925 sed 's/^/| /' conftest.$ac_ext >&5
103926
103927 eval "$as_ac_var=no"
103928 fi
103929 rm -f conftest.err conftest.$ac_objext \
103930       conftest$ac_exeext conftest.$ac_ext
103931 fi
103932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103934 if test `eval echo '${'$as_ac_var'}'` = yes; then
103935   cat >>confdefs.h <<_ACEOF
103936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103937 _ACEOF
103938
103939 fi
103940 done
103941
103942     fi
103943   fi
103944
103945
103946
103947
103948
103949
103950   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
103951 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
103952   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
103953     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
103954   echo $ECHO_N "(cached) $ECHO_C" >&6
103955 else
103956
103957
103958
103959       ac_ext=cc
103960 ac_cpp='$CXXCPP $CPPFLAGS'
103961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103964
103965       cat >conftest.$ac_ext <<_ACEOF
103966 /* confdefs.h.  */
103967 _ACEOF
103968 cat confdefs.h >>conftest.$ac_ext
103969 cat >>conftest.$ac_ext <<_ACEOF
103970 /* end confdefs.h.  */
103971 #include <math.h>
103972                       #ifdef HAVE_IEEEFP_H
103973                       #include <ieeefp.h>
103974                       #endif
103975
103976 int
103977 main ()
103978 {
103979  sqrtl(0);
103980   ;
103981   return 0;
103982 }
103983 _ACEOF
103984 rm -f conftest.$ac_objext
103985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103986   (eval $ac_compile) 2>conftest.er1
103987   ac_status=$?
103988   grep -v '^ *+' conftest.er1 >conftest.err
103989   rm -f conftest.er1
103990   cat conftest.err >&5
103991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103992   (exit $ac_status); } &&
103993          { ac_try='test -z "$ac_cxx_werror_flag"
103994                          || test ! -s conftest.err'
103995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103996   (eval $ac_try) 2>&5
103997   ac_status=$?
103998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103999   (exit $ac_status); }; } &&
104000          { ac_try='test -s conftest.$ac_objext'
104001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104002   (eval $ac_try) 2>&5
104003   ac_status=$?
104004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104005   (exit $ac_status); }; }; then
104006   glibcxx_cv_func_sqrtl_use=yes
104007 else
104008   echo "$as_me: failed program was:" >&5
104009 sed 's/^/| /' conftest.$ac_ext >&5
104010
104011 glibcxx_cv_func_sqrtl_use=no
104012 fi
104013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104014       ac_ext=c
104015 ac_cpp='$CPP $CPPFLAGS'
104016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104019
104020
104021 fi
104022
104023   fi
104024   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104025 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104026
104027   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104028
104029 for ac_func in sqrtl
104030 do
104031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104032 echo "$as_me:$LINENO: checking for $ac_func" >&5
104033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104034 if eval "test \"\${$as_ac_var+set}\" = set"; then
104035   echo $ECHO_N "(cached) $ECHO_C" >&6
104036 else
104037   if test x$gcc_no_link = xyes; then
104038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104040    { (exit 1); exit 1; }; }
104041 fi
104042 cat >conftest.$ac_ext <<_ACEOF
104043 /* confdefs.h.  */
104044 _ACEOF
104045 cat confdefs.h >>conftest.$ac_ext
104046 cat >>conftest.$ac_ext <<_ACEOF
104047 /* end confdefs.h.  */
104048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104049    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104050 #define $ac_func innocuous_$ac_func
104051
104052 /* System header to define __stub macros and hopefully few prototypes,
104053     which can conflict with char $ac_func (); below.
104054     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104055     <limits.h> exists even on freestanding compilers.  */
104056
104057 #ifdef __STDC__
104058 # include <limits.h>
104059 #else
104060 # include <assert.h>
104061 #endif
104062
104063 #undef $ac_func
104064
104065 /* Override any gcc2 internal prototype to avoid an error.  */
104066 #ifdef __cplusplus
104067 extern "C"
104068 {
104069 #endif
104070 /* We use char because int might match the return type of a gcc2
104071    builtin and then its argument prototype would still apply.  */
104072 char $ac_func ();
104073 /* The GNU C library defines this for functions which it implements
104074     to always fail with ENOSYS.  Some functions are actually named
104075     something starting with __ and the normal name is an alias.  */
104076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104077 choke me
104078 #else
104079 char (*f) () = $ac_func;
104080 #endif
104081 #ifdef __cplusplus
104082 }
104083 #endif
104084
104085 int
104086 main ()
104087 {
104088 return f != $ac_func;
104089   ;
104090   return 0;
104091 }
104092 _ACEOF
104093 rm -f conftest.$ac_objext conftest$ac_exeext
104094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104095   (eval $ac_link) 2>conftest.er1
104096   ac_status=$?
104097   grep -v '^ *+' conftest.er1 >conftest.err
104098   rm -f conftest.er1
104099   cat conftest.err >&5
104100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104101   (exit $ac_status); } &&
104102          { ac_try='test -z "$ac_c_werror_flag"
104103                          || test ! -s conftest.err'
104104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104105   (eval $ac_try) 2>&5
104106   ac_status=$?
104107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104108   (exit $ac_status); }; } &&
104109          { ac_try='test -s conftest$ac_exeext'
104110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104111   (eval $ac_try) 2>&5
104112   ac_status=$?
104113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104114   (exit $ac_status); }; }; then
104115   eval "$as_ac_var=yes"
104116 else
104117   echo "$as_me: failed program was:" >&5
104118 sed 's/^/| /' conftest.$ac_ext >&5
104119
104120 eval "$as_ac_var=no"
104121 fi
104122 rm -f conftest.err conftest.$ac_objext \
104123       conftest$ac_exeext conftest.$ac_ext
104124 fi
104125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104127 if test `eval echo '${'$as_ac_var'}'` = yes; then
104128   cat >>confdefs.h <<_ACEOF
104129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104130 _ACEOF
104131
104132 fi
104133 done
104134
104135   else
104136
104137   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104138 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104139   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104140     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104141   echo $ECHO_N "(cached) $ECHO_C" >&6
104142 else
104143
104144
104145
104146       ac_ext=cc
104147 ac_cpp='$CXXCPP $CPPFLAGS'
104148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104151
104152       cat >conftest.$ac_ext <<_ACEOF
104153 /* confdefs.h.  */
104154 _ACEOF
104155 cat confdefs.h >>conftest.$ac_ext
104156 cat >>conftest.$ac_ext <<_ACEOF
104157 /* end confdefs.h.  */
104158 #include <math.h>
104159                       #ifdef HAVE_IEEEFP_H
104160                       #include <ieeefp.h>
104161                       #endif
104162
104163 int
104164 main ()
104165 {
104166  _sqrtl(0);
104167   ;
104168   return 0;
104169 }
104170 _ACEOF
104171 rm -f conftest.$ac_objext
104172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104173   (eval $ac_compile) 2>conftest.er1
104174   ac_status=$?
104175   grep -v '^ *+' conftest.er1 >conftest.err
104176   rm -f conftest.er1
104177   cat conftest.err >&5
104178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104179   (exit $ac_status); } &&
104180          { ac_try='test -z "$ac_cxx_werror_flag"
104181                          || test ! -s conftest.err'
104182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104183   (eval $ac_try) 2>&5
104184   ac_status=$?
104185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104186   (exit $ac_status); }; } &&
104187          { ac_try='test -s conftest.$ac_objext'
104188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104189   (eval $ac_try) 2>&5
104190   ac_status=$?
104191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104192   (exit $ac_status); }; }; then
104193   glibcxx_cv_func__sqrtl_use=yes
104194 else
104195   echo "$as_me: failed program was:" >&5
104196 sed 's/^/| /' conftest.$ac_ext >&5
104197
104198 glibcxx_cv_func__sqrtl_use=no
104199 fi
104200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104201       ac_ext=c
104202 ac_cpp='$CPP $CPPFLAGS'
104203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104206
104207
104208 fi
104209
104210   fi
104211   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104212 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104213
104214     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104215
104216 for ac_func in _sqrtl
104217 do
104218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104219 echo "$as_me:$LINENO: checking for $ac_func" >&5
104220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104221 if eval "test \"\${$as_ac_var+set}\" = set"; then
104222   echo $ECHO_N "(cached) $ECHO_C" >&6
104223 else
104224   if test x$gcc_no_link = xyes; then
104225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104227    { (exit 1); exit 1; }; }
104228 fi
104229 cat >conftest.$ac_ext <<_ACEOF
104230 /* confdefs.h.  */
104231 _ACEOF
104232 cat confdefs.h >>conftest.$ac_ext
104233 cat >>conftest.$ac_ext <<_ACEOF
104234 /* end confdefs.h.  */
104235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104236    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104237 #define $ac_func innocuous_$ac_func
104238
104239 /* System header to define __stub macros and hopefully few prototypes,
104240     which can conflict with char $ac_func (); below.
104241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104242     <limits.h> exists even on freestanding compilers.  */
104243
104244 #ifdef __STDC__
104245 # include <limits.h>
104246 #else
104247 # include <assert.h>
104248 #endif
104249
104250 #undef $ac_func
104251
104252 /* Override any gcc2 internal prototype to avoid an error.  */
104253 #ifdef __cplusplus
104254 extern "C"
104255 {
104256 #endif
104257 /* We use char because int might match the return type of a gcc2
104258    builtin and then its argument prototype would still apply.  */
104259 char $ac_func ();
104260 /* The GNU C library defines this for functions which it implements
104261     to always fail with ENOSYS.  Some functions are actually named
104262     something starting with __ and the normal name is an alias.  */
104263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104264 choke me
104265 #else
104266 char (*f) () = $ac_func;
104267 #endif
104268 #ifdef __cplusplus
104269 }
104270 #endif
104271
104272 int
104273 main ()
104274 {
104275 return f != $ac_func;
104276   ;
104277   return 0;
104278 }
104279 _ACEOF
104280 rm -f conftest.$ac_objext conftest$ac_exeext
104281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104282   (eval $ac_link) 2>conftest.er1
104283   ac_status=$?
104284   grep -v '^ *+' conftest.er1 >conftest.err
104285   rm -f conftest.er1
104286   cat conftest.err >&5
104287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104288   (exit $ac_status); } &&
104289          { ac_try='test -z "$ac_c_werror_flag"
104290                          || test ! -s conftest.err'
104291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104292   (eval $ac_try) 2>&5
104293   ac_status=$?
104294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104295   (exit $ac_status); }; } &&
104296          { ac_try='test -s conftest$ac_exeext'
104297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104298   (eval $ac_try) 2>&5
104299   ac_status=$?
104300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104301   (exit $ac_status); }; }; then
104302   eval "$as_ac_var=yes"
104303 else
104304   echo "$as_me: failed program was:" >&5
104305 sed 's/^/| /' conftest.$ac_ext >&5
104306
104307 eval "$as_ac_var=no"
104308 fi
104309 rm -f conftest.err conftest.$ac_objext \
104310       conftest$ac_exeext conftest.$ac_ext
104311 fi
104312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104314 if test `eval echo '${'$as_ac_var'}'` = yes; then
104315   cat >>confdefs.h <<_ACEOF
104316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104317 _ACEOF
104318
104319 fi
104320 done
104321
104322     fi
104323   fi
104324
104325
104326
104327
104328
104329
104330   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104331 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104332   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104333     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104334   echo $ECHO_N "(cached) $ECHO_C" >&6
104335 else
104336
104337
104338
104339       ac_ext=cc
104340 ac_cpp='$CXXCPP $CPPFLAGS'
104341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104344
104345       cat >conftest.$ac_ext <<_ACEOF
104346 /* confdefs.h.  */
104347 _ACEOF
104348 cat confdefs.h >>conftest.$ac_ext
104349 cat >>conftest.$ac_ext <<_ACEOF
104350 /* end confdefs.h.  */
104351 #include <math.h>
104352 int
104353 main ()
104354 {
104355  sincosl(0, 0, 0);
104356   ;
104357   return 0;
104358 }
104359 _ACEOF
104360 rm -f conftest.$ac_objext
104361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104362   (eval $ac_compile) 2>conftest.er1
104363   ac_status=$?
104364   grep -v '^ *+' conftest.er1 >conftest.err
104365   rm -f conftest.er1
104366   cat conftest.err >&5
104367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104368   (exit $ac_status); } &&
104369          { ac_try='test -z "$ac_cxx_werror_flag"
104370                          || test ! -s conftest.err'
104371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104372   (eval $ac_try) 2>&5
104373   ac_status=$?
104374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104375   (exit $ac_status); }; } &&
104376          { ac_try='test -s conftest.$ac_objext'
104377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104378   (eval $ac_try) 2>&5
104379   ac_status=$?
104380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104381   (exit $ac_status); }; }; then
104382   glibcxx_cv_func_sincosl_use=yes
104383 else
104384   echo "$as_me: failed program was:" >&5
104385 sed 's/^/| /' conftest.$ac_ext >&5
104386
104387 glibcxx_cv_func_sincosl_use=no
104388 fi
104389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104390       ac_ext=c
104391 ac_cpp='$CPP $CPPFLAGS'
104392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104395
104396
104397 fi
104398
104399   fi
104400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104401 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104402
104403   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104404
104405 for ac_func in sincosl
104406 do
104407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104408 echo "$as_me:$LINENO: checking for $ac_func" >&5
104409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104410 if eval "test \"\${$as_ac_var+set}\" = set"; then
104411   echo $ECHO_N "(cached) $ECHO_C" >&6
104412 else
104413   if test x$gcc_no_link = xyes; then
104414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104416    { (exit 1); exit 1; }; }
104417 fi
104418 cat >conftest.$ac_ext <<_ACEOF
104419 /* confdefs.h.  */
104420 _ACEOF
104421 cat confdefs.h >>conftest.$ac_ext
104422 cat >>conftest.$ac_ext <<_ACEOF
104423 /* end confdefs.h.  */
104424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104426 #define $ac_func innocuous_$ac_func
104427
104428 /* System header to define __stub macros and hopefully few prototypes,
104429     which can conflict with char $ac_func (); below.
104430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104431     <limits.h> exists even on freestanding compilers.  */
104432
104433 #ifdef __STDC__
104434 # include <limits.h>
104435 #else
104436 # include <assert.h>
104437 #endif
104438
104439 #undef $ac_func
104440
104441 /* Override any gcc2 internal prototype to avoid an error.  */
104442 #ifdef __cplusplus
104443 extern "C"
104444 {
104445 #endif
104446 /* We use char because int might match the return type of a gcc2
104447    builtin and then its argument prototype would still apply.  */
104448 char $ac_func ();
104449 /* The GNU C library defines this for functions which it implements
104450     to always fail with ENOSYS.  Some functions are actually named
104451     something starting with __ and the normal name is an alias.  */
104452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104453 choke me
104454 #else
104455 char (*f) () = $ac_func;
104456 #endif
104457 #ifdef __cplusplus
104458 }
104459 #endif
104460
104461 int
104462 main ()
104463 {
104464 return f != $ac_func;
104465   ;
104466   return 0;
104467 }
104468 _ACEOF
104469 rm -f conftest.$ac_objext conftest$ac_exeext
104470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104471   (eval $ac_link) 2>conftest.er1
104472   ac_status=$?
104473   grep -v '^ *+' conftest.er1 >conftest.err
104474   rm -f conftest.er1
104475   cat conftest.err >&5
104476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104477   (exit $ac_status); } &&
104478          { ac_try='test -z "$ac_c_werror_flag"
104479                          || test ! -s conftest.err'
104480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104481   (eval $ac_try) 2>&5
104482   ac_status=$?
104483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104484   (exit $ac_status); }; } &&
104485          { ac_try='test -s conftest$ac_exeext'
104486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104487   (eval $ac_try) 2>&5
104488   ac_status=$?
104489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104490   (exit $ac_status); }; }; then
104491   eval "$as_ac_var=yes"
104492 else
104493   echo "$as_me: failed program was:" >&5
104494 sed 's/^/| /' conftest.$ac_ext >&5
104495
104496 eval "$as_ac_var=no"
104497 fi
104498 rm -f conftest.err conftest.$ac_objext \
104499       conftest$ac_exeext conftest.$ac_ext
104500 fi
104501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104503 if test `eval echo '${'$as_ac_var'}'` = yes; then
104504   cat >>confdefs.h <<_ACEOF
104505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104506 _ACEOF
104507
104508 fi
104509 done
104510
104511   else
104512
104513   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104514 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104515   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104516     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104517   echo $ECHO_N "(cached) $ECHO_C" >&6
104518 else
104519
104520
104521
104522       ac_ext=cc
104523 ac_cpp='$CXXCPP $CPPFLAGS'
104524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104527
104528       cat >conftest.$ac_ext <<_ACEOF
104529 /* confdefs.h.  */
104530 _ACEOF
104531 cat confdefs.h >>conftest.$ac_ext
104532 cat >>conftest.$ac_ext <<_ACEOF
104533 /* end confdefs.h.  */
104534 #include <math.h>
104535 int
104536 main ()
104537 {
104538  _sincosl(0, 0, 0);
104539   ;
104540   return 0;
104541 }
104542 _ACEOF
104543 rm -f conftest.$ac_objext
104544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104545   (eval $ac_compile) 2>conftest.er1
104546   ac_status=$?
104547   grep -v '^ *+' conftest.er1 >conftest.err
104548   rm -f conftest.er1
104549   cat conftest.err >&5
104550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104551   (exit $ac_status); } &&
104552          { ac_try='test -z "$ac_cxx_werror_flag"
104553                          || test ! -s conftest.err'
104554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104555   (eval $ac_try) 2>&5
104556   ac_status=$?
104557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104558   (exit $ac_status); }; } &&
104559          { ac_try='test -s conftest.$ac_objext'
104560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104561   (eval $ac_try) 2>&5
104562   ac_status=$?
104563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104564   (exit $ac_status); }; }; then
104565   glibcxx_cv_func__sincosl_use=yes
104566 else
104567   echo "$as_me: failed program was:" >&5
104568 sed 's/^/| /' conftest.$ac_ext >&5
104569
104570 glibcxx_cv_func__sincosl_use=no
104571 fi
104572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104573       ac_ext=c
104574 ac_cpp='$CPP $CPPFLAGS'
104575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104578
104579
104580 fi
104581
104582   fi
104583   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104584 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104585
104586     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104587
104588 for ac_func in _sincosl
104589 do
104590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104591 echo "$as_me:$LINENO: checking for $ac_func" >&5
104592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104593 if eval "test \"\${$as_ac_var+set}\" = set"; then
104594   echo $ECHO_N "(cached) $ECHO_C" >&6
104595 else
104596   if test x$gcc_no_link = xyes; then
104597   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104599    { (exit 1); exit 1; }; }
104600 fi
104601 cat >conftest.$ac_ext <<_ACEOF
104602 /* confdefs.h.  */
104603 _ACEOF
104604 cat confdefs.h >>conftest.$ac_ext
104605 cat >>conftest.$ac_ext <<_ACEOF
104606 /* end confdefs.h.  */
104607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104609 #define $ac_func innocuous_$ac_func
104610
104611 /* System header to define __stub macros and hopefully few prototypes,
104612     which can conflict with char $ac_func (); below.
104613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104614     <limits.h> exists even on freestanding compilers.  */
104615
104616 #ifdef __STDC__
104617 # include <limits.h>
104618 #else
104619 # include <assert.h>
104620 #endif
104621
104622 #undef $ac_func
104623
104624 /* Override any gcc2 internal prototype to avoid an error.  */
104625 #ifdef __cplusplus
104626 extern "C"
104627 {
104628 #endif
104629 /* We use char because int might match the return type of a gcc2
104630    builtin and then its argument prototype would still apply.  */
104631 char $ac_func ();
104632 /* The GNU C library defines this for functions which it implements
104633     to always fail with ENOSYS.  Some functions are actually named
104634     something starting with __ and the normal name is an alias.  */
104635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104636 choke me
104637 #else
104638 char (*f) () = $ac_func;
104639 #endif
104640 #ifdef __cplusplus
104641 }
104642 #endif
104643
104644 int
104645 main ()
104646 {
104647 return f != $ac_func;
104648   ;
104649   return 0;
104650 }
104651 _ACEOF
104652 rm -f conftest.$ac_objext conftest$ac_exeext
104653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104654   (eval $ac_link) 2>conftest.er1
104655   ac_status=$?
104656   grep -v '^ *+' conftest.er1 >conftest.err
104657   rm -f conftest.er1
104658   cat conftest.err >&5
104659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104660   (exit $ac_status); } &&
104661          { ac_try='test -z "$ac_c_werror_flag"
104662                          || test ! -s conftest.err'
104663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104664   (eval $ac_try) 2>&5
104665   ac_status=$?
104666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104667   (exit $ac_status); }; } &&
104668          { ac_try='test -s conftest$ac_exeext'
104669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104670   (eval $ac_try) 2>&5
104671   ac_status=$?
104672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104673   (exit $ac_status); }; }; then
104674   eval "$as_ac_var=yes"
104675 else
104676   echo "$as_me: failed program was:" >&5
104677 sed 's/^/| /' conftest.$ac_ext >&5
104678
104679 eval "$as_ac_var=no"
104680 fi
104681 rm -f conftest.err conftest.$ac_objext \
104682       conftest$ac_exeext conftest.$ac_ext
104683 fi
104684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104686 if test `eval echo '${'$as_ac_var'}'` = yes; then
104687   cat >>confdefs.h <<_ACEOF
104688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104689 _ACEOF
104690
104691 fi
104692 done
104693
104694     fi
104695   fi
104696
104697
104698
104699
104700
104701
104702   echo "$as_me:$LINENO: checking for finitel declaration" >&5
104703 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104704   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104705     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104706   echo $ECHO_N "(cached) $ECHO_C" >&6
104707 else
104708
104709
104710
104711       ac_ext=cc
104712 ac_cpp='$CXXCPP $CPPFLAGS'
104713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104716
104717       cat >conftest.$ac_ext <<_ACEOF
104718 /* confdefs.h.  */
104719 _ACEOF
104720 cat confdefs.h >>conftest.$ac_ext
104721 cat >>conftest.$ac_ext <<_ACEOF
104722 /* end confdefs.h.  */
104723 #include <math.h>
104724                       #ifdef HAVE_IEEEFP_H
104725                       #include <ieeefp.h>
104726                       #endif
104727
104728 int
104729 main ()
104730 {
104731  finitel(0);
104732   ;
104733   return 0;
104734 }
104735 _ACEOF
104736 rm -f conftest.$ac_objext
104737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104738   (eval $ac_compile) 2>conftest.er1
104739   ac_status=$?
104740   grep -v '^ *+' conftest.er1 >conftest.err
104741   rm -f conftest.er1
104742   cat conftest.err >&5
104743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104744   (exit $ac_status); } &&
104745          { ac_try='test -z "$ac_cxx_werror_flag"
104746                          || test ! -s conftest.err'
104747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104748   (eval $ac_try) 2>&5
104749   ac_status=$?
104750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104751   (exit $ac_status); }; } &&
104752          { ac_try='test -s conftest.$ac_objext'
104753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104754   (eval $ac_try) 2>&5
104755   ac_status=$?
104756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104757   (exit $ac_status); }; }; then
104758   glibcxx_cv_func_finitel_use=yes
104759 else
104760   echo "$as_me: failed program was:" >&5
104761 sed 's/^/| /' conftest.$ac_ext >&5
104762
104763 glibcxx_cv_func_finitel_use=no
104764 fi
104765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104766       ac_ext=c
104767 ac_cpp='$CPP $CPPFLAGS'
104768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104771
104772
104773 fi
104774
104775   fi
104776   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104777 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104778
104779   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104780
104781 for ac_func in finitel
104782 do
104783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104784 echo "$as_me:$LINENO: checking for $ac_func" >&5
104785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104786 if eval "test \"\${$as_ac_var+set}\" = set"; then
104787   echo $ECHO_N "(cached) $ECHO_C" >&6
104788 else
104789   if test x$gcc_no_link = xyes; then
104790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104792    { (exit 1); exit 1; }; }
104793 fi
104794 cat >conftest.$ac_ext <<_ACEOF
104795 /* confdefs.h.  */
104796 _ACEOF
104797 cat confdefs.h >>conftest.$ac_ext
104798 cat >>conftest.$ac_ext <<_ACEOF
104799 /* end confdefs.h.  */
104800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104802 #define $ac_func innocuous_$ac_func
104803
104804 /* System header to define __stub macros and hopefully few prototypes,
104805     which can conflict with char $ac_func (); below.
104806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104807     <limits.h> exists even on freestanding compilers.  */
104808
104809 #ifdef __STDC__
104810 # include <limits.h>
104811 #else
104812 # include <assert.h>
104813 #endif
104814
104815 #undef $ac_func
104816
104817 /* Override any gcc2 internal prototype to avoid an error.  */
104818 #ifdef __cplusplus
104819 extern "C"
104820 {
104821 #endif
104822 /* We use char because int might match the return type of a gcc2
104823    builtin and then its argument prototype would still apply.  */
104824 char $ac_func ();
104825 /* The GNU C library defines this for functions which it implements
104826     to always fail with ENOSYS.  Some functions are actually named
104827     something starting with __ and the normal name is an alias.  */
104828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104829 choke me
104830 #else
104831 char (*f) () = $ac_func;
104832 #endif
104833 #ifdef __cplusplus
104834 }
104835 #endif
104836
104837 int
104838 main ()
104839 {
104840 return f != $ac_func;
104841   ;
104842   return 0;
104843 }
104844 _ACEOF
104845 rm -f conftest.$ac_objext conftest$ac_exeext
104846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104847   (eval $ac_link) 2>conftest.er1
104848   ac_status=$?
104849   grep -v '^ *+' conftest.er1 >conftest.err
104850   rm -f conftest.er1
104851   cat conftest.err >&5
104852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104853   (exit $ac_status); } &&
104854          { ac_try='test -z "$ac_c_werror_flag"
104855                          || test ! -s conftest.err'
104856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104857   (eval $ac_try) 2>&5
104858   ac_status=$?
104859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104860   (exit $ac_status); }; } &&
104861          { ac_try='test -s conftest$ac_exeext'
104862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104863   (eval $ac_try) 2>&5
104864   ac_status=$?
104865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104866   (exit $ac_status); }; }; then
104867   eval "$as_ac_var=yes"
104868 else
104869   echo "$as_me: failed program was:" >&5
104870 sed 's/^/| /' conftest.$ac_ext >&5
104871
104872 eval "$as_ac_var=no"
104873 fi
104874 rm -f conftest.err conftest.$ac_objext \
104875       conftest$ac_exeext conftest.$ac_ext
104876 fi
104877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104879 if test `eval echo '${'$as_ac_var'}'` = yes; then
104880   cat >>confdefs.h <<_ACEOF
104881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104882 _ACEOF
104883
104884 fi
104885 done
104886
104887   else
104888
104889   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
104890 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
104891   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
104892     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
104893   echo $ECHO_N "(cached) $ECHO_C" >&6
104894 else
104895
104896
104897
104898       ac_ext=cc
104899 ac_cpp='$CXXCPP $CPPFLAGS'
104900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104903
104904       cat >conftest.$ac_ext <<_ACEOF
104905 /* confdefs.h.  */
104906 _ACEOF
104907 cat confdefs.h >>conftest.$ac_ext
104908 cat >>conftest.$ac_ext <<_ACEOF
104909 /* end confdefs.h.  */
104910 #include <math.h>
104911                       #ifdef HAVE_IEEEFP_H
104912                       #include <ieeefp.h>
104913                       #endif
104914
104915 int
104916 main ()
104917 {
104918  _finitel(0);
104919   ;
104920   return 0;
104921 }
104922 _ACEOF
104923 rm -f conftest.$ac_objext
104924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104925   (eval $ac_compile) 2>conftest.er1
104926   ac_status=$?
104927   grep -v '^ *+' conftest.er1 >conftest.err
104928   rm -f conftest.er1
104929   cat conftest.err >&5
104930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104931   (exit $ac_status); } &&
104932          { ac_try='test -z "$ac_cxx_werror_flag"
104933                          || test ! -s conftest.err'
104934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104935   (eval $ac_try) 2>&5
104936   ac_status=$?
104937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104938   (exit $ac_status); }; } &&
104939          { ac_try='test -s conftest.$ac_objext'
104940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104941   (eval $ac_try) 2>&5
104942   ac_status=$?
104943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104944   (exit $ac_status); }; }; then
104945   glibcxx_cv_func__finitel_use=yes
104946 else
104947   echo "$as_me: failed program was:" >&5
104948 sed 's/^/| /' conftest.$ac_ext >&5
104949
104950 glibcxx_cv_func__finitel_use=no
104951 fi
104952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104953       ac_ext=c
104954 ac_cpp='$CPP $CPPFLAGS'
104955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104958
104959
104960 fi
104961
104962   fi
104963   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104964 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104965
104966     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104967
104968 for ac_func in _finitel
104969 do
104970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104971 echo "$as_me:$LINENO: checking for $ac_func" >&5
104972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104973 if eval "test \"\${$as_ac_var+set}\" = set"; then
104974   echo $ECHO_N "(cached) $ECHO_C" >&6
104975 else
104976   if test x$gcc_no_link = xyes; then
104977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104979    { (exit 1); exit 1; }; }
104980 fi
104981 cat >conftest.$ac_ext <<_ACEOF
104982 /* confdefs.h.  */
104983 _ACEOF
104984 cat confdefs.h >>conftest.$ac_ext
104985 cat >>conftest.$ac_ext <<_ACEOF
104986 /* end confdefs.h.  */
104987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104989 #define $ac_func innocuous_$ac_func
104990
104991 /* System header to define __stub macros and hopefully few prototypes,
104992     which can conflict with char $ac_func (); below.
104993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104994     <limits.h> exists even on freestanding compilers.  */
104995
104996 #ifdef __STDC__
104997 # include <limits.h>
104998 #else
104999 # include <assert.h>
105000 #endif
105001
105002 #undef $ac_func
105003
105004 /* Override any gcc2 internal prototype to avoid an error.  */
105005 #ifdef __cplusplus
105006 extern "C"
105007 {
105008 #endif
105009 /* We use char because int might match the return type of a gcc2
105010    builtin and then its argument prototype would still apply.  */
105011 char $ac_func ();
105012 /* The GNU C library defines this for functions which it implements
105013     to always fail with ENOSYS.  Some functions are actually named
105014     something starting with __ and the normal name is an alias.  */
105015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105016 choke me
105017 #else
105018 char (*f) () = $ac_func;
105019 #endif
105020 #ifdef __cplusplus
105021 }
105022 #endif
105023
105024 int
105025 main ()
105026 {
105027 return f != $ac_func;
105028   ;
105029   return 0;
105030 }
105031 _ACEOF
105032 rm -f conftest.$ac_objext conftest$ac_exeext
105033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105034   (eval $ac_link) 2>conftest.er1
105035   ac_status=$?
105036   grep -v '^ *+' conftest.er1 >conftest.err
105037   rm -f conftest.er1
105038   cat conftest.err >&5
105039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105040   (exit $ac_status); } &&
105041          { ac_try='test -z "$ac_c_werror_flag"
105042                          || test ! -s conftest.err'
105043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105044   (eval $ac_try) 2>&5
105045   ac_status=$?
105046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105047   (exit $ac_status); }; } &&
105048          { ac_try='test -s conftest$ac_exeext'
105049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105050   (eval $ac_try) 2>&5
105051   ac_status=$?
105052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105053   (exit $ac_status); }; }; then
105054   eval "$as_ac_var=yes"
105055 else
105056   echo "$as_me: failed program was:" >&5
105057 sed 's/^/| /' conftest.$ac_ext >&5
105058
105059 eval "$as_ac_var=no"
105060 fi
105061 rm -f conftest.err conftest.$ac_objext \
105062       conftest$ac_exeext conftest.$ac_ext
105063 fi
105064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105066 if test `eval echo '${'$as_ac_var'}'` = yes; then
105067   cat >>confdefs.h <<_ACEOF
105068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105069 _ACEOF
105070
105071 fi
105072 done
105073
105074     fi
105075   fi
105076
105077
105078
105079
105080
105081   LIBS="$ac_save_LIBS"
105082   CXXFLAGS="$ac_save_CXXFLAGS"
105083
105084
105085
105086   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105087 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105088   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105089     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105090   echo $ECHO_N "(cached) $ECHO_C" >&6
105091 else
105092
105093
105094
105095       ac_ext=cc
105096 ac_cpp='$CXXCPP $CPPFLAGS'
105097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105100
105101       cat >conftest.$ac_ext <<_ACEOF
105102 /* confdefs.h.  */
105103 _ACEOF
105104 cat confdefs.h >>conftest.$ac_ext
105105 cat >>conftest.$ac_ext <<_ACEOF
105106 /* end confdefs.h.  */
105107 #include <math.h>
105108 int
105109 main ()
105110 {
105111  __builtin_abs(0);
105112   ;
105113   return 0;
105114 }
105115 _ACEOF
105116 rm -f conftest.$ac_objext
105117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105118   (eval $ac_compile) 2>conftest.er1
105119   ac_status=$?
105120   grep -v '^ *+' conftest.er1 >conftest.err
105121   rm -f conftest.er1
105122   cat conftest.err >&5
105123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105124   (exit $ac_status); } &&
105125          { ac_try='test -z "$ac_cxx_werror_flag"
105126                          || test ! -s conftest.err'
105127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105128   (eval $ac_try) 2>&5
105129   ac_status=$?
105130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105131   (exit $ac_status); }; } &&
105132          { ac_try='test -s conftest.$ac_objext'
105133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105134   (eval $ac_try) 2>&5
105135   ac_status=$?
105136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105137   (exit $ac_status); }; }; then
105138   glibcxx_cv_func___builtin_abs_use=yes
105139 else
105140   echo "$as_me: failed program was:" >&5
105141 sed 's/^/| /' conftest.$ac_ext >&5
105142
105143 glibcxx_cv_func___builtin_abs_use=no
105144 fi
105145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105146       ac_ext=c
105147 ac_cpp='$CPP $CPPFLAGS'
105148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105151
105152
105153 fi
105154
105155   fi
105156   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105157 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105158   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105159     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105160 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105161     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105162       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105163   echo $ECHO_N "(cached) $ECHO_C" >&6
105164 else
105165
105166         if test x$gcc_no_link = xyes; then
105167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105169    { (exit 1); exit 1; }; }
105170 fi
105171 cat >conftest.$ac_ext <<_ACEOF
105172 /* confdefs.h.  */
105173 _ACEOF
105174 cat confdefs.h >>conftest.$ac_ext
105175 cat >>conftest.$ac_ext <<_ACEOF
105176 /* end confdefs.h.  */
105177 #include <math.h>
105178 int
105179 main ()
105180 {
105181  __builtin_abs(0);
105182   ;
105183   return 0;
105184 }
105185 _ACEOF
105186 rm -f conftest.$ac_objext conftest$ac_exeext
105187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105188   (eval $ac_link) 2>conftest.er1
105189   ac_status=$?
105190   grep -v '^ *+' conftest.er1 >conftest.err
105191   rm -f conftest.er1
105192   cat conftest.err >&5
105193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105194   (exit $ac_status); } &&
105195          { ac_try='test -z "$ac_c_werror_flag"
105196                          || test ! -s conftest.err'
105197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105198   (eval $ac_try) 2>&5
105199   ac_status=$?
105200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105201   (exit $ac_status); }; } &&
105202          { ac_try='test -s conftest$ac_exeext'
105203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105204   (eval $ac_try) 2>&5
105205   ac_status=$?
105206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105207   (exit $ac_status); }; }; then
105208   glibcxx_cv_func___builtin_abs_link=yes
105209 else
105210   echo "$as_me: failed program was:" >&5
105211 sed 's/^/| /' conftest.$ac_ext >&5
105212
105213 glibcxx_cv_func___builtin_abs_link=no
105214 fi
105215 rm -f conftest.err conftest.$ac_objext \
105216       conftest$ac_exeext conftest.$ac_ext
105217
105218 fi
105219
105220     fi
105221     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105222 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105223
105224     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105225
105226 cat >>confdefs.h <<\_ACEOF
105227 #define HAVE___BUILTIN_ABS 1
105228 _ACEOF
105229
105230     fi
105231
105232   fi
105233
105234
105235   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105236 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105237   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105238     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105239   echo $ECHO_N "(cached) $ECHO_C" >&6
105240 else
105241
105242
105243
105244       ac_ext=cc
105245 ac_cpp='$CXXCPP $CPPFLAGS'
105246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105249
105250       cat >conftest.$ac_ext <<_ACEOF
105251 /* confdefs.h.  */
105252 _ACEOF
105253 cat confdefs.h >>conftest.$ac_ext
105254 cat >>conftest.$ac_ext <<_ACEOF
105255 /* end confdefs.h.  */
105256 #include <math.h>
105257 int
105258 main ()
105259 {
105260  __builtin_fabsf(0);
105261   ;
105262   return 0;
105263 }
105264 _ACEOF
105265 rm -f conftest.$ac_objext
105266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105267   (eval $ac_compile) 2>conftest.er1
105268   ac_status=$?
105269   grep -v '^ *+' conftest.er1 >conftest.err
105270   rm -f conftest.er1
105271   cat conftest.err >&5
105272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105273   (exit $ac_status); } &&
105274          { ac_try='test -z "$ac_cxx_werror_flag"
105275                          || test ! -s conftest.err'
105276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105277   (eval $ac_try) 2>&5
105278   ac_status=$?
105279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105280   (exit $ac_status); }; } &&
105281          { ac_try='test -s conftest.$ac_objext'
105282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105283   (eval $ac_try) 2>&5
105284   ac_status=$?
105285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105286   (exit $ac_status); }; }; then
105287   glibcxx_cv_func___builtin_fabsf_use=yes
105288 else
105289   echo "$as_me: failed program was:" >&5
105290 sed 's/^/| /' conftest.$ac_ext >&5
105291
105292 glibcxx_cv_func___builtin_fabsf_use=no
105293 fi
105294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105295       ac_ext=c
105296 ac_cpp='$CPP $CPPFLAGS'
105297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105300
105301
105302 fi
105303
105304   fi
105305   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105306 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105307   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105308     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105309 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105310     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105311       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105312   echo $ECHO_N "(cached) $ECHO_C" >&6
105313 else
105314
105315         if test x$gcc_no_link = xyes; then
105316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105318    { (exit 1); exit 1; }; }
105319 fi
105320 cat >conftest.$ac_ext <<_ACEOF
105321 /* confdefs.h.  */
105322 _ACEOF
105323 cat confdefs.h >>conftest.$ac_ext
105324 cat >>conftest.$ac_ext <<_ACEOF
105325 /* end confdefs.h.  */
105326 #include <math.h>
105327 int
105328 main ()
105329 {
105330  __builtin_fabsf(0);
105331   ;
105332   return 0;
105333 }
105334 _ACEOF
105335 rm -f conftest.$ac_objext conftest$ac_exeext
105336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105337   (eval $ac_link) 2>conftest.er1
105338   ac_status=$?
105339   grep -v '^ *+' conftest.er1 >conftest.err
105340   rm -f conftest.er1
105341   cat conftest.err >&5
105342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105343   (exit $ac_status); } &&
105344          { ac_try='test -z "$ac_c_werror_flag"
105345                          || test ! -s conftest.err'
105346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105347   (eval $ac_try) 2>&5
105348   ac_status=$?
105349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105350   (exit $ac_status); }; } &&
105351          { ac_try='test -s conftest$ac_exeext'
105352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105353   (eval $ac_try) 2>&5
105354   ac_status=$?
105355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105356   (exit $ac_status); }; }; then
105357   glibcxx_cv_func___builtin_fabsf_link=yes
105358 else
105359   echo "$as_me: failed program was:" >&5
105360 sed 's/^/| /' conftest.$ac_ext >&5
105361
105362 glibcxx_cv_func___builtin_fabsf_link=no
105363 fi
105364 rm -f conftest.err conftest.$ac_objext \
105365       conftest$ac_exeext conftest.$ac_ext
105366
105367 fi
105368
105369     fi
105370     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105371 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105372
105373     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105374
105375 cat >>confdefs.h <<\_ACEOF
105376 #define HAVE___BUILTIN_FABSF 1
105377 _ACEOF
105378
105379     fi
105380
105381   fi
105382
105383
105384   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105385 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105386   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105387     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105388   echo $ECHO_N "(cached) $ECHO_C" >&6
105389 else
105390
105391
105392
105393       ac_ext=cc
105394 ac_cpp='$CXXCPP $CPPFLAGS'
105395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105398
105399       cat >conftest.$ac_ext <<_ACEOF
105400 /* confdefs.h.  */
105401 _ACEOF
105402 cat confdefs.h >>conftest.$ac_ext
105403 cat >>conftest.$ac_ext <<_ACEOF
105404 /* end confdefs.h.  */
105405 #include <math.h>
105406 int
105407 main ()
105408 {
105409  __builtin_fabs(0);
105410   ;
105411   return 0;
105412 }
105413 _ACEOF
105414 rm -f conftest.$ac_objext
105415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105416   (eval $ac_compile) 2>conftest.er1
105417   ac_status=$?
105418   grep -v '^ *+' conftest.er1 >conftest.err
105419   rm -f conftest.er1
105420   cat conftest.err >&5
105421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105422   (exit $ac_status); } &&
105423          { ac_try='test -z "$ac_cxx_werror_flag"
105424                          || test ! -s conftest.err'
105425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105426   (eval $ac_try) 2>&5
105427   ac_status=$?
105428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105429   (exit $ac_status); }; } &&
105430          { ac_try='test -s conftest.$ac_objext'
105431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105432   (eval $ac_try) 2>&5
105433   ac_status=$?
105434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105435   (exit $ac_status); }; }; then
105436   glibcxx_cv_func___builtin_fabs_use=yes
105437 else
105438   echo "$as_me: failed program was:" >&5
105439 sed 's/^/| /' conftest.$ac_ext >&5
105440
105441 glibcxx_cv_func___builtin_fabs_use=no
105442 fi
105443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105444       ac_ext=c
105445 ac_cpp='$CPP $CPPFLAGS'
105446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105449
105450
105451 fi
105452
105453   fi
105454   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105455 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105456   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105457     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105458 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105459     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105460       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105461   echo $ECHO_N "(cached) $ECHO_C" >&6
105462 else
105463
105464         if test x$gcc_no_link = xyes; then
105465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105467    { (exit 1); exit 1; }; }
105468 fi
105469 cat >conftest.$ac_ext <<_ACEOF
105470 /* confdefs.h.  */
105471 _ACEOF
105472 cat confdefs.h >>conftest.$ac_ext
105473 cat >>conftest.$ac_ext <<_ACEOF
105474 /* end confdefs.h.  */
105475 #include <math.h>
105476 int
105477 main ()
105478 {
105479  __builtin_fabs(0);
105480   ;
105481   return 0;
105482 }
105483 _ACEOF
105484 rm -f conftest.$ac_objext conftest$ac_exeext
105485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105486   (eval $ac_link) 2>conftest.er1
105487   ac_status=$?
105488   grep -v '^ *+' conftest.er1 >conftest.err
105489   rm -f conftest.er1
105490   cat conftest.err >&5
105491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105492   (exit $ac_status); } &&
105493          { ac_try='test -z "$ac_c_werror_flag"
105494                          || test ! -s conftest.err'
105495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105496   (eval $ac_try) 2>&5
105497   ac_status=$?
105498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105499   (exit $ac_status); }; } &&
105500          { ac_try='test -s conftest$ac_exeext'
105501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105502   (eval $ac_try) 2>&5
105503   ac_status=$?
105504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105505   (exit $ac_status); }; }; then
105506   glibcxx_cv_func___builtin_fabs_link=yes
105507 else
105508   echo "$as_me: failed program was:" >&5
105509 sed 's/^/| /' conftest.$ac_ext >&5
105510
105511 glibcxx_cv_func___builtin_fabs_link=no
105512 fi
105513 rm -f conftest.err conftest.$ac_objext \
105514       conftest$ac_exeext conftest.$ac_ext
105515
105516 fi
105517
105518     fi
105519     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105520 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105521
105522     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105523
105524 cat >>confdefs.h <<\_ACEOF
105525 #define HAVE___BUILTIN_FABS 1
105526 _ACEOF
105527
105528     fi
105529
105530   fi
105531
105532
105533   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105534 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105535   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105536     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105537   echo $ECHO_N "(cached) $ECHO_C" >&6
105538 else
105539
105540
105541
105542       ac_ext=cc
105543 ac_cpp='$CXXCPP $CPPFLAGS'
105544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105547
105548       cat >conftest.$ac_ext <<_ACEOF
105549 /* confdefs.h.  */
105550 _ACEOF
105551 cat confdefs.h >>conftest.$ac_ext
105552 cat >>conftest.$ac_ext <<_ACEOF
105553 /* end confdefs.h.  */
105554 #include <math.h>
105555 int
105556 main ()
105557 {
105558  __builtin_fabsl(0);
105559   ;
105560   return 0;
105561 }
105562 _ACEOF
105563 rm -f conftest.$ac_objext
105564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105565   (eval $ac_compile) 2>conftest.er1
105566   ac_status=$?
105567   grep -v '^ *+' conftest.er1 >conftest.err
105568   rm -f conftest.er1
105569   cat conftest.err >&5
105570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105571   (exit $ac_status); } &&
105572          { ac_try='test -z "$ac_cxx_werror_flag"
105573                          || test ! -s conftest.err'
105574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105575   (eval $ac_try) 2>&5
105576   ac_status=$?
105577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105578   (exit $ac_status); }; } &&
105579          { ac_try='test -s conftest.$ac_objext'
105580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105581   (eval $ac_try) 2>&5
105582   ac_status=$?
105583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105584   (exit $ac_status); }; }; then
105585   glibcxx_cv_func___builtin_fabsl_use=yes
105586 else
105587   echo "$as_me: failed program was:" >&5
105588 sed 's/^/| /' conftest.$ac_ext >&5
105589
105590 glibcxx_cv_func___builtin_fabsl_use=no
105591 fi
105592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105593       ac_ext=c
105594 ac_cpp='$CPP $CPPFLAGS'
105595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105598
105599
105600 fi
105601
105602   fi
105603   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105604 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105605   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105606     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105607 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105608     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105609       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105610   echo $ECHO_N "(cached) $ECHO_C" >&6
105611 else
105612
105613         if test x$gcc_no_link = xyes; then
105614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105616    { (exit 1); exit 1; }; }
105617 fi
105618 cat >conftest.$ac_ext <<_ACEOF
105619 /* confdefs.h.  */
105620 _ACEOF
105621 cat confdefs.h >>conftest.$ac_ext
105622 cat >>conftest.$ac_ext <<_ACEOF
105623 /* end confdefs.h.  */
105624 #include <math.h>
105625 int
105626 main ()
105627 {
105628  __builtin_fabsl(0);
105629   ;
105630   return 0;
105631 }
105632 _ACEOF
105633 rm -f conftest.$ac_objext conftest$ac_exeext
105634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105635   (eval $ac_link) 2>conftest.er1
105636   ac_status=$?
105637   grep -v '^ *+' conftest.er1 >conftest.err
105638   rm -f conftest.er1
105639   cat conftest.err >&5
105640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105641   (exit $ac_status); } &&
105642          { ac_try='test -z "$ac_c_werror_flag"
105643                          || test ! -s conftest.err'
105644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105645   (eval $ac_try) 2>&5
105646   ac_status=$?
105647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105648   (exit $ac_status); }; } &&
105649          { ac_try='test -s conftest$ac_exeext'
105650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105651   (eval $ac_try) 2>&5
105652   ac_status=$?
105653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105654   (exit $ac_status); }; }; then
105655   glibcxx_cv_func___builtin_fabsl_link=yes
105656 else
105657   echo "$as_me: failed program was:" >&5
105658 sed 's/^/| /' conftest.$ac_ext >&5
105659
105660 glibcxx_cv_func___builtin_fabsl_link=no
105661 fi
105662 rm -f conftest.err conftest.$ac_objext \
105663       conftest$ac_exeext conftest.$ac_ext
105664
105665 fi
105666
105667     fi
105668     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105669 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105670
105671     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105672
105673 cat >>confdefs.h <<\_ACEOF
105674 #define HAVE___BUILTIN_FABSL 1
105675 _ACEOF
105676
105677     fi
105678
105679   fi
105680
105681
105682   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105683 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105684   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105685     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105686   echo $ECHO_N "(cached) $ECHO_C" >&6
105687 else
105688
105689
105690
105691       ac_ext=cc
105692 ac_cpp='$CXXCPP $CPPFLAGS'
105693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105696
105697       cat >conftest.$ac_ext <<_ACEOF
105698 /* confdefs.h.  */
105699 _ACEOF
105700 cat confdefs.h >>conftest.$ac_ext
105701 cat >>conftest.$ac_ext <<_ACEOF
105702 /* end confdefs.h.  */
105703 #include <math.h>
105704 int
105705 main ()
105706 {
105707  __builtin_labs(0);
105708   ;
105709   return 0;
105710 }
105711 _ACEOF
105712 rm -f conftest.$ac_objext
105713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105714   (eval $ac_compile) 2>conftest.er1
105715   ac_status=$?
105716   grep -v '^ *+' conftest.er1 >conftest.err
105717   rm -f conftest.er1
105718   cat conftest.err >&5
105719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105720   (exit $ac_status); } &&
105721          { ac_try='test -z "$ac_cxx_werror_flag"
105722                          || test ! -s conftest.err'
105723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105724   (eval $ac_try) 2>&5
105725   ac_status=$?
105726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105727   (exit $ac_status); }; } &&
105728          { ac_try='test -s conftest.$ac_objext'
105729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105730   (eval $ac_try) 2>&5
105731   ac_status=$?
105732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105733   (exit $ac_status); }; }; then
105734   glibcxx_cv_func___builtin_labs_use=yes
105735 else
105736   echo "$as_me: failed program was:" >&5
105737 sed 's/^/| /' conftest.$ac_ext >&5
105738
105739 glibcxx_cv_func___builtin_labs_use=no
105740 fi
105741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105742       ac_ext=c
105743 ac_cpp='$CPP $CPPFLAGS'
105744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105747
105748
105749 fi
105750
105751   fi
105752   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105753 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105754   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105755     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105756 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105757     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105758       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105759   echo $ECHO_N "(cached) $ECHO_C" >&6
105760 else
105761
105762         if test x$gcc_no_link = xyes; then
105763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105765    { (exit 1); exit 1; }; }
105766 fi
105767 cat >conftest.$ac_ext <<_ACEOF
105768 /* confdefs.h.  */
105769 _ACEOF
105770 cat confdefs.h >>conftest.$ac_ext
105771 cat >>conftest.$ac_ext <<_ACEOF
105772 /* end confdefs.h.  */
105773 #include <math.h>
105774 int
105775 main ()
105776 {
105777  __builtin_labs(0);
105778   ;
105779   return 0;
105780 }
105781 _ACEOF
105782 rm -f conftest.$ac_objext conftest$ac_exeext
105783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105784   (eval $ac_link) 2>conftest.er1
105785   ac_status=$?
105786   grep -v '^ *+' conftest.er1 >conftest.err
105787   rm -f conftest.er1
105788   cat conftest.err >&5
105789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105790   (exit $ac_status); } &&
105791          { ac_try='test -z "$ac_c_werror_flag"
105792                          || test ! -s conftest.err'
105793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105794   (eval $ac_try) 2>&5
105795   ac_status=$?
105796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105797   (exit $ac_status); }; } &&
105798          { ac_try='test -s conftest$ac_exeext'
105799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105800   (eval $ac_try) 2>&5
105801   ac_status=$?
105802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105803   (exit $ac_status); }; }; then
105804   glibcxx_cv_func___builtin_labs_link=yes
105805 else
105806   echo "$as_me: failed program was:" >&5
105807 sed 's/^/| /' conftest.$ac_ext >&5
105808
105809 glibcxx_cv_func___builtin_labs_link=no
105810 fi
105811 rm -f conftest.err conftest.$ac_objext \
105812       conftest$ac_exeext conftest.$ac_ext
105813
105814 fi
105815
105816     fi
105817     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105818 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105819
105820     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105821
105822 cat >>confdefs.h <<\_ACEOF
105823 #define HAVE___BUILTIN_LABS 1
105824 _ACEOF
105825
105826     fi
105827
105828   fi
105829
105830
105831
105832   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105833 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105834   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105835     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105836   echo $ECHO_N "(cached) $ECHO_C" >&6
105837 else
105838
105839
105840
105841       ac_ext=cc
105842 ac_cpp='$CXXCPP $CPPFLAGS'
105843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105846
105847       cat >conftest.$ac_ext <<_ACEOF
105848 /* confdefs.h.  */
105849 _ACEOF
105850 cat confdefs.h >>conftest.$ac_ext
105851 cat >>conftest.$ac_ext <<_ACEOF
105852 /* end confdefs.h.  */
105853 #include <math.h>
105854 int
105855 main ()
105856 {
105857  __builtin_sqrtf(0);
105858   ;
105859   return 0;
105860 }
105861 _ACEOF
105862 rm -f conftest.$ac_objext
105863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105864   (eval $ac_compile) 2>conftest.er1
105865   ac_status=$?
105866   grep -v '^ *+' conftest.er1 >conftest.err
105867   rm -f conftest.er1
105868   cat conftest.err >&5
105869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105870   (exit $ac_status); } &&
105871          { ac_try='test -z "$ac_cxx_werror_flag"
105872                          || test ! -s conftest.err'
105873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105874   (eval $ac_try) 2>&5
105875   ac_status=$?
105876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105877   (exit $ac_status); }; } &&
105878          { ac_try='test -s conftest.$ac_objext'
105879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105880   (eval $ac_try) 2>&5
105881   ac_status=$?
105882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105883   (exit $ac_status); }; }; then
105884   glibcxx_cv_func___builtin_sqrtf_use=yes
105885 else
105886   echo "$as_me: failed program was:" >&5
105887 sed 's/^/| /' conftest.$ac_ext >&5
105888
105889 glibcxx_cv_func___builtin_sqrtf_use=no
105890 fi
105891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105892       ac_ext=c
105893 ac_cpp='$CPP $CPPFLAGS'
105894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105897
105898
105899 fi
105900
105901   fi
105902   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
105903 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
105904   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
105905     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
105906 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
105907     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
105908       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
105909   echo $ECHO_N "(cached) $ECHO_C" >&6
105910 else
105911
105912         if test x$gcc_no_link = xyes; then
105913   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105915    { (exit 1); exit 1; }; }
105916 fi
105917 cat >conftest.$ac_ext <<_ACEOF
105918 /* confdefs.h.  */
105919 _ACEOF
105920 cat confdefs.h >>conftest.$ac_ext
105921 cat >>conftest.$ac_ext <<_ACEOF
105922 /* end confdefs.h.  */
105923 #include <math.h>
105924 int
105925 main ()
105926 {
105927  __builtin_sqrtf(0);
105928   ;
105929   return 0;
105930 }
105931 _ACEOF
105932 rm -f conftest.$ac_objext conftest$ac_exeext
105933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105934   (eval $ac_link) 2>conftest.er1
105935   ac_status=$?
105936   grep -v '^ *+' conftest.er1 >conftest.err
105937   rm -f conftest.er1
105938   cat conftest.err >&5
105939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105940   (exit $ac_status); } &&
105941          { ac_try='test -z "$ac_c_werror_flag"
105942                          || test ! -s conftest.err'
105943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105944   (eval $ac_try) 2>&5
105945   ac_status=$?
105946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105947   (exit $ac_status); }; } &&
105948          { ac_try='test -s conftest$ac_exeext'
105949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105950   (eval $ac_try) 2>&5
105951   ac_status=$?
105952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105953   (exit $ac_status); }; }; then
105954   glibcxx_cv_func___builtin_sqrtf_link=yes
105955 else
105956   echo "$as_me: failed program was:" >&5
105957 sed 's/^/| /' conftest.$ac_ext >&5
105958
105959 glibcxx_cv_func___builtin_sqrtf_link=no
105960 fi
105961 rm -f conftest.err conftest.$ac_objext \
105962       conftest$ac_exeext conftest.$ac_ext
105963
105964 fi
105965
105966     fi
105967     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105968 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105969
105970     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105971
105972 cat >>confdefs.h <<\_ACEOF
105973 #define HAVE___BUILTIN_SQRTF 1
105974 _ACEOF
105975
105976     fi
105977
105978   fi
105979
105980
105981   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105982 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105983   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105984     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105985   echo $ECHO_N "(cached) $ECHO_C" >&6
105986 else
105987
105988
105989
105990       ac_ext=cc
105991 ac_cpp='$CXXCPP $CPPFLAGS'
105992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105995
105996       cat >conftest.$ac_ext <<_ACEOF
105997 /* confdefs.h.  */
105998 _ACEOF
105999 cat confdefs.h >>conftest.$ac_ext
106000 cat >>conftest.$ac_ext <<_ACEOF
106001 /* end confdefs.h.  */
106002 #include <math.h>
106003 int
106004 main ()
106005 {
106006  __builtin_sqrt(0);
106007   ;
106008   return 0;
106009 }
106010 _ACEOF
106011 rm -f conftest.$ac_objext
106012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106013   (eval $ac_compile) 2>conftest.er1
106014   ac_status=$?
106015   grep -v '^ *+' conftest.er1 >conftest.err
106016   rm -f conftest.er1
106017   cat conftest.err >&5
106018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106019   (exit $ac_status); } &&
106020          { ac_try='test -z "$ac_cxx_werror_flag"
106021                          || test ! -s conftest.err'
106022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106023   (eval $ac_try) 2>&5
106024   ac_status=$?
106025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106026   (exit $ac_status); }; } &&
106027          { ac_try='test -s conftest.$ac_objext'
106028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106029   (eval $ac_try) 2>&5
106030   ac_status=$?
106031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106032   (exit $ac_status); }; }; then
106033   glibcxx_cv_func___builtin_sqrt_use=yes
106034 else
106035   echo "$as_me: failed program was:" >&5
106036 sed 's/^/| /' conftest.$ac_ext >&5
106037
106038 glibcxx_cv_func___builtin_sqrt_use=no
106039 fi
106040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106041       ac_ext=c
106042 ac_cpp='$CPP $CPPFLAGS'
106043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106046
106047
106048 fi
106049
106050   fi
106051   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106052 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106053   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106054     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106055 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106056     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106057       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106058   echo $ECHO_N "(cached) $ECHO_C" >&6
106059 else
106060
106061         if test x$gcc_no_link = xyes; then
106062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106064    { (exit 1); exit 1; }; }
106065 fi
106066 cat >conftest.$ac_ext <<_ACEOF
106067 /* confdefs.h.  */
106068 _ACEOF
106069 cat confdefs.h >>conftest.$ac_ext
106070 cat >>conftest.$ac_ext <<_ACEOF
106071 /* end confdefs.h.  */
106072 #include <math.h>
106073 int
106074 main ()
106075 {
106076  __builtin_sqrt(0);
106077   ;
106078   return 0;
106079 }
106080 _ACEOF
106081 rm -f conftest.$ac_objext conftest$ac_exeext
106082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106083   (eval $ac_link) 2>conftest.er1
106084   ac_status=$?
106085   grep -v '^ *+' conftest.er1 >conftest.err
106086   rm -f conftest.er1
106087   cat conftest.err >&5
106088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106089   (exit $ac_status); } &&
106090          { ac_try='test -z "$ac_c_werror_flag"
106091                          || test ! -s conftest.err'
106092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106093   (eval $ac_try) 2>&5
106094   ac_status=$?
106095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106096   (exit $ac_status); }; } &&
106097          { ac_try='test -s conftest$ac_exeext'
106098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106099   (eval $ac_try) 2>&5
106100   ac_status=$?
106101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106102   (exit $ac_status); }; }; then
106103   glibcxx_cv_func___builtin_sqrt_link=yes
106104 else
106105   echo "$as_me: failed program was:" >&5
106106 sed 's/^/| /' conftest.$ac_ext >&5
106107
106108 glibcxx_cv_func___builtin_sqrt_link=no
106109 fi
106110 rm -f conftest.err conftest.$ac_objext \
106111       conftest$ac_exeext conftest.$ac_ext
106112
106113 fi
106114
106115     fi
106116     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106117 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106118
106119     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106120
106121 cat >>confdefs.h <<\_ACEOF
106122 #define HAVE___BUILTIN_SQRT 1
106123 _ACEOF
106124
106125     fi
106126
106127   fi
106128
106129
106130   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106131 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106132   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106133     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106134   echo $ECHO_N "(cached) $ECHO_C" >&6
106135 else
106136
106137
106138
106139       ac_ext=cc
106140 ac_cpp='$CXXCPP $CPPFLAGS'
106141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106144
106145       cat >conftest.$ac_ext <<_ACEOF
106146 /* confdefs.h.  */
106147 _ACEOF
106148 cat confdefs.h >>conftest.$ac_ext
106149 cat >>conftest.$ac_ext <<_ACEOF
106150 /* end confdefs.h.  */
106151 #include <math.h>
106152 int
106153 main ()
106154 {
106155  __builtin_sqrtl(0);
106156   ;
106157   return 0;
106158 }
106159 _ACEOF
106160 rm -f conftest.$ac_objext
106161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106162   (eval $ac_compile) 2>conftest.er1
106163   ac_status=$?
106164   grep -v '^ *+' conftest.er1 >conftest.err
106165   rm -f conftest.er1
106166   cat conftest.err >&5
106167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106168   (exit $ac_status); } &&
106169          { ac_try='test -z "$ac_cxx_werror_flag"
106170                          || test ! -s conftest.err'
106171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106172   (eval $ac_try) 2>&5
106173   ac_status=$?
106174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106175   (exit $ac_status); }; } &&
106176          { ac_try='test -s conftest.$ac_objext'
106177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106178   (eval $ac_try) 2>&5
106179   ac_status=$?
106180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106181   (exit $ac_status); }; }; then
106182   glibcxx_cv_func___builtin_sqrtl_use=yes
106183 else
106184   echo "$as_me: failed program was:" >&5
106185 sed 's/^/| /' conftest.$ac_ext >&5
106186
106187 glibcxx_cv_func___builtin_sqrtl_use=no
106188 fi
106189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106190       ac_ext=c
106191 ac_cpp='$CPP $CPPFLAGS'
106192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106195
106196
106197 fi
106198
106199   fi
106200   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106201 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106202   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106203     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106204 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106205     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106206       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106207   echo $ECHO_N "(cached) $ECHO_C" >&6
106208 else
106209
106210         if test x$gcc_no_link = xyes; then
106211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106213    { (exit 1); exit 1; }; }
106214 fi
106215 cat >conftest.$ac_ext <<_ACEOF
106216 /* confdefs.h.  */
106217 _ACEOF
106218 cat confdefs.h >>conftest.$ac_ext
106219 cat >>conftest.$ac_ext <<_ACEOF
106220 /* end confdefs.h.  */
106221 #include <math.h>
106222 int
106223 main ()
106224 {
106225  __builtin_sqrtl(0);
106226   ;
106227   return 0;
106228 }
106229 _ACEOF
106230 rm -f conftest.$ac_objext conftest$ac_exeext
106231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106232   (eval $ac_link) 2>conftest.er1
106233   ac_status=$?
106234   grep -v '^ *+' conftest.er1 >conftest.err
106235   rm -f conftest.er1
106236   cat conftest.err >&5
106237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106238   (exit $ac_status); } &&
106239          { ac_try='test -z "$ac_c_werror_flag"
106240                          || test ! -s conftest.err'
106241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106242   (eval $ac_try) 2>&5
106243   ac_status=$?
106244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106245   (exit $ac_status); }; } &&
106246          { ac_try='test -s conftest$ac_exeext'
106247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106248   (eval $ac_try) 2>&5
106249   ac_status=$?
106250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106251   (exit $ac_status); }; }; then
106252   glibcxx_cv_func___builtin_sqrtl_link=yes
106253 else
106254   echo "$as_me: failed program was:" >&5
106255 sed 's/^/| /' conftest.$ac_ext >&5
106256
106257 glibcxx_cv_func___builtin_sqrtl_link=no
106258 fi
106259 rm -f conftest.err conftest.$ac_objext \
106260       conftest$ac_exeext conftest.$ac_ext
106261
106262 fi
106263
106264     fi
106265     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106266 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106267
106268     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106269
106270 cat >>confdefs.h <<\_ACEOF
106271 #define HAVE___BUILTIN_SQRTL 1
106272 _ACEOF
106273
106274     fi
106275
106276   fi
106277
106278
106279
106280   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106281 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106282   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106283     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106284   echo $ECHO_N "(cached) $ECHO_C" >&6
106285 else
106286
106287
106288
106289       ac_ext=cc
106290 ac_cpp='$CXXCPP $CPPFLAGS'
106291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106294
106295       cat >conftest.$ac_ext <<_ACEOF
106296 /* confdefs.h.  */
106297 _ACEOF
106298 cat confdefs.h >>conftest.$ac_ext
106299 cat >>conftest.$ac_ext <<_ACEOF
106300 /* end confdefs.h.  */
106301 #include <math.h>
106302 int
106303 main ()
106304 {
106305  __builtin_sinf(0);
106306   ;
106307   return 0;
106308 }
106309 _ACEOF
106310 rm -f conftest.$ac_objext
106311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106312   (eval $ac_compile) 2>conftest.er1
106313   ac_status=$?
106314   grep -v '^ *+' conftest.er1 >conftest.err
106315   rm -f conftest.er1
106316   cat conftest.err >&5
106317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106318   (exit $ac_status); } &&
106319          { ac_try='test -z "$ac_cxx_werror_flag"
106320                          || test ! -s conftest.err'
106321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106322   (eval $ac_try) 2>&5
106323   ac_status=$?
106324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106325   (exit $ac_status); }; } &&
106326          { ac_try='test -s conftest.$ac_objext'
106327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106328   (eval $ac_try) 2>&5
106329   ac_status=$?
106330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106331   (exit $ac_status); }; }; then
106332   glibcxx_cv_func___builtin_sinf_use=yes
106333 else
106334   echo "$as_me: failed program was:" >&5
106335 sed 's/^/| /' conftest.$ac_ext >&5
106336
106337 glibcxx_cv_func___builtin_sinf_use=no
106338 fi
106339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106340       ac_ext=c
106341 ac_cpp='$CPP $CPPFLAGS'
106342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106345
106346
106347 fi
106348
106349   fi
106350   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106351 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106352   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106353     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106354 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106355     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106356       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106357   echo $ECHO_N "(cached) $ECHO_C" >&6
106358 else
106359
106360         if test x$gcc_no_link = xyes; then
106361   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106363    { (exit 1); exit 1; }; }
106364 fi
106365 cat >conftest.$ac_ext <<_ACEOF
106366 /* confdefs.h.  */
106367 _ACEOF
106368 cat confdefs.h >>conftest.$ac_ext
106369 cat >>conftest.$ac_ext <<_ACEOF
106370 /* end confdefs.h.  */
106371 #include <math.h>
106372 int
106373 main ()
106374 {
106375  __builtin_sinf(0);
106376   ;
106377   return 0;
106378 }
106379 _ACEOF
106380 rm -f conftest.$ac_objext conftest$ac_exeext
106381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106382   (eval $ac_link) 2>conftest.er1
106383   ac_status=$?
106384   grep -v '^ *+' conftest.er1 >conftest.err
106385   rm -f conftest.er1
106386   cat conftest.err >&5
106387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106388   (exit $ac_status); } &&
106389          { ac_try='test -z "$ac_c_werror_flag"
106390                          || test ! -s conftest.err'
106391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106392   (eval $ac_try) 2>&5
106393   ac_status=$?
106394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106395   (exit $ac_status); }; } &&
106396          { ac_try='test -s conftest$ac_exeext'
106397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106398   (eval $ac_try) 2>&5
106399   ac_status=$?
106400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106401   (exit $ac_status); }; }; then
106402   glibcxx_cv_func___builtin_sinf_link=yes
106403 else
106404   echo "$as_me: failed program was:" >&5
106405 sed 's/^/| /' conftest.$ac_ext >&5
106406
106407 glibcxx_cv_func___builtin_sinf_link=no
106408 fi
106409 rm -f conftest.err conftest.$ac_objext \
106410       conftest$ac_exeext conftest.$ac_ext
106411
106412 fi
106413
106414     fi
106415     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106416 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106417
106418     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106419
106420 cat >>confdefs.h <<\_ACEOF
106421 #define HAVE___BUILTIN_SINF 1
106422 _ACEOF
106423
106424     fi
106425
106426   fi
106427
106428
106429   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106430 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106431   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106432     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106433   echo $ECHO_N "(cached) $ECHO_C" >&6
106434 else
106435
106436
106437
106438       ac_ext=cc
106439 ac_cpp='$CXXCPP $CPPFLAGS'
106440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106443
106444       cat >conftest.$ac_ext <<_ACEOF
106445 /* confdefs.h.  */
106446 _ACEOF
106447 cat confdefs.h >>conftest.$ac_ext
106448 cat >>conftest.$ac_ext <<_ACEOF
106449 /* end confdefs.h.  */
106450 #include <math.h>
106451 int
106452 main ()
106453 {
106454  __builtin_sin(0);
106455   ;
106456   return 0;
106457 }
106458 _ACEOF
106459 rm -f conftest.$ac_objext
106460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106461   (eval $ac_compile) 2>conftest.er1
106462   ac_status=$?
106463   grep -v '^ *+' conftest.er1 >conftest.err
106464   rm -f conftest.er1
106465   cat conftest.err >&5
106466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106467   (exit $ac_status); } &&
106468          { ac_try='test -z "$ac_cxx_werror_flag"
106469                          || test ! -s conftest.err'
106470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106471   (eval $ac_try) 2>&5
106472   ac_status=$?
106473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106474   (exit $ac_status); }; } &&
106475          { ac_try='test -s conftest.$ac_objext'
106476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106477   (eval $ac_try) 2>&5
106478   ac_status=$?
106479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106480   (exit $ac_status); }; }; then
106481   glibcxx_cv_func___builtin_sin_use=yes
106482 else
106483   echo "$as_me: failed program was:" >&5
106484 sed 's/^/| /' conftest.$ac_ext >&5
106485
106486 glibcxx_cv_func___builtin_sin_use=no
106487 fi
106488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106489       ac_ext=c
106490 ac_cpp='$CPP $CPPFLAGS'
106491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106494
106495
106496 fi
106497
106498   fi
106499   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106500 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106501   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106502     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106503 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106504     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106505       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106506   echo $ECHO_N "(cached) $ECHO_C" >&6
106507 else
106508
106509         if test x$gcc_no_link = xyes; then
106510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106512    { (exit 1); exit 1; }; }
106513 fi
106514 cat >conftest.$ac_ext <<_ACEOF
106515 /* confdefs.h.  */
106516 _ACEOF
106517 cat confdefs.h >>conftest.$ac_ext
106518 cat >>conftest.$ac_ext <<_ACEOF
106519 /* end confdefs.h.  */
106520 #include <math.h>
106521 int
106522 main ()
106523 {
106524  __builtin_sin(0);
106525   ;
106526   return 0;
106527 }
106528 _ACEOF
106529 rm -f conftest.$ac_objext conftest$ac_exeext
106530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106531   (eval $ac_link) 2>conftest.er1
106532   ac_status=$?
106533   grep -v '^ *+' conftest.er1 >conftest.err
106534   rm -f conftest.er1
106535   cat conftest.err >&5
106536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106537   (exit $ac_status); } &&
106538          { ac_try='test -z "$ac_c_werror_flag"
106539                          || test ! -s conftest.err'
106540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106541   (eval $ac_try) 2>&5
106542   ac_status=$?
106543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106544   (exit $ac_status); }; } &&
106545          { ac_try='test -s conftest$ac_exeext'
106546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106547   (eval $ac_try) 2>&5
106548   ac_status=$?
106549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106550   (exit $ac_status); }; }; then
106551   glibcxx_cv_func___builtin_sin_link=yes
106552 else
106553   echo "$as_me: failed program was:" >&5
106554 sed 's/^/| /' conftest.$ac_ext >&5
106555
106556 glibcxx_cv_func___builtin_sin_link=no
106557 fi
106558 rm -f conftest.err conftest.$ac_objext \
106559       conftest$ac_exeext conftest.$ac_ext
106560
106561 fi
106562
106563     fi
106564     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106565 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106566
106567     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106568
106569 cat >>confdefs.h <<\_ACEOF
106570 #define HAVE___BUILTIN_SIN 1
106571 _ACEOF
106572
106573     fi
106574
106575   fi
106576
106577
106578   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106579 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106580   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106581     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106582   echo $ECHO_N "(cached) $ECHO_C" >&6
106583 else
106584
106585
106586
106587       ac_ext=cc
106588 ac_cpp='$CXXCPP $CPPFLAGS'
106589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106592
106593       cat >conftest.$ac_ext <<_ACEOF
106594 /* confdefs.h.  */
106595 _ACEOF
106596 cat confdefs.h >>conftest.$ac_ext
106597 cat >>conftest.$ac_ext <<_ACEOF
106598 /* end confdefs.h.  */
106599 #include <math.h>
106600 int
106601 main ()
106602 {
106603  __builtin_sinl(0);
106604   ;
106605   return 0;
106606 }
106607 _ACEOF
106608 rm -f conftest.$ac_objext
106609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106610   (eval $ac_compile) 2>conftest.er1
106611   ac_status=$?
106612   grep -v '^ *+' conftest.er1 >conftest.err
106613   rm -f conftest.er1
106614   cat conftest.err >&5
106615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106616   (exit $ac_status); } &&
106617          { ac_try='test -z "$ac_cxx_werror_flag"
106618                          || test ! -s conftest.err'
106619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106620   (eval $ac_try) 2>&5
106621   ac_status=$?
106622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106623   (exit $ac_status); }; } &&
106624          { ac_try='test -s conftest.$ac_objext'
106625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106626   (eval $ac_try) 2>&5
106627   ac_status=$?
106628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106629   (exit $ac_status); }; }; then
106630   glibcxx_cv_func___builtin_sinl_use=yes
106631 else
106632   echo "$as_me: failed program was:" >&5
106633 sed 's/^/| /' conftest.$ac_ext >&5
106634
106635 glibcxx_cv_func___builtin_sinl_use=no
106636 fi
106637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106638       ac_ext=c
106639 ac_cpp='$CPP $CPPFLAGS'
106640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106643
106644
106645 fi
106646
106647   fi
106648   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106649 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106650   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106651     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106652 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106653     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106654       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106655   echo $ECHO_N "(cached) $ECHO_C" >&6
106656 else
106657
106658         if test x$gcc_no_link = xyes; then
106659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106661    { (exit 1); exit 1; }; }
106662 fi
106663 cat >conftest.$ac_ext <<_ACEOF
106664 /* confdefs.h.  */
106665 _ACEOF
106666 cat confdefs.h >>conftest.$ac_ext
106667 cat >>conftest.$ac_ext <<_ACEOF
106668 /* end confdefs.h.  */
106669 #include <math.h>
106670 int
106671 main ()
106672 {
106673  __builtin_sinl(0);
106674   ;
106675   return 0;
106676 }
106677 _ACEOF
106678 rm -f conftest.$ac_objext conftest$ac_exeext
106679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106680   (eval $ac_link) 2>conftest.er1
106681   ac_status=$?
106682   grep -v '^ *+' conftest.er1 >conftest.err
106683   rm -f conftest.er1
106684   cat conftest.err >&5
106685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106686   (exit $ac_status); } &&
106687          { ac_try='test -z "$ac_c_werror_flag"
106688                          || test ! -s conftest.err'
106689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106690   (eval $ac_try) 2>&5
106691   ac_status=$?
106692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106693   (exit $ac_status); }; } &&
106694          { ac_try='test -s conftest$ac_exeext'
106695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106696   (eval $ac_try) 2>&5
106697   ac_status=$?
106698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106699   (exit $ac_status); }; }; then
106700   glibcxx_cv_func___builtin_sinl_link=yes
106701 else
106702   echo "$as_me: failed program was:" >&5
106703 sed 's/^/| /' conftest.$ac_ext >&5
106704
106705 glibcxx_cv_func___builtin_sinl_link=no
106706 fi
106707 rm -f conftest.err conftest.$ac_objext \
106708       conftest$ac_exeext conftest.$ac_ext
106709
106710 fi
106711
106712     fi
106713     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106714 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106715
106716     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106717
106718 cat >>confdefs.h <<\_ACEOF
106719 #define HAVE___BUILTIN_SINL 1
106720 _ACEOF
106721
106722     fi
106723
106724   fi
106725
106726
106727
106728   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106729 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106730   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106731     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106732   echo $ECHO_N "(cached) $ECHO_C" >&6
106733 else
106734
106735
106736
106737       ac_ext=cc
106738 ac_cpp='$CXXCPP $CPPFLAGS'
106739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106742
106743       cat >conftest.$ac_ext <<_ACEOF
106744 /* confdefs.h.  */
106745 _ACEOF
106746 cat confdefs.h >>conftest.$ac_ext
106747 cat >>conftest.$ac_ext <<_ACEOF
106748 /* end confdefs.h.  */
106749 #include <math.h>
106750 int
106751 main ()
106752 {
106753  __builtin_cosf(0);
106754   ;
106755   return 0;
106756 }
106757 _ACEOF
106758 rm -f conftest.$ac_objext
106759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106760   (eval $ac_compile) 2>conftest.er1
106761   ac_status=$?
106762   grep -v '^ *+' conftest.er1 >conftest.err
106763   rm -f conftest.er1
106764   cat conftest.err >&5
106765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106766   (exit $ac_status); } &&
106767          { ac_try='test -z "$ac_cxx_werror_flag"
106768                          || test ! -s conftest.err'
106769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106770   (eval $ac_try) 2>&5
106771   ac_status=$?
106772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106773   (exit $ac_status); }; } &&
106774          { ac_try='test -s conftest.$ac_objext'
106775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106776   (eval $ac_try) 2>&5
106777   ac_status=$?
106778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106779   (exit $ac_status); }; }; then
106780   glibcxx_cv_func___builtin_cosf_use=yes
106781 else
106782   echo "$as_me: failed program was:" >&5
106783 sed 's/^/| /' conftest.$ac_ext >&5
106784
106785 glibcxx_cv_func___builtin_cosf_use=no
106786 fi
106787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106788       ac_ext=c
106789 ac_cpp='$CPP $CPPFLAGS'
106790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106793
106794
106795 fi
106796
106797   fi
106798   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106799 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106800   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106801     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106802 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106803     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106804       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106805   echo $ECHO_N "(cached) $ECHO_C" >&6
106806 else
106807
106808         if test x$gcc_no_link = xyes; then
106809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106811    { (exit 1); exit 1; }; }
106812 fi
106813 cat >conftest.$ac_ext <<_ACEOF
106814 /* confdefs.h.  */
106815 _ACEOF
106816 cat confdefs.h >>conftest.$ac_ext
106817 cat >>conftest.$ac_ext <<_ACEOF
106818 /* end confdefs.h.  */
106819 #include <math.h>
106820 int
106821 main ()
106822 {
106823  __builtin_cosf(0);
106824   ;
106825   return 0;
106826 }
106827 _ACEOF
106828 rm -f conftest.$ac_objext conftest$ac_exeext
106829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106830   (eval $ac_link) 2>conftest.er1
106831   ac_status=$?
106832   grep -v '^ *+' conftest.er1 >conftest.err
106833   rm -f conftest.er1
106834   cat conftest.err >&5
106835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106836   (exit $ac_status); } &&
106837          { ac_try='test -z "$ac_c_werror_flag"
106838                          || test ! -s conftest.err'
106839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106840   (eval $ac_try) 2>&5
106841   ac_status=$?
106842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106843   (exit $ac_status); }; } &&
106844          { ac_try='test -s conftest$ac_exeext'
106845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106846   (eval $ac_try) 2>&5
106847   ac_status=$?
106848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106849   (exit $ac_status); }; }; then
106850   glibcxx_cv_func___builtin_cosf_link=yes
106851 else
106852   echo "$as_me: failed program was:" >&5
106853 sed 's/^/| /' conftest.$ac_ext >&5
106854
106855 glibcxx_cv_func___builtin_cosf_link=no
106856 fi
106857 rm -f conftest.err conftest.$ac_objext \
106858       conftest$ac_exeext conftest.$ac_ext
106859
106860 fi
106861
106862     fi
106863     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
106864 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
106865
106866     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
106867
106868 cat >>confdefs.h <<\_ACEOF
106869 #define HAVE___BUILTIN_COSF 1
106870 _ACEOF
106871
106872     fi
106873
106874   fi
106875
106876
106877   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
106878 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
106879   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
106880     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
106881   echo $ECHO_N "(cached) $ECHO_C" >&6
106882 else
106883
106884
106885
106886       ac_ext=cc
106887 ac_cpp='$CXXCPP $CPPFLAGS'
106888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106891
106892       cat >conftest.$ac_ext <<_ACEOF
106893 /* confdefs.h.  */
106894 _ACEOF
106895 cat confdefs.h >>conftest.$ac_ext
106896 cat >>conftest.$ac_ext <<_ACEOF
106897 /* end confdefs.h.  */
106898 #include <math.h>
106899 int
106900 main ()
106901 {
106902  __builtin_cos(0);
106903   ;
106904   return 0;
106905 }
106906 _ACEOF
106907 rm -f conftest.$ac_objext
106908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106909   (eval $ac_compile) 2>conftest.er1
106910   ac_status=$?
106911   grep -v '^ *+' conftest.er1 >conftest.err
106912   rm -f conftest.er1
106913   cat conftest.err >&5
106914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106915   (exit $ac_status); } &&
106916          { ac_try='test -z "$ac_cxx_werror_flag"
106917                          || test ! -s conftest.err'
106918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106919   (eval $ac_try) 2>&5
106920   ac_status=$?
106921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106922   (exit $ac_status); }; } &&
106923          { ac_try='test -s conftest.$ac_objext'
106924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106925   (eval $ac_try) 2>&5
106926   ac_status=$?
106927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106928   (exit $ac_status); }; }; then
106929   glibcxx_cv_func___builtin_cos_use=yes
106930 else
106931   echo "$as_me: failed program was:" >&5
106932 sed 's/^/| /' conftest.$ac_ext >&5
106933
106934 glibcxx_cv_func___builtin_cos_use=no
106935 fi
106936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106937       ac_ext=c
106938 ac_cpp='$CPP $CPPFLAGS'
106939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106942
106943
106944 fi
106945
106946   fi
106947   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
106948 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
106949   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
106950     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
106951 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
106952     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
106953       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
106954   echo $ECHO_N "(cached) $ECHO_C" >&6
106955 else
106956
106957         if test x$gcc_no_link = xyes; then
106958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106960    { (exit 1); exit 1; }; }
106961 fi
106962 cat >conftest.$ac_ext <<_ACEOF
106963 /* confdefs.h.  */
106964 _ACEOF
106965 cat confdefs.h >>conftest.$ac_ext
106966 cat >>conftest.$ac_ext <<_ACEOF
106967 /* end confdefs.h.  */
106968 #include <math.h>
106969 int
106970 main ()
106971 {
106972  __builtin_cos(0);
106973   ;
106974   return 0;
106975 }
106976 _ACEOF
106977 rm -f conftest.$ac_objext conftest$ac_exeext
106978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106979   (eval $ac_link) 2>conftest.er1
106980   ac_status=$?
106981   grep -v '^ *+' conftest.er1 >conftest.err
106982   rm -f conftest.er1
106983   cat conftest.err >&5
106984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106985   (exit $ac_status); } &&
106986          { ac_try='test -z "$ac_c_werror_flag"
106987                          || test ! -s conftest.err'
106988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106989   (eval $ac_try) 2>&5
106990   ac_status=$?
106991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106992   (exit $ac_status); }; } &&
106993          { ac_try='test -s conftest$ac_exeext'
106994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106995   (eval $ac_try) 2>&5
106996   ac_status=$?
106997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106998   (exit $ac_status); }; }; then
106999   glibcxx_cv_func___builtin_cos_link=yes
107000 else
107001   echo "$as_me: failed program was:" >&5
107002 sed 's/^/| /' conftest.$ac_ext >&5
107003
107004 glibcxx_cv_func___builtin_cos_link=no
107005 fi
107006 rm -f conftest.err conftest.$ac_objext \
107007       conftest$ac_exeext conftest.$ac_ext
107008
107009 fi
107010
107011     fi
107012     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107013 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107014
107015     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107016
107017 cat >>confdefs.h <<\_ACEOF
107018 #define HAVE___BUILTIN_COS 1
107019 _ACEOF
107020
107021     fi
107022
107023   fi
107024
107025
107026   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107027 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107028   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107029     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107030   echo $ECHO_N "(cached) $ECHO_C" >&6
107031 else
107032
107033
107034
107035       ac_ext=cc
107036 ac_cpp='$CXXCPP $CPPFLAGS'
107037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107040
107041       cat >conftest.$ac_ext <<_ACEOF
107042 /* confdefs.h.  */
107043 _ACEOF
107044 cat confdefs.h >>conftest.$ac_ext
107045 cat >>conftest.$ac_ext <<_ACEOF
107046 /* end confdefs.h.  */
107047 #include <math.h>
107048 int
107049 main ()
107050 {
107051  __builtin_cosl(0);
107052   ;
107053   return 0;
107054 }
107055 _ACEOF
107056 rm -f conftest.$ac_objext
107057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107058   (eval $ac_compile) 2>conftest.er1
107059   ac_status=$?
107060   grep -v '^ *+' conftest.er1 >conftest.err
107061   rm -f conftest.er1
107062   cat conftest.err >&5
107063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107064   (exit $ac_status); } &&
107065          { ac_try='test -z "$ac_cxx_werror_flag"
107066                          || test ! -s conftest.err'
107067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107068   (eval $ac_try) 2>&5
107069   ac_status=$?
107070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107071   (exit $ac_status); }; } &&
107072          { ac_try='test -s conftest.$ac_objext'
107073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107074   (eval $ac_try) 2>&5
107075   ac_status=$?
107076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107077   (exit $ac_status); }; }; then
107078   glibcxx_cv_func___builtin_cosl_use=yes
107079 else
107080   echo "$as_me: failed program was:" >&5
107081 sed 's/^/| /' conftest.$ac_ext >&5
107082
107083 glibcxx_cv_func___builtin_cosl_use=no
107084 fi
107085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107086       ac_ext=c
107087 ac_cpp='$CPP $CPPFLAGS'
107088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107091
107092
107093 fi
107094
107095   fi
107096   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107097 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107098   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107099     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107100 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107101     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107102       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107103   echo $ECHO_N "(cached) $ECHO_C" >&6
107104 else
107105
107106         if test x$gcc_no_link = xyes; then
107107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107109    { (exit 1); exit 1; }; }
107110 fi
107111 cat >conftest.$ac_ext <<_ACEOF
107112 /* confdefs.h.  */
107113 _ACEOF
107114 cat confdefs.h >>conftest.$ac_ext
107115 cat >>conftest.$ac_ext <<_ACEOF
107116 /* end confdefs.h.  */
107117 #include <math.h>
107118 int
107119 main ()
107120 {
107121  __builtin_cosl(0);
107122   ;
107123   return 0;
107124 }
107125 _ACEOF
107126 rm -f conftest.$ac_objext conftest$ac_exeext
107127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107128   (eval $ac_link) 2>conftest.er1
107129   ac_status=$?
107130   grep -v '^ *+' conftest.er1 >conftest.err
107131   rm -f conftest.er1
107132   cat conftest.err >&5
107133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107134   (exit $ac_status); } &&
107135          { ac_try='test -z "$ac_c_werror_flag"
107136                          || test ! -s conftest.err'
107137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107138   (eval $ac_try) 2>&5
107139   ac_status=$?
107140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107141   (exit $ac_status); }; } &&
107142          { ac_try='test -s conftest$ac_exeext'
107143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107144   (eval $ac_try) 2>&5
107145   ac_status=$?
107146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107147   (exit $ac_status); }; }; then
107148   glibcxx_cv_func___builtin_cosl_link=yes
107149 else
107150   echo "$as_me: failed program was:" >&5
107151 sed 's/^/| /' conftest.$ac_ext >&5
107152
107153 glibcxx_cv_func___builtin_cosl_link=no
107154 fi
107155 rm -f conftest.err conftest.$ac_objext \
107156       conftest$ac_exeext conftest.$ac_ext
107157
107158 fi
107159
107160     fi
107161     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107162 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107163
107164     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107165
107166 cat >>confdefs.h <<\_ACEOF
107167 #define HAVE___BUILTIN_COSL 1
107168 _ACEOF
107169
107170     fi
107171
107172   fi
107173
107174
107175
107176
107177 echo "$as_me:$LINENO: checking for main in -lm" >&5
107178 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107179 if test "${ac_cv_lib_m_main+set}" = set; then
107180   echo $ECHO_N "(cached) $ECHO_C" >&6
107181 else
107182   ac_check_lib_save_LIBS=$LIBS
107183 LIBS="-lm  $LIBS"
107184 if test x$gcc_no_link = xyes; then
107185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107187    { (exit 1); exit 1; }; }
107188 fi
107189 cat >conftest.$ac_ext <<_ACEOF
107190 /* confdefs.h.  */
107191 _ACEOF
107192 cat confdefs.h >>conftest.$ac_ext
107193 cat >>conftest.$ac_ext <<_ACEOF
107194 /* end confdefs.h.  */
107195
107196
107197 int
107198 main ()
107199 {
107200 main ();
107201   ;
107202   return 0;
107203 }
107204 _ACEOF
107205 rm -f conftest.$ac_objext conftest$ac_exeext
107206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107207   (eval $ac_link) 2>conftest.er1
107208   ac_status=$?
107209   grep -v '^ *+' conftest.er1 >conftest.err
107210   rm -f conftest.er1
107211   cat conftest.err >&5
107212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107213   (exit $ac_status); } &&
107214          { ac_try='test -z "$ac_c_werror_flag"
107215                          || test ! -s conftest.err'
107216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107217   (eval $ac_try) 2>&5
107218   ac_status=$?
107219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107220   (exit $ac_status); }; } &&
107221          { ac_try='test -s conftest$ac_exeext'
107222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107223   (eval $ac_try) 2>&5
107224   ac_status=$?
107225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107226   (exit $ac_status); }; }; then
107227   ac_cv_lib_m_main=yes
107228 else
107229   echo "$as_me: failed program was:" >&5
107230 sed 's/^/| /' conftest.$ac_ext >&5
107231
107232 ac_cv_lib_m_main=no
107233 fi
107234 rm -f conftest.err conftest.$ac_objext \
107235       conftest$ac_exeext conftest.$ac_ext
107236 LIBS=$ac_check_lib_save_LIBS
107237 fi
107238 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107239 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107240 if test $ac_cv_lib_m_main = yes; then
107241   cat >>confdefs.h <<_ACEOF
107242 #define HAVE_LIBM 1
107243 _ACEOF
107244
107245   LIBS="-lm $LIBS"
107246
107247 fi
107248
107249
107250 for ac_func in copysignf
107251 do
107252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107253 echo "$as_me:$LINENO: checking for $ac_func" >&5
107254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107255 if eval "test \"\${$as_ac_var+set}\" = set"; then
107256   echo $ECHO_N "(cached) $ECHO_C" >&6
107257 else
107258   if test x$gcc_no_link = xyes; then
107259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107261    { (exit 1); exit 1; }; }
107262 fi
107263 cat >conftest.$ac_ext <<_ACEOF
107264 /* confdefs.h.  */
107265 _ACEOF
107266 cat confdefs.h >>conftest.$ac_ext
107267 cat >>conftest.$ac_ext <<_ACEOF
107268 /* end confdefs.h.  */
107269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107271 #define $ac_func innocuous_$ac_func
107272
107273 /* System header to define __stub macros and hopefully few prototypes,
107274     which can conflict with char $ac_func (); below.
107275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107276     <limits.h> exists even on freestanding compilers.  */
107277
107278 #ifdef __STDC__
107279 # include <limits.h>
107280 #else
107281 # include <assert.h>
107282 #endif
107283
107284 #undef $ac_func
107285
107286 /* Override any gcc2 internal prototype to avoid an error.  */
107287 #ifdef __cplusplus
107288 extern "C"
107289 {
107290 #endif
107291 /* We use char because int might match the return type of a gcc2
107292    builtin and then its argument prototype would still apply.  */
107293 char $ac_func ();
107294 /* The GNU C library defines this for functions which it implements
107295     to always fail with ENOSYS.  Some functions are actually named
107296     something starting with __ and the normal name is an alias.  */
107297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107298 choke me
107299 #else
107300 char (*f) () = $ac_func;
107301 #endif
107302 #ifdef __cplusplus
107303 }
107304 #endif
107305
107306 int
107307 main ()
107308 {
107309 return f != $ac_func;
107310   ;
107311   return 0;
107312 }
107313 _ACEOF
107314 rm -f conftest.$ac_objext conftest$ac_exeext
107315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107316   (eval $ac_link) 2>conftest.er1
107317   ac_status=$?
107318   grep -v '^ *+' conftest.er1 >conftest.err
107319   rm -f conftest.er1
107320   cat conftest.err >&5
107321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107322   (exit $ac_status); } &&
107323          { ac_try='test -z "$ac_c_werror_flag"
107324                          || test ! -s conftest.err'
107325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107326   (eval $ac_try) 2>&5
107327   ac_status=$?
107328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107329   (exit $ac_status); }; } &&
107330          { ac_try='test -s conftest$ac_exeext'
107331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107332   (eval $ac_try) 2>&5
107333   ac_status=$?
107334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107335   (exit $ac_status); }; }; then
107336   eval "$as_ac_var=yes"
107337 else
107338   echo "$as_me: failed program was:" >&5
107339 sed 's/^/| /' conftest.$ac_ext >&5
107340
107341 eval "$as_ac_var=no"
107342 fi
107343 rm -f conftest.err conftest.$ac_objext \
107344       conftest$ac_exeext conftest.$ac_ext
107345 fi
107346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107348 if test `eval echo '${'$as_ac_var'}'` = yes; then
107349   cat >>confdefs.h <<_ACEOF
107350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107351 _ACEOF
107352
107353 else
107354   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107355 fi
107356 done
107357
107358
107359
107360 for ac_func in __signbit
107361 do
107362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107363 echo "$as_me:$LINENO: checking for $ac_func" >&5
107364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107365 if eval "test \"\${$as_ac_var+set}\" = set"; then
107366   echo $ECHO_N "(cached) $ECHO_C" >&6
107367 else
107368   if test x$gcc_no_link = xyes; then
107369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107371    { (exit 1); exit 1; }; }
107372 fi
107373 cat >conftest.$ac_ext <<_ACEOF
107374 /* confdefs.h.  */
107375 _ACEOF
107376 cat confdefs.h >>conftest.$ac_ext
107377 cat >>conftest.$ac_ext <<_ACEOF
107378 /* end confdefs.h.  */
107379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107381 #define $ac_func innocuous_$ac_func
107382
107383 /* System header to define __stub macros and hopefully few prototypes,
107384     which can conflict with char $ac_func (); below.
107385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107386     <limits.h> exists even on freestanding compilers.  */
107387
107388 #ifdef __STDC__
107389 # include <limits.h>
107390 #else
107391 # include <assert.h>
107392 #endif
107393
107394 #undef $ac_func
107395
107396 /* Override any gcc2 internal prototype to avoid an error.  */
107397 #ifdef __cplusplus
107398 extern "C"
107399 {
107400 #endif
107401 /* We use char because int might match the return type of a gcc2
107402    builtin and then its argument prototype would still apply.  */
107403 char $ac_func ();
107404 /* The GNU C library defines this for functions which it implements
107405     to always fail with ENOSYS.  Some functions are actually named
107406     something starting with __ and the normal name is an alias.  */
107407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107408 choke me
107409 #else
107410 char (*f) () = $ac_func;
107411 #endif
107412 #ifdef __cplusplus
107413 }
107414 #endif
107415
107416 int
107417 main ()
107418 {
107419 return f != $ac_func;
107420   ;
107421   return 0;
107422 }
107423 _ACEOF
107424 rm -f conftest.$ac_objext conftest$ac_exeext
107425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107426   (eval $ac_link) 2>conftest.er1
107427   ac_status=$?
107428   grep -v '^ *+' conftest.er1 >conftest.err
107429   rm -f conftest.er1
107430   cat conftest.err >&5
107431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107432   (exit $ac_status); } &&
107433          { ac_try='test -z "$ac_c_werror_flag"
107434                          || test ! -s conftest.err'
107435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107436   (eval $ac_try) 2>&5
107437   ac_status=$?
107438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107439   (exit $ac_status); }; } &&
107440          { ac_try='test -s conftest$ac_exeext'
107441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107442   (eval $ac_try) 2>&5
107443   ac_status=$?
107444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107445   (exit $ac_status); }; }; then
107446   eval "$as_ac_var=yes"
107447 else
107448   echo "$as_me: failed program was:" >&5
107449 sed 's/^/| /' conftest.$ac_ext >&5
107450
107451 eval "$as_ac_var=no"
107452 fi
107453 rm -f conftest.err conftest.$ac_objext \
107454       conftest$ac_exeext conftest.$ac_ext
107455 fi
107456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107458 if test `eval echo '${'$as_ac_var'}'` = yes; then
107459   cat >>confdefs.h <<_ACEOF
107460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107461 _ACEOF
107462
107463 else
107464   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107465 fi
107466 done
107467
107468
107469
107470 for ac_func in __signbitf
107471 do
107472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107473 echo "$as_me:$LINENO: checking for $ac_func" >&5
107474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107475 if eval "test \"\${$as_ac_var+set}\" = set"; then
107476   echo $ECHO_N "(cached) $ECHO_C" >&6
107477 else
107478   if test x$gcc_no_link = xyes; then
107479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107481    { (exit 1); exit 1; }; }
107482 fi
107483 cat >conftest.$ac_ext <<_ACEOF
107484 /* confdefs.h.  */
107485 _ACEOF
107486 cat confdefs.h >>conftest.$ac_ext
107487 cat >>conftest.$ac_ext <<_ACEOF
107488 /* end confdefs.h.  */
107489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107491 #define $ac_func innocuous_$ac_func
107492
107493 /* System header to define __stub macros and hopefully few prototypes,
107494     which can conflict with char $ac_func (); below.
107495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107496     <limits.h> exists even on freestanding compilers.  */
107497
107498 #ifdef __STDC__
107499 # include <limits.h>
107500 #else
107501 # include <assert.h>
107502 #endif
107503
107504 #undef $ac_func
107505
107506 /* Override any gcc2 internal prototype to avoid an error.  */
107507 #ifdef __cplusplus
107508 extern "C"
107509 {
107510 #endif
107511 /* We use char because int might match the return type of a gcc2
107512    builtin and then its argument prototype would still apply.  */
107513 char $ac_func ();
107514 /* The GNU C library defines this for functions which it implements
107515     to always fail with ENOSYS.  Some functions are actually named
107516     something starting with __ and the normal name is an alias.  */
107517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107518 choke me
107519 #else
107520 char (*f) () = $ac_func;
107521 #endif
107522 #ifdef __cplusplus
107523 }
107524 #endif
107525
107526 int
107527 main ()
107528 {
107529 return f != $ac_func;
107530   ;
107531   return 0;
107532 }
107533 _ACEOF
107534 rm -f conftest.$ac_objext conftest$ac_exeext
107535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107536   (eval $ac_link) 2>conftest.er1
107537   ac_status=$?
107538   grep -v '^ *+' conftest.er1 >conftest.err
107539   rm -f conftest.er1
107540   cat conftest.err >&5
107541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107542   (exit $ac_status); } &&
107543          { ac_try='test -z "$ac_c_werror_flag"
107544                          || test ! -s conftest.err'
107545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107546   (eval $ac_try) 2>&5
107547   ac_status=$?
107548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107549   (exit $ac_status); }; } &&
107550          { ac_try='test -s conftest$ac_exeext'
107551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107552   (eval $ac_try) 2>&5
107553   ac_status=$?
107554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107555   (exit $ac_status); }; }; then
107556   eval "$as_ac_var=yes"
107557 else
107558   echo "$as_me: failed program was:" >&5
107559 sed 's/^/| /' conftest.$ac_ext >&5
107560
107561 eval "$as_ac_var=no"
107562 fi
107563 rm -f conftest.err conftest.$ac_objext \
107564       conftest$ac_exeext conftest.$ac_ext
107565 fi
107566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107568 if test `eval echo '${'$as_ac_var'}'` = yes; then
107569   cat >>confdefs.h <<_ACEOF
107570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107571 _ACEOF
107572
107573 else
107574   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107575 fi
107576 done
107577
107578
107579           if test x$ac_cv_func_copysignl = x"yes"; then
107580
107581 for ac_func in __signbitl
107582 do
107583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107584 echo "$as_me:$LINENO: checking for $ac_func" >&5
107585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107586 if eval "test \"\${$as_ac_var+set}\" = set"; then
107587   echo $ECHO_N "(cached) $ECHO_C" >&6
107588 else
107589   if test x$gcc_no_link = xyes; then
107590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107592    { (exit 1); exit 1; }; }
107593 fi
107594 cat >conftest.$ac_ext <<_ACEOF
107595 /* confdefs.h.  */
107596 _ACEOF
107597 cat confdefs.h >>conftest.$ac_ext
107598 cat >>conftest.$ac_ext <<_ACEOF
107599 /* end confdefs.h.  */
107600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107601    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107602 #define $ac_func innocuous_$ac_func
107603
107604 /* System header to define __stub macros and hopefully few prototypes,
107605     which can conflict with char $ac_func (); below.
107606     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107607     <limits.h> exists even on freestanding compilers.  */
107608
107609 #ifdef __STDC__
107610 # include <limits.h>
107611 #else
107612 # include <assert.h>
107613 #endif
107614
107615 #undef $ac_func
107616
107617 /* Override any gcc2 internal prototype to avoid an error.  */
107618 #ifdef __cplusplus
107619 extern "C"
107620 {
107621 #endif
107622 /* We use char because int might match the return type of a gcc2
107623    builtin and then its argument prototype would still apply.  */
107624 char $ac_func ();
107625 /* The GNU C library defines this for functions which it implements
107626     to always fail with ENOSYS.  Some functions are actually named
107627     something starting with __ and the normal name is an alias.  */
107628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107629 choke me
107630 #else
107631 char (*f) () = $ac_func;
107632 #endif
107633 #ifdef __cplusplus
107634 }
107635 #endif
107636
107637 int
107638 main ()
107639 {
107640 return f != $ac_func;
107641   ;
107642   return 0;
107643 }
107644 _ACEOF
107645 rm -f conftest.$ac_objext conftest$ac_exeext
107646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107647   (eval $ac_link) 2>conftest.er1
107648   ac_status=$?
107649   grep -v '^ *+' conftest.er1 >conftest.err
107650   rm -f conftest.er1
107651   cat conftest.err >&5
107652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107653   (exit $ac_status); } &&
107654          { ac_try='test -z "$ac_c_werror_flag"
107655                          || test ! -s conftest.err'
107656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107657   (eval $ac_try) 2>&5
107658   ac_status=$?
107659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107660   (exit $ac_status); }; } &&
107661          { ac_try='test -s conftest$ac_exeext'
107662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107663   (eval $ac_try) 2>&5
107664   ac_status=$?
107665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107666   (exit $ac_status); }; }; then
107667   eval "$as_ac_var=yes"
107668 else
107669   echo "$as_me: failed program was:" >&5
107670 sed 's/^/| /' conftest.$ac_ext >&5
107671
107672 eval "$as_ac_var=no"
107673 fi
107674 rm -f conftest.err conftest.$ac_objext \
107675       conftest$ac_exeext conftest.$ac_ext
107676 fi
107677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107679 if test `eval echo '${'$as_ac_var'}'` = yes; then
107680   cat >>confdefs.h <<_ACEOF
107681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107682 _ACEOF
107683
107684 else
107685   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107686 fi
107687 done
107688
107689   fi
107690
107691   # Used in libmath/Makefile.am.
107692   if test -n "$LIBMATHOBJS"; then
107693     need_libmath=yes
107694   fi
107695
107696
107697
107698   ac_test_CXXFLAGS="${CXXFLAGS+set}"
107699   ac_save_CXXFLAGS="$CXXFLAGS"
107700   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107701
107702
107703   echo "$as_me:$LINENO: checking for strtold declaration" >&5
107704 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107705   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107706     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107707   echo $ECHO_N "(cached) $ECHO_C" >&6
107708 else
107709
107710
107711
107712       ac_ext=cc
107713 ac_cpp='$CXXCPP $CPPFLAGS'
107714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107717
107718       cat >conftest.$ac_ext <<_ACEOF
107719 /* confdefs.h.  */
107720 _ACEOF
107721 cat confdefs.h >>conftest.$ac_ext
107722 cat >>conftest.$ac_ext <<_ACEOF
107723 /* end confdefs.h.  */
107724 #include <stdlib.h>
107725 int
107726 main ()
107727 {
107728  strtold(0, 0);
107729   ;
107730   return 0;
107731 }
107732 _ACEOF
107733 rm -f conftest.$ac_objext
107734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107735   (eval $ac_compile) 2>conftest.er1
107736   ac_status=$?
107737   grep -v '^ *+' conftest.er1 >conftest.err
107738   rm -f conftest.er1
107739   cat conftest.err >&5
107740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107741   (exit $ac_status); } &&
107742          { ac_try='test -z "$ac_cxx_werror_flag"
107743                          || test ! -s conftest.err'
107744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107745   (eval $ac_try) 2>&5
107746   ac_status=$?
107747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107748   (exit $ac_status); }; } &&
107749          { ac_try='test -s conftest.$ac_objext'
107750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107751   (eval $ac_try) 2>&5
107752   ac_status=$?
107753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107754   (exit $ac_status); }; }; then
107755   glibcxx_cv_func_strtold_use=yes
107756 else
107757   echo "$as_me: failed program was:" >&5
107758 sed 's/^/| /' conftest.$ac_ext >&5
107759
107760 glibcxx_cv_func_strtold_use=no
107761 fi
107762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107763       ac_ext=c
107764 ac_cpp='$CPP $CPPFLAGS'
107765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107768
107769
107770 fi
107771
107772   fi
107773   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107774 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107775   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107776
107777 for ac_func in strtold
107778 do
107779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107780 echo "$as_me:$LINENO: checking for $ac_func" >&5
107781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107782 if eval "test \"\${$as_ac_var+set}\" = set"; then
107783   echo $ECHO_N "(cached) $ECHO_C" >&6
107784 else
107785   if test x$gcc_no_link = xyes; then
107786   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107788    { (exit 1); exit 1; }; }
107789 fi
107790 cat >conftest.$ac_ext <<_ACEOF
107791 /* confdefs.h.  */
107792 _ACEOF
107793 cat confdefs.h >>conftest.$ac_ext
107794 cat >>conftest.$ac_ext <<_ACEOF
107795 /* end confdefs.h.  */
107796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107797    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107798 #define $ac_func innocuous_$ac_func
107799
107800 /* System header to define __stub macros and hopefully few prototypes,
107801     which can conflict with char $ac_func (); below.
107802     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107803     <limits.h> exists even on freestanding compilers.  */
107804
107805 #ifdef __STDC__
107806 # include <limits.h>
107807 #else
107808 # include <assert.h>
107809 #endif
107810
107811 #undef $ac_func
107812
107813 /* Override any gcc2 internal prototype to avoid an error.  */
107814 #ifdef __cplusplus
107815 extern "C"
107816 {
107817 #endif
107818 /* We use char because int might match the return type of a gcc2
107819    builtin and then its argument prototype would still apply.  */
107820 char $ac_func ();
107821 /* The GNU C library defines this for functions which it implements
107822     to always fail with ENOSYS.  Some functions are actually named
107823     something starting with __ and the normal name is an alias.  */
107824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107825 choke me
107826 #else
107827 char (*f) () = $ac_func;
107828 #endif
107829 #ifdef __cplusplus
107830 }
107831 #endif
107832
107833 int
107834 main ()
107835 {
107836 return f != $ac_func;
107837   ;
107838   return 0;
107839 }
107840 _ACEOF
107841 rm -f conftest.$ac_objext conftest$ac_exeext
107842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107843   (eval $ac_link) 2>conftest.er1
107844   ac_status=$?
107845   grep -v '^ *+' conftest.er1 >conftest.err
107846   rm -f conftest.er1
107847   cat conftest.err >&5
107848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107849   (exit $ac_status); } &&
107850          { ac_try='test -z "$ac_c_werror_flag"
107851                          || test ! -s conftest.err'
107852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107853   (eval $ac_try) 2>&5
107854   ac_status=$?
107855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107856   (exit $ac_status); }; } &&
107857          { ac_try='test -s conftest$ac_exeext'
107858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107859   (eval $ac_try) 2>&5
107860   ac_status=$?
107861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107862   (exit $ac_status); }; }; then
107863   eval "$as_ac_var=yes"
107864 else
107865   echo "$as_me: failed program was:" >&5
107866 sed 's/^/| /' conftest.$ac_ext >&5
107867
107868 eval "$as_ac_var=no"
107869 fi
107870 rm -f conftest.err conftest.$ac_objext \
107871       conftest$ac_exeext conftest.$ac_ext
107872 fi
107873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107875 if test `eval echo '${'$as_ac_var'}'` = yes; then
107876   cat >>confdefs.h <<_ACEOF
107877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107878 _ACEOF
107879
107880 fi
107881 done
107882
107883   fi
107884
107885
107886
107887
107888
107889   echo "$as_me:$LINENO: checking for strtof declaration" >&5
107890 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
107891   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
107892     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
107893   echo $ECHO_N "(cached) $ECHO_C" >&6
107894 else
107895
107896
107897
107898       ac_ext=cc
107899 ac_cpp='$CXXCPP $CPPFLAGS'
107900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107903
107904       cat >conftest.$ac_ext <<_ACEOF
107905 /* confdefs.h.  */
107906 _ACEOF
107907 cat confdefs.h >>conftest.$ac_ext
107908 cat >>conftest.$ac_ext <<_ACEOF
107909 /* end confdefs.h.  */
107910 #include <stdlib.h>
107911 int
107912 main ()
107913 {
107914  strtof(0, 0);
107915   ;
107916   return 0;
107917 }
107918 _ACEOF
107919 rm -f conftest.$ac_objext
107920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107921   (eval $ac_compile) 2>conftest.er1
107922   ac_status=$?
107923   grep -v '^ *+' conftest.er1 >conftest.err
107924   rm -f conftest.er1
107925   cat conftest.err >&5
107926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107927   (exit $ac_status); } &&
107928          { ac_try='test -z "$ac_cxx_werror_flag"
107929                          || test ! -s conftest.err'
107930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107931   (eval $ac_try) 2>&5
107932   ac_status=$?
107933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107934   (exit $ac_status); }; } &&
107935          { ac_try='test -s conftest.$ac_objext'
107936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107937   (eval $ac_try) 2>&5
107938   ac_status=$?
107939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107940   (exit $ac_status); }; }; then
107941   glibcxx_cv_func_strtof_use=yes
107942 else
107943   echo "$as_me: failed program was:" >&5
107944 sed 's/^/| /' conftest.$ac_ext >&5
107945
107946 glibcxx_cv_func_strtof_use=no
107947 fi
107948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107949       ac_ext=c
107950 ac_cpp='$CPP $CPPFLAGS'
107951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107954
107955
107956 fi
107957
107958   fi
107959   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107960 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107961   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107962
107963 for ac_func in strtof
107964 do
107965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107966 echo "$as_me:$LINENO: checking for $ac_func" >&5
107967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107968 if eval "test \"\${$as_ac_var+set}\" = set"; then
107969   echo $ECHO_N "(cached) $ECHO_C" >&6
107970 else
107971   if test x$gcc_no_link = xyes; then
107972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107974    { (exit 1); exit 1; }; }
107975 fi
107976 cat >conftest.$ac_ext <<_ACEOF
107977 /* confdefs.h.  */
107978 _ACEOF
107979 cat confdefs.h >>conftest.$ac_ext
107980 cat >>conftest.$ac_ext <<_ACEOF
107981 /* end confdefs.h.  */
107982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107984 #define $ac_func innocuous_$ac_func
107985
107986 /* System header to define __stub macros and hopefully few prototypes,
107987     which can conflict with char $ac_func (); below.
107988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107989     <limits.h> exists even on freestanding compilers.  */
107990
107991 #ifdef __STDC__
107992 # include <limits.h>
107993 #else
107994 # include <assert.h>
107995 #endif
107996
107997 #undef $ac_func
107998
107999 /* Override any gcc2 internal prototype to avoid an error.  */
108000 #ifdef __cplusplus
108001 extern "C"
108002 {
108003 #endif
108004 /* We use char because int might match the return type of a gcc2
108005    builtin and then its argument prototype would still apply.  */
108006 char $ac_func ();
108007 /* The GNU C library defines this for functions which it implements
108008     to always fail with ENOSYS.  Some functions are actually named
108009     something starting with __ and the normal name is an alias.  */
108010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108011 choke me
108012 #else
108013 char (*f) () = $ac_func;
108014 #endif
108015 #ifdef __cplusplus
108016 }
108017 #endif
108018
108019 int
108020 main ()
108021 {
108022 return f != $ac_func;
108023   ;
108024   return 0;
108025 }
108026 _ACEOF
108027 rm -f conftest.$ac_objext conftest$ac_exeext
108028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108029   (eval $ac_link) 2>conftest.er1
108030   ac_status=$?
108031   grep -v '^ *+' conftest.er1 >conftest.err
108032   rm -f conftest.er1
108033   cat conftest.err >&5
108034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108035   (exit $ac_status); } &&
108036          { ac_try='test -z "$ac_c_werror_flag"
108037                          || test ! -s conftest.err'
108038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108039   (eval $ac_try) 2>&5
108040   ac_status=$?
108041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108042   (exit $ac_status); }; } &&
108043          { ac_try='test -s conftest$ac_exeext'
108044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108045   (eval $ac_try) 2>&5
108046   ac_status=$?
108047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108048   (exit $ac_status); }; }; then
108049   eval "$as_ac_var=yes"
108050 else
108051   echo "$as_me: failed program was:" >&5
108052 sed 's/^/| /' conftest.$ac_ext >&5
108053
108054 eval "$as_ac_var=no"
108055 fi
108056 rm -f conftest.err conftest.$ac_objext \
108057       conftest$ac_exeext conftest.$ac_ext
108058 fi
108059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108061 if test `eval echo '${'$as_ac_var'}'` = yes; then
108062   cat >>confdefs.h <<_ACEOF
108063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108064 _ACEOF
108065
108066 fi
108067 done
108068
108069   fi
108070
108071
108072
108073
108074
108075   CXXFLAGS="$ac_save_CXXFLAGS"
108076
108077
108078     # For LFS.
108079     cat >>confdefs.h <<\_ACEOF
108080 #define HAVE_INT64_T 1
108081 _ACEOF
108082
108083
108084
108085
108086   ac_ext=cc
108087 ac_cpp='$CXXCPP $CPPFLAGS'
108088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108091
108092   ac_save_CXXFLAGS="$CXXFLAGS"
108093   CXXFLAGS="$CXXFLAGS -fno-exceptions"
108094   echo "$as_me:$LINENO: checking for LFS support" >&5
108095 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108096   if test "${glibcxx_cv_LFS+set}" = set; then
108097   echo $ECHO_N "(cached) $ECHO_C" >&6
108098 else
108099
108100     if test x$gcc_no_link = xyes; then
108101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108103    { (exit 1); exit 1; }; }
108104 fi
108105 cat >conftest.$ac_ext <<_ACEOF
108106 /* confdefs.h.  */
108107 _ACEOF
108108 cat confdefs.h >>conftest.$ac_ext
108109 cat >>conftest.$ac_ext <<_ACEOF
108110 /* end confdefs.h.  */
108111 #include <unistd.h>
108112        #include <stdio.h>
108113        #include <sys/stat.h>
108114
108115 int
108116 main ()
108117 {
108118 FILE* fp;
108119        fopen64("t", "w");
108120        fseeko64(fp, 0, SEEK_CUR);
108121        ftello64(fp);
108122        lseek64(1, 0, SEEK_CUR);
108123        struct stat64 buf;
108124        fstat64(1, &buf);
108125   ;
108126   return 0;
108127 }
108128 _ACEOF
108129 rm -f conftest.$ac_objext conftest$ac_exeext
108130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108131   (eval $ac_link) 2>conftest.er1
108132   ac_status=$?
108133   grep -v '^ *+' conftest.er1 >conftest.err
108134   rm -f conftest.er1
108135   cat conftest.err >&5
108136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108137   (exit $ac_status); } &&
108138          { ac_try='test -z "$ac_cxx_werror_flag"
108139                          || test ! -s conftest.err'
108140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108141   (eval $ac_try) 2>&5
108142   ac_status=$?
108143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108144   (exit $ac_status); }; } &&
108145          { ac_try='test -s conftest$ac_exeext'
108146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108147   (eval $ac_try) 2>&5
108148   ac_status=$?
108149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108150   (exit $ac_status); }; }; then
108151   glibcxx_cv_LFS=yes
108152 else
108153   echo "$as_me: failed program was:" >&5
108154 sed 's/^/| /' conftest.$ac_ext >&5
108155
108156 glibcxx_cv_LFS=no
108157 fi
108158 rm -f conftest.err conftest.$ac_objext \
108159       conftest$ac_exeext conftest.$ac_ext
108160
108161 fi
108162
108163   if test $glibcxx_cv_LFS = yes; then
108164
108165 cat >>confdefs.h <<\_ACEOF
108166 #define _GLIBCXX_USE_LFS 1
108167 _ACEOF
108168
108169   fi
108170   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108171 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108172   CXXFLAGS="$ac_save_CXXFLAGS"
108173   ac_ext=c
108174 ac_cpp='$CPP $CPPFLAGS'
108175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108178
108179
108180
108181     # For showmanyc_helper().
108182
108183
108184 for ac_header in sys/ioctl.h sys/filio.h
108185 do
108186 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108188   echo "$as_me:$LINENO: checking for $ac_header" >&5
108189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108191   echo $ECHO_N "(cached) $ECHO_C" >&6
108192 fi
108193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108195 else
108196   # Is the header compilable?
108197 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108198 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108199 cat >conftest.$ac_ext <<_ACEOF
108200 /* confdefs.h.  */
108201 _ACEOF
108202 cat confdefs.h >>conftest.$ac_ext
108203 cat >>conftest.$ac_ext <<_ACEOF
108204 /* end confdefs.h.  */
108205 $ac_includes_default
108206 #include <$ac_header>
108207 _ACEOF
108208 rm -f conftest.$ac_objext
108209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108210   (eval $ac_compile) 2>conftest.er1
108211   ac_status=$?
108212   grep -v '^ *+' conftest.er1 >conftest.err
108213   rm -f conftest.er1
108214   cat conftest.err >&5
108215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108216   (exit $ac_status); } &&
108217          { ac_try='test -z "$ac_c_werror_flag"
108218                          || test ! -s conftest.err'
108219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108220   (eval $ac_try) 2>&5
108221   ac_status=$?
108222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108223   (exit $ac_status); }; } &&
108224          { ac_try='test -s conftest.$ac_objext'
108225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108226   (eval $ac_try) 2>&5
108227   ac_status=$?
108228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108229   (exit $ac_status); }; }; then
108230   ac_header_compiler=yes
108231 else
108232   echo "$as_me: failed program was:" >&5
108233 sed 's/^/| /' conftest.$ac_ext >&5
108234
108235 ac_header_compiler=no
108236 fi
108237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108239 echo "${ECHO_T}$ac_header_compiler" >&6
108240
108241 # Is the header present?
108242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108244 cat >conftest.$ac_ext <<_ACEOF
108245 /* confdefs.h.  */
108246 _ACEOF
108247 cat confdefs.h >>conftest.$ac_ext
108248 cat >>conftest.$ac_ext <<_ACEOF
108249 /* end confdefs.h.  */
108250 #include <$ac_header>
108251 _ACEOF
108252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108253   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108254   ac_status=$?
108255   grep -v '^ *+' conftest.er1 >conftest.err
108256   rm -f conftest.er1
108257   cat conftest.err >&5
108258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108259   (exit $ac_status); } >/dev/null; then
108260   if test -s conftest.err; then
108261     ac_cpp_err=$ac_c_preproc_warn_flag
108262     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108263   else
108264     ac_cpp_err=
108265   fi
108266 else
108267   ac_cpp_err=yes
108268 fi
108269 if test -z "$ac_cpp_err"; then
108270   ac_header_preproc=yes
108271 else
108272   echo "$as_me: failed program was:" >&5
108273 sed 's/^/| /' conftest.$ac_ext >&5
108274
108275   ac_header_preproc=no
108276 fi
108277 rm -f conftest.err conftest.$ac_ext
108278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108279 echo "${ECHO_T}$ac_header_preproc" >&6
108280
108281 # So?  What about this header?
108282 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108283   yes:no: )
108284     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108286     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108287 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108288     ac_header_preproc=yes
108289     ;;
108290   no:yes:* )
108291     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108293     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108294 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108295     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108296 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108297     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108298 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108299     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108300 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108301     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108302 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108303     (
108304       cat <<\_ASBOX
108305 ## ----------------------------------------- ##
108306 ## Report this to the package-unused lists.  ##
108307 ## ----------------------------------------- ##
108308 _ASBOX
108309     ) |
108310       sed "s/^/$as_me: WARNING:     /" >&2
108311     ;;
108312 esac
108313 echo "$as_me:$LINENO: checking for $ac_header" >&5
108314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108316   echo $ECHO_N "(cached) $ECHO_C" >&6
108317 else
108318   eval "$as_ac_Header=\$ac_header_preproc"
108319 fi
108320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108322
108323 fi
108324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108325   cat >>confdefs.h <<_ACEOF
108326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108327 _ACEOF
108328
108329 fi
108330
108331 done
108332
108333
108334   echo "$as_me:$LINENO: checking for poll" >&5
108335 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108336   if test "${glibcxx_cv_POLL+set}" = set; then
108337   echo $ECHO_N "(cached) $ECHO_C" >&6
108338 else
108339
108340     if test x$gcc_no_link = xyes; then
108341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108343    { (exit 1); exit 1; }; }
108344 fi
108345 cat >conftest.$ac_ext <<_ACEOF
108346 /* confdefs.h.  */
108347 _ACEOF
108348 cat confdefs.h >>conftest.$ac_ext
108349 cat >>conftest.$ac_ext <<_ACEOF
108350 /* end confdefs.h.  */
108351 #include <poll.h>
108352 int
108353 main ()
108354 {
108355 struct pollfd pfd[1];
108356        pfd[0].events = POLLIN;
108357        poll(pfd, 1, 0);
108358   ;
108359   return 0;
108360 }
108361 _ACEOF
108362 rm -f conftest.$ac_objext conftest$ac_exeext
108363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108364   (eval $ac_link) 2>conftest.er1
108365   ac_status=$?
108366   grep -v '^ *+' conftest.er1 >conftest.err
108367   rm -f conftest.er1
108368   cat conftest.err >&5
108369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108370   (exit $ac_status); } &&
108371          { ac_try='test -z "$ac_c_werror_flag"
108372                          || test ! -s conftest.err'
108373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108374   (eval $ac_try) 2>&5
108375   ac_status=$?
108376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108377   (exit $ac_status); }; } &&
108378          { ac_try='test -s conftest$ac_exeext'
108379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108380   (eval $ac_try) 2>&5
108381   ac_status=$?
108382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108383   (exit $ac_status); }; }; then
108384   glibcxx_cv_POLL=yes
108385 else
108386   echo "$as_me: failed program was:" >&5
108387 sed 's/^/| /' conftest.$ac_ext >&5
108388
108389 glibcxx_cv_POLL=no
108390 fi
108391 rm -f conftest.err conftest.$ac_objext \
108392       conftest$ac_exeext conftest.$ac_ext
108393
108394 fi
108395
108396   if test $glibcxx_cv_POLL = yes; then
108397
108398 cat >>confdefs.h <<\_ACEOF
108399 #define HAVE_POLL 1
108400 _ACEOF
108401
108402   fi
108403   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108404 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108405
108406
108407   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108408 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108409   if test "${glibcxx_cv_S_ISREG+set}" = set; then
108410   echo $ECHO_N "(cached) $ECHO_C" >&6
108411 else
108412
108413     if test x$gcc_no_link = xyes; then
108414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108416    { (exit 1); exit 1; }; }
108417 fi
108418 cat >conftest.$ac_ext <<_ACEOF
108419 /* confdefs.h.  */
108420 _ACEOF
108421 cat confdefs.h >>conftest.$ac_ext
108422 cat >>conftest.$ac_ext <<_ACEOF
108423 /* end confdefs.h.  */
108424 #include <sys/stat.h>
108425 int
108426 main ()
108427 {
108428 struct stat buffer;
108429        fstat(0, &buffer);
108430        S_ISREG(buffer.st_mode);
108431   ;
108432   return 0;
108433 }
108434 _ACEOF
108435 rm -f conftest.$ac_objext conftest$ac_exeext
108436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108437   (eval $ac_link) 2>conftest.er1
108438   ac_status=$?
108439   grep -v '^ *+' conftest.er1 >conftest.err
108440   rm -f conftest.er1
108441   cat conftest.err >&5
108442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108443   (exit $ac_status); } &&
108444          { ac_try='test -z "$ac_c_werror_flag"
108445                          || test ! -s conftest.err'
108446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108447   (eval $ac_try) 2>&5
108448   ac_status=$?
108449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108450   (exit $ac_status); }; } &&
108451          { ac_try='test -s conftest$ac_exeext'
108452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108453   (eval $ac_try) 2>&5
108454   ac_status=$?
108455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108456   (exit $ac_status); }; }; then
108457   glibcxx_cv_S_ISREG=yes
108458 else
108459   echo "$as_me: failed program was:" >&5
108460 sed 's/^/| /' conftest.$ac_ext >&5
108461
108462 glibcxx_cv_S_ISREG=no
108463 fi
108464 rm -f conftest.err conftest.$ac_objext \
108465       conftest$ac_exeext conftest.$ac_ext
108466
108467 fi
108468
108469   if test "${glibcxx_cv_S_IFREG+set}" = set; then
108470   echo $ECHO_N "(cached) $ECHO_C" >&6
108471 else
108472
108473     if test x$gcc_no_link = xyes; then
108474   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108476    { (exit 1); exit 1; }; }
108477 fi
108478 cat >conftest.$ac_ext <<_ACEOF
108479 /* confdefs.h.  */
108480 _ACEOF
108481 cat confdefs.h >>conftest.$ac_ext
108482 cat >>conftest.$ac_ext <<_ACEOF
108483 /* end confdefs.h.  */
108484 #include <sys/stat.h>
108485 int
108486 main ()
108487 {
108488 struct stat buffer;
108489        fstat(0, &buffer);
108490        S_IFREG & buffer.st_mode;
108491   ;
108492   return 0;
108493 }
108494 _ACEOF
108495 rm -f conftest.$ac_objext conftest$ac_exeext
108496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108497   (eval $ac_link) 2>conftest.er1
108498   ac_status=$?
108499   grep -v '^ *+' conftest.er1 >conftest.err
108500   rm -f conftest.er1
108501   cat conftest.err >&5
108502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108503   (exit $ac_status); } &&
108504          { ac_try='test -z "$ac_c_werror_flag"
108505                          || test ! -s conftest.err'
108506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108507   (eval $ac_try) 2>&5
108508   ac_status=$?
108509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108510   (exit $ac_status); }; } &&
108511          { ac_try='test -s conftest$ac_exeext'
108512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108513   (eval $ac_try) 2>&5
108514   ac_status=$?
108515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108516   (exit $ac_status); }; }; then
108517   glibcxx_cv_S_IFREG=yes
108518 else
108519   echo "$as_me: failed program was:" >&5
108520 sed 's/^/| /' conftest.$ac_ext >&5
108521
108522 glibcxx_cv_S_IFREG=no
108523 fi
108524 rm -f conftest.err conftest.$ac_objext \
108525       conftest$ac_exeext conftest.$ac_ext
108526
108527 fi
108528
108529   res=no
108530   if test $glibcxx_cv_S_ISREG = yes; then
108531
108532 cat >>confdefs.h <<\_ACEOF
108533 #define HAVE_S_ISREG 1
108534 _ACEOF
108535
108536     res=S_ISREG
108537   elif test $glibcxx_cv_S_IFREG = yes; then
108538
108539 cat >>confdefs.h <<\_ACEOF
108540 #define HAVE_S_IFREG 1
108541 _ACEOF
108542
108543     res=S_IFREG
108544   fi
108545   echo "$as_me:$LINENO: result: $res" >&5
108546 echo "${ECHO_T}$res" >&6
108547
108548
108549     # For xsputn_2().
108550
108551 for ac_header in sys/uio.h
108552 do
108553 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108554 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108555   echo "$as_me:$LINENO: checking for $ac_header" >&5
108556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108558   echo $ECHO_N "(cached) $ECHO_C" >&6
108559 fi
108560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108562 else
108563   # Is the header compilable?
108564 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108565 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108566 cat >conftest.$ac_ext <<_ACEOF
108567 /* confdefs.h.  */
108568 _ACEOF
108569 cat confdefs.h >>conftest.$ac_ext
108570 cat >>conftest.$ac_ext <<_ACEOF
108571 /* end confdefs.h.  */
108572 $ac_includes_default
108573 #include <$ac_header>
108574 _ACEOF
108575 rm -f conftest.$ac_objext
108576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108577   (eval $ac_compile) 2>conftest.er1
108578   ac_status=$?
108579   grep -v '^ *+' conftest.er1 >conftest.err
108580   rm -f conftest.er1
108581   cat conftest.err >&5
108582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108583   (exit $ac_status); } &&
108584          { ac_try='test -z "$ac_c_werror_flag"
108585                          || test ! -s conftest.err'
108586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108587   (eval $ac_try) 2>&5
108588   ac_status=$?
108589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108590   (exit $ac_status); }; } &&
108591          { ac_try='test -s conftest.$ac_objext'
108592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108593   (eval $ac_try) 2>&5
108594   ac_status=$?
108595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108596   (exit $ac_status); }; }; then
108597   ac_header_compiler=yes
108598 else
108599   echo "$as_me: failed program was:" >&5
108600 sed 's/^/| /' conftest.$ac_ext >&5
108601
108602 ac_header_compiler=no
108603 fi
108604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108605 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108606 echo "${ECHO_T}$ac_header_compiler" >&6
108607
108608 # Is the header present?
108609 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108610 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108611 cat >conftest.$ac_ext <<_ACEOF
108612 /* confdefs.h.  */
108613 _ACEOF
108614 cat confdefs.h >>conftest.$ac_ext
108615 cat >>conftest.$ac_ext <<_ACEOF
108616 /* end confdefs.h.  */
108617 #include <$ac_header>
108618 _ACEOF
108619 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108620   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108621   ac_status=$?
108622   grep -v '^ *+' conftest.er1 >conftest.err
108623   rm -f conftest.er1
108624   cat conftest.err >&5
108625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108626   (exit $ac_status); } >/dev/null; then
108627   if test -s conftest.err; then
108628     ac_cpp_err=$ac_c_preproc_warn_flag
108629     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108630   else
108631     ac_cpp_err=
108632   fi
108633 else
108634   ac_cpp_err=yes
108635 fi
108636 if test -z "$ac_cpp_err"; then
108637   ac_header_preproc=yes
108638 else
108639   echo "$as_me: failed program was:" >&5
108640 sed 's/^/| /' conftest.$ac_ext >&5
108641
108642   ac_header_preproc=no
108643 fi
108644 rm -f conftest.err conftest.$ac_ext
108645 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108646 echo "${ECHO_T}$ac_header_preproc" >&6
108647
108648 # So?  What about this header?
108649 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108650   yes:no: )
108651     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108652 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108653     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108654 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108655     ac_header_preproc=yes
108656     ;;
108657   no:yes:* )
108658     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108659 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108660     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108661 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108662     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108663 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108664     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108665 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108666     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108668     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108669 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108670     (
108671       cat <<\_ASBOX
108672 ## ----------------------------------------- ##
108673 ## Report this to the package-unused lists.  ##
108674 ## ----------------------------------------- ##
108675 _ASBOX
108676     ) |
108677       sed "s/^/$as_me: WARNING:     /" >&2
108678     ;;
108679 esac
108680 echo "$as_me:$LINENO: checking for $ac_header" >&5
108681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108683   echo $ECHO_N "(cached) $ECHO_C" >&6
108684 else
108685   eval "$as_ac_Header=\$ac_header_preproc"
108686 fi
108687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108689
108690 fi
108691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108692   cat >>confdefs.h <<_ACEOF
108693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108694 _ACEOF
108695
108696 fi
108697
108698 done
108699
108700
108701   echo "$as_me:$LINENO: checking for writev" >&5
108702 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108703   if test "${glibcxx_cv_WRITEV+set}" = set; then
108704   echo $ECHO_N "(cached) $ECHO_C" >&6
108705 else
108706
108707     if test x$gcc_no_link = xyes; then
108708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108710    { (exit 1); exit 1; }; }
108711 fi
108712 cat >conftest.$ac_ext <<_ACEOF
108713 /* confdefs.h.  */
108714 _ACEOF
108715 cat confdefs.h >>conftest.$ac_ext
108716 cat >>conftest.$ac_ext <<_ACEOF
108717 /* end confdefs.h.  */
108718 #include <sys/uio.h>
108719 int
108720 main ()
108721 {
108722 struct iovec iov[2];
108723        writev(0, iov, 0);
108724   ;
108725   return 0;
108726 }
108727 _ACEOF
108728 rm -f conftest.$ac_objext conftest$ac_exeext
108729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108730   (eval $ac_link) 2>conftest.er1
108731   ac_status=$?
108732   grep -v '^ *+' conftest.er1 >conftest.err
108733   rm -f conftest.er1
108734   cat conftest.err >&5
108735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108736   (exit $ac_status); } &&
108737          { ac_try='test -z "$ac_c_werror_flag"
108738                          || test ! -s conftest.err'
108739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108740   (eval $ac_try) 2>&5
108741   ac_status=$?
108742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108743   (exit $ac_status); }; } &&
108744          { ac_try='test -s conftest$ac_exeext'
108745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108746   (eval $ac_try) 2>&5
108747   ac_status=$?
108748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108749   (exit $ac_status); }; }; then
108750   glibcxx_cv_WRITEV=yes
108751 else
108752   echo "$as_me: failed program was:" >&5
108753 sed 's/^/| /' conftest.$ac_ext >&5
108754
108755 glibcxx_cv_WRITEV=no
108756 fi
108757 rm -f conftest.err conftest.$ac_objext \
108758       conftest$ac_exeext conftest.$ac_ext
108759
108760 fi
108761
108762   if test $glibcxx_cv_WRITEV = yes; then
108763
108764 cat >>confdefs.h <<\_ACEOF
108765 #define HAVE_WRITEV 1
108766 _ACEOF
108767
108768   fi
108769   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108770 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108771
108772
108773     # For C99 support to TR1.
108774
108775
108776
108777
108778   ac_ext=cc
108779 ac_cpp='$CXXCPP $CPPFLAGS'
108780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108783
108784
108785   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108786   # undefined and fake C99 facilities may be spuriously enabled.
108787   ac_save_CXXFLAGS="$CXXFLAGS"
108788   CXXFLAGS="$CXXFLAGS -std=c++98"
108789
108790   # Check for the existence of <complex.h> complex math functions used
108791   # by tr1/complex.
108792
108793 for ac_header in complex.h
108794 do
108795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108797   echo "$as_me:$LINENO: checking for $ac_header" >&5
108798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108800   echo $ECHO_N "(cached) $ECHO_C" >&6
108801 fi
108802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108803 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108804 else
108805   # Is the header compilable?
108806 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108807 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108808 cat >conftest.$ac_ext <<_ACEOF
108809 /* confdefs.h.  */
108810 _ACEOF
108811 cat confdefs.h >>conftest.$ac_ext
108812 cat >>conftest.$ac_ext <<_ACEOF
108813 /* end confdefs.h.  */
108814 $ac_includes_default
108815 #include <$ac_header>
108816 _ACEOF
108817 rm -f conftest.$ac_objext
108818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108819   (eval $ac_compile) 2>conftest.er1
108820   ac_status=$?
108821   grep -v '^ *+' conftest.er1 >conftest.err
108822   rm -f conftest.er1
108823   cat conftest.err >&5
108824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108825   (exit $ac_status); } &&
108826          { ac_try='test -z "$ac_cxx_werror_flag"
108827                          || test ! -s conftest.err'
108828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108829   (eval $ac_try) 2>&5
108830   ac_status=$?
108831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108832   (exit $ac_status); }; } &&
108833          { ac_try='test -s conftest.$ac_objext'
108834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108835   (eval $ac_try) 2>&5
108836   ac_status=$?
108837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108838   (exit $ac_status); }; }; then
108839   ac_header_compiler=yes
108840 else
108841   echo "$as_me: failed program was:" >&5
108842 sed 's/^/| /' conftest.$ac_ext >&5
108843
108844 ac_header_compiler=no
108845 fi
108846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108848 echo "${ECHO_T}$ac_header_compiler" >&6
108849
108850 # Is the header present?
108851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108853 cat >conftest.$ac_ext <<_ACEOF
108854 /* confdefs.h.  */
108855 _ACEOF
108856 cat confdefs.h >>conftest.$ac_ext
108857 cat >>conftest.$ac_ext <<_ACEOF
108858 /* end confdefs.h.  */
108859 #include <$ac_header>
108860 _ACEOF
108861 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108862   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108863   ac_status=$?
108864   grep -v '^ *+' conftest.er1 >conftest.err
108865   rm -f conftest.er1
108866   cat conftest.err >&5
108867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108868   (exit $ac_status); } >/dev/null; then
108869   if test -s conftest.err; then
108870     ac_cpp_err=$ac_cxx_preproc_warn_flag
108871     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108872   else
108873     ac_cpp_err=
108874   fi
108875 else
108876   ac_cpp_err=yes
108877 fi
108878 if test -z "$ac_cpp_err"; then
108879   ac_header_preproc=yes
108880 else
108881   echo "$as_me: failed program was:" >&5
108882 sed 's/^/| /' conftest.$ac_ext >&5
108883
108884   ac_header_preproc=no
108885 fi
108886 rm -f conftest.err conftest.$ac_ext
108887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108888 echo "${ECHO_T}$ac_header_preproc" >&6
108889
108890 # So?  What about this header?
108891 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
108892   yes:no: )
108893     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108895     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108897     ac_header_preproc=yes
108898     ;;
108899   no:yes:* )
108900     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108902     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108903 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108904     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108906     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108907 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108908     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108910     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108912     (
108913       cat <<\_ASBOX
108914 ## ----------------------------------------- ##
108915 ## Report this to the package-unused lists.  ##
108916 ## ----------------------------------------- ##
108917 _ASBOX
108918     ) |
108919       sed "s/^/$as_me: WARNING:     /" >&2
108920     ;;
108921 esac
108922 echo "$as_me:$LINENO: checking for $ac_header" >&5
108923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108925   echo $ECHO_N "(cached) $ECHO_C" >&6
108926 else
108927   eval "$as_ac_Header=\$ac_header_preproc"
108928 fi
108929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108931
108932 fi
108933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108934   cat >>confdefs.h <<_ACEOF
108935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108936 _ACEOF
108937  ac_has_complex_h=yes
108938 else
108939   ac_has_complex_h=no
108940 fi
108941
108942 done
108943
108944   ac_c99_complex_tr1=no;
108945   if test x"$ac_has_complex_h" = x"yes"; then
108946     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
108947 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
108948     cat >conftest.$ac_ext <<_ACEOF
108949 /* confdefs.h.  */
108950 _ACEOF
108951 cat confdefs.h >>conftest.$ac_ext
108952 cat >>conftest.$ac_ext <<_ACEOF
108953 /* end confdefs.h.  */
108954 #include <complex.h>
108955 int
108956 main ()
108957 {
108958 typedef __complex__ float float_type; float_type tmpf;
108959                     cacosf(tmpf);
108960                     casinf(tmpf);
108961                     catanf(tmpf);
108962                     cacoshf(tmpf);
108963                     casinhf(tmpf);
108964                     catanhf(tmpf);
108965                     typedef __complex__ double double_type; double_type tmpd;
108966                     cacos(tmpd);
108967                     casin(tmpd);
108968                     catan(tmpd);
108969                     cacosh(tmpd);
108970                     casinh(tmpd);
108971                     catanh(tmpd);
108972                     typedef __complex__ long double ld_type; ld_type tmpld;
108973                     cacosl(tmpld);
108974                     casinl(tmpld);
108975                     catanl(tmpld);
108976                     cacoshl(tmpld);
108977                     casinhl(tmpld);
108978                     catanhl(tmpld);
108979
108980   ;
108981   return 0;
108982 }
108983 _ACEOF
108984 rm -f conftest.$ac_objext
108985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108986   (eval $ac_compile) 2>conftest.er1
108987   ac_status=$?
108988   grep -v '^ *+' conftest.er1 >conftest.err
108989   rm -f conftest.er1
108990   cat conftest.err >&5
108991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108992   (exit $ac_status); } &&
108993          { ac_try='test -z "$ac_cxx_werror_flag"
108994                          || test ! -s conftest.err'
108995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108996   (eval $ac_try) 2>&5
108997   ac_status=$?
108998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108999   (exit $ac_status); }; } &&
109000          { ac_try='test -s conftest.$ac_objext'
109001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109002   (eval $ac_try) 2>&5
109003   ac_status=$?
109004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109005   (exit $ac_status); }; }; then
109006   ac_c99_complex_tr1=yes
109007 else
109008   echo "$as_me: failed program was:" >&5
109009 sed 's/^/| /' conftest.$ac_ext >&5
109010
109011 ac_c99_complex_tr1=no
109012 fi
109013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109014   fi
109015   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109016 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109017   if test x"$ac_c99_complex_tr1" = x"yes"; then
109018
109019 cat >>confdefs.h <<\_ACEOF
109020 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109021 _ACEOF
109022
109023   fi
109024
109025   # Check for the existence of <ctype.h> functions.
109026   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109027 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109028   if test "${ac_c99_ctype_tr1+set}" = set; then
109029   echo $ECHO_N "(cached) $ECHO_C" >&6
109030 else
109031
109032   cat >conftest.$ac_ext <<_ACEOF
109033 /* confdefs.h.  */
109034 _ACEOF
109035 cat confdefs.h >>conftest.$ac_ext
109036 cat >>conftest.$ac_ext <<_ACEOF
109037 /* end confdefs.h.  */
109038 #include <ctype.h>
109039 int
109040 main ()
109041 {
109042 int ch;
109043                   int ret;
109044                   ret = isblank(ch);
109045
109046   ;
109047   return 0;
109048 }
109049 _ACEOF
109050 rm -f conftest.$ac_objext
109051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109052   (eval $ac_compile) 2>conftest.er1
109053   ac_status=$?
109054   grep -v '^ *+' conftest.er1 >conftest.err
109055   rm -f conftest.er1
109056   cat conftest.err >&5
109057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109058   (exit $ac_status); } &&
109059          { ac_try='test -z "$ac_cxx_werror_flag"
109060                          || test ! -s conftest.err'
109061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109062   (eval $ac_try) 2>&5
109063   ac_status=$?
109064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109065   (exit $ac_status); }; } &&
109066          { ac_try='test -s conftest.$ac_objext'
109067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109068   (eval $ac_try) 2>&5
109069   ac_status=$?
109070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109071   (exit $ac_status); }; }; then
109072   ac_c99_ctype_tr1=yes
109073 else
109074   echo "$as_me: failed program was:" >&5
109075 sed 's/^/| /' conftest.$ac_ext >&5
109076
109077 ac_c99_ctype_tr1=no
109078 fi
109079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109080
109081 fi
109082
109083   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
109084 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
109085   if test x"$ac_c99_ctype_tr1" = x"yes"; then
109086
109087 cat >>confdefs.h <<\_ACEOF
109088 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109089 _ACEOF
109090
109091   fi
109092
109093   # Check for the existence of <fenv.h> functions.
109094
109095 for ac_header in fenv.h
109096 do
109097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109099   echo "$as_me:$LINENO: checking for $ac_header" >&5
109100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109102   echo $ECHO_N "(cached) $ECHO_C" >&6
109103 fi
109104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109106 else
109107   # Is the header compilable?
109108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109110 cat >conftest.$ac_ext <<_ACEOF
109111 /* confdefs.h.  */
109112 _ACEOF
109113 cat confdefs.h >>conftest.$ac_ext
109114 cat >>conftest.$ac_ext <<_ACEOF
109115 /* end confdefs.h.  */
109116 $ac_includes_default
109117 #include <$ac_header>
109118 _ACEOF
109119 rm -f conftest.$ac_objext
109120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109121   (eval $ac_compile) 2>conftest.er1
109122   ac_status=$?
109123   grep -v '^ *+' conftest.er1 >conftest.err
109124   rm -f conftest.er1
109125   cat conftest.err >&5
109126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109127   (exit $ac_status); } &&
109128          { ac_try='test -z "$ac_cxx_werror_flag"
109129                          || test ! -s conftest.err'
109130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109131   (eval $ac_try) 2>&5
109132   ac_status=$?
109133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109134   (exit $ac_status); }; } &&
109135          { ac_try='test -s conftest.$ac_objext'
109136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109137   (eval $ac_try) 2>&5
109138   ac_status=$?
109139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109140   (exit $ac_status); }; }; then
109141   ac_header_compiler=yes
109142 else
109143   echo "$as_me: failed program was:" >&5
109144 sed 's/^/| /' conftest.$ac_ext >&5
109145
109146 ac_header_compiler=no
109147 fi
109148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109149 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109150 echo "${ECHO_T}$ac_header_compiler" >&6
109151
109152 # Is the header present?
109153 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109154 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109155 cat >conftest.$ac_ext <<_ACEOF
109156 /* confdefs.h.  */
109157 _ACEOF
109158 cat confdefs.h >>conftest.$ac_ext
109159 cat >>conftest.$ac_ext <<_ACEOF
109160 /* end confdefs.h.  */
109161 #include <$ac_header>
109162 _ACEOF
109163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109164   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109165   ac_status=$?
109166   grep -v '^ *+' conftest.er1 >conftest.err
109167   rm -f conftest.er1
109168   cat conftest.err >&5
109169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109170   (exit $ac_status); } >/dev/null; then
109171   if test -s conftest.err; then
109172     ac_cpp_err=$ac_cxx_preproc_warn_flag
109173     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109174   else
109175     ac_cpp_err=
109176   fi
109177 else
109178   ac_cpp_err=yes
109179 fi
109180 if test -z "$ac_cpp_err"; then
109181   ac_header_preproc=yes
109182 else
109183   echo "$as_me: failed program was:" >&5
109184 sed 's/^/| /' conftest.$ac_ext >&5
109185
109186   ac_header_preproc=no
109187 fi
109188 rm -f conftest.err conftest.$ac_ext
109189 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109190 echo "${ECHO_T}$ac_header_preproc" >&6
109191
109192 # So?  What about this header?
109193 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109194   yes:no: )
109195     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109196 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109197     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109198 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109199     ac_header_preproc=yes
109200     ;;
109201   no:yes:* )
109202     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109203 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109204     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109205 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109206     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109207 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109208     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109209 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109210     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109212     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109213 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109214     (
109215       cat <<\_ASBOX
109216 ## ----------------------------------------- ##
109217 ## Report this to the package-unused lists.  ##
109218 ## ----------------------------------------- ##
109219 _ASBOX
109220     ) |
109221       sed "s/^/$as_me: WARNING:     /" >&2
109222     ;;
109223 esac
109224 echo "$as_me:$LINENO: checking for $ac_header" >&5
109225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109227   echo $ECHO_N "(cached) $ECHO_C" >&6
109228 else
109229   eval "$as_ac_Header=\$ac_header_preproc"
109230 fi
109231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109233
109234 fi
109235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109236   cat >>confdefs.h <<_ACEOF
109237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109238 _ACEOF
109239  ac_has_fenv_h=yes
109240 else
109241   ac_has_fenv_h=no
109242 fi
109243
109244 done
109245
109246   ac_c99_fenv_tr1=no;
109247   if test x"$ac_has_fenv_h" = x"yes"; then
109248     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109249 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109250     cat >conftest.$ac_ext <<_ACEOF
109251 /* confdefs.h.  */
109252 _ACEOF
109253 cat confdefs.h >>conftest.$ac_ext
109254 cat >>conftest.$ac_ext <<_ACEOF
109255 /* end confdefs.h.  */
109256 #include <fenv.h>
109257 int
109258 main ()
109259 {
109260 int except, mode;
109261                     fexcept_t* pflag;
109262                     fenv_t* penv;
109263                     int ret;
109264                     ret = feclearexcept(except);
109265                     ret = fegetexceptflag(pflag, except);
109266                     ret = feraiseexcept(except);
109267                     ret = fesetexceptflag(pflag, except);
109268                     ret = fetestexcept(except);
109269                     ret = fegetround();
109270                     ret = fesetround(mode);
109271                     ret = fegetenv(penv);
109272                     ret = feholdexcept(penv);
109273                     ret = fesetenv(penv);
109274                     ret = feupdateenv(penv);
109275
109276   ;
109277   return 0;
109278 }
109279 _ACEOF
109280 rm -f conftest.$ac_objext
109281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109282   (eval $ac_compile) 2>conftest.er1
109283   ac_status=$?
109284   grep -v '^ *+' conftest.er1 >conftest.err
109285   rm -f conftest.er1
109286   cat conftest.err >&5
109287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109288   (exit $ac_status); } &&
109289          { ac_try='test -z "$ac_cxx_werror_flag"
109290                          || test ! -s conftest.err'
109291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109292   (eval $ac_try) 2>&5
109293   ac_status=$?
109294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109295   (exit $ac_status); }; } &&
109296          { ac_try='test -s conftest.$ac_objext'
109297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109298   (eval $ac_try) 2>&5
109299   ac_status=$?
109300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109301   (exit $ac_status); }; }; then
109302   ac_c99_fenv_tr1=yes
109303 else
109304   echo "$as_me: failed program was:" >&5
109305 sed 's/^/| /' conftest.$ac_ext >&5
109306
109307 ac_c99_fenv_tr1=no
109308 fi
109309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109310   fi
109311   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109312 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109313   if test x"$ac_c99_fenv_tr1" = x"yes"; then
109314
109315 cat >>confdefs.h <<\_ACEOF
109316 #define _GLIBCXX_USE_C99_FENV_TR1 1
109317 _ACEOF
109318
109319   fi
109320
109321   # Check for the existence of <stdint.h> types.
109322   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109323 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109324   if test "${ac_c99_stdint_tr1+set}" = set; then
109325   echo $ECHO_N "(cached) $ECHO_C" >&6
109326 else
109327
109328   cat >conftest.$ac_ext <<_ACEOF
109329 /* confdefs.h.  */
109330 _ACEOF
109331 cat confdefs.h >>conftest.$ac_ext
109332 cat >>conftest.$ac_ext <<_ACEOF
109333 /* end confdefs.h.  */
109334 #include <stdint.h>
109335 int
109336 main ()
109337 {
109338 typedef int8_t          my_int8_t;
109339                   typedef int16_t         my_int16_t;
109340                   typedef int32_t         my_int32_t;
109341                   typedef int64_t         my_int64_t;
109342                   typedef int_fast8_t     my_int_fast8_t;
109343                   typedef int_fast16_t    my_int_fast16_t;
109344                   typedef int_fast32_t    my_int_fast32_t;
109345                   typedef int_fast64_t    my_int_fast64_t;
109346                   typedef int_least8_t    my_int_least8_t;
109347                   typedef int_least16_t   my_int_least16_t;
109348                   typedef int_least32_t   my_int_least32_t;
109349                   typedef int_least64_t   my_int_least64_t;
109350                   typedef intmax_t        my_intmax_t;
109351                   typedef intptr_t        my_intptr_t;
109352                   typedef uint8_t         my_uint8_t;
109353                   typedef uint16_t        my_uint16_t;
109354                   typedef uint32_t        my_uint32_t;
109355                   typedef uint64_t        my_uint64_t;
109356                   typedef uint_fast8_t    my_uint_fast8_t;
109357                   typedef uint_fast16_t   my_uint_fast16_t;
109358                   typedef uint_fast32_t   my_uint_fast32_t;
109359                   typedef uint_fast64_t   my_uint_fast64_t;
109360                   typedef uint_least8_t   my_uint_least8_t;
109361                   typedef uint_least16_t  my_uint_least16_t;
109362                   typedef uint_least32_t  my_uint_least32_t;
109363                   typedef uint_least64_t  my_uint_least64_t;
109364                   typedef uintmax_t       my_uintmax_t;
109365                   typedef uintptr_t       my_uintptr_t;
109366
109367   ;
109368   return 0;
109369 }
109370 _ACEOF
109371 rm -f conftest.$ac_objext
109372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109373   (eval $ac_compile) 2>conftest.er1
109374   ac_status=$?
109375   grep -v '^ *+' conftest.er1 >conftest.err
109376   rm -f conftest.er1
109377   cat conftest.err >&5
109378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109379   (exit $ac_status); } &&
109380          { ac_try='test -z "$ac_cxx_werror_flag"
109381                          || test ! -s conftest.err'
109382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109383   (eval $ac_try) 2>&5
109384   ac_status=$?
109385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109386   (exit $ac_status); }; } &&
109387          { ac_try='test -s conftest.$ac_objext'
109388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109389   (eval $ac_try) 2>&5
109390   ac_status=$?
109391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109392   (exit $ac_status); }; }; then
109393   ac_c99_stdint_tr1=yes
109394 else
109395   echo "$as_me: failed program was:" >&5
109396 sed 's/^/| /' conftest.$ac_ext >&5
109397
109398 ac_c99_stdint_tr1=no
109399 fi
109400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109401
109402 fi
109403
109404   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
109405 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
109406   if test x"$ac_c99_stdint_tr1" = x"yes"; then
109407
109408 cat >>confdefs.h <<\_ACEOF
109409 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109410 _ACEOF
109411
109412   fi
109413
109414   # Check for the existence of <math.h> functions.
109415   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109416 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109417   if test "${ac_c99_math_tr1+set}" = set; then
109418   echo $ECHO_N "(cached) $ECHO_C" >&6
109419 else
109420
109421   cat >conftest.$ac_ext <<_ACEOF
109422 /* confdefs.h.  */
109423 _ACEOF
109424 cat confdefs.h >>conftest.$ac_ext
109425 cat >>conftest.$ac_ext <<_ACEOF
109426 /* end confdefs.h.  */
109427 #include <math.h>
109428 int
109429 main ()
109430 {
109431 typedef double_t  my_double_t;
109432                   typedef float_t   my_float_t;
109433                   acosh(0.0);
109434                   acoshf(0.0f);
109435                   acoshl(0.0l);
109436                   asinh(0.0);
109437                   asinhf(0.0f);
109438                   asinhl(0.0l);
109439                   atanh(0.0);
109440                   atanhf(0.0f);
109441                   atanhl(0.0l);
109442                   cbrt(0.0);
109443                   cbrtf(0.0f);
109444                   cbrtl(0.0l);
109445                   copysign(0.0, 0.0);
109446                   copysignf(0.0f, 0.0f);
109447                   copysignl(0.0l, 0.0l);
109448                   erf(0.0);
109449                   erff(0.0f);
109450                   erfl(0.0l);
109451                   erfc(0.0);
109452                   erfcf(0.0f);
109453                   erfcl(0.0l);
109454                   exp2(0.0);
109455                   exp2f(0.0f);
109456                   exp2l(0.0l);
109457                   expm1(0.0);
109458                   expm1f(0.0f);
109459                   expm1l(0.0l);
109460                   fdim(0.0, 0.0);
109461                   fdimf(0.0f, 0.0f);
109462                   fdiml(0.0l, 0.0l);
109463                   fma(0.0, 0.0, 0.0);
109464                   fmaf(0.0f, 0.0f, 0.0f);
109465                   fmal(0.0l, 0.0l, 0.0l);
109466                   fmax(0.0, 0.0);
109467                   fmaxf(0.0f, 0.0f);
109468                   fmaxl(0.0l, 0.0l);
109469                   fmin(0.0, 0.0);
109470                   fminf(0.0f, 0.0f);
109471                   fminl(0.0l, 0.0l);
109472                   hypot(0.0, 0.0);
109473                   hypotf(0.0f, 0.0f);
109474                   hypotl(0.0l, 0.0l);
109475                   ilogb(0.0);
109476                   ilogbf(0.0f);
109477                   ilogbl(0.0l);
109478                   lgamma(0.0);
109479                   lgammaf(0.0f);
109480                   lgammal(0.0l);
109481                   llrint(0.0);
109482                   llrintf(0.0f);
109483                   llrintl(0.0l);
109484                   llround(0.0);
109485                   llroundf(0.0f);
109486                   llroundl(0.0l);
109487                   log1p(0.0);
109488                   log1pf(0.0f);
109489                   log1pl(0.0l);
109490                   log2(0.0);
109491                   log2f(0.0f);
109492                   log2l(0.0l);
109493                   logb(0.0);
109494                   logbf(0.0f);
109495                   logbl(0.0l);
109496                   lrint(0.0);
109497                   lrintf(0.0f);
109498                   lrintl(0.0l);
109499                   lround(0.0);
109500                   lroundf(0.0f);
109501                   lroundl(0.0l);
109502                   nan(0);
109503                   nanf(0);
109504                   nanl(0);
109505                   nearbyint(0.0);
109506                   nearbyintf(0.0f);
109507                   nearbyintl(0.0l);
109508                   nextafter(0.0, 0.0);
109509                   nextafterf(0.0f, 0.0f);
109510                   nextafterl(0.0l, 0.0l);
109511                   nexttoward(0.0, 0.0);
109512                   nexttowardf(0.0f, 0.0f);
109513                   nexttowardl(0.0l, 0.0l);
109514                   remainder(0.0, 0.0);
109515                   remainderf(0.0f, 0.0f);
109516                   remainderl(0.0l, 0.0l);
109517                   remquo(0.0, 0.0, 0);
109518                   remquo(0.0f, 0.0f, 0);
109519                   remquo(0.0l, 0.0l, 0);
109520                   rint(0.0);
109521                   rintf(0.0f);
109522                   rintl(0.0l);
109523                   round(0.0);
109524                   roundf(0.0f);
109525                   roundl(0.0l);
109526                   scalbln(0.0, 0l);
109527                   scalblnf(0.0f, 0l);
109528                   scalblnl(0.0l, 0l);
109529                   scalbn(0.0, 0);
109530                   scalbnf(0.0f, 0);
109531                   scalbnl(0.0l, 0);
109532                   tgamma(0.0);
109533                   tgammaf(0.0f);
109534                   tgammal(0.0l);
109535                   trunc(0.0);
109536                   truncf(0.0f);
109537                   truncl(0.0l);
109538
109539   ;
109540   return 0;
109541 }
109542 _ACEOF
109543 rm -f conftest.$ac_objext
109544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109545   (eval $ac_compile) 2>conftest.er1
109546   ac_status=$?
109547   grep -v '^ *+' conftest.er1 >conftest.err
109548   rm -f conftest.er1
109549   cat conftest.err >&5
109550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109551   (exit $ac_status); } &&
109552          { ac_try='test -z "$ac_cxx_werror_flag"
109553                          || test ! -s conftest.err'
109554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109555   (eval $ac_try) 2>&5
109556   ac_status=$?
109557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109558   (exit $ac_status); }; } &&
109559          { ac_try='test -s conftest.$ac_objext'
109560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109561   (eval $ac_try) 2>&5
109562   ac_status=$?
109563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109564   (exit $ac_status); }; }; then
109565   ac_c99_math_tr1=yes
109566 else
109567   echo "$as_me: failed program was:" >&5
109568 sed 's/^/| /' conftest.$ac_ext >&5
109569
109570 ac_c99_math_tr1=no
109571 fi
109572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109573
109574 fi
109575
109576   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
109577 echo "${ECHO_T}$ac_c99_math_tr1" >&6
109578   if test x"$ac_c99_math_tr1" = x"yes"; then
109579
109580 cat >>confdefs.h <<\_ACEOF
109581 #define _GLIBCXX_USE_C99_MATH_TR1 1
109582 _ACEOF
109583
109584   fi
109585
109586   # Check for the existence of <inttypes.h> functions (NB: doesn't make
109587   # sense if the previous check fails, per C99, 7.8/1).
109588   ac_c99_inttypes_tr1=no;
109589   if test x"$ac_c99_stdint_tr1" = x"yes"; then
109590     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109591 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109592     cat >conftest.$ac_ext <<_ACEOF
109593 /* confdefs.h.  */
109594 _ACEOF
109595 cat confdefs.h >>conftest.$ac_ext
109596 cat >>conftest.$ac_ext <<_ACEOF
109597 /* end confdefs.h.  */
109598 #include <inttypes.h>
109599 int
109600 main ()
109601 {
109602 intmax_t i, numer, denom, base;
109603                     const char* s;
109604                     char** endptr;
109605                     intmax_t ret = imaxabs(i);
109606                     imaxdiv_t dret = imaxdiv(numer, denom);
109607                     ret = strtoimax(s, endptr, base);
109608                     uintmax_t uret = strtoumax(s, endptr, base);
109609
109610   ;
109611   return 0;
109612 }
109613 _ACEOF
109614 rm -f conftest.$ac_objext
109615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109616   (eval $ac_compile) 2>conftest.er1
109617   ac_status=$?
109618   grep -v '^ *+' conftest.er1 >conftest.err
109619   rm -f conftest.er1
109620   cat conftest.err >&5
109621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109622   (exit $ac_status); } &&
109623          { ac_try='test -z "$ac_cxx_werror_flag"
109624                          || test ! -s conftest.err'
109625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109626   (eval $ac_try) 2>&5
109627   ac_status=$?
109628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109629   (exit $ac_status); }; } &&
109630          { ac_try='test -s conftest.$ac_objext'
109631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109632   (eval $ac_try) 2>&5
109633   ac_status=$?
109634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109635   (exit $ac_status); }; }; then
109636   ac_c99_inttypes_tr1=yes
109637 else
109638   echo "$as_me: failed program was:" >&5
109639 sed 's/^/| /' conftest.$ac_ext >&5
109640
109641 ac_c99_inttypes_tr1=no
109642 fi
109643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109644   fi
109645   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109646 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109647   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109648
109649 cat >>confdefs.h <<\_ACEOF
109650 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109651 _ACEOF
109652
109653   fi
109654
109655   # Check for the existence of the <stdbool.h> header.
109656
109657 for ac_header in stdbool.h
109658 do
109659 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109661   echo "$as_me:$LINENO: checking for $ac_header" >&5
109662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109664   echo $ECHO_N "(cached) $ECHO_C" >&6
109665 fi
109666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109668 else
109669   # Is the header compilable?
109670 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109671 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109672 cat >conftest.$ac_ext <<_ACEOF
109673 /* confdefs.h.  */
109674 _ACEOF
109675 cat confdefs.h >>conftest.$ac_ext
109676 cat >>conftest.$ac_ext <<_ACEOF
109677 /* end confdefs.h.  */
109678 $ac_includes_default
109679 #include <$ac_header>
109680 _ACEOF
109681 rm -f conftest.$ac_objext
109682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109683   (eval $ac_compile) 2>conftest.er1
109684   ac_status=$?
109685   grep -v '^ *+' conftest.er1 >conftest.err
109686   rm -f conftest.er1
109687   cat conftest.err >&5
109688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109689   (exit $ac_status); } &&
109690          { ac_try='test -z "$ac_cxx_werror_flag"
109691                          || test ! -s conftest.err'
109692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109693   (eval $ac_try) 2>&5
109694   ac_status=$?
109695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109696   (exit $ac_status); }; } &&
109697          { ac_try='test -s conftest.$ac_objext'
109698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109699   (eval $ac_try) 2>&5
109700   ac_status=$?
109701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109702   (exit $ac_status); }; }; then
109703   ac_header_compiler=yes
109704 else
109705   echo "$as_me: failed program was:" >&5
109706 sed 's/^/| /' conftest.$ac_ext >&5
109707
109708 ac_header_compiler=no
109709 fi
109710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109711 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109712 echo "${ECHO_T}$ac_header_compiler" >&6
109713
109714 # Is the header present?
109715 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109717 cat >conftest.$ac_ext <<_ACEOF
109718 /* confdefs.h.  */
109719 _ACEOF
109720 cat confdefs.h >>conftest.$ac_ext
109721 cat >>conftest.$ac_ext <<_ACEOF
109722 /* end confdefs.h.  */
109723 #include <$ac_header>
109724 _ACEOF
109725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109726   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109727   ac_status=$?
109728   grep -v '^ *+' conftest.er1 >conftest.err
109729   rm -f conftest.er1
109730   cat conftest.err >&5
109731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109732   (exit $ac_status); } >/dev/null; then
109733   if test -s conftest.err; then
109734     ac_cpp_err=$ac_cxx_preproc_warn_flag
109735     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109736   else
109737     ac_cpp_err=
109738   fi
109739 else
109740   ac_cpp_err=yes
109741 fi
109742 if test -z "$ac_cpp_err"; then
109743   ac_header_preproc=yes
109744 else
109745   echo "$as_me: failed program was:" >&5
109746 sed 's/^/| /' conftest.$ac_ext >&5
109747
109748   ac_header_preproc=no
109749 fi
109750 rm -f conftest.err conftest.$ac_ext
109751 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109752 echo "${ECHO_T}$ac_header_preproc" >&6
109753
109754 # So?  What about this header?
109755 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109756   yes:no: )
109757     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109758 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109759     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109760 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109761     ac_header_preproc=yes
109762     ;;
109763   no:yes:* )
109764     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109766     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109767 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109768     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109769 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109770     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109771 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109772     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109774     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109775 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109776     (
109777       cat <<\_ASBOX
109778 ## ----------------------------------------- ##
109779 ## Report this to the package-unused lists.  ##
109780 ## ----------------------------------------- ##
109781 _ASBOX
109782     ) |
109783       sed "s/^/$as_me: WARNING:     /" >&2
109784     ;;
109785 esac
109786 echo "$as_me:$LINENO: checking for $ac_header" >&5
109787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109789   echo $ECHO_N "(cached) $ECHO_C" >&6
109790 else
109791   eval "$as_ac_Header=\$ac_header_preproc"
109792 fi
109793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109795
109796 fi
109797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109798   cat >>confdefs.h <<_ACEOF
109799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109800 _ACEOF
109801
109802 fi
109803
109804 done
109805
109806
109807   CXXFLAGS="$ac_save_CXXFLAGS"
109808   ac_ext=c
109809 ac_cpp='$CPP $CPPFLAGS'
109810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109813
109814
109815
109816     # Check for sigsetjmp
109817     cat >conftest.$ac_ext <<_ACEOF
109818 /* confdefs.h.  */
109819 _ACEOF
109820 cat confdefs.h >>conftest.$ac_ext
109821 cat >>conftest.$ac_ext <<_ACEOF
109822 /* end confdefs.h.  */
109823 #include <setjmp.h>
109824 int
109825 main ()
109826 {
109827 sigjmp_buf env;
109828        while (! sigsetjmp (env, 1))
109829          siglongjmp (env, 1);
109830
109831   ;
109832   return 0;
109833 }
109834 _ACEOF
109835 rm -f conftest.$ac_objext
109836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109837   (eval $ac_compile) 2>conftest.er1
109838   ac_status=$?
109839   grep -v '^ *+' conftest.er1 >conftest.err
109840   rm -f conftest.er1
109841   cat conftest.err >&5
109842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109843   (exit $ac_status); } &&
109844          { ac_try='test -z "$ac_c_werror_flag"
109845                          || test ! -s conftest.err'
109846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109847   (eval $ac_try) 2>&5
109848   ac_status=$?
109849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109850   (exit $ac_status); }; } &&
109851          { ac_try='test -s conftest.$ac_objext'
109852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109853   (eval $ac_try) 2>&5
109854   ac_status=$?
109855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109856   (exit $ac_status); }; }; then
109857
109858 cat >>confdefs.h <<\_ACEOF
109859 #define HAVE_SIGSETJMP 1
109860 _ACEOF
109861
109862 else
109863   echo "$as_me: failed program was:" >&5
109864 sed 's/^/| /' conftest.$ac_ext >&5
109865
109866 fi
109867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109868     ;;
109869   *-mingw32*)
109870
109871
109872
109873 for ac_header in sys/types.h locale.h float.h
109874 do
109875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109877   echo "$as_me:$LINENO: checking for $ac_header" >&5
109878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109880   echo $ECHO_N "(cached) $ECHO_C" >&6
109881 fi
109882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109884 else
109885   # Is the header compilable?
109886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109888 cat >conftest.$ac_ext <<_ACEOF
109889 /* confdefs.h.  */
109890 _ACEOF
109891 cat confdefs.h >>conftest.$ac_ext
109892 cat >>conftest.$ac_ext <<_ACEOF
109893 /* end confdefs.h.  */
109894 $ac_includes_default
109895 #include <$ac_header>
109896 _ACEOF
109897 rm -f conftest.$ac_objext
109898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109899   (eval $ac_compile) 2>conftest.er1
109900   ac_status=$?
109901   grep -v '^ *+' conftest.er1 >conftest.err
109902   rm -f conftest.er1
109903   cat conftest.err >&5
109904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109905   (exit $ac_status); } &&
109906          { ac_try='test -z "$ac_c_werror_flag"
109907                          || test ! -s conftest.err'
109908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109909   (eval $ac_try) 2>&5
109910   ac_status=$?
109911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109912   (exit $ac_status); }; } &&
109913          { ac_try='test -s conftest.$ac_objext'
109914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109915   (eval $ac_try) 2>&5
109916   ac_status=$?
109917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109918   (exit $ac_status); }; }; then
109919   ac_header_compiler=yes
109920 else
109921   echo "$as_me: failed program was:" >&5
109922 sed 's/^/| /' conftest.$ac_ext >&5
109923
109924 ac_header_compiler=no
109925 fi
109926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109928 echo "${ECHO_T}$ac_header_compiler" >&6
109929
109930 # Is the header present?
109931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109933 cat >conftest.$ac_ext <<_ACEOF
109934 /* confdefs.h.  */
109935 _ACEOF
109936 cat confdefs.h >>conftest.$ac_ext
109937 cat >>conftest.$ac_ext <<_ACEOF
109938 /* end confdefs.h.  */
109939 #include <$ac_header>
109940 _ACEOF
109941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109942   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109943   ac_status=$?
109944   grep -v '^ *+' conftest.er1 >conftest.err
109945   rm -f conftest.er1
109946   cat conftest.err >&5
109947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109948   (exit $ac_status); } >/dev/null; then
109949   if test -s conftest.err; then
109950     ac_cpp_err=$ac_c_preproc_warn_flag
109951     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109952   else
109953     ac_cpp_err=
109954   fi
109955 else
109956   ac_cpp_err=yes
109957 fi
109958 if test -z "$ac_cpp_err"; then
109959   ac_header_preproc=yes
109960 else
109961   echo "$as_me: failed program was:" >&5
109962 sed 's/^/| /' conftest.$ac_ext >&5
109963
109964   ac_header_preproc=no
109965 fi
109966 rm -f conftest.err conftest.$ac_ext
109967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109968 echo "${ECHO_T}$ac_header_preproc" >&6
109969
109970 # So?  What about this header?
109971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109972   yes:no: )
109973     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109975     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109977     ac_header_preproc=yes
109978     ;;
109979   no:yes:* )
109980     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109982     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109983 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109984     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109986     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109987 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109988     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109990     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109992     (
109993       cat <<\_ASBOX
109994 ## ----------------------------------------- ##
109995 ## Report this to the package-unused lists.  ##
109996 ## ----------------------------------------- ##
109997 _ASBOX
109998     ) |
109999       sed "s/^/$as_me: WARNING:     /" >&2
110000     ;;
110001 esac
110002 echo "$as_me:$LINENO: checking for $ac_header" >&5
110003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110005   echo $ECHO_N "(cached) $ECHO_C" >&6
110006 else
110007   eval "$as_ac_Header=\$ac_header_preproc"
110008 fi
110009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110011
110012 fi
110013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110014   cat >>confdefs.h <<_ACEOF
110015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110016 _ACEOF
110017
110018 fi
110019
110020 done
110021
110022
110023   # If we're not using GNU ld, then there's no point in even trying these
110024   # tests.  Check for that first.  We should have already tested for gld
110025   # by now (in libtool), but require it now just to be safe...
110026   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110027   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110028
110029
110030
110031   # The name set by libtool depends on the version of libtool.  Shame on us
110032   # for depending on an impl detail, but c'est la vie.  Older versions used
110033   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110034   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110035   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
110036   # set (hence we're using an older libtool), then set it.
110037   if test x${with_gnu_ld+set} != xset; then
110038     if test x${ac_cv_prog_gnu_ld+set} != xset; then
110039       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
110040       with_gnu_ld=no
110041     else
110042       with_gnu_ld=$ac_cv_prog_gnu_ld
110043     fi
110044   fi
110045
110046   # Start by getting the version number.  I think the libtool test already
110047   # does some of this, but throws away the result.
110048   if test x"$with_gnu_ld" = x"yes"; then
110049     echo "$as_me:$LINENO: checking for ld version" >&5
110050 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110051
110052     ldver=`$LD --version 2>/dev/null | head -1 | \
110053            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110054
110055     glibcxx_gnu_ld_version=`echo $ldver | \
110056            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110057     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110058 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110059   fi
110060
110061   # Set --gc-sections.
110062   glibcxx_gcsections_min_ld=21602
110063   if test x"$with_gnu_ld" = x"yes" &&
110064         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110065
110066     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
110067     # NB: This flag only works reliably after 2.16.1. Configure tests
110068     # for this are difficult, so hard wire a value that should work.
110069
110070     ac_test_CFLAGS="${CFLAGS+set}"
110071     ac_save_CFLAGS="$CFLAGS"
110072     CFLAGS='-Wl,--gc-sections'
110073
110074     # Check for -Wl,--gc-sections
110075     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110076 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110077     if test x$gcc_no_link = xyes; then
110078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110080    { (exit 1); exit 1; }; }
110081 fi
110082 cat >conftest.$ac_ext <<_ACEOF
110083 /* confdefs.h.  */
110084 _ACEOF
110085 cat confdefs.h >>conftest.$ac_ext
110086 cat >>conftest.$ac_ext <<_ACEOF
110087 /* end confdefs.h.  */
110088  int one(void) { return 1; }
110089      int two(void) { return 2; }
110090
110091 int
110092 main ()
110093 {
110094  two();
110095   ;
110096   return 0;
110097 }
110098 _ACEOF
110099 rm -f conftest.$ac_objext conftest$ac_exeext
110100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110101   (eval $ac_link) 2>conftest.er1
110102   ac_status=$?
110103   grep -v '^ *+' conftest.er1 >conftest.err
110104   rm -f conftest.er1
110105   cat conftest.err >&5
110106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110107   (exit $ac_status); } &&
110108          { ac_try='test -z "$ac_c_werror_flag"
110109                          || test ! -s conftest.err'
110110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110111   (eval $ac_try) 2>&5
110112   ac_status=$?
110113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110114   (exit $ac_status); }; } &&
110115          { ac_try='test -s conftest$ac_exeext'
110116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110117   (eval $ac_try) 2>&5
110118   ac_status=$?
110119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110120   (exit $ac_status); }; }; then
110121   ac_gcsections=yes
110122 else
110123   echo "$as_me: failed program was:" >&5
110124 sed 's/^/| /' conftest.$ac_ext >&5
110125
110126 ac_gcsections=no
110127 fi
110128 rm -f conftest.err conftest.$ac_objext \
110129       conftest$ac_exeext conftest.$ac_ext
110130     if test "$ac_gcsections" = "yes"; then
110131       rm -f conftest.c
110132       touch conftest.c
110133       if $CC -c conftest.c; then
110134         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110135            grep "Warning: gc-sections option ignored" > /dev/null; then
110136           ac_gcsections=no
110137         fi
110138       fi
110139       rm -f conftest.c conftest.o conftest
110140     fi
110141     if test "$ac_gcsections" = "yes"; then
110142       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110143     fi
110144     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110145 echo "${ECHO_T}$ac_gcsections" >&6
110146
110147     if test "$ac_test_CFLAGS" = set; then
110148       CFLAGS="$ac_save_CFLAGS"
110149     else
110150       # this is the suspicious part
110151       CFLAGS=''
110152     fi
110153   fi
110154
110155   # Set -z,relro.
110156   # Note this is only for shared objects.
110157   ac_ld_relro=no
110158   if test x"$with_gnu_ld" = x"yes"; then
110159     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110160 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110161     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110162     if test -n "$cxx_z_relo"; then
110163       OPT_LDFLAGS="-Wl,-z,relro"
110164       ac_ld_relro=yes
110165     fi
110166     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110167 echo "${ECHO_T}$ac_ld_relro" >&6
110168   fi
110169
110170   # Set linker optimization flags.
110171   if test x"$with_gnu_ld" = x"yes"; then
110172     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110173   fi
110174
110175
110176
110177
110178
110179
110180 echo "$as_me:$LINENO: checking for main in -lm" >&5
110181 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110182 if test "${ac_cv_lib_m_main+set}" = set; then
110183   echo $ECHO_N "(cached) $ECHO_C" >&6
110184 else
110185   ac_check_lib_save_LIBS=$LIBS
110186 LIBS="-lm  $LIBS"
110187 if test x$gcc_no_link = xyes; then
110188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110190    { (exit 1); exit 1; }; }
110191 fi
110192 cat >conftest.$ac_ext <<_ACEOF
110193 /* confdefs.h.  */
110194 _ACEOF
110195 cat confdefs.h >>conftest.$ac_ext
110196 cat >>conftest.$ac_ext <<_ACEOF
110197 /* end confdefs.h.  */
110198
110199
110200 int
110201 main ()
110202 {
110203 main ();
110204   ;
110205   return 0;
110206 }
110207 _ACEOF
110208 rm -f conftest.$ac_objext conftest$ac_exeext
110209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110210   (eval $ac_link) 2>conftest.er1
110211   ac_status=$?
110212   grep -v '^ *+' conftest.er1 >conftest.err
110213   rm -f conftest.er1
110214   cat conftest.err >&5
110215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110216   (exit $ac_status); } &&
110217          { ac_try='test -z "$ac_c_werror_flag"
110218                          || test ! -s conftest.err'
110219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110220   (eval $ac_try) 2>&5
110221   ac_status=$?
110222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110223   (exit $ac_status); }; } &&
110224          { ac_try='test -s conftest$ac_exeext'
110225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110226   (eval $ac_try) 2>&5
110227   ac_status=$?
110228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110229   (exit $ac_status); }; }; then
110230   ac_cv_lib_m_main=yes
110231 else
110232   echo "$as_me: failed program was:" >&5
110233 sed 's/^/| /' conftest.$ac_ext >&5
110234
110235 ac_cv_lib_m_main=no
110236 fi
110237 rm -f conftest.err conftest.$ac_objext \
110238       conftest$ac_exeext conftest.$ac_ext
110239 LIBS=$ac_check_lib_save_LIBS
110240 fi
110241 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110242 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110243 if test $ac_cv_lib_m_main = yes; then
110244   cat >>confdefs.h <<_ACEOF
110245 #define HAVE_LIBM 1
110246 _ACEOF
110247
110248   LIBS="-lm $LIBS"
110249
110250 fi
110251
110252
110253 for ac_func in copysignf
110254 do
110255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110256 echo "$as_me:$LINENO: checking for $ac_func" >&5
110257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110258 if eval "test \"\${$as_ac_var+set}\" = set"; then
110259   echo $ECHO_N "(cached) $ECHO_C" >&6
110260 else
110261   if test x$gcc_no_link = xyes; then
110262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110264    { (exit 1); exit 1; }; }
110265 fi
110266 cat >conftest.$ac_ext <<_ACEOF
110267 /* confdefs.h.  */
110268 _ACEOF
110269 cat confdefs.h >>conftest.$ac_ext
110270 cat >>conftest.$ac_ext <<_ACEOF
110271 /* end confdefs.h.  */
110272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110273    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110274 #define $ac_func innocuous_$ac_func
110275
110276 /* System header to define __stub macros and hopefully few prototypes,
110277     which can conflict with char $ac_func (); below.
110278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110279     <limits.h> exists even on freestanding compilers.  */
110280
110281 #ifdef __STDC__
110282 # include <limits.h>
110283 #else
110284 # include <assert.h>
110285 #endif
110286
110287 #undef $ac_func
110288
110289 /* Override any gcc2 internal prototype to avoid an error.  */
110290 #ifdef __cplusplus
110291 extern "C"
110292 {
110293 #endif
110294 /* We use char because int might match the return type of a gcc2
110295    builtin and then its argument prototype would still apply.  */
110296 char $ac_func ();
110297 /* The GNU C library defines this for functions which it implements
110298     to always fail with ENOSYS.  Some functions are actually named
110299     something starting with __ and the normal name is an alias.  */
110300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110301 choke me
110302 #else
110303 char (*f) () = $ac_func;
110304 #endif
110305 #ifdef __cplusplus
110306 }
110307 #endif
110308
110309 int
110310 main ()
110311 {
110312 return f != $ac_func;
110313   ;
110314   return 0;
110315 }
110316 _ACEOF
110317 rm -f conftest.$ac_objext conftest$ac_exeext
110318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110319   (eval $ac_link) 2>conftest.er1
110320   ac_status=$?
110321   grep -v '^ *+' conftest.er1 >conftest.err
110322   rm -f conftest.er1
110323   cat conftest.err >&5
110324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110325   (exit $ac_status); } &&
110326          { ac_try='test -z "$ac_c_werror_flag"
110327                          || test ! -s conftest.err'
110328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110329   (eval $ac_try) 2>&5
110330   ac_status=$?
110331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110332   (exit $ac_status); }; } &&
110333          { ac_try='test -s conftest$ac_exeext'
110334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110335   (eval $ac_try) 2>&5
110336   ac_status=$?
110337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110338   (exit $ac_status); }; }; then
110339   eval "$as_ac_var=yes"
110340 else
110341   echo "$as_me: failed program was:" >&5
110342 sed 's/^/| /' conftest.$ac_ext >&5
110343
110344 eval "$as_ac_var=no"
110345 fi
110346 rm -f conftest.err conftest.$ac_objext \
110347       conftest$ac_exeext conftest.$ac_ext
110348 fi
110349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110351 if test `eval echo '${'$as_ac_var'}'` = yes; then
110352   cat >>confdefs.h <<_ACEOF
110353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110354 _ACEOF
110355
110356 else
110357   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110358 fi
110359 done
110360
110361
110362
110363 for ac_func in __signbit
110364 do
110365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110366 echo "$as_me:$LINENO: checking for $ac_func" >&5
110367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110368 if eval "test \"\${$as_ac_var+set}\" = set"; then
110369   echo $ECHO_N "(cached) $ECHO_C" >&6
110370 else
110371   if test x$gcc_no_link = xyes; then
110372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110374    { (exit 1); exit 1; }; }
110375 fi
110376 cat >conftest.$ac_ext <<_ACEOF
110377 /* confdefs.h.  */
110378 _ACEOF
110379 cat confdefs.h >>conftest.$ac_ext
110380 cat >>conftest.$ac_ext <<_ACEOF
110381 /* end confdefs.h.  */
110382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110384 #define $ac_func innocuous_$ac_func
110385
110386 /* System header to define __stub macros and hopefully few prototypes,
110387     which can conflict with char $ac_func (); below.
110388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110389     <limits.h> exists even on freestanding compilers.  */
110390
110391 #ifdef __STDC__
110392 # include <limits.h>
110393 #else
110394 # include <assert.h>
110395 #endif
110396
110397 #undef $ac_func
110398
110399 /* Override any gcc2 internal prototype to avoid an error.  */
110400 #ifdef __cplusplus
110401 extern "C"
110402 {
110403 #endif
110404 /* We use char because int might match the return type of a gcc2
110405    builtin and then its argument prototype would still apply.  */
110406 char $ac_func ();
110407 /* The GNU C library defines this for functions which it implements
110408     to always fail with ENOSYS.  Some functions are actually named
110409     something starting with __ and the normal name is an alias.  */
110410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110411 choke me
110412 #else
110413 char (*f) () = $ac_func;
110414 #endif
110415 #ifdef __cplusplus
110416 }
110417 #endif
110418
110419 int
110420 main ()
110421 {
110422 return f != $ac_func;
110423   ;
110424   return 0;
110425 }
110426 _ACEOF
110427 rm -f conftest.$ac_objext conftest$ac_exeext
110428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110429   (eval $ac_link) 2>conftest.er1
110430   ac_status=$?
110431   grep -v '^ *+' conftest.er1 >conftest.err
110432   rm -f conftest.er1
110433   cat conftest.err >&5
110434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110435   (exit $ac_status); } &&
110436          { ac_try='test -z "$ac_c_werror_flag"
110437                          || test ! -s conftest.err'
110438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110439   (eval $ac_try) 2>&5
110440   ac_status=$?
110441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110442   (exit $ac_status); }; } &&
110443          { ac_try='test -s conftest$ac_exeext'
110444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110445   (eval $ac_try) 2>&5
110446   ac_status=$?
110447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110448   (exit $ac_status); }; }; then
110449   eval "$as_ac_var=yes"
110450 else
110451   echo "$as_me: failed program was:" >&5
110452 sed 's/^/| /' conftest.$ac_ext >&5
110453
110454 eval "$as_ac_var=no"
110455 fi
110456 rm -f conftest.err conftest.$ac_objext \
110457       conftest$ac_exeext conftest.$ac_ext
110458 fi
110459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110461 if test `eval echo '${'$as_ac_var'}'` = yes; then
110462   cat >>confdefs.h <<_ACEOF
110463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110464 _ACEOF
110465
110466 else
110467   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110468 fi
110469 done
110470
110471
110472
110473 for ac_func in __signbitf
110474 do
110475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110476 echo "$as_me:$LINENO: checking for $ac_func" >&5
110477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110478 if eval "test \"\${$as_ac_var+set}\" = set"; then
110479   echo $ECHO_N "(cached) $ECHO_C" >&6
110480 else
110481   if test x$gcc_no_link = xyes; then
110482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110484    { (exit 1); exit 1; }; }
110485 fi
110486 cat >conftest.$ac_ext <<_ACEOF
110487 /* confdefs.h.  */
110488 _ACEOF
110489 cat confdefs.h >>conftest.$ac_ext
110490 cat >>conftest.$ac_ext <<_ACEOF
110491 /* end confdefs.h.  */
110492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110494 #define $ac_func innocuous_$ac_func
110495
110496 /* System header to define __stub macros and hopefully few prototypes,
110497     which can conflict with char $ac_func (); below.
110498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110499     <limits.h> exists even on freestanding compilers.  */
110500
110501 #ifdef __STDC__
110502 # include <limits.h>
110503 #else
110504 # include <assert.h>
110505 #endif
110506
110507 #undef $ac_func
110508
110509 /* Override any gcc2 internal prototype to avoid an error.  */
110510 #ifdef __cplusplus
110511 extern "C"
110512 {
110513 #endif
110514 /* We use char because int might match the return type of a gcc2
110515    builtin and then its argument prototype would still apply.  */
110516 char $ac_func ();
110517 /* The GNU C library defines this for functions which it implements
110518     to always fail with ENOSYS.  Some functions are actually named
110519     something starting with __ and the normal name is an alias.  */
110520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110521 choke me
110522 #else
110523 char (*f) () = $ac_func;
110524 #endif
110525 #ifdef __cplusplus
110526 }
110527 #endif
110528
110529 int
110530 main ()
110531 {
110532 return f != $ac_func;
110533   ;
110534   return 0;
110535 }
110536 _ACEOF
110537 rm -f conftest.$ac_objext conftest$ac_exeext
110538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110539   (eval $ac_link) 2>conftest.er1
110540   ac_status=$?
110541   grep -v '^ *+' conftest.er1 >conftest.err
110542   rm -f conftest.er1
110543   cat conftest.err >&5
110544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110545   (exit $ac_status); } &&
110546          { ac_try='test -z "$ac_c_werror_flag"
110547                          || test ! -s conftest.err'
110548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110549   (eval $ac_try) 2>&5
110550   ac_status=$?
110551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110552   (exit $ac_status); }; } &&
110553          { ac_try='test -s conftest$ac_exeext'
110554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110555   (eval $ac_try) 2>&5
110556   ac_status=$?
110557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110558   (exit $ac_status); }; }; then
110559   eval "$as_ac_var=yes"
110560 else
110561   echo "$as_me: failed program was:" >&5
110562 sed 's/^/| /' conftest.$ac_ext >&5
110563
110564 eval "$as_ac_var=no"
110565 fi
110566 rm -f conftest.err conftest.$ac_objext \
110567       conftest$ac_exeext conftest.$ac_ext
110568 fi
110569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110571 if test `eval echo '${'$as_ac_var'}'` = yes; then
110572   cat >>confdefs.h <<_ACEOF
110573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110574 _ACEOF
110575
110576 else
110577   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110578 fi
110579 done
110580
110581
110582           if test x$ac_cv_func_copysignl = x"yes"; then
110583
110584 for ac_func in __signbitl
110585 do
110586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110587 echo "$as_me:$LINENO: checking for $ac_func" >&5
110588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110589 if eval "test \"\${$as_ac_var+set}\" = set"; then
110590   echo $ECHO_N "(cached) $ECHO_C" >&6
110591 else
110592   if test x$gcc_no_link = xyes; then
110593   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110595    { (exit 1); exit 1; }; }
110596 fi
110597 cat >conftest.$ac_ext <<_ACEOF
110598 /* confdefs.h.  */
110599 _ACEOF
110600 cat confdefs.h >>conftest.$ac_ext
110601 cat >>conftest.$ac_ext <<_ACEOF
110602 /* end confdefs.h.  */
110603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110604    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110605 #define $ac_func innocuous_$ac_func
110606
110607 /* System header to define __stub macros and hopefully few prototypes,
110608     which can conflict with char $ac_func (); below.
110609     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110610     <limits.h> exists even on freestanding compilers.  */
110611
110612 #ifdef __STDC__
110613 # include <limits.h>
110614 #else
110615 # include <assert.h>
110616 #endif
110617
110618 #undef $ac_func
110619
110620 /* Override any gcc2 internal prototype to avoid an error.  */
110621 #ifdef __cplusplus
110622 extern "C"
110623 {
110624 #endif
110625 /* We use char because int might match the return type of a gcc2
110626    builtin and then its argument prototype would still apply.  */
110627 char $ac_func ();
110628 /* The GNU C library defines this for functions which it implements
110629     to always fail with ENOSYS.  Some functions are actually named
110630     something starting with __ and the normal name is an alias.  */
110631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110632 choke me
110633 #else
110634 char (*f) () = $ac_func;
110635 #endif
110636 #ifdef __cplusplus
110637 }
110638 #endif
110639
110640 int
110641 main ()
110642 {
110643 return f != $ac_func;
110644   ;
110645   return 0;
110646 }
110647 _ACEOF
110648 rm -f conftest.$ac_objext conftest$ac_exeext
110649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110650   (eval $ac_link) 2>conftest.er1
110651   ac_status=$?
110652   grep -v '^ *+' conftest.er1 >conftest.err
110653   rm -f conftest.er1
110654   cat conftest.err >&5
110655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110656   (exit $ac_status); } &&
110657          { ac_try='test -z "$ac_c_werror_flag"
110658                          || test ! -s conftest.err'
110659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110660   (eval $ac_try) 2>&5
110661   ac_status=$?
110662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110663   (exit $ac_status); }; } &&
110664          { ac_try='test -s conftest$ac_exeext'
110665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110666   (eval $ac_try) 2>&5
110667   ac_status=$?
110668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110669   (exit $ac_status); }; }; then
110670   eval "$as_ac_var=yes"
110671 else
110672   echo "$as_me: failed program was:" >&5
110673 sed 's/^/| /' conftest.$ac_ext >&5
110674
110675 eval "$as_ac_var=no"
110676 fi
110677 rm -f conftest.err conftest.$ac_objext \
110678       conftest$ac_exeext conftest.$ac_ext
110679 fi
110680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110682 if test `eval echo '${'$as_ac_var'}'` = yes; then
110683   cat >>confdefs.h <<_ACEOF
110684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110685 _ACEOF
110686
110687 else
110688   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110689 fi
110690 done
110691
110692   fi
110693
110694   # Used in libmath/Makefile.am.
110695   if test -n "$LIBMATHOBJS"; then
110696     need_libmath=yes
110697   fi
110698
110699
110700     ;;
110701   *-netbsd*)
110702
110703
110704
110705
110706
110707
110708
110709
110710
110711
110712
110713
110714 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110715       machine/endian.h machine/param.h sys/machine.h sys/types.h \
110716       fp.h locale.h float.h inttypes.h
110717 do
110718 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110720   echo "$as_me:$LINENO: checking for $ac_header" >&5
110721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110723   echo $ECHO_N "(cached) $ECHO_C" >&6
110724 fi
110725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110726 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110727 else
110728   # Is the header compilable?
110729 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110730 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110731 cat >conftest.$ac_ext <<_ACEOF
110732 /* confdefs.h.  */
110733 _ACEOF
110734 cat confdefs.h >>conftest.$ac_ext
110735 cat >>conftest.$ac_ext <<_ACEOF
110736 /* end confdefs.h.  */
110737 $ac_includes_default
110738 #include <$ac_header>
110739 _ACEOF
110740 rm -f conftest.$ac_objext
110741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110742   (eval $ac_compile) 2>conftest.er1
110743   ac_status=$?
110744   grep -v '^ *+' conftest.er1 >conftest.err
110745   rm -f conftest.er1
110746   cat conftest.err >&5
110747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110748   (exit $ac_status); } &&
110749          { ac_try='test -z "$ac_c_werror_flag"
110750                          || test ! -s conftest.err'
110751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110752   (eval $ac_try) 2>&5
110753   ac_status=$?
110754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110755   (exit $ac_status); }; } &&
110756          { ac_try='test -s conftest.$ac_objext'
110757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110758   (eval $ac_try) 2>&5
110759   ac_status=$?
110760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110761   (exit $ac_status); }; }; then
110762   ac_header_compiler=yes
110763 else
110764   echo "$as_me: failed program was:" >&5
110765 sed 's/^/| /' conftest.$ac_ext >&5
110766
110767 ac_header_compiler=no
110768 fi
110769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110771 echo "${ECHO_T}$ac_header_compiler" >&6
110772
110773 # Is the header present?
110774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110776 cat >conftest.$ac_ext <<_ACEOF
110777 /* confdefs.h.  */
110778 _ACEOF
110779 cat confdefs.h >>conftest.$ac_ext
110780 cat >>conftest.$ac_ext <<_ACEOF
110781 /* end confdefs.h.  */
110782 #include <$ac_header>
110783 _ACEOF
110784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110785   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110786   ac_status=$?
110787   grep -v '^ *+' conftest.er1 >conftest.err
110788   rm -f conftest.er1
110789   cat conftest.err >&5
110790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110791   (exit $ac_status); } >/dev/null; then
110792   if test -s conftest.err; then
110793     ac_cpp_err=$ac_c_preproc_warn_flag
110794     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110795   else
110796     ac_cpp_err=
110797   fi
110798 else
110799   ac_cpp_err=yes
110800 fi
110801 if test -z "$ac_cpp_err"; then
110802   ac_header_preproc=yes
110803 else
110804   echo "$as_me: failed program was:" >&5
110805 sed 's/^/| /' conftest.$ac_ext >&5
110806
110807   ac_header_preproc=no
110808 fi
110809 rm -f conftest.err conftest.$ac_ext
110810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110811 echo "${ECHO_T}$ac_header_preproc" >&6
110812
110813 # So?  What about this header?
110814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110815   yes:no: )
110816     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110818     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110820     ac_header_preproc=yes
110821     ;;
110822   no:yes:* )
110823     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110825     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110826 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110827     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110829     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110830 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110831     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110833     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110835     (
110836       cat <<\_ASBOX
110837 ## ----------------------------------------- ##
110838 ## Report this to the package-unused lists.  ##
110839 ## ----------------------------------------- ##
110840 _ASBOX
110841     ) |
110842       sed "s/^/$as_me: WARNING:     /" >&2
110843     ;;
110844 esac
110845 echo "$as_me:$LINENO: checking for $ac_header" >&5
110846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110848   echo $ECHO_N "(cached) $ECHO_C" >&6
110849 else
110850   eval "$as_ac_Header=\$ac_header_preproc"
110851 fi
110852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110854
110855 fi
110856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110857   cat >>confdefs.h <<_ACEOF
110858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110859 _ACEOF
110860
110861 fi
110862
110863 done
110864
110865     SECTION_FLAGS='-ffunction-sections -fdata-sections'
110866
110867
110868   # If we're not using GNU ld, then there's no point in even trying these
110869   # tests.  Check for that first.  We should have already tested for gld
110870   # by now (in libtool), but require it now just to be safe...
110871   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110872   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110873
110874
110875
110876   # The name set by libtool depends on the version of libtool.  Shame on us
110877   # for depending on an impl detail, but c'est la vie.  Older versions used
110878   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110879   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110880   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
110881   # set (hence we're using an older libtool), then set it.
110882   if test x${with_gnu_ld+set} != xset; then
110883     if test x${ac_cv_prog_gnu_ld+set} != xset; then
110884       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
110885       with_gnu_ld=no
110886     else
110887       with_gnu_ld=$ac_cv_prog_gnu_ld
110888     fi
110889   fi
110890
110891   # Start by getting the version number.  I think the libtool test already
110892   # does some of this, but throws away the result.
110893   if test x"$with_gnu_ld" = x"yes"; then
110894     echo "$as_me:$LINENO: checking for ld version" >&5
110895 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110896
110897     ldver=`$LD --version 2>/dev/null | head -1 | \
110898            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110899
110900     glibcxx_gnu_ld_version=`echo $ldver | \
110901            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110902     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110903 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110904   fi
110905
110906   # Set --gc-sections.
110907   glibcxx_gcsections_min_ld=21602
110908   if test x"$with_gnu_ld" = x"yes" &&
110909         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110910
110911     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
110912     # NB: This flag only works reliably after 2.16.1. Configure tests
110913     # for this are difficult, so hard wire a value that should work.
110914
110915     ac_test_CFLAGS="${CFLAGS+set}"
110916     ac_save_CFLAGS="$CFLAGS"
110917     CFLAGS='-Wl,--gc-sections'
110918
110919     # Check for -Wl,--gc-sections
110920     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110921 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110922     if test x$gcc_no_link = xyes; then
110923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110925    { (exit 1); exit 1; }; }
110926 fi
110927 cat >conftest.$ac_ext <<_ACEOF
110928 /* confdefs.h.  */
110929 _ACEOF
110930 cat confdefs.h >>conftest.$ac_ext
110931 cat >>conftest.$ac_ext <<_ACEOF
110932 /* end confdefs.h.  */
110933  int one(void) { return 1; }
110934      int two(void) { return 2; }
110935
110936 int
110937 main ()
110938 {
110939  two();
110940   ;
110941   return 0;
110942 }
110943 _ACEOF
110944 rm -f conftest.$ac_objext conftest$ac_exeext
110945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110946   (eval $ac_link) 2>conftest.er1
110947   ac_status=$?
110948   grep -v '^ *+' conftest.er1 >conftest.err
110949   rm -f conftest.er1
110950   cat conftest.err >&5
110951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110952   (exit $ac_status); } &&
110953          { ac_try='test -z "$ac_c_werror_flag"
110954                          || test ! -s conftest.err'
110955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110956   (eval $ac_try) 2>&5
110957   ac_status=$?
110958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110959   (exit $ac_status); }; } &&
110960          { ac_try='test -s conftest$ac_exeext'
110961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110962   (eval $ac_try) 2>&5
110963   ac_status=$?
110964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110965   (exit $ac_status); }; }; then
110966   ac_gcsections=yes
110967 else
110968   echo "$as_me: failed program was:" >&5
110969 sed 's/^/| /' conftest.$ac_ext >&5
110970
110971 ac_gcsections=no
110972 fi
110973 rm -f conftest.err conftest.$ac_objext \
110974       conftest$ac_exeext conftest.$ac_ext
110975     if test "$ac_gcsections" = "yes"; then
110976       rm -f conftest.c
110977       touch conftest.c
110978       if $CC -c conftest.c; then
110979         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110980            grep "Warning: gc-sections option ignored" > /dev/null; then
110981           ac_gcsections=no
110982         fi
110983       fi
110984       rm -f conftest.c conftest.o conftest
110985     fi
110986     if test "$ac_gcsections" = "yes"; then
110987       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110988     fi
110989     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110990 echo "${ECHO_T}$ac_gcsections" >&6
110991
110992     if test "$ac_test_CFLAGS" = set; then
110993       CFLAGS="$ac_save_CFLAGS"
110994     else
110995       # this is the suspicious part
110996       CFLAGS=''
110997     fi
110998   fi
110999
111000   # Set -z,relro.
111001   # Note this is only for shared objects.
111002   ac_ld_relro=no
111003   if test x"$with_gnu_ld" = x"yes"; then
111004     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111005 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111006     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111007     if test -n "$cxx_z_relo"; then
111008       OPT_LDFLAGS="-Wl,-z,relro"
111009       ac_ld_relro=yes
111010     fi
111011     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111012 echo "${ECHO_T}$ac_ld_relro" >&6
111013   fi
111014
111015   # Set linker optimization flags.
111016   if test x"$with_gnu_ld" = x"yes"; then
111017     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111018   fi
111019
111020
111021
111022
111023
111024
111025 echo "$as_me:$LINENO: checking for main in -lm" >&5
111026 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111027 if test "${ac_cv_lib_m_main+set}" = set; then
111028   echo $ECHO_N "(cached) $ECHO_C" >&6
111029 else
111030   ac_check_lib_save_LIBS=$LIBS
111031 LIBS="-lm  $LIBS"
111032 if test x$gcc_no_link = xyes; then
111033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111035    { (exit 1); exit 1; }; }
111036 fi
111037 cat >conftest.$ac_ext <<_ACEOF
111038 /* confdefs.h.  */
111039 _ACEOF
111040 cat confdefs.h >>conftest.$ac_ext
111041 cat >>conftest.$ac_ext <<_ACEOF
111042 /* end confdefs.h.  */
111043
111044
111045 int
111046 main ()
111047 {
111048 main ();
111049   ;
111050   return 0;
111051 }
111052 _ACEOF
111053 rm -f conftest.$ac_objext conftest$ac_exeext
111054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111055   (eval $ac_link) 2>conftest.er1
111056   ac_status=$?
111057   grep -v '^ *+' conftest.er1 >conftest.err
111058   rm -f conftest.er1
111059   cat conftest.err >&5
111060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111061   (exit $ac_status); } &&
111062          { ac_try='test -z "$ac_c_werror_flag"
111063                          || test ! -s conftest.err'
111064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111065   (eval $ac_try) 2>&5
111066   ac_status=$?
111067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111068   (exit $ac_status); }; } &&
111069          { ac_try='test -s conftest$ac_exeext'
111070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111071   (eval $ac_try) 2>&5
111072   ac_status=$?
111073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111074   (exit $ac_status); }; }; then
111075   ac_cv_lib_m_main=yes
111076 else
111077   echo "$as_me: failed program was:" >&5
111078 sed 's/^/| /' conftest.$ac_ext >&5
111079
111080 ac_cv_lib_m_main=no
111081 fi
111082 rm -f conftest.err conftest.$ac_objext \
111083       conftest$ac_exeext conftest.$ac_ext
111084 LIBS=$ac_check_lib_save_LIBS
111085 fi
111086 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111087 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111088 if test $ac_cv_lib_m_main = yes; then
111089   cat >>confdefs.h <<_ACEOF
111090 #define HAVE_LIBM 1
111091 _ACEOF
111092
111093   LIBS="-lm $LIBS"
111094
111095 fi
111096
111097
111098 for ac_func in copysignf
111099 do
111100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111101 echo "$as_me:$LINENO: checking for $ac_func" >&5
111102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111103 if eval "test \"\${$as_ac_var+set}\" = set"; then
111104   echo $ECHO_N "(cached) $ECHO_C" >&6
111105 else
111106   if test x$gcc_no_link = xyes; then
111107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111109    { (exit 1); exit 1; }; }
111110 fi
111111 cat >conftest.$ac_ext <<_ACEOF
111112 /* confdefs.h.  */
111113 _ACEOF
111114 cat confdefs.h >>conftest.$ac_ext
111115 cat >>conftest.$ac_ext <<_ACEOF
111116 /* end confdefs.h.  */
111117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111118    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111119 #define $ac_func innocuous_$ac_func
111120
111121 /* System header to define __stub macros and hopefully few prototypes,
111122     which can conflict with char $ac_func (); below.
111123     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111124     <limits.h> exists even on freestanding compilers.  */
111125
111126 #ifdef __STDC__
111127 # include <limits.h>
111128 #else
111129 # include <assert.h>
111130 #endif
111131
111132 #undef $ac_func
111133
111134 /* Override any gcc2 internal prototype to avoid an error.  */
111135 #ifdef __cplusplus
111136 extern "C"
111137 {
111138 #endif
111139 /* We use char because int might match the return type of a gcc2
111140    builtin and then its argument prototype would still apply.  */
111141 char $ac_func ();
111142 /* The GNU C library defines this for functions which it implements
111143     to always fail with ENOSYS.  Some functions are actually named
111144     something starting with __ and the normal name is an alias.  */
111145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111146 choke me
111147 #else
111148 char (*f) () = $ac_func;
111149 #endif
111150 #ifdef __cplusplus
111151 }
111152 #endif
111153
111154 int
111155 main ()
111156 {
111157 return f != $ac_func;
111158   ;
111159   return 0;
111160 }
111161 _ACEOF
111162 rm -f conftest.$ac_objext conftest$ac_exeext
111163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111164   (eval $ac_link) 2>conftest.er1
111165   ac_status=$?
111166   grep -v '^ *+' conftest.er1 >conftest.err
111167   rm -f conftest.er1
111168   cat conftest.err >&5
111169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111170   (exit $ac_status); } &&
111171          { ac_try='test -z "$ac_c_werror_flag"
111172                          || test ! -s conftest.err'
111173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111174   (eval $ac_try) 2>&5
111175   ac_status=$?
111176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111177   (exit $ac_status); }; } &&
111178          { ac_try='test -s conftest$ac_exeext'
111179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111180   (eval $ac_try) 2>&5
111181   ac_status=$?
111182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111183   (exit $ac_status); }; }; then
111184   eval "$as_ac_var=yes"
111185 else
111186   echo "$as_me: failed program was:" >&5
111187 sed 's/^/| /' conftest.$ac_ext >&5
111188
111189 eval "$as_ac_var=no"
111190 fi
111191 rm -f conftest.err conftest.$ac_objext \
111192       conftest$ac_exeext conftest.$ac_ext
111193 fi
111194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111196 if test `eval echo '${'$as_ac_var'}'` = yes; then
111197   cat >>confdefs.h <<_ACEOF
111198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111199 _ACEOF
111200
111201 else
111202   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111203 fi
111204 done
111205
111206
111207
111208 for ac_func in __signbit
111209 do
111210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111211 echo "$as_me:$LINENO: checking for $ac_func" >&5
111212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111213 if eval "test \"\${$as_ac_var+set}\" = set"; then
111214   echo $ECHO_N "(cached) $ECHO_C" >&6
111215 else
111216   if test x$gcc_no_link = xyes; then
111217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111219    { (exit 1); exit 1; }; }
111220 fi
111221 cat >conftest.$ac_ext <<_ACEOF
111222 /* confdefs.h.  */
111223 _ACEOF
111224 cat confdefs.h >>conftest.$ac_ext
111225 cat >>conftest.$ac_ext <<_ACEOF
111226 /* end confdefs.h.  */
111227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111229 #define $ac_func innocuous_$ac_func
111230
111231 /* System header to define __stub macros and hopefully few prototypes,
111232     which can conflict with char $ac_func (); below.
111233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111234     <limits.h> exists even on freestanding compilers.  */
111235
111236 #ifdef __STDC__
111237 # include <limits.h>
111238 #else
111239 # include <assert.h>
111240 #endif
111241
111242 #undef $ac_func
111243
111244 /* Override any gcc2 internal prototype to avoid an error.  */
111245 #ifdef __cplusplus
111246 extern "C"
111247 {
111248 #endif
111249 /* We use char because int might match the return type of a gcc2
111250    builtin and then its argument prototype would still apply.  */
111251 char $ac_func ();
111252 /* The GNU C library defines this for functions which it implements
111253     to always fail with ENOSYS.  Some functions are actually named
111254     something starting with __ and the normal name is an alias.  */
111255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111256 choke me
111257 #else
111258 char (*f) () = $ac_func;
111259 #endif
111260 #ifdef __cplusplus
111261 }
111262 #endif
111263
111264 int
111265 main ()
111266 {
111267 return f != $ac_func;
111268   ;
111269   return 0;
111270 }
111271 _ACEOF
111272 rm -f conftest.$ac_objext conftest$ac_exeext
111273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111274   (eval $ac_link) 2>conftest.er1
111275   ac_status=$?
111276   grep -v '^ *+' conftest.er1 >conftest.err
111277   rm -f conftest.er1
111278   cat conftest.err >&5
111279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111280   (exit $ac_status); } &&
111281          { ac_try='test -z "$ac_c_werror_flag"
111282                          || test ! -s conftest.err'
111283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111284   (eval $ac_try) 2>&5
111285   ac_status=$?
111286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111287   (exit $ac_status); }; } &&
111288          { ac_try='test -s conftest$ac_exeext'
111289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111290   (eval $ac_try) 2>&5
111291   ac_status=$?
111292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111293   (exit $ac_status); }; }; then
111294   eval "$as_ac_var=yes"
111295 else
111296   echo "$as_me: failed program was:" >&5
111297 sed 's/^/| /' conftest.$ac_ext >&5
111298
111299 eval "$as_ac_var=no"
111300 fi
111301 rm -f conftest.err conftest.$ac_objext \
111302       conftest$ac_exeext conftest.$ac_ext
111303 fi
111304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111306 if test `eval echo '${'$as_ac_var'}'` = yes; then
111307   cat >>confdefs.h <<_ACEOF
111308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111309 _ACEOF
111310
111311 else
111312   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111313 fi
111314 done
111315
111316
111317
111318 for ac_func in __signbitf
111319 do
111320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111321 echo "$as_me:$LINENO: checking for $ac_func" >&5
111322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111323 if eval "test \"\${$as_ac_var+set}\" = set"; then
111324   echo $ECHO_N "(cached) $ECHO_C" >&6
111325 else
111326   if test x$gcc_no_link = xyes; then
111327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111329    { (exit 1); exit 1; }; }
111330 fi
111331 cat >conftest.$ac_ext <<_ACEOF
111332 /* confdefs.h.  */
111333 _ACEOF
111334 cat confdefs.h >>conftest.$ac_ext
111335 cat >>conftest.$ac_ext <<_ACEOF
111336 /* end confdefs.h.  */
111337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111339 #define $ac_func innocuous_$ac_func
111340
111341 /* System header to define __stub macros and hopefully few prototypes,
111342     which can conflict with char $ac_func (); below.
111343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111344     <limits.h> exists even on freestanding compilers.  */
111345
111346 #ifdef __STDC__
111347 # include <limits.h>
111348 #else
111349 # include <assert.h>
111350 #endif
111351
111352 #undef $ac_func
111353
111354 /* Override any gcc2 internal prototype to avoid an error.  */
111355 #ifdef __cplusplus
111356 extern "C"
111357 {
111358 #endif
111359 /* We use char because int might match the return type of a gcc2
111360    builtin and then its argument prototype would still apply.  */
111361 char $ac_func ();
111362 /* The GNU C library defines this for functions which it implements
111363     to always fail with ENOSYS.  Some functions are actually named
111364     something starting with __ and the normal name is an alias.  */
111365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111366 choke me
111367 #else
111368 char (*f) () = $ac_func;
111369 #endif
111370 #ifdef __cplusplus
111371 }
111372 #endif
111373
111374 int
111375 main ()
111376 {
111377 return f != $ac_func;
111378   ;
111379   return 0;
111380 }
111381 _ACEOF
111382 rm -f conftest.$ac_objext conftest$ac_exeext
111383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111384   (eval $ac_link) 2>conftest.er1
111385   ac_status=$?
111386   grep -v '^ *+' conftest.er1 >conftest.err
111387   rm -f conftest.er1
111388   cat conftest.err >&5
111389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111390   (exit $ac_status); } &&
111391          { ac_try='test -z "$ac_c_werror_flag"
111392                          || test ! -s conftest.err'
111393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111394   (eval $ac_try) 2>&5
111395   ac_status=$?
111396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111397   (exit $ac_status); }; } &&
111398          { ac_try='test -s conftest$ac_exeext'
111399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111400   (eval $ac_try) 2>&5
111401   ac_status=$?
111402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111403   (exit $ac_status); }; }; then
111404   eval "$as_ac_var=yes"
111405 else
111406   echo "$as_me: failed program was:" >&5
111407 sed 's/^/| /' conftest.$ac_ext >&5
111408
111409 eval "$as_ac_var=no"
111410 fi
111411 rm -f conftest.err conftest.$ac_objext \
111412       conftest$ac_exeext conftest.$ac_ext
111413 fi
111414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111416 if test `eval echo '${'$as_ac_var'}'` = yes; then
111417   cat >>confdefs.h <<_ACEOF
111418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111419 _ACEOF
111420
111421 else
111422   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111423 fi
111424 done
111425
111426
111427           if test x$ac_cv_func_copysignl = x"yes"; then
111428
111429 for ac_func in __signbitl
111430 do
111431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111432 echo "$as_me:$LINENO: checking for $ac_func" >&5
111433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111434 if eval "test \"\${$as_ac_var+set}\" = set"; then
111435   echo $ECHO_N "(cached) $ECHO_C" >&6
111436 else
111437   if test x$gcc_no_link = xyes; then
111438   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111440    { (exit 1); exit 1; }; }
111441 fi
111442 cat >conftest.$ac_ext <<_ACEOF
111443 /* confdefs.h.  */
111444 _ACEOF
111445 cat confdefs.h >>conftest.$ac_ext
111446 cat >>conftest.$ac_ext <<_ACEOF
111447 /* end confdefs.h.  */
111448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111449    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111450 #define $ac_func innocuous_$ac_func
111451
111452 /* System header to define __stub macros and hopefully few prototypes,
111453     which can conflict with char $ac_func (); below.
111454     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111455     <limits.h> exists even on freestanding compilers.  */
111456
111457 #ifdef __STDC__
111458 # include <limits.h>
111459 #else
111460 # include <assert.h>
111461 #endif
111462
111463 #undef $ac_func
111464
111465 /* Override any gcc2 internal prototype to avoid an error.  */
111466 #ifdef __cplusplus
111467 extern "C"
111468 {
111469 #endif
111470 /* We use char because int might match the return type of a gcc2
111471    builtin and then its argument prototype would still apply.  */
111472 char $ac_func ();
111473 /* The GNU C library defines this for functions which it implements
111474     to always fail with ENOSYS.  Some functions are actually named
111475     something starting with __ and the normal name is an alias.  */
111476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111477 choke me
111478 #else
111479 char (*f) () = $ac_func;
111480 #endif
111481 #ifdef __cplusplus
111482 }
111483 #endif
111484
111485 int
111486 main ()
111487 {
111488 return f != $ac_func;
111489   ;
111490   return 0;
111491 }
111492 _ACEOF
111493 rm -f conftest.$ac_objext conftest$ac_exeext
111494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111495   (eval $ac_link) 2>conftest.er1
111496   ac_status=$?
111497   grep -v '^ *+' conftest.er1 >conftest.err
111498   rm -f conftest.er1
111499   cat conftest.err >&5
111500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111501   (exit $ac_status); } &&
111502          { ac_try='test -z "$ac_c_werror_flag"
111503                          || test ! -s conftest.err'
111504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111505   (eval $ac_try) 2>&5
111506   ac_status=$?
111507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111508   (exit $ac_status); }; } &&
111509          { ac_try='test -s conftest$ac_exeext'
111510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111511   (eval $ac_try) 2>&5
111512   ac_status=$?
111513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111514   (exit $ac_status); }; }; then
111515   eval "$as_ac_var=yes"
111516 else
111517   echo "$as_me: failed program was:" >&5
111518 sed 's/^/| /' conftest.$ac_ext >&5
111519
111520 eval "$as_ac_var=no"
111521 fi
111522 rm -f conftest.err conftest.$ac_objext \
111523       conftest$ac_exeext conftest.$ac_ext
111524 fi
111525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111527 if test `eval echo '${'$as_ac_var'}'` = yes; then
111528   cat >>confdefs.h <<_ACEOF
111529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111530 _ACEOF
111531
111532 else
111533   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111534 fi
111535 done
111536
111537   fi
111538
111539   # Used in libmath/Makefile.am.
111540   if test -n "$LIBMATHOBJS"; then
111541     need_libmath=yes
111542   fi
111543
111544
111545     cat >>confdefs.h <<\_ACEOF
111546 #define HAVE_COPYSIGN 1
111547 _ACEOF
111548
111549     cat >>confdefs.h <<\_ACEOF
111550 #define HAVE_COPYSIGNF 1
111551 _ACEOF
111552
111553     cat >>confdefs.h <<\_ACEOF
111554 #define HAVE_FINITEF 1
111555 _ACEOF
111556
111557     cat >>confdefs.h <<\_ACEOF
111558 #define HAVE_FINITE 1
111559 _ACEOF
111560
111561     cat >>confdefs.h <<\_ACEOF
111562 #define HAVE_FREXPF 1
111563 _ACEOF
111564
111565     cat >>confdefs.h <<\_ACEOF
111566 #define HAVE_HYPOTF 1
111567 _ACEOF
111568
111569     cat >>confdefs.h <<\_ACEOF
111570 #define HAVE_ISINF 1
111571 _ACEOF
111572
111573     cat >>confdefs.h <<\_ACEOF
111574 #define HAVE_ISINFF 1
111575 _ACEOF
111576
111577     cat >>confdefs.h <<\_ACEOF
111578 #define HAVE_ISNAN 1
111579 _ACEOF
111580
111581     cat >>confdefs.h <<\_ACEOF
111582 #define HAVE_ISNANF 1
111583 _ACEOF
111584
111585     if test x"long_double_math_on_this_cpu" = x"yes"; then
111586       cat >>confdefs.h <<\_ACEOF
111587 #define HAVE_FINITEL 1
111588 _ACEOF
111589
111590       cat >>confdefs.h <<\_ACEOF
111591 #define HAVE_ISINFL 1
111592 _ACEOF
111593
111594       cat >>confdefs.h <<\_ACEOF
111595 #define HAVE_ISNANL 1
111596 _ACEOF
111597
111598     fi
111599     ;;
111600   *-netware)
111601
111602
111603
111604
111605
111606
111607
111608
111609 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111610       sys/types.h locale.h float.h inttypes.h
111611 do
111612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111614   echo "$as_me:$LINENO: checking for $ac_header" >&5
111615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111617   echo $ECHO_N "(cached) $ECHO_C" >&6
111618 fi
111619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111621 else
111622   # Is the header compilable?
111623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111625 cat >conftest.$ac_ext <<_ACEOF
111626 /* confdefs.h.  */
111627 _ACEOF
111628 cat confdefs.h >>conftest.$ac_ext
111629 cat >>conftest.$ac_ext <<_ACEOF
111630 /* end confdefs.h.  */
111631 $ac_includes_default
111632 #include <$ac_header>
111633 _ACEOF
111634 rm -f conftest.$ac_objext
111635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111636   (eval $ac_compile) 2>conftest.er1
111637   ac_status=$?
111638   grep -v '^ *+' conftest.er1 >conftest.err
111639   rm -f conftest.er1
111640   cat conftest.err >&5
111641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111642   (exit $ac_status); } &&
111643          { ac_try='test -z "$ac_c_werror_flag"
111644                          || test ! -s conftest.err'
111645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111646   (eval $ac_try) 2>&5
111647   ac_status=$?
111648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111649   (exit $ac_status); }; } &&
111650          { ac_try='test -s conftest.$ac_objext'
111651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111652   (eval $ac_try) 2>&5
111653   ac_status=$?
111654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111655   (exit $ac_status); }; }; then
111656   ac_header_compiler=yes
111657 else
111658   echo "$as_me: failed program was:" >&5
111659 sed 's/^/| /' conftest.$ac_ext >&5
111660
111661 ac_header_compiler=no
111662 fi
111663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111665 echo "${ECHO_T}$ac_header_compiler" >&6
111666
111667 # Is the header present?
111668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111670 cat >conftest.$ac_ext <<_ACEOF
111671 /* confdefs.h.  */
111672 _ACEOF
111673 cat confdefs.h >>conftest.$ac_ext
111674 cat >>conftest.$ac_ext <<_ACEOF
111675 /* end confdefs.h.  */
111676 #include <$ac_header>
111677 _ACEOF
111678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111679   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111680   ac_status=$?
111681   grep -v '^ *+' conftest.er1 >conftest.err
111682   rm -f conftest.er1
111683   cat conftest.err >&5
111684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111685   (exit $ac_status); } >/dev/null; then
111686   if test -s conftest.err; then
111687     ac_cpp_err=$ac_c_preproc_warn_flag
111688     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111689   else
111690     ac_cpp_err=
111691   fi
111692 else
111693   ac_cpp_err=yes
111694 fi
111695 if test -z "$ac_cpp_err"; then
111696   ac_header_preproc=yes
111697 else
111698   echo "$as_me: failed program was:" >&5
111699 sed 's/^/| /' conftest.$ac_ext >&5
111700
111701   ac_header_preproc=no
111702 fi
111703 rm -f conftest.err conftest.$ac_ext
111704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111705 echo "${ECHO_T}$ac_header_preproc" >&6
111706
111707 # So?  What about this header?
111708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111709   yes:no: )
111710     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111712     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111714     ac_header_preproc=yes
111715     ;;
111716   no:yes:* )
111717     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111719     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111720 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111721     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111723     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111724 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111725     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111727     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111729     (
111730       cat <<\_ASBOX
111731 ## ----------------------------------------- ##
111732 ## Report this to the package-unused lists.  ##
111733 ## ----------------------------------------- ##
111734 _ASBOX
111735     ) |
111736       sed "s/^/$as_me: WARNING:     /" >&2
111737     ;;
111738 esac
111739 echo "$as_me:$LINENO: checking for $ac_header" >&5
111740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111742   echo $ECHO_N "(cached) $ECHO_C" >&6
111743 else
111744   eval "$as_ac_Header=\$ac_header_preproc"
111745 fi
111746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111748
111749 fi
111750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111751   cat >>confdefs.h <<_ACEOF
111752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111753 _ACEOF
111754
111755 fi
111756
111757 done
111758
111759     SECTION_FLAGS='-ffunction-sections -fdata-sections'
111760
111761
111762   # If we're not using GNU ld, then there's no point in even trying these
111763   # tests.  Check for that first.  We should have already tested for gld
111764   # by now (in libtool), but require it now just to be safe...
111765   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111766   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111767
111768
111769
111770   # The name set by libtool depends on the version of libtool.  Shame on us
111771   # for depending on an impl detail, but c'est la vie.  Older versions used
111772   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111773   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111774   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
111775   # set (hence we're using an older libtool), then set it.
111776   if test x${with_gnu_ld+set} != xset; then
111777     if test x${ac_cv_prog_gnu_ld+set} != xset; then
111778       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
111779       with_gnu_ld=no
111780     else
111781       with_gnu_ld=$ac_cv_prog_gnu_ld
111782     fi
111783   fi
111784
111785   # Start by getting the version number.  I think the libtool test already
111786   # does some of this, but throws away the result.
111787   if test x"$with_gnu_ld" = x"yes"; then
111788     echo "$as_me:$LINENO: checking for ld version" >&5
111789 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111790
111791     ldver=`$LD --version 2>/dev/null | head -1 | \
111792            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
111793
111794     glibcxx_gnu_ld_version=`echo $ldver | \
111795            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111796     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111797 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111798   fi
111799
111800   # Set --gc-sections.
111801   glibcxx_gcsections_min_ld=21602
111802   if test x"$with_gnu_ld" = x"yes" &&
111803         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111804
111805     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
111806     # NB: This flag only works reliably after 2.16.1. Configure tests
111807     # for this are difficult, so hard wire a value that should work.
111808
111809     ac_test_CFLAGS="${CFLAGS+set}"
111810     ac_save_CFLAGS="$CFLAGS"
111811     CFLAGS='-Wl,--gc-sections'
111812
111813     # Check for -Wl,--gc-sections
111814     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111815 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111816     if test x$gcc_no_link = xyes; then
111817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111819    { (exit 1); exit 1; }; }
111820 fi
111821 cat >conftest.$ac_ext <<_ACEOF
111822 /* confdefs.h.  */
111823 _ACEOF
111824 cat confdefs.h >>conftest.$ac_ext
111825 cat >>conftest.$ac_ext <<_ACEOF
111826 /* end confdefs.h.  */
111827  int one(void) { return 1; }
111828      int two(void) { return 2; }
111829
111830 int
111831 main ()
111832 {
111833  two();
111834   ;
111835   return 0;
111836 }
111837 _ACEOF
111838 rm -f conftest.$ac_objext conftest$ac_exeext
111839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111840   (eval $ac_link) 2>conftest.er1
111841   ac_status=$?
111842   grep -v '^ *+' conftest.er1 >conftest.err
111843   rm -f conftest.er1
111844   cat conftest.err >&5
111845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111846   (exit $ac_status); } &&
111847          { ac_try='test -z "$ac_c_werror_flag"
111848                          || test ! -s conftest.err'
111849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111850   (eval $ac_try) 2>&5
111851   ac_status=$?
111852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111853   (exit $ac_status); }; } &&
111854          { ac_try='test -s conftest$ac_exeext'
111855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111856   (eval $ac_try) 2>&5
111857   ac_status=$?
111858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111859   (exit $ac_status); }; }; then
111860   ac_gcsections=yes
111861 else
111862   echo "$as_me: failed program was:" >&5
111863 sed 's/^/| /' conftest.$ac_ext >&5
111864
111865 ac_gcsections=no
111866 fi
111867 rm -f conftest.err conftest.$ac_objext \
111868       conftest$ac_exeext conftest.$ac_ext
111869     if test "$ac_gcsections" = "yes"; then
111870       rm -f conftest.c
111871       touch conftest.c
111872       if $CC -c conftest.c; then
111873         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111874            grep "Warning: gc-sections option ignored" > /dev/null; then
111875           ac_gcsections=no
111876         fi
111877       fi
111878       rm -f conftest.c conftest.o conftest
111879     fi
111880     if test "$ac_gcsections" = "yes"; then
111881       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111882     fi
111883     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111884 echo "${ECHO_T}$ac_gcsections" >&6
111885
111886     if test "$ac_test_CFLAGS" = set; then
111887       CFLAGS="$ac_save_CFLAGS"
111888     else
111889       # this is the suspicious part
111890       CFLAGS=''
111891     fi
111892   fi
111893
111894   # Set -z,relro.
111895   # Note this is only for shared objects.
111896   ac_ld_relro=no
111897   if test x"$with_gnu_ld" = x"yes"; then
111898     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111899 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111900     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111901     if test -n "$cxx_z_relo"; then
111902       OPT_LDFLAGS="-Wl,-z,relro"
111903       ac_ld_relro=yes
111904     fi
111905     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111906 echo "${ECHO_T}$ac_ld_relro" >&6
111907   fi
111908
111909   # Set linker optimization flags.
111910   if test x"$with_gnu_ld" = x"yes"; then
111911     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111912   fi
111913
111914
111915
111916
111917
111918
111919 echo "$as_me:$LINENO: checking for main in -lm" >&5
111920 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111921 if test "${ac_cv_lib_m_main+set}" = set; then
111922   echo $ECHO_N "(cached) $ECHO_C" >&6
111923 else
111924   ac_check_lib_save_LIBS=$LIBS
111925 LIBS="-lm  $LIBS"
111926 if test x$gcc_no_link = xyes; then
111927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111929    { (exit 1); exit 1; }; }
111930 fi
111931 cat >conftest.$ac_ext <<_ACEOF
111932 /* confdefs.h.  */
111933 _ACEOF
111934 cat confdefs.h >>conftest.$ac_ext
111935 cat >>conftest.$ac_ext <<_ACEOF
111936 /* end confdefs.h.  */
111937
111938
111939 int
111940 main ()
111941 {
111942 main ();
111943   ;
111944   return 0;
111945 }
111946 _ACEOF
111947 rm -f conftest.$ac_objext conftest$ac_exeext
111948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111949   (eval $ac_link) 2>conftest.er1
111950   ac_status=$?
111951   grep -v '^ *+' conftest.er1 >conftest.err
111952   rm -f conftest.er1
111953   cat conftest.err >&5
111954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111955   (exit $ac_status); } &&
111956          { ac_try='test -z "$ac_c_werror_flag"
111957                          || test ! -s conftest.err'
111958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111959   (eval $ac_try) 2>&5
111960   ac_status=$?
111961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111962   (exit $ac_status); }; } &&
111963          { ac_try='test -s conftest$ac_exeext'
111964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111965   (eval $ac_try) 2>&5
111966   ac_status=$?
111967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111968   (exit $ac_status); }; }; then
111969   ac_cv_lib_m_main=yes
111970 else
111971   echo "$as_me: failed program was:" >&5
111972 sed 's/^/| /' conftest.$ac_ext >&5
111973
111974 ac_cv_lib_m_main=no
111975 fi
111976 rm -f conftest.err conftest.$ac_objext \
111977       conftest$ac_exeext conftest.$ac_ext
111978 LIBS=$ac_check_lib_save_LIBS
111979 fi
111980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111981 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111982 if test $ac_cv_lib_m_main = yes; then
111983   cat >>confdefs.h <<_ACEOF
111984 #define HAVE_LIBM 1
111985 _ACEOF
111986
111987   LIBS="-lm $LIBS"
111988
111989 fi
111990
111991
111992 for ac_func in copysignf
111993 do
111994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111995 echo "$as_me:$LINENO: checking for $ac_func" >&5
111996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111997 if eval "test \"\${$as_ac_var+set}\" = set"; then
111998   echo $ECHO_N "(cached) $ECHO_C" >&6
111999 else
112000   if test x$gcc_no_link = xyes; then
112001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112003    { (exit 1); exit 1; }; }
112004 fi
112005 cat >conftest.$ac_ext <<_ACEOF
112006 /* confdefs.h.  */
112007 _ACEOF
112008 cat confdefs.h >>conftest.$ac_ext
112009 cat >>conftest.$ac_ext <<_ACEOF
112010 /* end confdefs.h.  */
112011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112013 #define $ac_func innocuous_$ac_func
112014
112015 /* System header to define __stub macros and hopefully few prototypes,
112016     which can conflict with char $ac_func (); below.
112017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112018     <limits.h> exists even on freestanding compilers.  */
112019
112020 #ifdef __STDC__
112021 # include <limits.h>
112022 #else
112023 # include <assert.h>
112024 #endif
112025
112026 #undef $ac_func
112027
112028 /* Override any gcc2 internal prototype to avoid an error.  */
112029 #ifdef __cplusplus
112030 extern "C"
112031 {
112032 #endif
112033 /* We use char because int might match the return type of a gcc2
112034    builtin and then its argument prototype would still apply.  */
112035 char $ac_func ();
112036 /* The GNU C library defines this for functions which it implements
112037     to always fail with ENOSYS.  Some functions are actually named
112038     something starting with __ and the normal name is an alias.  */
112039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112040 choke me
112041 #else
112042 char (*f) () = $ac_func;
112043 #endif
112044 #ifdef __cplusplus
112045 }
112046 #endif
112047
112048 int
112049 main ()
112050 {
112051 return f != $ac_func;
112052   ;
112053   return 0;
112054 }
112055 _ACEOF
112056 rm -f conftest.$ac_objext conftest$ac_exeext
112057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112058   (eval $ac_link) 2>conftest.er1
112059   ac_status=$?
112060   grep -v '^ *+' conftest.er1 >conftest.err
112061   rm -f conftest.er1
112062   cat conftest.err >&5
112063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112064   (exit $ac_status); } &&
112065          { ac_try='test -z "$ac_c_werror_flag"
112066                          || test ! -s conftest.err'
112067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112068   (eval $ac_try) 2>&5
112069   ac_status=$?
112070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112071   (exit $ac_status); }; } &&
112072          { ac_try='test -s conftest$ac_exeext'
112073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112074   (eval $ac_try) 2>&5
112075   ac_status=$?
112076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112077   (exit $ac_status); }; }; then
112078   eval "$as_ac_var=yes"
112079 else
112080   echo "$as_me: failed program was:" >&5
112081 sed 's/^/| /' conftest.$ac_ext >&5
112082
112083 eval "$as_ac_var=no"
112084 fi
112085 rm -f conftest.err conftest.$ac_objext \
112086       conftest$ac_exeext conftest.$ac_ext
112087 fi
112088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112090 if test `eval echo '${'$as_ac_var'}'` = yes; then
112091   cat >>confdefs.h <<_ACEOF
112092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112093 _ACEOF
112094
112095 else
112096   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112097 fi
112098 done
112099
112100
112101
112102 for ac_func in __signbit
112103 do
112104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112105 echo "$as_me:$LINENO: checking for $ac_func" >&5
112106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112107 if eval "test \"\${$as_ac_var+set}\" = set"; then
112108   echo $ECHO_N "(cached) $ECHO_C" >&6
112109 else
112110   if test x$gcc_no_link = xyes; then
112111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112113    { (exit 1); exit 1; }; }
112114 fi
112115 cat >conftest.$ac_ext <<_ACEOF
112116 /* confdefs.h.  */
112117 _ACEOF
112118 cat confdefs.h >>conftest.$ac_ext
112119 cat >>conftest.$ac_ext <<_ACEOF
112120 /* end confdefs.h.  */
112121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112122    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112123 #define $ac_func innocuous_$ac_func
112124
112125 /* System header to define __stub macros and hopefully few prototypes,
112126     which can conflict with char $ac_func (); below.
112127     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112128     <limits.h> exists even on freestanding compilers.  */
112129
112130 #ifdef __STDC__
112131 # include <limits.h>
112132 #else
112133 # include <assert.h>
112134 #endif
112135
112136 #undef $ac_func
112137
112138 /* Override any gcc2 internal prototype to avoid an error.  */
112139 #ifdef __cplusplus
112140 extern "C"
112141 {
112142 #endif
112143 /* We use char because int might match the return type of a gcc2
112144    builtin and then its argument prototype would still apply.  */
112145 char $ac_func ();
112146 /* The GNU C library defines this for functions which it implements
112147     to always fail with ENOSYS.  Some functions are actually named
112148     something starting with __ and the normal name is an alias.  */
112149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112150 choke me
112151 #else
112152 char (*f) () = $ac_func;
112153 #endif
112154 #ifdef __cplusplus
112155 }
112156 #endif
112157
112158 int
112159 main ()
112160 {
112161 return f != $ac_func;
112162   ;
112163   return 0;
112164 }
112165 _ACEOF
112166 rm -f conftest.$ac_objext conftest$ac_exeext
112167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112168   (eval $ac_link) 2>conftest.er1
112169   ac_status=$?
112170   grep -v '^ *+' conftest.er1 >conftest.err
112171   rm -f conftest.er1
112172   cat conftest.err >&5
112173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112174   (exit $ac_status); } &&
112175          { ac_try='test -z "$ac_c_werror_flag"
112176                          || test ! -s conftest.err'
112177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112178   (eval $ac_try) 2>&5
112179   ac_status=$?
112180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112181   (exit $ac_status); }; } &&
112182          { ac_try='test -s conftest$ac_exeext'
112183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112184   (eval $ac_try) 2>&5
112185   ac_status=$?
112186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112187   (exit $ac_status); }; }; then
112188   eval "$as_ac_var=yes"
112189 else
112190   echo "$as_me: failed program was:" >&5
112191 sed 's/^/| /' conftest.$ac_ext >&5
112192
112193 eval "$as_ac_var=no"
112194 fi
112195 rm -f conftest.err conftest.$ac_objext \
112196       conftest$ac_exeext conftest.$ac_ext
112197 fi
112198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112200 if test `eval echo '${'$as_ac_var'}'` = yes; then
112201   cat >>confdefs.h <<_ACEOF
112202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112203 _ACEOF
112204
112205 else
112206   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112207 fi
112208 done
112209
112210
112211
112212 for ac_func in __signbitf
112213 do
112214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112215 echo "$as_me:$LINENO: checking for $ac_func" >&5
112216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112217 if eval "test \"\${$as_ac_var+set}\" = set"; then
112218   echo $ECHO_N "(cached) $ECHO_C" >&6
112219 else
112220   if test x$gcc_no_link = xyes; then
112221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112223    { (exit 1); exit 1; }; }
112224 fi
112225 cat >conftest.$ac_ext <<_ACEOF
112226 /* confdefs.h.  */
112227 _ACEOF
112228 cat confdefs.h >>conftest.$ac_ext
112229 cat >>conftest.$ac_ext <<_ACEOF
112230 /* end confdefs.h.  */
112231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112233 #define $ac_func innocuous_$ac_func
112234
112235 /* System header to define __stub macros and hopefully few prototypes,
112236     which can conflict with char $ac_func (); below.
112237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112238     <limits.h> exists even on freestanding compilers.  */
112239
112240 #ifdef __STDC__
112241 # include <limits.h>
112242 #else
112243 # include <assert.h>
112244 #endif
112245
112246 #undef $ac_func
112247
112248 /* Override any gcc2 internal prototype to avoid an error.  */
112249 #ifdef __cplusplus
112250 extern "C"
112251 {
112252 #endif
112253 /* We use char because int might match the return type of a gcc2
112254    builtin and then its argument prototype would still apply.  */
112255 char $ac_func ();
112256 /* The GNU C library defines this for functions which it implements
112257     to always fail with ENOSYS.  Some functions are actually named
112258     something starting with __ and the normal name is an alias.  */
112259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112260 choke me
112261 #else
112262 char (*f) () = $ac_func;
112263 #endif
112264 #ifdef __cplusplus
112265 }
112266 #endif
112267
112268 int
112269 main ()
112270 {
112271 return f != $ac_func;
112272   ;
112273   return 0;
112274 }
112275 _ACEOF
112276 rm -f conftest.$ac_objext conftest$ac_exeext
112277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112278   (eval $ac_link) 2>conftest.er1
112279   ac_status=$?
112280   grep -v '^ *+' conftest.er1 >conftest.err
112281   rm -f conftest.er1
112282   cat conftest.err >&5
112283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112284   (exit $ac_status); } &&
112285          { ac_try='test -z "$ac_c_werror_flag"
112286                          || test ! -s conftest.err'
112287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112288   (eval $ac_try) 2>&5
112289   ac_status=$?
112290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112291   (exit $ac_status); }; } &&
112292          { ac_try='test -s conftest$ac_exeext'
112293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112294   (eval $ac_try) 2>&5
112295   ac_status=$?
112296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112297   (exit $ac_status); }; }; then
112298   eval "$as_ac_var=yes"
112299 else
112300   echo "$as_me: failed program was:" >&5
112301 sed 's/^/| /' conftest.$ac_ext >&5
112302
112303 eval "$as_ac_var=no"
112304 fi
112305 rm -f conftest.err conftest.$ac_objext \
112306       conftest$ac_exeext conftest.$ac_ext
112307 fi
112308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112310 if test `eval echo '${'$as_ac_var'}'` = yes; then
112311   cat >>confdefs.h <<_ACEOF
112312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112313 _ACEOF
112314
112315 else
112316   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112317 fi
112318 done
112319
112320
112321           if test x$ac_cv_func_copysignl = x"yes"; then
112322
112323 for ac_func in __signbitl
112324 do
112325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112326 echo "$as_me:$LINENO: checking for $ac_func" >&5
112327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112328 if eval "test \"\${$as_ac_var+set}\" = set"; then
112329   echo $ECHO_N "(cached) $ECHO_C" >&6
112330 else
112331   if test x$gcc_no_link = xyes; then
112332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112334    { (exit 1); exit 1; }; }
112335 fi
112336 cat >conftest.$ac_ext <<_ACEOF
112337 /* confdefs.h.  */
112338 _ACEOF
112339 cat confdefs.h >>conftest.$ac_ext
112340 cat >>conftest.$ac_ext <<_ACEOF
112341 /* end confdefs.h.  */
112342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112344 #define $ac_func innocuous_$ac_func
112345
112346 /* System header to define __stub macros and hopefully few prototypes,
112347     which can conflict with char $ac_func (); below.
112348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112349     <limits.h> exists even on freestanding compilers.  */
112350
112351 #ifdef __STDC__
112352 # include <limits.h>
112353 #else
112354 # include <assert.h>
112355 #endif
112356
112357 #undef $ac_func
112358
112359 /* Override any gcc2 internal prototype to avoid an error.  */
112360 #ifdef __cplusplus
112361 extern "C"
112362 {
112363 #endif
112364 /* We use char because int might match the return type of a gcc2
112365    builtin and then its argument prototype would still apply.  */
112366 char $ac_func ();
112367 /* The GNU C library defines this for functions which it implements
112368     to always fail with ENOSYS.  Some functions are actually named
112369     something starting with __ and the normal name is an alias.  */
112370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112371 choke me
112372 #else
112373 char (*f) () = $ac_func;
112374 #endif
112375 #ifdef __cplusplus
112376 }
112377 #endif
112378
112379 int
112380 main ()
112381 {
112382 return f != $ac_func;
112383   ;
112384   return 0;
112385 }
112386 _ACEOF
112387 rm -f conftest.$ac_objext conftest$ac_exeext
112388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112389   (eval $ac_link) 2>conftest.er1
112390   ac_status=$?
112391   grep -v '^ *+' conftest.er1 >conftest.err
112392   rm -f conftest.er1
112393   cat conftest.err >&5
112394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112395   (exit $ac_status); } &&
112396          { ac_try='test -z "$ac_c_werror_flag"
112397                          || test ! -s conftest.err'
112398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112399   (eval $ac_try) 2>&5
112400   ac_status=$?
112401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112402   (exit $ac_status); }; } &&
112403          { ac_try='test -s conftest$ac_exeext'
112404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112405   (eval $ac_try) 2>&5
112406   ac_status=$?
112407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112408   (exit $ac_status); }; }; then
112409   eval "$as_ac_var=yes"
112410 else
112411   echo "$as_me: failed program was:" >&5
112412 sed 's/^/| /' conftest.$ac_ext >&5
112413
112414 eval "$as_ac_var=no"
112415 fi
112416 rm -f conftest.err conftest.$ac_objext \
112417       conftest$ac_exeext conftest.$ac_ext
112418 fi
112419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112421 if test `eval echo '${'$as_ac_var'}'` = yes; then
112422   cat >>confdefs.h <<_ACEOF
112423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112424 _ACEOF
112425
112426 else
112427   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112428 fi
112429 done
112430
112431   fi
112432
112433   # Used in libmath/Makefile.am.
112434   if test -n "$LIBMATHOBJS"; then
112435     need_libmath=yes
112436   fi
112437
112438
112439     cat >>confdefs.h <<\_ACEOF
112440 #define HAVE_HYPOT 1
112441 _ACEOF
112442
112443     cat >>confdefs.h <<\_ACEOF
112444 #define HAVE_ISINF 1
112445 _ACEOF
112446
112447     cat >>confdefs.h <<\_ACEOF
112448 #define HAVE_ISNAN 1
112449 _ACEOF
112450
112451
112452     # For showmanyc_helper().
112453
112454
112455 for ac_header in sys/ioctl.h sys/filio.h
112456 do
112457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112459   echo "$as_me:$LINENO: checking for $ac_header" >&5
112460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112462   echo $ECHO_N "(cached) $ECHO_C" >&6
112463 fi
112464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112466 else
112467   # Is the header compilable?
112468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112470 cat >conftest.$ac_ext <<_ACEOF
112471 /* confdefs.h.  */
112472 _ACEOF
112473 cat confdefs.h >>conftest.$ac_ext
112474 cat >>conftest.$ac_ext <<_ACEOF
112475 /* end confdefs.h.  */
112476 $ac_includes_default
112477 #include <$ac_header>
112478 _ACEOF
112479 rm -f conftest.$ac_objext
112480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112481   (eval $ac_compile) 2>conftest.er1
112482   ac_status=$?
112483   grep -v '^ *+' conftest.er1 >conftest.err
112484   rm -f conftest.er1
112485   cat conftest.err >&5
112486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112487   (exit $ac_status); } &&
112488          { ac_try='test -z "$ac_c_werror_flag"
112489                          || test ! -s conftest.err'
112490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112491   (eval $ac_try) 2>&5
112492   ac_status=$?
112493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112494   (exit $ac_status); }; } &&
112495          { ac_try='test -s conftest.$ac_objext'
112496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112497   (eval $ac_try) 2>&5
112498   ac_status=$?
112499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112500   (exit $ac_status); }; }; then
112501   ac_header_compiler=yes
112502 else
112503   echo "$as_me: failed program was:" >&5
112504 sed 's/^/| /' conftest.$ac_ext >&5
112505
112506 ac_header_compiler=no
112507 fi
112508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112510 echo "${ECHO_T}$ac_header_compiler" >&6
112511
112512 # Is the header present?
112513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112515 cat >conftest.$ac_ext <<_ACEOF
112516 /* confdefs.h.  */
112517 _ACEOF
112518 cat confdefs.h >>conftest.$ac_ext
112519 cat >>conftest.$ac_ext <<_ACEOF
112520 /* end confdefs.h.  */
112521 #include <$ac_header>
112522 _ACEOF
112523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112524   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112525   ac_status=$?
112526   grep -v '^ *+' conftest.er1 >conftest.err
112527   rm -f conftest.er1
112528   cat conftest.err >&5
112529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112530   (exit $ac_status); } >/dev/null; then
112531   if test -s conftest.err; then
112532     ac_cpp_err=$ac_c_preproc_warn_flag
112533     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112534   else
112535     ac_cpp_err=
112536   fi
112537 else
112538   ac_cpp_err=yes
112539 fi
112540 if test -z "$ac_cpp_err"; then
112541   ac_header_preproc=yes
112542 else
112543   echo "$as_me: failed program was:" >&5
112544 sed 's/^/| /' conftest.$ac_ext >&5
112545
112546   ac_header_preproc=no
112547 fi
112548 rm -f conftest.err conftest.$ac_ext
112549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112550 echo "${ECHO_T}$ac_header_preproc" >&6
112551
112552 # So?  What about this header?
112553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112554   yes:no: )
112555     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112557     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112559     ac_header_preproc=yes
112560     ;;
112561   no:yes:* )
112562     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112564     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112565 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112566     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112568     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112569 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112570     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112572     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112574     (
112575       cat <<\_ASBOX
112576 ## ----------------------------------------- ##
112577 ## Report this to the package-unused lists.  ##
112578 ## ----------------------------------------- ##
112579 _ASBOX
112580     ) |
112581       sed "s/^/$as_me: WARNING:     /" >&2
112582     ;;
112583 esac
112584 echo "$as_me:$LINENO: checking for $ac_header" >&5
112585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112587   echo $ECHO_N "(cached) $ECHO_C" >&6
112588 else
112589   eval "$as_ac_Header=\$ac_header_preproc"
112590 fi
112591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112593
112594 fi
112595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112596   cat >>confdefs.h <<_ACEOF
112597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112598 _ACEOF
112599
112600 fi
112601
112602 done
112603
112604
112605   echo "$as_me:$LINENO: checking for poll" >&5
112606 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112607   if test "${glibcxx_cv_POLL+set}" = set; then
112608   echo $ECHO_N "(cached) $ECHO_C" >&6
112609 else
112610
112611     if test x$gcc_no_link = xyes; then
112612   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112614    { (exit 1); exit 1; }; }
112615 fi
112616 cat >conftest.$ac_ext <<_ACEOF
112617 /* confdefs.h.  */
112618 _ACEOF
112619 cat confdefs.h >>conftest.$ac_ext
112620 cat >>conftest.$ac_ext <<_ACEOF
112621 /* end confdefs.h.  */
112622 #include <poll.h>
112623 int
112624 main ()
112625 {
112626 struct pollfd pfd[1];
112627        pfd[0].events = POLLIN;
112628        poll(pfd, 1, 0);
112629   ;
112630   return 0;
112631 }
112632 _ACEOF
112633 rm -f conftest.$ac_objext conftest$ac_exeext
112634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112635   (eval $ac_link) 2>conftest.er1
112636   ac_status=$?
112637   grep -v '^ *+' conftest.er1 >conftest.err
112638   rm -f conftest.er1
112639   cat conftest.err >&5
112640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112641   (exit $ac_status); } &&
112642          { ac_try='test -z "$ac_c_werror_flag"
112643                          || test ! -s conftest.err'
112644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112645   (eval $ac_try) 2>&5
112646   ac_status=$?
112647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112648   (exit $ac_status); }; } &&
112649          { ac_try='test -s conftest$ac_exeext'
112650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112651   (eval $ac_try) 2>&5
112652   ac_status=$?
112653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112654   (exit $ac_status); }; }; then
112655   glibcxx_cv_POLL=yes
112656 else
112657   echo "$as_me: failed program was:" >&5
112658 sed 's/^/| /' conftest.$ac_ext >&5
112659
112660 glibcxx_cv_POLL=no
112661 fi
112662 rm -f conftest.err conftest.$ac_objext \
112663       conftest$ac_exeext conftest.$ac_ext
112664
112665 fi
112666
112667   if test $glibcxx_cv_POLL = yes; then
112668
112669 cat >>confdefs.h <<\_ACEOF
112670 #define HAVE_POLL 1
112671 _ACEOF
112672
112673   fi
112674   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112675 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112676
112677
112678   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112679 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112680   if test "${glibcxx_cv_S_ISREG+set}" = set; then
112681   echo $ECHO_N "(cached) $ECHO_C" >&6
112682 else
112683
112684     if test x$gcc_no_link = xyes; then
112685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112687    { (exit 1); exit 1; }; }
112688 fi
112689 cat >conftest.$ac_ext <<_ACEOF
112690 /* confdefs.h.  */
112691 _ACEOF
112692 cat confdefs.h >>conftest.$ac_ext
112693 cat >>conftest.$ac_ext <<_ACEOF
112694 /* end confdefs.h.  */
112695 #include <sys/stat.h>
112696 int
112697 main ()
112698 {
112699 struct stat buffer;
112700        fstat(0, &buffer);
112701        S_ISREG(buffer.st_mode);
112702   ;
112703   return 0;
112704 }
112705 _ACEOF
112706 rm -f conftest.$ac_objext conftest$ac_exeext
112707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112708   (eval $ac_link) 2>conftest.er1
112709   ac_status=$?
112710   grep -v '^ *+' conftest.er1 >conftest.err
112711   rm -f conftest.er1
112712   cat conftest.err >&5
112713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112714   (exit $ac_status); } &&
112715          { ac_try='test -z "$ac_c_werror_flag"
112716                          || test ! -s conftest.err'
112717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112718   (eval $ac_try) 2>&5
112719   ac_status=$?
112720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112721   (exit $ac_status); }; } &&
112722          { ac_try='test -s conftest$ac_exeext'
112723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112724   (eval $ac_try) 2>&5
112725   ac_status=$?
112726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112727   (exit $ac_status); }; }; then
112728   glibcxx_cv_S_ISREG=yes
112729 else
112730   echo "$as_me: failed program was:" >&5
112731 sed 's/^/| /' conftest.$ac_ext >&5
112732
112733 glibcxx_cv_S_ISREG=no
112734 fi
112735 rm -f conftest.err conftest.$ac_objext \
112736       conftest$ac_exeext conftest.$ac_ext
112737
112738 fi
112739
112740   if test "${glibcxx_cv_S_IFREG+set}" = set; then
112741   echo $ECHO_N "(cached) $ECHO_C" >&6
112742 else
112743
112744     if test x$gcc_no_link = xyes; then
112745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112747    { (exit 1); exit 1; }; }
112748 fi
112749 cat >conftest.$ac_ext <<_ACEOF
112750 /* confdefs.h.  */
112751 _ACEOF
112752 cat confdefs.h >>conftest.$ac_ext
112753 cat >>conftest.$ac_ext <<_ACEOF
112754 /* end confdefs.h.  */
112755 #include <sys/stat.h>
112756 int
112757 main ()
112758 {
112759 struct stat buffer;
112760        fstat(0, &buffer);
112761        S_IFREG & buffer.st_mode;
112762   ;
112763   return 0;
112764 }
112765 _ACEOF
112766 rm -f conftest.$ac_objext conftest$ac_exeext
112767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112768   (eval $ac_link) 2>conftest.er1
112769   ac_status=$?
112770   grep -v '^ *+' conftest.er1 >conftest.err
112771   rm -f conftest.er1
112772   cat conftest.err >&5
112773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112774   (exit $ac_status); } &&
112775          { ac_try='test -z "$ac_c_werror_flag"
112776                          || test ! -s conftest.err'
112777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112778   (eval $ac_try) 2>&5
112779   ac_status=$?
112780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112781   (exit $ac_status); }; } &&
112782          { ac_try='test -s conftest$ac_exeext'
112783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112784   (eval $ac_try) 2>&5
112785   ac_status=$?
112786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112787   (exit $ac_status); }; }; then
112788   glibcxx_cv_S_IFREG=yes
112789 else
112790   echo "$as_me: failed program was:" >&5
112791 sed 's/^/| /' conftest.$ac_ext >&5
112792
112793 glibcxx_cv_S_IFREG=no
112794 fi
112795 rm -f conftest.err conftest.$ac_objext \
112796       conftest$ac_exeext conftest.$ac_ext
112797
112798 fi
112799
112800   res=no
112801   if test $glibcxx_cv_S_ISREG = yes; then
112802
112803 cat >>confdefs.h <<\_ACEOF
112804 #define HAVE_S_ISREG 1
112805 _ACEOF
112806
112807     res=S_ISREG
112808   elif test $glibcxx_cv_S_IFREG = yes; then
112809
112810 cat >>confdefs.h <<\_ACEOF
112811 #define HAVE_S_IFREG 1
112812 _ACEOF
112813
112814     res=S_IFREG
112815   fi
112816   echo "$as_me:$LINENO: result: $res" >&5
112817 echo "${ECHO_T}$res" >&6
112818
112819
112820     # For xsputn_2().
112821
112822 for ac_header in sys/uio.h
112823 do
112824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112826   echo "$as_me:$LINENO: checking for $ac_header" >&5
112827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112829   echo $ECHO_N "(cached) $ECHO_C" >&6
112830 fi
112831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112833 else
112834   # Is the header compilable?
112835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112837 cat >conftest.$ac_ext <<_ACEOF
112838 /* confdefs.h.  */
112839 _ACEOF
112840 cat confdefs.h >>conftest.$ac_ext
112841 cat >>conftest.$ac_ext <<_ACEOF
112842 /* end confdefs.h.  */
112843 $ac_includes_default
112844 #include <$ac_header>
112845 _ACEOF
112846 rm -f conftest.$ac_objext
112847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112848   (eval $ac_compile) 2>conftest.er1
112849   ac_status=$?
112850   grep -v '^ *+' conftest.er1 >conftest.err
112851   rm -f conftest.er1
112852   cat conftest.err >&5
112853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112854   (exit $ac_status); } &&
112855          { ac_try='test -z "$ac_c_werror_flag"
112856                          || test ! -s conftest.err'
112857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112858   (eval $ac_try) 2>&5
112859   ac_status=$?
112860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112861   (exit $ac_status); }; } &&
112862          { ac_try='test -s conftest.$ac_objext'
112863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112864   (eval $ac_try) 2>&5
112865   ac_status=$?
112866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112867   (exit $ac_status); }; }; then
112868   ac_header_compiler=yes
112869 else
112870   echo "$as_me: failed program was:" >&5
112871 sed 's/^/| /' conftest.$ac_ext >&5
112872
112873 ac_header_compiler=no
112874 fi
112875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112877 echo "${ECHO_T}$ac_header_compiler" >&6
112878
112879 # Is the header present?
112880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112881 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112882 cat >conftest.$ac_ext <<_ACEOF
112883 /* confdefs.h.  */
112884 _ACEOF
112885 cat confdefs.h >>conftest.$ac_ext
112886 cat >>conftest.$ac_ext <<_ACEOF
112887 /* end confdefs.h.  */
112888 #include <$ac_header>
112889 _ACEOF
112890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112891   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112892   ac_status=$?
112893   grep -v '^ *+' conftest.er1 >conftest.err
112894   rm -f conftest.er1
112895   cat conftest.err >&5
112896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112897   (exit $ac_status); } >/dev/null; then
112898   if test -s conftest.err; then
112899     ac_cpp_err=$ac_c_preproc_warn_flag
112900     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112901   else
112902     ac_cpp_err=
112903   fi
112904 else
112905   ac_cpp_err=yes
112906 fi
112907 if test -z "$ac_cpp_err"; then
112908   ac_header_preproc=yes
112909 else
112910   echo "$as_me: failed program was:" >&5
112911 sed 's/^/| /' conftest.$ac_ext >&5
112912
112913   ac_header_preproc=no
112914 fi
112915 rm -f conftest.err conftest.$ac_ext
112916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112917 echo "${ECHO_T}$ac_header_preproc" >&6
112918
112919 # So?  What about this header?
112920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112921   yes:no: )
112922     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112924     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112926     ac_header_preproc=yes
112927     ;;
112928   no:yes:* )
112929     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112931     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112932 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112933     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112935     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112936 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112937     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112939     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112941     (
112942       cat <<\_ASBOX
112943 ## ----------------------------------------- ##
112944 ## Report this to the package-unused lists.  ##
112945 ## ----------------------------------------- ##
112946 _ASBOX
112947     ) |
112948       sed "s/^/$as_me: WARNING:     /" >&2
112949     ;;
112950 esac
112951 echo "$as_me:$LINENO: checking for $ac_header" >&5
112952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112954   echo $ECHO_N "(cached) $ECHO_C" >&6
112955 else
112956   eval "$as_ac_Header=\$ac_header_preproc"
112957 fi
112958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112960
112961 fi
112962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112963   cat >>confdefs.h <<_ACEOF
112964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112965 _ACEOF
112966
112967 fi
112968
112969 done
112970
112971
112972   echo "$as_me:$LINENO: checking for writev" >&5
112973 echo $ECHO_N "checking for writev... $ECHO_C" >&6
112974   if test "${glibcxx_cv_WRITEV+set}" = set; then
112975   echo $ECHO_N "(cached) $ECHO_C" >&6
112976 else
112977
112978     if test x$gcc_no_link = xyes; then
112979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112981    { (exit 1); exit 1; }; }
112982 fi
112983 cat >conftest.$ac_ext <<_ACEOF
112984 /* confdefs.h.  */
112985 _ACEOF
112986 cat confdefs.h >>conftest.$ac_ext
112987 cat >>conftest.$ac_ext <<_ACEOF
112988 /* end confdefs.h.  */
112989 #include <sys/uio.h>
112990 int
112991 main ()
112992 {
112993 struct iovec iov[2];
112994        writev(0, iov, 0);
112995   ;
112996   return 0;
112997 }
112998 _ACEOF
112999 rm -f conftest.$ac_objext conftest$ac_exeext
113000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113001   (eval $ac_link) 2>conftest.er1
113002   ac_status=$?
113003   grep -v '^ *+' conftest.er1 >conftest.err
113004   rm -f conftest.er1
113005   cat conftest.err >&5
113006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113007   (exit $ac_status); } &&
113008          { ac_try='test -z "$ac_c_werror_flag"
113009                          || test ! -s conftest.err'
113010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113011   (eval $ac_try) 2>&5
113012   ac_status=$?
113013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113014   (exit $ac_status); }; } &&
113015          { ac_try='test -s conftest$ac_exeext'
113016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113017   (eval $ac_try) 2>&5
113018   ac_status=$?
113019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113020   (exit $ac_status); }; }; then
113021   glibcxx_cv_WRITEV=yes
113022 else
113023   echo "$as_me: failed program was:" >&5
113024 sed 's/^/| /' conftest.$ac_ext >&5
113025
113026 glibcxx_cv_WRITEV=no
113027 fi
113028 rm -f conftest.err conftest.$ac_objext \
113029       conftest$ac_exeext conftest.$ac_ext
113030
113031 fi
113032
113033   if test $glibcxx_cv_WRITEV = yes; then
113034
113035 cat >>confdefs.h <<\_ACEOF
113036 #define HAVE_WRITEV 1
113037 _ACEOF
113038
113039   fi
113040   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113041 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113042
113043     ;;
113044   *-qnx6.1* | *-qnx6.2*)
113045     SECTION_FLAGS='-ffunction-sections -fdata-sections'
113046
113047
113048   # If we're not using GNU ld, then there's no point in even trying these
113049   # tests.  Check for that first.  We should have already tested for gld
113050   # by now (in libtool), but require it now just to be safe...
113051   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113052   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113053
113054
113055
113056   # The name set by libtool depends on the version of libtool.  Shame on us
113057   # for depending on an impl detail, but c'est la vie.  Older versions used
113058   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113059   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113060   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113061   # set (hence we're using an older libtool), then set it.
113062   if test x${with_gnu_ld+set} != xset; then
113063     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113064       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113065       with_gnu_ld=no
113066     else
113067       with_gnu_ld=$ac_cv_prog_gnu_ld
113068     fi
113069   fi
113070
113071   # Start by getting the version number.  I think the libtool test already
113072   # does some of this, but throws away the result.
113073   if test x"$with_gnu_ld" = x"yes"; then
113074     echo "$as_me:$LINENO: checking for ld version" >&5
113075 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113076
113077     ldver=`$LD --version 2>/dev/null | head -1 | \
113078            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113079
113080     glibcxx_gnu_ld_version=`echo $ldver | \
113081            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113082     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113083 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113084   fi
113085
113086   # Set --gc-sections.
113087   glibcxx_gcsections_min_ld=21602
113088   if test x"$with_gnu_ld" = x"yes" &&
113089         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113090
113091     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113092     # NB: This flag only works reliably after 2.16.1. Configure tests
113093     # for this are difficult, so hard wire a value that should work.
113094
113095     ac_test_CFLAGS="${CFLAGS+set}"
113096     ac_save_CFLAGS="$CFLAGS"
113097     CFLAGS='-Wl,--gc-sections'
113098
113099     # Check for -Wl,--gc-sections
113100     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113101 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113102     if test x$gcc_no_link = xyes; then
113103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113105    { (exit 1); exit 1; }; }
113106 fi
113107 cat >conftest.$ac_ext <<_ACEOF
113108 /* confdefs.h.  */
113109 _ACEOF
113110 cat confdefs.h >>conftest.$ac_ext
113111 cat >>conftest.$ac_ext <<_ACEOF
113112 /* end confdefs.h.  */
113113  int one(void) { return 1; }
113114      int two(void) { return 2; }
113115
113116 int
113117 main ()
113118 {
113119  two();
113120   ;
113121   return 0;
113122 }
113123 _ACEOF
113124 rm -f conftest.$ac_objext conftest$ac_exeext
113125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113126   (eval $ac_link) 2>conftest.er1
113127   ac_status=$?
113128   grep -v '^ *+' conftest.er1 >conftest.err
113129   rm -f conftest.er1
113130   cat conftest.err >&5
113131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113132   (exit $ac_status); } &&
113133          { ac_try='test -z "$ac_c_werror_flag"
113134                          || test ! -s conftest.err'
113135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113136   (eval $ac_try) 2>&5
113137   ac_status=$?
113138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113139   (exit $ac_status); }; } &&
113140          { ac_try='test -s conftest$ac_exeext'
113141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113142   (eval $ac_try) 2>&5
113143   ac_status=$?
113144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113145   (exit $ac_status); }; }; then
113146   ac_gcsections=yes
113147 else
113148   echo "$as_me: failed program was:" >&5
113149 sed 's/^/| /' conftest.$ac_ext >&5
113150
113151 ac_gcsections=no
113152 fi
113153 rm -f conftest.err conftest.$ac_objext \
113154       conftest$ac_exeext conftest.$ac_ext
113155     if test "$ac_gcsections" = "yes"; then
113156       rm -f conftest.c
113157       touch conftest.c
113158       if $CC -c conftest.c; then
113159         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113160            grep "Warning: gc-sections option ignored" > /dev/null; then
113161           ac_gcsections=no
113162         fi
113163       fi
113164       rm -f conftest.c conftest.o conftest
113165     fi
113166     if test "$ac_gcsections" = "yes"; then
113167       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113168     fi
113169     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113170 echo "${ECHO_T}$ac_gcsections" >&6
113171
113172     if test "$ac_test_CFLAGS" = set; then
113173       CFLAGS="$ac_save_CFLAGS"
113174     else
113175       # this is the suspicious part
113176       CFLAGS=''
113177     fi
113178   fi
113179
113180   # Set -z,relro.
113181   # Note this is only for shared objects.
113182   ac_ld_relro=no
113183   if test x"$with_gnu_ld" = x"yes"; then
113184     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113185 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113186     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113187     if test -n "$cxx_z_relo"; then
113188       OPT_LDFLAGS="-Wl,-z,relro"
113189       ac_ld_relro=yes
113190     fi
113191     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113192 echo "${ECHO_T}$ac_ld_relro" >&6
113193   fi
113194
113195   # Set linker optimization flags.
113196   if test x"$with_gnu_ld" = x"yes"; then
113197     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113198   fi
113199
113200
113201
113202
113203
113204
113205 echo "$as_me:$LINENO: checking for main in -lm" >&5
113206 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113207 if test "${ac_cv_lib_m_main+set}" = set; then
113208   echo $ECHO_N "(cached) $ECHO_C" >&6
113209 else
113210   ac_check_lib_save_LIBS=$LIBS
113211 LIBS="-lm  $LIBS"
113212 if test x$gcc_no_link = xyes; then
113213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113215    { (exit 1); exit 1; }; }
113216 fi
113217 cat >conftest.$ac_ext <<_ACEOF
113218 /* confdefs.h.  */
113219 _ACEOF
113220 cat confdefs.h >>conftest.$ac_ext
113221 cat >>conftest.$ac_ext <<_ACEOF
113222 /* end confdefs.h.  */
113223
113224
113225 int
113226 main ()
113227 {
113228 main ();
113229   ;
113230   return 0;
113231 }
113232 _ACEOF
113233 rm -f conftest.$ac_objext conftest$ac_exeext
113234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113235   (eval $ac_link) 2>conftest.er1
113236   ac_status=$?
113237   grep -v '^ *+' conftest.er1 >conftest.err
113238   rm -f conftest.er1
113239   cat conftest.err >&5
113240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113241   (exit $ac_status); } &&
113242          { ac_try='test -z "$ac_c_werror_flag"
113243                          || test ! -s conftest.err'
113244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113245   (eval $ac_try) 2>&5
113246   ac_status=$?
113247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113248   (exit $ac_status); }; } &&
113249          { ac_try='test -s conftest$ac_exeext'
113250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113251   (eval $ac_try) 2>&5
113252   ac_status=$?
113253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113254   (exit $ac_status); }; }; then
113255   ac_cv_lib_m_main=yes
113256 else
113257   echo "$as_me: failed program was:" >&5
113258 sed 's/^/| /' conftest.$ac_ext >&5
113259
113260 ac_cv_lib_m_main=no
113261 fi
113262 rm -f conftest.err conftest.$ac_objext \
113263       conftest$ac_exeext conftest.$ac_ext
113264 LIBS=$ac_check_lib_save_LIBS
113265 fi
113266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113267 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113268 if test $ac_cv_lib_m_main = yes; then
113269   cat >>confdefs.h <<_ACEOF
113270 #define HAVE_LIBM 1
113271 _ACEOF
113272
113273   LIBS="-lm $LIBS"
113274
113275 fi
113276
113277
113278 for ac_func in copysignf
113279 do
113280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113281 echo "$as_me:$LINENO: checking for $ac_func" >&5
113282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113283 if eval "test \"\${$as_ac_var+set}\" = set"; then
113284   echo $ECHO_N "(cached) $ECHO_C" >&6
113285 else
113286   if test x$gcc_no_link = xyes; then
113287   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113289    { (exit 1); exit 1; }; }
113290 fi
113291 cat >conftest.$ac_ext <<_ACEOF
113292 /* confdefs.h.  */
113293 _ACEOF
113294 cat confdefs.h >>conftest.$ac_ext
113295 cat >>conftest.$ac_ext <<_ACEOF
113296 /* end confdefs.h.  */
113297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113298    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113299 #define $ac_func innocuous_$ac_func
113300
113301 /* System header to define __stub macros and hopefully few prototypes,
113302     which can conflict with char $ac_func (); below.
113303     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113304     <limits.h> exists even on freestanding compilers.  */
113305
113306 #ifdef __STDC__
113307 # include <limits.h>
113308 #else
113309 # include <assert.h>
113310 #endif
113311
113312 #undef $ac_func
113313
113314 /* Override any gcc2 internal prototype to avoid an error.  */
113315 #ifdef __cplusplus
113316 extern "C"
113317 {
113318 #endif
113319 /* We use char because int might match the return type of a gcc2
113320    builtin and then its argument prototype would still apply.  */
113321 char $ac_func ();
113322 /* The GNU C library defines this for functions which it implements
113323     to always fail with ENOSYS.  Some functions are actually named
113324     something starting with __ and the normal name is an alias.  */
113325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113326 choke me
113327 #else
113328 char (*f) () = $ac_func;
113329 #endif
113330 #ifdef __cplusplus
113331 }
113332 #endif
113333
113334 int
113335 main ()
113336 {
113337 return f != $ac_func;
113338   ;
113339   return 0;
113340 }
113341 _ACEOF
113342 rm -f conftest.$ac_objext conftest$ac_exeext
113343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113344   (eval $ac_link) 2>conftest.er1
113345   ac_status=$?
113346   grep -v '^ *+' conftest.er1 >conftest.err
113347   rm -f conftest.er1
113348   cat conftest.err >&5
113349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113350   (exit $ac_status); } &&
113351          { ac_try='test -z "$ac_c_werror_flag"
113352                          || test ! -s conftest.err'
113353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113354   (eval $ac_try) 2>&5
113355   ac_status=$?
113356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113357   (exit $ac_status); }; } &&
113358          { ac_try='test -s conftest$ac_exeext'
113359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113360   (eval $ac_try) 2>&5
113361   ac_status=$?
113362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113363   (exit $ac_status); }; }; then
113364   eval "$as_ac_var=yes"
113365 else
113366   echo "$as_me: failed program was:" >&5
113367 sed 's/^/| /' conftest.$ac_ext >&5
113368
113369 eval "$as_ac_var=no"
113370 fi
113371 rm -f conftest.err conftest.$ac_objext \
113372       conftest$ac_exeext conftest.$ac_ext
113373 fi
113374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113376 if test `eval echo '${'$as_ac_var'}'` = yes; then
113377   cat >>confdefs.h <<_ACEOF
113378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113379 _ACEOF
113380
113381 else
113382   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113383 fi
113384 done
113385
113386
113387
113388 for ac_func in __signbit
113389 do
113390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113391 echo "$as_me:$LINENO: checking for $ac_func" >&5
113392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113393 if eval "test \"\${$as_ac_var+set}\" = set"; then
113394   echo $ECHO_N "(cached) $ECHO_C" >&6
113395 else
113396   if test x$gcc_no_link = xyes; then
113397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113399    { (exit 1); exit 1; }; }
113400 fi
113401 cat >conftest.$ac_ext <<_ACEOF
113402 /* confdefs.h.  */
113403 _ACEOF
113404 cat confdefs.h >>conftest.$ac_ext
113405 cat >>conftest.$ac_ext <<_ACEOF
113406 /* end confdefs.h.  */
113407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113408    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113409 #define $ac_func innocuous_$ac_func
113410
113411 /* System header to define __stub macros and hopefully few prototypes,
113412     which can conflict with char $ac_func (); below.
113413     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113414     <limits.h> exists even on freestanding compilers.  */
113415
113416 #ifdef __STDC__
113417 # include <limits.h>
113418 #else
113419 # include <assert.h>
113420 #endif
113421
113422 #undef $ac_func
113423
113424 /* Override any gcc2 internal prototype to avoid an error.  */
113425 #ifdef __cplusplus
113426 extern "C"
113427 {
113428 #endif
113429 /* We use char because int might match the return type of a gcc2
113430    builtin and then its argument prototype would still apply.  */
113431 char $ac_func ();
113432 /* The GNU C library defines this for functions which it implements
113433     to always fail with ENOSYS.  Some functions are actually named
113434     something starting with __ and the normal name is an alias.  */
113435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113436 choke me
113437 #else
113438 char (*f) () = $ac_func;
113439 #endif
113440 #ifdef __cplusplus
113441 }
113442 #endif
113443
113444 int
113445 main ()
113446 {
113447 return f != $ac_func;
113448   ;
113449   return 0;
113450 }
113451 _ACEOF
113452 rm -f conftest.$ac_objext conftest$ac_exeext
113453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113454   (eval $ac_link) 2>conftest.er1
113455   ac_status=$?
113456   grep -v '^ *+' conftest.er1 >conftest.err
113457   rm -f conftest.er1
113458   cat conftest.err >&5
113459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113460   (exit $ac_status); } &&
113461          { ac_try='test -z "$ac_c_werror_flag"
113462                          || test ! -s conftest.err'
113463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113464   (eval $ac_try) 2>&5
113465   ac_status=$?
113466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113467   (exit $ac_status); }; } &&
113468          { ac_try='test -s conftest$ac_exeext'
113469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113470   (eval $ac_try) 2>&5
113471   ac_status=$?
113472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113473   (exit $ac_status); }; }; then
113474   eval "$as_ac_var=yes"
113475 else
113476   echo "$as_me: failed program was:" >&5
113477 sed 's/^/| /' conftest.$ac_ext >&5
113478
113479 eval "$as_ac_var=no"
113480 fi
113481 rm -f conftest.err conftest.$ac_objext \
113482       conftest$ac_exeext conftest.$ac_ext
113483 fi
113484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113486 if test `eval echo '${'$as_ac_var'}'` = yes; then
113487   cat >>confdefs.h <<_ACEOF
113488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113489 _ACEOF
113490
113491 else
113492   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113493 fi
113494 done
113495
113496
113497
113498 for ac_func in __signbitf
113499 do
113500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113501 echo "$as_me:$LINENO: checking for $ac_func" >&5
113502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113503 if eval "test \"\${$as_ac_var+set}\" = set"; then
113504   echo $ECHO_N "(cached) $ECHO_C" >&6
113505 else
113506   if test x$gcc_no_link = xyes; then
113507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113509    { (exit 1); exit 1; }; }
113510 fi
113511 cat >conftest.$ac_ext <<_ACEOF
113512 /* confdefs.h.  */
113513 _ACEOF
113514 cat confdefs.h >>conftest.$ac_ext
113515 cat >>conftest.$ac_ext <<_ACEOF
113516 /* end confdefs.h.  */
113517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113518    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113519 #define $ac_func innocuous_$ac_func
113520
113521 /* System header to define __stub macros and hopefully few prototypes,
113522     which can conflict with char $ac_func (); below.
113523     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113524     <limits.h> exists even on freestanding compilers.  */
113525
113526 #ifdef __STDC__
113527 # include <limits.h>
113528 #else
113529 # include <assert.h>
113530 #endif
113531
113532 #undef $ac_func
113533
113534 /* Override any gcc2 internal prototype to avoid an error.  */
113535 #ifdef __cplusplus
113536 extern "C"
113537 {
113538 #endif
113539 /* We use char because int might match the return type of a gcc2
113540    builtin and then its argument prototype would still apply.  */
113541 char $ac_func ();
113542 /* The GNU C library defines this for functions which it implements
113543     to always fail with ENOSYS.  Some functions are actually named
113544     something starting with __ and the normal name is an alias.  */
113545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113546 choke me
113547 #else
113548 char (*f) () = $ac_func;
113549 #endif
113550 #ifdef __cplusplus
113551 }
113552 #endif
113553
113554 int
113555 main ()
113556 {
113557 return f != $ac_func;
113558   ;
113559   return 0;
113560 }
113561 _ACEOF
113562 rm -f conftest.$ac_objext conftest$ac_exeext
113563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113564   (eval $ac_link) 2>conftest.er1
113565   ac_status=$?
113566   grep -v '^ *+' conftest.er1 >conftest.err
113567   rm -f conftest.er1
113568   cat conftest.err >&5
113569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113570   (exit $ac_status); } &&
113571          { ac_try='test -z "$ac_c_werror_flag"
113572                          || test ! -s conftest.err'
113573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113574   (eval $ac_try) 2>&5
113575   ac_status=$?
113576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113577   (exit $ac_status); }; } &&
113578          { ac_try='test -s conftest$ac_exeext'
113579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113580   (eval $ac_try) 2>&5
113581   ac_status=$?
113582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113583   (exit $ac_status); }; }; then
113584   eval "$as_ac_var=yes"
113585 else
113586   echo "$as_me: failed program was:" >&5
113587 sed 's/^/| /' conftest.$ac_ext >&5
113588
113589 eval "$as_ac_var=no"
113590 fi
113591 rm -f conftest.err conftest.$ac_objext \
113592       conftest$ac_exeext conftest.$ac_ext
113593 fi
113594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113596 if test `eval echo '${'$as_ac_var'}'` = yes; then
113597   cat >>confdefs.h <<_ACEOF
113598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113599 _ACEOF
113600
113601 else
113602   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113603 fi
113604 done
113605
113606
113607           if test x$ac_cv_func_copysignl = x"yes"; then
113608
113609 for ac_func in __signbitl
113610 do
113611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113612 echo "$as_me:$LINENO: checking for $ac_func" >&5
113613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113614 if eval "test \"\${$as_ac_var+set}\" = set"; then
113615   echo $ECHO_N "(cached) $ECHO_C" >&6
113616 else
113617   if test x$gcc_no_link = xyes; then
113618   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113620    { (exit 1); exit 1; }; }
113621 fi
113622 cat >conftest.$ac_ext <<_ACEOF
113623 /* confdefs.h.  */
113624 _ACEOF
113625 cat confdefs.h >>conftest.$ac_ext
113626 cat >>conftest.$ac_ext <<_ACEOF
113627 /* end confdefs.h.  */
113628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113629    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113630 #define $ac_func innocuous_$ac_func
113631
113632 /* System header to define __stub macros and hopefully few prototypes,
113633     which can conflict with char $ac_func (); below.
113634     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113635     <limits.h> exists even on freestanding compilers.  */
113636
113637 #ifdef __STDC__
113638 # include <limits.h>
113639 #else
113640 # include <assert.h>
113641 #endif
113642
113643 #undef $ac_func
113644
113645 /* Override any gcc2 internal prototype to avoid an error.  */
113646 #ifdef __cplusplus
113647 extern "C"
113648 {
113649 #endif
113650 /* We use char because int might match the return type of a gcc2
113651    builtin and then its argument prototype would still apply.  */
113652 char $ac_func ();
113653 /* The GNU C library defines this for functions which it implements
113654     to always fail with ENOSYS.  Some functions are actually named
113655     something starting with __ and the normal name is an alias.  */
113656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113657 choke me
113658 #else
113659 char (*f) () = $ac_func;
113660 #endif
113661 #ifdef __cplusplus
113662 }
113663 #endif
113664
113665 int
113666 main ()
113667 {
113668 return f != $ac_func;
113669   ;
113670   return 0;
113671 }
113672 _ACEOF
113673 rm -f conftest.$ac_objext conftest$ac_exeext
113674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113675   (eval $ac_link) 2>conftest.er1
113676   ac_status=$?
113677   grep -v '^ *+' conftest.er1 >conftest.err
113678   rm -f conftest.er1
113679   cat conftest.err >&5
113680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113681   (exit $ac_status); } &&
113682          { ac_try='test -z "$ac_c_werror_flag"
113683                          || test ! -s conftest.err'
113684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113685   (eval $ac_try) 2>&5
113686   ac_status=$?
113687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113688   (exit $ac_status); }; } &&
113689          { ac_try='test -s conftest$ac_exeext'
113690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113691   (eval $ac_try) 2>&5
113692   ac_status=$?
113693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113694   (exit $ac_status); }; }; then
113695   eval "$as_ac_var=yes"
113696 else
113697   echo "$as_me: failed program was:" >&5
113698 sed 's/^/| /' conftest.$ac_ext >&5
113699
113700 eval "$as_ac_var=no"
113701 fi
113702 rm -f conftest.err conftest.$ac_objext \
113703       conftest$ac_exeext conftest.$ac_ext
113704 fi
113705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113707 if test `eval echo '${'$as_ac_var'}'` = yes; then
113708   cat >>confdefs.h <<_ACEOF
113709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113710 _ACEOF
113711
113712 else
113713   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113714 fi
113715 done
113716
113717   fi
113718
113719   # Used in libmath/Makefile.am.
113720   if test -n "$LIBMATHOBJS"; then
113721     need_libmath=yes
113722   fi
113723
113724
113725     cat >>confdefs.h <<\_ACEOF
113726 #define HAVE_COSF 1
113727 _ACEOF
113728
113729     cat >>confdefs.h <<\_ACEOF
113730 #define HAVE_COSL 1
113731 _ACEOF
113732
113733     cat >>confdefs.h <<\_ACEOF
113734 #define HAVE_COSHF 1
113735 _ACEOF
113736
113737     cat >>confdefs.h <<\_ACEOF
113738 #define HAVE_COSHL 1
113739 _ACEOF
113740
113741     cat >>confdefs.h <<\_ACEOF
113742 #define HAVE_LOGF 1
113743 _ACEOF
113744
113745     cat >>confdefs.h <<\_ACEOF
113746 #define HAVE_LOGL 1
113747 _ACEOF
113748
113749     cat >>confdefs.h <<\_ACEOF
113750 #define HAVE_LOG10F 1
113751 _ACEOF
113752
113753     cat >>confdefs.h <<\_ACEOF
113754 #define HAVE_LOG10L 1
113755 _ACEOF
113756
113757     cat >>confdefs.h <<\_ACEOF
113758 #define HAVE_SINF 1
113759 _ACEOF
113760
113761     cat >>confdefs.h <<\_ACEOF
113762 #define HAVE_SINL 1
113763 _ACEOF
113764
113765     cat >>confdefs.h <<\_ACEOF
113766 #define HAVE_SINHF 1
113767 _ACEOF
113768
113769     cat >>confdefs.h <<\_ACEOF
113770 #define HAVE_SINHL 1
113771 _ACEOF
113772
113773     ;;
113774   *-solaris*)
113775     case "$target" in
113776     #  *-solaris2.5)
113777     #    os_include_dir="os/solaris/solaris2.5"
113778     #    ;;
113779     #  *-solaris2.6)
113780     #    os_include_dir="os/solaris/solaris2.6"
113781     #    ;;
113782       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
113783
113784   # If we're not using GNU ld, then there's no point in even trying these
113785   # tests.  Check for that first.  We should have already tested for gld
113786   # by now (in libtool), but require it now just to be safe...
113787   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113788   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113789
113790
113791
113792   # The name set by libtool depends on the version of libtool.  Shame on us
113793   # for depending on an impl detail, but c'est la vie.  Older versions used
113794   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113795   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113796   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113797   # set (hence we're using an older libtool), then set it.
113798   if test x${with_gnu_ld+set} != xset; then
113799     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113800       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113801       with_gnu_ld=no
113802     else
113803       with_gnu_ld=$ac_cv_prog_gnu_ld
113804     fi
113805   fi
113806
113807   # Start by getting the version number.  I think the libtool test already
113808   # does some of this, but throws away the result.
113809   if test x"$with_gnu_ld" = x"yes"; then
113810     echo "$as_me:$LINENO: checking for ld version" >&5
113811 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113812
113813     ldver=`$LD --version 2>/dev/null | head -1 | \
113814            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113815
113816     glibcxx_gnu_ld_version=`echo $ldver | \
113817            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113818     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113819 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113820   fi
113821
113822   # Set --gc-sections.
113823   glibcxx_gcsections_min_ld=21602
113824   if test x"$with_gnu_ld" = x"yes" &&
113825         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113826
113827     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113828     # NB: This flag only works reliably after 2.16.1. Configure tests
113829     # for this are difficult, so hard wire a value that should work.
113830
113831     ac_test_CFLAGS="${CFLAGS+set}"
113832     ac_save_CFLAGS="$CFLAGS"
113833     CFLAGS='-Wl,--gc-sections'
113834
113835     # Check for -Wl,--gc-sections
113836     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113837 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113838     if test x$gcc_no_link = xyes; then
113839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113841    { (exit 1); exit 1; }; }
113842 fi
113843 cat >conftest.$ac_ext <<_ACEOF
113844 /* confdefs.h.  */
113845 _ACEOF
113846 cat confdefs.h >>conftest.$ac_ext
113847 cat >>conftest.$ac_ext <<_ACEOF
113848 /* end confdefs.h.  */
113849  int one(void) { return 1; }
113850      int two(void) { return 2; }
113851
113852 int
113853 main ()
113854 {
113855  two();
113856   ;
113857   return 0;
113858 }
113859 _ACEOF
113860 rm -f conftest.$ac_objext conftest$ac_exeext
113861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113862   (eval $ac_link) 2>conftest.er1
113863   ac_status=$?
113864   grep -v '^ *+' conftest.er1 >conftest.err
113865   rm -f conftest.er1
113866   cat conftest.err >&5
113867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113868   (exit $ac_status); } &&
113869          { ac_try='test -z "$ac_c_werror_flag"
113870                          || test ! -s conftest.err'
113871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113872   (eval $ac_try) 2>&5
113873   ac_status=$?
113874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113875   (exit $ac_status); }; } &&
113876          { ac_try='test -s conftest$ac_exeext'
113877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113878   (eval $ac_try) 2>&5
113879   ac_status=$?
113880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113881   (exit $ac_status); }; }; then
113882   ac_gcsections=yes
113883 else
113884   echo "$as_me: failed program was:" >&5
113885 sed 's/^/| /' conftest.$ac_ext >&5
113886
113887 ac_gcsections=no
113888 fi
113889 rm -f conftest.err conftest.$ac_objext \
113890       conftest$ac_exeext conftest.$ac_ext
113891     if test "$ac_gcsections" = "yes"; then
113892       rm -f conftest.c
113893       touch conftest.c
113894       if $CC -c conftest.c; then
113895         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113896            grep "Warning: gc-sections option ignored" > /dev/null; then
113897           ac_gcsections=no
113898         fi
113899       fi
113900       rm -f conftest.c conftest.o conftest
113901     fi
113902     if test "$ac_gcsections" = "yes"; then
113903       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113904     fi
113905     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113906 echo "${ECHO_T}$ac_gcsections" >&6
113907
113908     if test "$ac_test_CFLAGS" = set; then
113909       CFLAGS="$ac_save_CFLAGS"
113910     else
113911       # this is the suspicious part
113912       CFLAGS=''
113913     fi
113914   fi
113915
113916   # Set -z,relro.
113917   # Note this is only for shared objects.
113918   ac_ld_relro=no
113919   if test x"$with_gnu_ld" = x"yes"; then
113920     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113921 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113922     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113923     if test -n "$cxx_z_relo"; then
113924       OPT_LDFLAGS="-Wl,-z,relro"
113925       ac_ld_relro=yes
113926     fi
113927     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113928 echo "${ECHO_T}$ac_ld_relro" >&6
113929   fi
113930
113931   # Set linker optimization flags.
113932   if test x"$with_gnu_ld" = x"yes"; then
113933     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113934   fi
113935
113936
113937
113938
113939          cat >>confdefs.h <<\_ACEOF
113940 #define HAVE_GETPAGESIZE 1
113941 _ACEOF
113942
113943          cat >>confdefs.h <<\_ACEOF
113944 #define HAVE_SIGSETJMP 1
113945 _ACEOF
113946
113947          cat >>confdefs.h <<\_ACEOF
113948 #define HAVE_MBSTATE_T 1
113949 _ACEOF
113950
113951          cat >>confdefs.h <<\_ACEOF
113952 #define HAVE_POLL 1
113953 _ACEOF
113954
113955          cat >>confdefs.h <<\_ACEOF
113956 #define HAVE_S_ISREG 1
113957 _ACEOF
113958
113959          cat >>confdefs.h <<\_ACEOF
113960 #define HAVE_LC_MESSAGES 1
113961 _ACEOF
113962
113963          cat >>confdefs.h <<\_ACEOF
113964 #define HAVE_FINITE 1
113965 _ACEOF
113966
113967          cat >>confdefs.h <<\_ACEOF
113968 #define HAVE_FPCLASS 1
113969 _ACEOF
113970
113971          cat >>confdefs.h <<\_ACEOF
113972 #define HAVE_GETPAGESIZE 1
113973 _ACEOF
113974
113975          # All of the dependencies for wide character support are here, so
113976          # turn it on.
113977          cat >>confdefs.h <<\_ACEOF
113978 #define _GLIBCXX_USE_WCHAR_T 1
113979 _ACEOF
113980
113981          # Are these tested for even when cross?
113982          cat >>confdefs.h <<\_ACEOF
113983 #define HAVE_FLOAT_H 1
113984 _ACEOF
113985
113986          cat >>confdefs.h <<\_ACEOF
113987 #define HAVE_IEEEFP_H 1
113988 _ACEOF
113989
113990          cat >>confdefs.h <<\_ACEOF
113991 #define HAVE_INTTYPES_H 1
113992 _ACEOF
113993
113994          cat >>confdefs.h <<\_ACEOF
113995 #define HAVE_LOCALE_H 1
113996 _ACEOF
113997
113998          cat >>confdefs.h <<\_ACEOF
113999 #define HAVE_NAN_H 1
114000 _ACEOF
114001
114002          cat >>confdefs.h <<\_ACEOF
114003 #define HAVE_SYS_FILIO_H 1
114004 _ACEOF
114005
114006          cat >>confdefs.h <<\_ACEOF
114007 #define HAVE_SYS_IOCTL_H 1
114008 _ACEOF
114009
114010          cat >>confdefs.h <<\_ACEOF
114011 #define HAVE_SYS_ISA_DEFS_H 1
114012 _ACEOF
114013
114014          cat >>confdefs.h <<\_ACEOF
114015 #define HAVE_SYS_RESOURCE_H 1
114016 _ACEOF
114017
114018          cat >>confdefs.h <<\_ACEOF
114019 #define HAVE_SYS_TIME_H 1
114020 _ACEOF
114021
114022          cat >>confdefs.h <<\_ACEOF
114023 #define HAVE_SYS_TYPES_H 1
114024 _ACEOF
114025
114026          cat >>confdefs.h <<\_ACEOF
114027 #define HAVE_UNISTD_H 1
114028 _ACEOF
114029
114030          cat >>confdefs.h <<\_ACEOF
114031 #define HAVE_WCHAR_H 1
114032 _ACEOF
114033
114034          cat >>confdefs.h <<\_ACEOF
114035 #define HAVE_WCTYPE_H 1
114036 _ACEOF
114037
114038          cat >>confdefs.h <<\_ACEOF
114039 #define HAVE_LIBM 1
114040 _ACEOF
114041
114042         ;;
114043     esac
114044     case "$target" in
114045       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114046         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114047         cat >>confdefs.h <<\_ACEOF
114048 #define HAVE___BUILTIN_ABS 1
114049 _ACEOF
114050
114051         cat >>confdefs.h <<\_ACEOF
114052 #define HAVE___BUILTIN_LABS 1
114053 _ACEOF
114054
114055         cat >>confdefs.h <<\_ACEOF
114056 #define HAVE___BUILTIN_FABS 1
114057 _ACEOF
114058
114059         cat >>confdefs.h <<\_ACEOF
114060 #define HAVE___BUILTIN_FABSF 1
114061 _ACEOF
114062
114063         cat >>confdefs.h <<\_ACEOF
114064 #define HAVE___BUILTIN_FABSL 1
114065 _ACEOF
114066
114067         cat >>confdefs.h <<\_ACEOF
114068 #define HAVE___BUILTIN_COS 1
114069 _ACEOF
114070
114071         cat >>confdefs.h <<\_ACEOF
114072 #define HAVE___BUILTIN_COSF 1
114073 _ACEOF
114074
114075         cat >>confdefs.h <<\_ACEOF
114076 #define HAVE___BUILTIN_SIN 1
114077 _ACEOF
114078
114079         cat >>confdefs.h <<\_ACEOF
114080 #define HAVE___BUILTIN_SINF 1
114081 _ACEOF
114082
114083        ;;
114084     esac
114085     case "$target" in
114086       *-*-solaris2.10)
114087       # These two C99 functions are present only in Solaris >= 10
114088       cat >>confdefs.h <<\_ACEOF
114089 #define HAVE_STRTOF 1
114090 _ACEOF
114091
114092       cat >>confdefs.h <<\_ACEOF
114093 #define HAVE_STRTOLD 1
114094 _ACEOF
114095
114096      ;;
114097     esac
114098     cat >>confdefs.h <<\_ACEOF
114099 #define HAVE_MMAP 1
114100 _ACEOF
114101
114102     cat >>confdefs.h <<\_ACEOF
114103 #define HAVE_COPYSIGN 1
114104 _ACEOF
114105
114106     cat >>confdefs.h <<\_ACEOF
114107 #define HAVE_ISNAN 1
114108 _ACEOF
114109
114110     cat >>confdefs.h <<\_ACEOF
114111 #define HAVE_ISNANF 1
114112 _ACEOF
114113
114114     cat >>confdefs.h <<\_ACEOF
114115 #define HAVE_MODFF 1
114116 _ACEOF
114117
114118     cat >>confdefs.h <<\_ACEOF
114119 #define HAVE_HYPOT 1
114120 _ACEOF
114121
114122     ;;
114123   *-tpf)
114124
114125
114126
114127
114128
114129
114130
114131
114132 for ac_header in nan.h endian.h machine/endian.h  \
114133       sys/param.h sys/types.h locale.h float.h inttypes.h
114134 do
114135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114137   echo "$as_me:$LINENO: checking for $ac_header" >&5
114138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114140   echo $ECHO_N "(cached) $ECHO_C" >&6
114141 fi
114142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114144 else
114145   # Is the header compilable?
114146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114148 cat >conftest.$ac_ext <<_ACEOF
114149 /* confdefs.h.  */
114150 _ACEOF
114151 cat confdefs.h >>conftest.$ac_ext
114152 cat >>conftest.$ac_ext <<_ACEOF
114153 /* end confdefs.h.  */
114154 $ac_includes_default
114155 #include <$ac_header>
114156 _ACEOF
114157 rm -f conftest.$ac_objext
114158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114159   (eval $ac_compile) 2>conftest.er1
114160   ac_status=$?
114161   grep -v '^ *+' conftest.er1 >conftest.err
114162   rm -f conftest.er1
114163   cat conftest.err >&5
114164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114165   (exit $ac_status); } &&
114166          { ac_try='test -z "$ac_c_werror_flag"
114167                          || test ! -s conftest.err'
114168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114169   (eval $ac_try) 2>&5
114170   ac_status=$?
114171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114172   (exit $ac_status); }; } &&
114173          { ac_try='test -s conftest.$ac_objext'
114174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114175   (eval $ac_try) 2>&5
114176   ac_status=$?
114177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114178   (exit $ac_status); }; }; then
114179   ac_header_compiler=yes
114180 else
114181   echo "$as_me: failed program was:" >&5
114182 sed 's/^/| /' conftest.$ac_ext >&5
114183
114184 ac_header_compiler=no
114185 fi
114186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114188 echo "${ECHO_T}$ac_header_compiler" >&6
114189
114190 # Is the header present?
114191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114193 cat >conftest.$ac_ext <<_ACEOF
114194 /* confdefs.h.  */
114195 _ACEOF
114196 cat confdefs.h >>conftest.$ac_ext
114197 cat >>conftest.$ac_ext <<_ACEOF
114198 /* end confdefs.h.  */
114199 #include <$ac_header>
114200 _ACEOF
114201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114202   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114203   ac_status=$?
114204   grep -v '^ *+' conftest.er1 >conftest.err
114205   rm -f conftest.er1
114206   cat conftest.err >&5
114207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114208   (exit $ac_status); } >/dev/null; then
114209   if test -s conftest.err; then
114210     ac_cpp_err=$ac_c_preproc_warn_flag
114211     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114212   else
114213     ac_cpp_err=
114214   fi
114215 else
114216   ac_cpp_err=yes
114217 fi
114218 if test -z "$ac_cpp_err"; then
114219   ac_header_preproc=yes
114220 else
114221   echo "$as_me: failed program was:" >&5
114222 sed 's/^/| /' conftest.$ac_ext >&5
114223
114224   ac_header_preproc=no
114225 fi
114226 rm -f conftest.err conftest.$ac_ext
114227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114228 echo "${ECHO_T}$ac_header_preproc" >&6
114229
114230 # So?  What about this header?
114231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114232   yes:no: )
114233     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114235     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114237     ac_header_preproc=yes
114238     ;;
114239   no:yes:* )
114240     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114242     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
114243 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
114244     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114246     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
114247 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
114248     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114250     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114252     (
114253       cat <<\_ASBOX
114254 ## ----------------------------------------- ##
114255 ## Report this to the package-unused lists.  ##
114256 ## ----------------------------------------- ##
114257 _ASBOX
114258     ) |
114259       sed "s/^/$as_me: WARNING:     /" >&2
114260     ;;
114261 esac
114262 echo "$as_me:$LINENO: checking for $ac_header" >&5
114263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114265   echo $ECHO_N "(cached) $ECHO_C" >&6
114266 else
114267   eval "$as_ac_Header=\$ac_header_preproc"
114268 fi
114269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114271
114272 fi
114273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114274   cat >>confdefs.h <<_ACEOF
114275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114276 _ACEOF
114277
114278 fi
114279
114280 done
114281
114282     SECTION_FLAGS='-ffunction-sections -fdata-sections'
114283
114284
114285   # If we're not using GNU ld, then there's no point in even trying these
114286   # tests.  Check for that first.  We should have already tested for gld
114287   # by now (in libtool), but require it now just to be safe...
114288   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114289   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114290
114291
114292
114293   # The name set by libtool depends on the version of libtool.  Shame on us
114294   # for depending on an impl detail, but c'est la vie.  Older versions used
114295   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114296   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114297   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
114298   # set (hence we're using an older libtool), then set it.
114299   if test x${with_gnu_ld+set} != xset; then
114300     if test x${ac_cv_prog_gnu_ld+set} != xset; then
114301       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
114302       with_gnu_ld=no
114303     else
114304       with_gnu_ld=$ac_cv_prog_gnu_ld
114305     fi
114306   fi
114307
114308   # Start by getting the version number.  I think the libtool test already
114309   # does some of this, but throws away the result.
114310   if test x"$with_gnu_ld" = x"yes"; then
114311     echo "$as_me:$LINENO: checking for ld version" >&5
114312 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114313
114314     ldver=`$LD --version 2>/dev/null | head -1 | \
114315            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
114316
114317     glibcxx_gnu_ld_version=`echo $ldver | \
114318            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114319     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114320 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114321   fi
114322
114323   # Set --gc-sections.
114324   glibcxx_gcsections_min_ld=21602
114325   if test x"$with_gnu_ld" = x"yes" &&
114326         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114327
114328     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
114329     # NB: This flag only works reliably after 2.16.1. Configure tests
114330     # for this are difficult, so hard wire a value that should work.
114331
114332     ac_test_CFLAGS="${CFLAGS+set}"
114333     ac_save_CFLAGS="$CFLAGS"
114334     CFLAGS='-Wl,--gc-sections'
114335
114336     # Check for -Wl,--gc-sections
114337     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114338 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114339     if test x$gcc_no_link = xyes; then
114340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114342    { (exit 1); exit 1; }; }
114343 fi
114344 cat >conftest.$ac_ext <<_ACEOF
114345 /* confdefs.h.  */
114346 _ACEOF
114347 cat confdefs.h >>conftest.$ac_ext
114348 cat >>conftest.$ac_ext <<_ACEOF
114349 /* end confdefs.h.  */
114350  int one(void) { return 1; }
114351      int two(void) { return 2; }
114352
114353 int
114354 main ()
114355 {
114356  two();
114357   ;
114358   return 0;
114359 }
114360 _ACEOF
114361 rm -f conftest.$ac_objext conftest$ac_exeext
114362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114363   (eval $ac_link) 2>conftest.er1
114364   ac_status=$?
114365   grep -v '^ *+' conftest.er1 >conftest.err
114366   rm -f conftest.er1
114367   cat conftest.err >&5
114368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114369   (exit $ac_status); } &&
114370          { ac_try='test -z "$ac_c_werror_flag"
114371                          || test ! -s conftest.err'
114372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114373   (eval $ac_try) 2>&5
114374   ac_status=$?
114375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114376   (exit $ac_status); }; } &&
114377          { ac_try='test -s conftest$ac_exeext'
114378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114379   (eval $ac_try) 2>&5
114380   ac_status=$?
114381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114382   (exit $ac_status); }; }; then
114383   ac_gcsections=yes
114384 else
114385   echo "$as_me: failed program was:" >&5
114386 sed 's/^/| /' conftest.$ac_ext >&5
114387
114388 ac_gcsections=no
114389 fi
114390 rm -f conftest.err conftest.$ac_objext \
114391       conftest$ac_exeext conftest.$ac_ext
114392     if test "$ac_gcsections" = "yes"; then
114393       rm -f conftest.c
114394       touch conftest.c
114395       if $CC -c conftest.c; then
114396         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114397            grep "Warning: gc-sections option ignored" > /dev/null; then
114398           ac_gcsections=no
114399         fi
114400       fi
114401       rm -f conftest.c conftest.o conftest
114402     fi
114403     if test "$ac_gcsections" = "yes"; then
114404       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114405     fi
114406     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114407 echo "${ECHO_T}$ac_gcsections" >&6
114408
114409     if test "$ac_test_CFLAGS" = set; then
114410       CFLAGS="$ac_save_CFLAGS"
114411     else
114412       # this is the suspicious part
114413       CFLAGS=''
114414     fi
114415   fi
114416
114417   # Set -z,relro.
114418   # Note this is only for shared objects.
114419   ac_ld_relro=no
114420   if test x"$with_gnu_ld" = x"yes"; then
114421     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114422 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114423     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114424     if test -n "$cxx_z_relo"; then
114425       OPT_LDFLAGS="-Wl,-z,relro"
114426       ac_ld_relro=yes
114427     fi
114428     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114429 echo "${ECHO_T}$ac_ld_relro" >&6
114430   fi
114431
114432   # Set linker optimization flags.
114433   if test x"$with_gnu_ld" = x"yes"; then
114434     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114435   fi
114436
114437
114438
114439
114440
114441
114442 echo "$as_me:$LINENO: checking for main in -lm" >&5
114443 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114444 if test "${ac_cv_lib_m_main+set}" = set; then
114445   echo $ECHO_N "(cached) $ECHO_C" >&6
114446 else
114447   ac_check_lib_save_LIBS=$LIBS
114448 LIBS="-lm  $LIBS"
114449 if test x$gcc_no_link = xyes; then
114450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114452    { (exit 1); exit 1; }; }
114453 fi
114454 cat >conftest.$ac_ext <<_ACEOF
114455 /* confdefs.h.  */
114456 _ACEOF
114457 cat confdefs.h >>conftest.$ac_ext
114458 cat >>conftest.$ac_ext <<_ACEOF
114459 /* end confdefs.h.  */
114460
114461
114462 int
114463 main ()
114464 {
114465 main ();
114466   ;
114467   return 0;
114468 }
114469 _ACEOF
114470 rm -f conftest.$ac_objext conftest$ac_exeext
114471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114472   (eval $ac_link) 2>conftest.er1
114473   ac_status=$?
114474   grep -v '^ *+' conftest.er1 >conftest.err
114475   rm -f conftest.er1
114476   cat conftest.err >&5
114477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114478   (exit $ac_status); } &&
114479          { ac_try='test -z "$ac_c_werror_flag"
114480                          || test ! -s conftest.err'
114481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114482   (eval $ac_try) 2>&5
114483   ac_status=$?
114484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114485   (exit $ac_status); }; } &&
114486          { ac_try='test -s conftest$ac_exeext'
114487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114488   (eval $ac_try) 2>&5
114489   ac_status=$?
114490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114491   (exit $ac_status); }; }; then
114492   ac_cv_lib_m_main=yes
114493 else
114494   echo "$as_me: failed program was:" >&5
114495 sed 's/^/| /' conftest.$ac_ext >&5
114496
114497 ac_cv_lib_m_main=no
114498 fi
114499 rm -f conftest.err conftest.$ac_objext \
114500       conftest$ac_exeext conftest.$ac_ext
114501 LIBS=$ac_check_lib_save_LIBS
114502 fi
114503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114504 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114505 if test $ac_cv_lib_m_main = yes; then
114506   cat >>confdefs.h <<_ACEOF
114507 #define HAVE_LIBM 1
114508 _ACEOF
114509
114510   LIBS="-lm $LIBS"
114511
114512 fi
114513
114514
114515 for ac_func in copysignf
114516 do
114517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114518 echo "$as_me:$LINENO: checking for $ac_func" >&5
114519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114520 if eval "test \"\${$as_ac_var+set}\" = set"; then
114521   echo $ECHO_N "(cached) $ECHO_C" >&6
114522 else
114523   if test x$gcc_no_link = xyes; then
114524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114526    { (exit 1); exit 1; }; }
114527 fi
114528 cat >conftest.$ac_ext <<_ACEOF
114529 /* confdefs.h.  */
114530 _ACEOF
114531 cat confdefs.h >>conftest.$ac_ext
114532 cat >>conftest.$ac_ext <<_ACEOF
114533 /* end confdefs.h.  */
114534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114536 #define $ac_func innocuous_$ac_func
114537
114538 /* System header to define __stub macros and hopefully few prototypes,
114539     which can conflict with char $ac_func (); below.
114540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114541     <limits.h> exists even on freestanding compilers.  */
114542
114543 #ifdef __STDC__
114544 # include <limits.h>
114545 #else
114546 # include <assert.h>
114547 #endif
114548
114549 #undef $ac_func
114550
114551 /* Override any gcc2 internal prototype to avoid an error.  */
114552 #ifdef __cplusplus
114553 extern "C"
114554 {
114555 #endif
114556 /* We use char because int might match the return type of a gcc2
114557    builtin and then its argument prototype would still apply.  */
114558 char $ac_func ();
114559 /* The GNU C library defines this for functions which it implements
114560     to always fail with ENOSYS.  Some functions are actually named
114561     something starting with __ and the normal name is an alias.  */
114562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114563 choke me
114564 #else
114565 char (*f) () = $ac_func;
114566 #endif
114567 #ifdef __cplusplus
114568 }
114569 #endif
114570
114571 int
114572 main ()
114573 {
114574 return f != $ac_func;
114575   ;
114576   return 0;
114577 }
114578 _ACEOF
114579 rm -f conftest.$ac_objext conftest$ac_exeext
114580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114581   (eval $ac_link) 2>conftest.er1
114582   ac_status=$?
114583   grep -v '^ *+' conftest.er1 >conftest.err
114584   rm -f conftest.er1
114585   cat conftest.err >&5
114586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114587   (exit $ac_status); } &&
114588          { ac_try='test -z "$ac_c_werror_flag"
114589                          || test ! -s conftest.err'
114590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114591   (eval $ac_try) 2>&5
114592   ac_status=$?
114593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114594   (exit $ac_status); }; } &&
114595          { ac_try='test -s conftest$ac_exeext'
114596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114597   (eval $ac_try) 2>&5
114598   ac_status=$?
114599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114600   (exit $ac_status); }; }; then
114601   eval "$as_ac_var=yes"
114602 else
114603   echo "$as_me: failed program was:" >&5
114604 sed 's/^/| /' conftest.$ac_ext >&5
114605
114606 eval "$as_ac_var=no"
114607 fi
114608 rm -f conftest.err conftest.$ac_objext \
114609       conftest$ac_exeext conftest.$ac_ext
114610 fi
114611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114613 if test `eval echo '${'$as_ac_var'}'` = yes; then
114614   cat >>confdefs.h <<_ACEOF
114615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114616 _ACEOF
114617
114618 else
114619   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114620 fi
114621 done
114622
114623
114624
114625 for ac_func in __signbit
114626 do
114627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114628 echo "$as_me:$LINENO: checking for $ac_func" >&5
114629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114630 if eval "test \"\${$as_ac_var+set}\" = set"; then
114631   echo $ECHO_N "(cached) $ECHO_C" >&6
114632 else
114633   if test x$gcc_no_link = xyes; then
114634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114636    { (exit 1); exit 1; }; }
114637 fi
114638 cat >conftest.$ac_ext <<_ACEOF
114639 /* confdefs.h.  */
114640 _ACEOF
114641 cat confdefs.h >>conftest.$ac_ext
114642 cat >>conftest.$ac_ext <<_ACEOF
114643 /* end confdefs.h.  */
114644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114646 #define $ac_func innocuous_$ac_func
114647
114648 /* System header to define __stub macros and hopefully few prototypes,
114649     which can conflict with char $ac_func (); below.
114650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114651     <limits.h> exists even on freestanding compilers.  */
114652
114653 #ifdef __STDC__
114654 # include <limits.h>
114655 #else
114656 # include <assert.h>
114657 #endif
114658
114659 #undef $ac_func
114660
114661 /* Override any gcc2 internal prototype to avoid an error.  */
114662 #ifdef __cplusplus
114663 extern "C"
114664 {
114665 #endif
114666 /* We use char because int might match the return type of a gcc2
114667    builtin and then its argument prototype would still apply.  */
114668 char $ac_func ();
114669 /* The GNU C library defines this for functions which it implements
114670     to always fail with ENOSYS.  Some functions are actually named
114671     something starting with __ and the normal name is an alias.  */
114672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114673 choke me
114674 #else
114675 char (*f) () = $ac_func;
114676 #endif
114677 #ifdef __cplusplus
114678 }
114679 #endif
114680
114681 int
114682 main ()
114683 {
114684 return f != $ac_func;
114685   ;
114686   return 0;
114687 }
114688 _ACEOF
114689 rm -f conftest.$ac_objext conftest$ac_exeext
114690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114691   (eval $ac_link) 2>conftest.er1
114692   ac_status=$?
114693   grep -v '^ *+' conftest.er1 >conftest.err
114694   rm -f conftest.er1
114695   cat conftest.err >&5
114696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114697   (exit $ac_status); } &&
114698          { ac_try='test -z "$ac_c_werror_flag"
114699                          || test ! -s conftest.err'
114700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114701   (eval $ac_try) 2>&5
114702   ac_status=$?
114703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114704   (exit $ac_status); }; } &&
114705          { ac_try='test -s conftest$ac_exeext'
114706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114707   (eval $ac_try) 2>&5
114708   ac_status=$?
114709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114710   (exit $ac_status); }; }; then
114711   eval "$as_ac_var=yes"
114712 else
114713   echo "$as_me: failed program was:" >&5
114714 sed 's/^/| /' conftest.$ac_ext >&5
114715
114716 eval "$as_ac_var=no"
114717 fi
114718 rm -f conftest.err conftest.$ac_objext \
114719       conftest$ac_exeext conftest.$ac_ext
114720 fi
114721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114723 if test `eval echo '${'$as_ac_var'}'` = yes; then
114724   cat >>confdefs.h <<_ACEOF
114725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114726 _ACEOF
114727
114728 else
114729   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114730 fi
114731 done
114732
114733
114734
114735 for ac_func in __signbitf
114736 do
114737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114738 echo "$as_me:$LINENO: checking for $ac_func" >&5
114739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114740 if eval "test \"\${$as_ac_var+set}\" = set"; then
114741   echo $ECHO_N "(cached) $ECHO_C" >&6
114742 else
114743   if test x$gcc_no_link = xyes; then
114744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114746    { (exit 1); exit 1; }; }
114747 fi
114748 cat >conftest.$ac_ext <<_ACEOF
114749 /* confdefs.h.  */
114750 _ACEOF
114751 cat confdefs.h >>conftest.$ac_ext
114752 cat >>conftest.$ac_ext <<_ACEOF
114753 /* end confdefs.h.  */
114754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114756 #define $ac_func innocuous_$ac_func
114757
114758 /* System header to define __stub macros and hopefully few prototypes,
114759     which can conflict with char $ac_func (); below.
114760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114761     <limits.h> exists even on freestanding compilers.  */
114762
114763 #ifdef __STDC__
114764 # include <limits.h>
114765 #else
114766 # include <assert.h>
114767 #endif
114768
114769 #undef $ac_func
114770
114771 /* Override any gcc2 internal prototype to avoid an error.  */
114772 #ifdef __cplusplus
114773 extern "C"
114774 {
114775 #endif
114776 /* We use char because int might match the return type of a gcc2
114777    builtin and then its argument prototype would still apply.  */
114778 char $ac_func ();
114779 /* The GNU C library defines this for functions which it implements
114780     to always fail with ENOSYS.  Some functions are actually named
114781     something starting with __ and the normal name is an alias.  */
114782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114783 choke me
114784 #else
114785 char (*f) () = $ac_func;
114786 #endif
114787 #ifdef __cplusplus
114788 }
114789 #endif
114790
114791 int
114792 main ()
114793 {
114794 return f != $ac_func;
114795   ;
114796   return 0;
114797 }
114798 _ACEOF
114799 rm -f conftest.$ac_objext conftest$ac_exeext
114800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114801   (eval $ac_link) 2>conftest.er1
114802   ac_status=$?
114803   grep -v '^ *+' conftest.er1 >conftest.err
114804   rm -f conftest.er1
114805   cat conftest.err >&5
114806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114807   (exit $ac_status); } &&
114808          { ac_try='test -z "$ac_c_werror_flag"
114809                          || test ! -s conftest.err'
114810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114811   (eval $ac_try) 2>&5
114812   ac_status=$?
114813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114814   (exit $ac_status); }; } &&
114815          { ac_try='test -s conftest$ac_exeext'
114816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114817   (eval $ac_try) 2>&5
114818   ac_status=$?
114819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114820   (exit $ac_status); }; }; then
114821   eval "$as_ac_var=yes"
114822 else
114823   echo "$as_me: failed program was:" >&5
114824 sed 's/^/| /' conftest.$ac_ext >&5
114825
114826 eval "$as_ac_var=no"
114827 fi
114828 rm -f conftest.err conftest.$ac_objext \
114829       conftest$ac_exeext conftest.$ac_ext
114830 fi
114831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114833 if test `eval echo '${'$as_ac_var'}'` = yes; then
114834   cat >>confdefs.h <<_ACEOF
114835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114836 _ACEOF
114837
114838 else
114839   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114840 fi
114841 done
114842
114843
114844           if test x$ac_cv_func_copysignl = x"yes"; then
114845
114846 for ac_func in __signbitl
114847 do
114848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114849 echo "$as_me:$LINENO: checking for $ac_func" >&5
114850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114851 if eval "test \"\${$as_ac_var+set}\" = set"; then
114852   echo $ECHO_N "(cached) $ECHO_C" >&6
114853 else
114854   if test x$gcc_no_link = xyes; then
114855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114857    { (exit 1); exit 1; }; }
114858 fi
114859 cat >conftest.$ac_ext <<_ACEOF
114860 /* confdefs.h.  */
114861 _ACEOF
114862 cat confdefs.h >>conftest.$ac_ext
114863 cat >>conftest.$ac_ext <<_ACEOF
114864 /* end confdefs.h.  */
114865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114867 #define $ac_func innocuous_$ac_func
114868
114869 /* System header to define __stub macros and hopefully few prototypes,
114870     which can conflict with char $ac_func (); below.
114871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114872     <limits.h> exists even on freestanding compilers.  */
114873
114874 #ifdef __STDC__
114875 # include <limits.h>
114876 #else
114877 # include <assert.h>
114878 #endif
114879
114880 #undef $ac_func
114881
114882 /* Override any gcc2 internal prototype to avoid an error.  */
114883 #ifdef __cplusplus
114884 extern "C"
114885 {
114886 #endif
114887 /* We use char because int might match the return type of a gcc2
114888    builtin and then its argument prototype would still apply.  */
114889 char $ac_func ();
114890 /* The GNU C library defines this for functions which it implements
114891     to always fail with ENOSYS.  Some functions are actually named
114892     something starting with __ and the normal name is an alias.  */
114893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114894 choke me
114895 #else
114896 char (*f) () = $ac_func;
114897 #endif
114898 #ifdef __cplusplus
114899 }
114900 #endif
114901
114902 int
114903 main ()
114904 {
114905 return f != $ac_func;
114906   ;
114907   return 0;
114908 }
114909 _ACEOF
114910 rm -f conftest.$ac_objext conftest$ac_exeext
114911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114912   (eval $ac_link) 2>conftest.er1
114913   ac_status=$?
114914   grep -v '^ *+' conftest.er1 >conftest.err
114915   rm -f conftest.er1
114916   cat conftest.err >&5
114917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114918   (exit $ac_status); } &&
114919          { ac_try='test -z "$ac_c_werror_flag"
114920                          || test ! -s conftest.err'
114921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114922   (eval $ac_try) 2>&5
114923   ac_status=$?
114924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114925   (exit $ac_status); }; } &&
114926          { ac_try='test -s conftest$ac_exeext'
114927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114928   (eval $ac_try) 2>&5
114929   ac_status=$?
114930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114931   (exit $ac_status); }; }; then
114932   eval "$as_ac_var=yes"
114933 else
114934   echo "$as_me: failed program was:" >&5
114935 sed 's/^/| /' conftest.$ac_ext >&5
114936
114937 eval "$as_ac_var=no"
114938 fi
114939 rm -f conftest.err conftest.$ac_objext \
114940       conftest$ac_exeext conftest.$ac_ext
114941 fi
114942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114944 if test `eval echo '${'$as_ac_var'}'` = yes; then
114945   cat >>confdefs.h <<_ACEOF
114946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114947 _ACEOF
114948
114949 else
114950   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114951 fi
114952 done
114953
114954   fi
114955
114956   # Used in libmath/Makefile.am.
114957   if test -n "$LIBMATHOBJS"; then
114958     need_libmath=yes
114959   fi
114960
114961
114962     cat >>confdefs.h <<\_ACEOF
114963 #define HAVE_COPYSIGN 1
114964 _ACEOF
114965
114966     cat >>confdefs.h <<\_ACEOF
114967 #define HAVE_COPYSIGNF 1
114968 _ACEOF
114969
114970     cat >>confdefs.h <<\_ACEOF
114971 #define HAVE_FINITE 1
114972 _ACEOF
114973
114974     cat >>confdefs.h <<\_ACEOF
114975 #define HAVE_FINITEF 1
114976 _ACEOF
114977
114978     cat >>confdefs.h <<\_ACEOF
114979 #define HAVE_FREXPF 1
114980 _ACEOF
114981
114982     cat >>confdefs.h <<\_ACEOF
114983 #define HAVE_HYPOTF 1
114984 _ACEOF
114985
114986     cat >>confdefs.h <<\_ACEOF
114987 #define HAVE_ISINF 1
114988 _ACEOF
114989
114990     cat >>confdefs.h <<\_ACEOF
114991 #define HAVE_ISINFF 1
114992 _ACEOF
114993
114994     cat >>confdefs.h <<\_ACEOF
114995 #define HAVE_ISNAN 1
114996 _ACEOF
114997
114998     cat >>confdefs.h <<\_ACEOF
114999 #define HAVE_ISNANF 1
115000 _ACEOF
115001
115002     cat >>confdefs.h <<\_ACEOF
115003 #define HAVE_SINCOS 1
115004 _ACEOF
115005
115006     cat >>confdefs.h <<\_ACEOF
115007 #define HAVE_SINCOSF 1
115008 _ACEOF
115009
115010     if test x"long_double_math_on_this_cpu" = x"yes"; then
115011       cat >>confdefs.h <<\_ACEOF
115012 #define HAVE_FINITEL 1
115013 _ACEOF
115014
115015       cat >>confdefs.h <<\_ACEOF
115016 #define HAVE_HYPOTL 1
115017 _ACEOF
115018
115019       cat >>confdefs.h <<\_ACEOF
115020 #define HAVE_ISINFL 1
115021 _ACEOF
115022
115023       cat >>confdefs.h <<\_ACEOF
115024 #define HAVE_ISNANL 1
115025 _ACEOF
115026
115027     fi
115028     ;;
115029   *-vxworks)
115030     cat >>confdefs.h <<\_ACEOF
115031 #define HAVE_MMAP 1
115032 _ACEOF
115033
115034     cat >>confdefs.h <<\_ACEOF
115035 #define HAVE_ACOSF 1
115036 _ACEOF
115037
115038     cat >>confdefs.h <<\_ACEOF
115039 #define HAVE_ASINF 1
115040 _ACEOF
115041
115042     cat >>confdefs.h <<\_ACEOF
115043 #define HAVE_ATAN2F 1
115044 _ACEOF
115045
115046     cat >>confdefs.h <<\_ACEOF
115047 #define HAVE_ATANF 1
115048 _ACEOF
115049
115050     cat >>confdefs.h <<\_ACEOF
115051 #define HAVE_CEILF 1
115052 _ACEOF
115053
115054     cat >>confdefs.h <<\_ACEOF
115055 #define HAVE_COSF 1
115056 _ACEOF
115057
115058     cat >>confdefs.h <<\_ACEOF
115059 #define HAVE_COSHF 1
115060 _ACEOF
115061
115062     cat >>confdefs.h <<\_ACEOF
115063 #define HAVE_EXPF 1
115064 _ACEOF
115065
115066     cat >>confdefs.h <<\_ACEOF
115067 #define HAVE_FABSF 1
115068 _ACEOF
115069
115070     cat >>confdefs.h <<\_ACEOF
115071 #define HAVE_FLOORF 1
115072 _ACEOF
115073
115074     cat >>confdefs.h <<\_ACEOF
115075 #define HAVE_FMODF 1
115076 _ACEOF
115077
115078     cat >>confdefs.h <<\_ACEOF
115079 #define HAVE_HYPOT 1
115080 _ACEOF
115081
115082     cat >>confdefs.h <<\_ACEOF
115083 #define HAVE_LOG10F 1
115084 _ACEOF
115085
115086     cat >>confdefs.h <<\_ACEOF
115087 #define HAVE_LOGF 1
115088 _ACEOF
115089
115090     cat >>confdefs.h <<\_ACEOF
115091 #define HAVE_POWF 1
115092 _ACEOF
115093
115094     cat >>confdefs.h <<\_ACEOF
115095 #define HAVE_SINF 1
115096 _ACEOF
115097
115098     cat >>confdefs.h <<\_ACEOF
115099 #define HAVE_SINHF 1
115100 _ACEOF
115101
115102     cat >>confdefs.h <<\_ACEOF
115103 #define HAVE_SQRTF 1
115104 _ACEOF
115105
115106     cat >>confdefs.h <<\_ACEOF
115107 #define HAVE_TANF 1
115108 _ACEOF
115109
115110     cat >>confdefs.h <<\_ACEOF
115111 #define HAVE_TANHF 1
115112 _ACEOF
115113
115114     ;;
115115   *-windiss*)
115116     cat >>confdefs.h <<\_ACEOF
115117 #define HAVE_ACOSF 1
115118 _ACEOF
115119
115120     cat >>confdefs.h <<\_ACEOF
115121 #define HAVE_ACOSL 1
115122 _ACEOF
115123
115124     cat >>confdefs.h <<\_ACEOF
115125 #define HAVE_ASINF 1
115126 _ACEOF
115127
115128     cat >>confdefs.h <<\_ACEOF
115129 #define HAVE_ASINL 1
115130 _ACEOF
115131
115132     cat >>confdefs.h <<\_ACEOF
115133 #define HAVE_ATAN2F 1
115134 _ACEOF
115135
115136     cat >>confdefs.h <<\_ACEOF
115137 #define HAVE_ATAN2L 1
115138 _ACEOF
115139
115140     cat >>confdefs.h <<\_ACEOF
115141 #define HAVE_ATANF 1
115142 _ACEOF
115143
115144     cat >>confdefs.h <<\_ACEOF
115145 #define HAVE_ATANL 1
115146 _ACEOF
115147
115148     cat >>confdefs.h <<\_ACEOF
115149 #define HAVE_CEILF 1
115150 _ACEOF
115151
115152     cat >>confdefs.h <<\_ACEOF
115153 #define HAVE_CEILL 1
115154 _ACEOF
115155
115156     cat >>confdefs.h <<\_ACEOF
115157 #define HAVE_COPYSIGN 1
115158 _ACEOF
115159
115160     cat >>confdefs.h <<\_ACEOF
115161 #define HAVE_COPYSIGNF 1
115162 _ACEOF
115163
115164     cat >>confdefs.h <<\_ACEOF
115165 #define HAVE_COSF 1
115166 _ACEOF
115167
115168     cat >>confdefs.h <<\_ACEOF
115169 #define HAVE_COSL 1
115170 _ACEOF
115171
115172     cat >>confdefs.h <<\_ACEOF
115173 #define HAVE_COSHF 1
115174 _ACEOF
115175
115176     cat >>confdefs.h <<\_ACEOF
115177 #define HAVE_COSHL 1
115178 _ACEOF
115179
115180     cat >>confdefs.h <<\_ACEOF
115181 #define HAVE_EXPF 1
115182 _ACEOF
115183
115184     cat >>confdefs.h <<\_ACEOF
115185 #define HAVE_EXPL 1
115186 _ACEOF
115187
115188     cat >>confdefs.h <<\_ACEOF
115189 #define HAVE_FABSF 1
115190 _ACEOF
115191
115192     cat >>confdefs.h <<\_ACEOF
115193 #define HAVE_FABSL 1
115194 _ACEOF
115195
115196     cat >>confdefs.h <<\_ACEOF
115197 #define HAVE_FLOORF 1
115198 _ACEOF
115199
115200     cat >>confdefs.h <<\_ACEOF
115201 #define HAVE_FLOORL 1
115202 _ACEOF
115203
115204     cat >>confdefs.h <<\_ACEOF
115205 #define HAVE_FMODF 1
115206 _ACEOF
115207
115208     cat >>confdefs.h <<\_ACEOF
115209 #define HAVE_FMODL 1
115210 _ACEOF
115211
115212     cat >>confdefs.h <<\_ACEOF
115213 #define HAVE_FREXPF 1
115214 _ACEOF
115215
115216     cat >>confdefs.h <<\_ACEOF
115217 #define HAVE_FREXPL 1
115218 _ACEOF
115219
115220     cat >>confdefs.h <<\_ACEOF
115221 #define HAVE_LDEXPF 1
115222 _ACEOF
115223
115224     cat >>confdefs.h <<\_ACEOF
115225 #define HAVE_LDEXPL 1
115226 _ACEOF
115227
115228     cat >>confdefs.h <<\_ACEOF
115229 #define HAVE_LOG10F 1
115230 _ACEOF
115231
115232     cat >>confdefs.h <<\_ACEOF
115233 #define HAVE_LOG10L 1
115234 _ACEOF
115235
115236     cat >>confdefs.h <<\_ACEOF
115237 #define HAVE_LOGF 1
115238 _ACEOF
115239
115240     cat >>confdefs.h <<\_ACEOF
115241 #define HAVE_MODFF 1
115242 _ACEOF
115243
115244     cat >>confdefs.h <<\_ACEOF
115245 #define HAVE_MODFL 1
115246 _ACEOF
115247
115248     cat >>confdefs.h <<\_ACEOF
115249 #define HAVE_POWF 1
115250 _ACEOF
115251
115252     cat >>confdefs.h <<\_ACEOF
115253 #define HAVE_POWL 1
115254 _ACEOF
115255
115256     cat >>confdefs.h <<\_ACEOF
115257 #define HAVE_SINF 1
115258 _ACEOF
115259
115260     cat >>confdefs.h <<\_ACEOF
115261 #define HAVE_SINL 1
115262 _ACEOF
115263
115264     cat >>confdefs.h <<\_ACEOF
115265 #define HAVE_SINHF 1
115266 _ACEOF
115267
115268     cat >>confdefs.h <<\_ACEOF
115269 #define HAVE_SINHL 1
115270 _ACEOF
115271
115272     cat >>confdefs.h <<\_ACEOF
115273 #define HAVE_SQRTF 1
115274 _ACEOF
115275
115276     cat >>confdefs.h <<\_ACEOF
115277 #define HAVE_SQRTL 1
115278 _ACEOF
115279
115280     cat >>confdefs.h <<\_ACEOF
115281 #define HAVE_TANF 1
115282 _ACEOF
115283
115284     cat >>confdefs.h <<\_ACEOF
115285 #define HAVE_TANL 1
115286 _ACEOF
115287
115288     cat >>confdefs.h <<\_ACEOF
115289 #define HAVE_TANHF 1
115290 _ACEOF
115291
115292     cat >>confdefs.h <<\_ACEOF
115293 #define HAVE_TANHL 1
115294 _ACEOF
115295
115296     ;;
115297   *)
115298     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115299 echo "$as_me: error: No support for this host/target combination." >&2;}
115300    { (exit 1); exit 1; }; }
115301    ;;
115302 esac
115303
115304   fi
115305
115306   # At some point, we should differentiate between architectures
115307   # like x86, which have long double versions, and alpha/powerpc/etc.,
115308   # which don't. For the time being, punt.
115309   if test x"long_double_math_on_this_cpu" = x"yes"; then
115310     cat >>confdefs.h <<\_ACEOF
115311 #define HAVE_ACOSL 1
115312 _ACEOF
115313
115314     cat >>confdefs.h <<\_ACEOF
115315 #define HAVE_ASINL 1
115316 _ACEOF
115317
115318     cat >>confdefs.h <<\_ACEOF
115319 #define HAVE_ATAN2L 1
115320 _ACEOF
115321
115322     cat >>confdefs.h <<\_ACEOF
115323 #define HAVE_ATANL 1
115324 _ACEOF
115325
115326     cat >>confdefs.h <<\_ACEOF
115327 #define HAVE_CEILL 1
115328 _ACEOF
115329
115330     cat >>confdefs.h <<\_ACEOF
115331 #define HAVE_COPYSIGNL 1
115332 _ACEOF
115333
115334     cat >>confdefs.h <<\_ACEOF
115335 #define HAVE_COSL 1
115336 _ACEOF
115337
115338     cat >>confdefs.h <<\_ACEOF
115339 #define HAVE_COSHL 1
115340 _ACEOF
115341
115342     cat >>confdefs.h <<\_ACEOF
115343 #define HAVE_EXPL 1
115344 _ACEOF
115345
115346     cat >>confdefs.h <<\_ACEOF
115347 #define HAVE_FABSL 1
115348 _ACEOF
115349
115350     cat >>confdefs.h <<\_ACEOF
115351 #define HAVE_FLOORL 1
115352 _ACEOF
115353
115354     cat >>confdefs.h <<\_ACEOF
115355 #define HAVE_FMODL 1
115356 _ACEOF
115357
115358     cat >>confdefs.h <<\_ACEOF
115359 #define HAVE_FREXPL 1
115360 _ACEOF
115361
115362     cat >>confdefs.h <<\_ACEOF
115363 #define HAVE_LDEXPL 1
115364 _ACEOF
115365
115366     cat >>confdefs.h <<\_ACEOF
115367 #define HAVE_LOG10L 1
115368 _ACEOF
115369
115370     cat >>confdefs.h <<\_ACEOF
115371 #define HAVE_LOGL 1
115372 _ACEOF
115373
115374     cat >>confdefs.h <<\_ACEOF
115375 #define HAVE_MODFL 1
115376 _ACEOF
115377
115378     cat >>confdefs.h <<\_ACEOF
115379 #define HAVE_POWL 1
115380 _ACEOF
115381
115382     cat >>confdefs.h <<\_ACEOF
115383 #define HAVE_SINCOSL 1
115384 _ACEOF
115385
115386     cat >>confdefs.h <<\_ACEOF
115387 #define HAVE_SINL 1
115388 _ACEOF
115389
115390     cat >>confdefs.h <<\_ACEOF
115391 #define HAVE_SINHL 1
115392 _ACEOF
115393
115394     cat >>confdefs.h <<\_ACEOF
115395 #define HAVE_SQRTL 1
115396 _ACEOF
115397
115398     cat >>confdefs.h <<\_ACEOF
115399 #define HAVE_TANL 1
115400 _ACEOF
115401
115402     cat >>confdefs.h <<\_ACEOF
115403 #define HAVE_TANHL 1
115404 _ACEOF
115405
115406   fi
115407
115408   # Assume we have _Unwind_GetIPInfo for cross-compiles.
115409   cat >>confdefs.h <<\_ACEOF
115410 #define HAVE_GETIPINFO 1
115411 _ACEOF
115412
115413 fi
115414
115415  # Check whether --enable-linux-futex or --disable-linux-futex was given.
115416 if test "${enable_linux_futex+set}" = set; then
115417   enableval="$enable_linux_futex"
115418
115419       case "$enableval" in
115420        yes|no|default) ;;
115421        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115422 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115423    { (exit 1); exit 1; }; } ;;
115424                           esac
115425
115426 else
115427   enable_linux_futex=default
115428 fi;
115429
115430 case "$target" in
115431   *-linux*)
115432     case "$enable_linux_futex" in
115433       default)
115434         # If headers don't have gettid/futex syscalls definition, then
115435         # default to no, otherwise there will be compile time failures.
115436         # Otherwise, default to yes.  If we don't detect we are
115437         # compiled/linked against NPTL and not cross-compiling, check
115438         # if programs are run by default against NPTL and if not, issue
115439         # a warning.
115440         enable_linux_futex=no
115441         if test x$gcc_no_link = xyes; then
115442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115444    { (exit 1); exit 1; }; }
115445 fi
115446 cat >conftest.$ac_ext <<_ACEOF
115447 /* confdefs.h.  */
115448 _ACEOF
115449 cat confdefs.h >>conftest.$ac_ext
115450 cat >>conftest.$ac_ext <<_ACEOF
115451 /* end confdefs.h.  */
115452 #include <sys/syscall.h>
115453            int lk;
115454 int
115455 main ()
115456 {
115457 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115458   ;
115459   return 0;
115460 }
115461 _ACEOF
115462 rm -f conftest.$ac_objext conftest$ac_exeext
115463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115464   (eval $ac_link) 2>conftest.er1
115465   ac_status=$?
115466   grep -v '^ *+' conftest.er1 >conftest.err
115467   rm -f conftest.er1
115468   cat conftest.err >&5
115469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115470   (exit $ac_status); } &&
115471          { ac_try='test -z "$ac_c_werror_flag"
115472                          || test ! -s conftest.err'
115473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115474   (eval $ac_try) 2>&5
115475   ac_status=$?
115476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115477   (exit $ac_status); }; } &&
115478          { ac_try='test -s conftest$ac_exeext'
115479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115480   (eval $ac_try) 2>&5
115481   ac_status=$?
115482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115483   (exit $ac_status); }; }; then
115484   save_LIBS="$LIBS"
115485            LIBS="-lpthread $LIBS"
115486            if test x$gcc_no_link = xyes; then
115487   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115489    { (exit 1); exit 1; }; }
115490 fi
115491 cat >conftest.$ac_ext <<_ACEOF
115492 /* confdefs.h.  */
115493 _ACEOF
115494 cat confdefs.h >>conftest.$ac_ext
115495 cat >>conftest.$ac_ext <<_ACEOF
115496 /* end confdefs.h.  */
115497 #ifndef _GNU_SOURCE
115498              #define _GNU_SOURCE 1
115499              #endif
115500              #include <pthread.h>
115501              pthread_t th; void *status;
115502 int
115503 main ()
115504 {
115505 pthread_tryjoin_np (th, &status);
115506   ;
115507   return 0;
115508 }
115509 _ACEOF
115510 rm -f conftest.$ac_objext conftest$ac_exeext
115511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115512   (eval $ac_link) 2>conftest.er1
115513   ac_status=$?
115514   grep -v '^ *+' conftest.er1 >conftest.err
115515   rm -f conftest.er1
115516   cat conftest.err >&5
115517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115518   (exit $ac_status); } &&
115519          { ac_try='test -z "$ac_c_werror_flag"
115520                          || test ! -s conftest.err'
115521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115522   (eval $ac_try) 2>&5
115523   ac_status=$?
115524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115525   (exit $ac_status); }; } &&
115526          { ac_try='test -s conftest$ac_exeext'
115527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115528   (eval $ac_try) 2>&5
115529   ac_status=$?
115530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115531   (exit $ac_status); }; }; then
115532   enable_linux_futex=yes
115533 else
115534   echo "$as_me: failed program was:" >&5
115535 sed 's/^/| /' conftest.$ac_ext >&5
115536
115537 if test x$cross_compiling = xno; then
115538                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115539                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115540                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115541 If so, please configure with --disable-linux-futex" >&5
115542 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115543 If so, please configure with --disable-linux-futex" >&2;}
115544                fi
115545              fi
115546              enable_linux_futex=yes
115547 fi
115548 rm -f conftest.err conftest.$ac_objext \
115549       conftest$ac_exeext conftest.$ac_ext
115550            LIBS="$save_LIBS"
115551 else
115552   echo "$as_me: failed program was:" >&5
115553 sed 's/^/| /' conftest.$ac_ext >&5
115554
115555 fi
115556 rm -f conftest.err conftest.$ac_objext \
115557       conftest$ac_exeext conftest.$ac_ext
115558         ;;
115559       yes)
115560         if test x$gcc_no_link = xyes; then
115561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115563    { (exit 1); exit 1; }; }
115564 fi
115565 cat >conftest.$ac_ext <<_ACEOF
115566 /* confdefs.h.  */
115567 _ACEOF
115568 cat confdefs.h >>conftest.$ac_ext
115569 cat >>conftest.$ac_ext <<_ACEOF
115570 /* end confdefs.h.  */
115571 #include <sys/syscall.h>
115572            int lk;
115573 int
115574 main ()
115575 {
115576 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115577   ;
115578   return 0;
115579 }
115580 _ACEOF
115581 rm -f conftest.$ac_objext conftest$ac_exeext
115582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115583   (eval $ac_link) 2>conftest.er1
115584   ac_status=$?
115585   grep -v '^ *+' conftest.er1 >conftest.err
115586   rm -f conftest.er1
115587   cat conftest.err >&5
115588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115589   (exit $ac_status); } &&
115590          { ac_try='test -z "$ac_c_werror_flag"
115591                          || test ! -s conftest.err'
115592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115593   (eval $ac_try) 2>&5
115594   ac_status=$?
115595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115596   (exit $ac_status); }; } &&
115597          { ac_try='test -s conftest$ac_exeext'
115598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115599   (eval $ac_try) 2>&5
115600   ac_status=$?
115601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115602   (exit $ac_status); }; }; then
115603   :
115604 else
115605   echo "$as_me: failed program was:" >&5
115606 sed 's/^/| /' conftest.$ac_ext >&5
115607
115608 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115609 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115610    { (exit 1); exit 1; }; }
115611 fi
115612 rm -f conftest.err conftest.$ac_objext \
115613       conftest$ac_exeext conftest.$ac_ext
115614         ;;
115615     esac
115616     ;;
115617   *)
115618     enable_linux_futex=no
115619     ;;
115620 esac
115621 if test x$enable_linux_futex = xyes; then
115622
115623 cat >>confdefs.h <<\_ACEOF
115624 #define HAVE_LINUX_FUTEX 1
115625 _ACEOF
115626
115627 fi
115628
115629
115630 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
115631
115632
115633  # Check whether --enable-symvers or --disable-symvers was given.
115634 if test "${enable_symvers+set}" = set; then
115635   enableval="$enable_symvers"
115636
115637       case "$enableval" in
115638        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
115639        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
115640 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
115641    { (exit 1); exit 1; }; } ;;
115642                           esac
115643
115644 else
115645   enable_symvers=yes
115646 fi;
115647
115648
115649 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
115650 # don't know enough about $LD to do tricks...
115651
115652
115653 # Turn a 'yes' into a suitable default.
115654 if test x$enable_symvers = xyes ; then
115655   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
115656     enable_symvers=no
115657   else
115658     if test $with_gnu_ld = yes ; then
115659       enable_symvers=gnu
115660     else
115661       case ${target_os} in
115662         darwin*)
115663           enable_symvers=darwin ;;
115664         *)
115665           enable_symvers=no ;;
115666       esac
115667     fi
115668   fi
115669 fi
115670
115671 # Check to see if 'darwin' or 'darwin-export' can win.
115672 if test x$enable_symvers = xdarwin-export ; then
115673     enable_symvers=darwin
115674 fi
115675
115676 # Check to see if 'gnu' can win.
115677 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
115678   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
115679   echo "$as_me:$LINENO: checking for shared libgcc" >&5
115680 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
115681   ac_save_CFLAGS="$CFLAGS"
115682   CFLAGS=' -lgcc_s'
115683   if test x$gcc_no_link = xyes; then
115684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115686    { (exit 1); exit 1; }; }
115687 fi
115688 cat >conftest.$ac_ext <<_ACEOF
115689 /* confdefs.h.  */
115690 _ACEOF
115691 cat confdefs.h >>conftest.$ac_ext
115692 cat >>conftest.$ac_ext <<_ACEOF
115693 /* end confdefs.h.  */
115694
115695 int
115696 main ()
115697 {
115698 return 0;
115699   ;
115700   return 0;
115701 }
115702 _ACEOF
115703 rm -f conftest.$ac_objext conftest$ac_exeext
115704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115705   (eval $ac_link) 2>conftest.er1
115706   ac_status=$?
115707   grep -v '^ *+' conftest.er1 >conftest.err
115708   rm -f conftest.er1
115709   cat conftest.err >&5
115710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115711   (exit $ac_status); } &&
115712          { ac_try='test -z "$ac_c_werror_flag"
115713                          || test ! -s conftest.err'
115714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115715   (eval $ac_try) 2>&5
115716   ac_status=$?
115717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115718   (exit $ac_status); }; } &&
115719          { ac_try='test -s conftest$ac_exeext'
115720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115721   (eval $ac_try) 2>&5
115722   ac_status=$?
115723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115724   (exit $ac_status); }; }; then
115725   glibcxx_shared_libgcc=yes
115726 else
115727   echo "$as_me: failed program was:" >&5
115728 sed 's/^/| /' conftest.$ac_ext >&5
115729
115730 glibcxx_shared_libgcc=no
115731 fi
115732 rm -f conftest.err conftest.$ac_objext \
115733       conftest$ac_exeext conftest.$ac_ext
115734   CFLAGS="$ac_save_CFLAGS"
115735   if test $glibcxx_shared_libgcc = no; then
115736     cat > conftest.c <<EOF
115737 int main (void) { return 0; }
115738 EOF
115739     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
115740                              -shared -shared-libgcc -o conftest.so \
115741                              conftest.c -v 2>&1 >/dev/null \
115742                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
115743     rm -f conftest.c conftest.so
115744     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
115745       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
115746       if test x$gcc_no_link = xyes; then
115747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115749    { (exit 1); exit 1; }; }
115750 fi
115751 cat >conftest.$ac_ext <<_ACEOF
115752 /* confdefs.h.  */
115753 _ACEOF
115754 cat confdefs.h >>conftest.$ac_ext
115755 cat >>conftest.$ac_ext <<_ACEOF
115756 /* end confdefs.h.  */
115757
115758 int
115759 main ()
115760 {
115761 return 0;
115762   ;
115763   return 0;
115764 }
115765 _ACEOF
115766 rm -f conftest.$ac_objext conftest$ac_exeext
115767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115768   (eval $ac_link) 2>conftest.er1
115769   ac_status=$?
115770   grep -v '^ *+' conftest.er1 >conftest.err
115771   rm -f conftest.er1
115772   cat conftest.err >&5
115773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115774   (exit $ac_status); } &&
115775          { ac_try='test -z "$ac_c_werror_flag"
115776                          || test ! -s conftest.err'
115777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115778   (eval $ac_try) 2>&5
115779   ac_status=$?
115780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115781   (exit $ac_status); }; } &&
115782          { ac_try='test -s conftest$ac_exeext'
115783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115784   (eval $ac_try) 2>&5
115785   ac_status=$?
115786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115787   (exit $ac_status); }; }; then
115788   glibcxx_shared_libgcc=yes
115789 else
115790   echo "$as_me: failed program was:" >&5
115791 sed 's/^/| /' conftest.$ac_ext >&5
115792
115793 fi
115794 rm -f conftest.err conftest.$ac_objext \
115795       conftest$ac_exeext conftest.$ac_ext
115796       CFLAGS="$ac_save_CFLAGS"
115797     fi
115798   fi
115799   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
115800 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
115801
115802   # For GNU ld, we need at least this version.  The format is described in
115803   # GLIBCXX_CHECK_LINKER_FEATURES above.
115804   glibcxx_min_gnu_ld_version=21400
115805
115806   # If no shared libgcc, can't win.
115807   if test $glibcxx_shared_libgcc != yes; then
115808       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
115809 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
115810       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
115811 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
115812       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115813 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115814       enable_symvers=no
115815   elif test $with_gnu_ld != yes ; then
115816     # just fail for now
115817     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
115818 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
115819     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
115820 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
115821     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115822 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115823     enable_symvers=no
115824   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
115825     # The right tools, the right setup, but too old.  Fallbacks?
115826     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
115827 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
115828     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
115829 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
115830     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
115831 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
115832     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
115833 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
115834     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115835 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115836     enable_symvers=no
115837   fi
115838 fi
115839
115840 # Everything parsed; figure out what file to use.
115841 case $enable_symvers in
115842   no)
115843     SYMVER_FILE=config/abi/pre/none.ver
115844     ;;
115845   gnu)
115846     SYMVER_FILE=config/abi/pre/gnu.ver
115847
115848 cat >>confdefs.h <<\_ACEOF
115849 #define _GLIBCXX_SYMVER_GNU 1
115850 _ACEOF
115851
115852     ;;
115853   gnu-versioned-namespace)
115854     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
115855
115856 cat >>confdefs.h <<\_ACEOF
115857 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
115858 _ACEOF
115859
115860     ;;
115861   darwin)
115862     SYMVER_FILE=config/abi/pre/gnu.ver
115863
115864 cat >>confdefs.h <<\_ACEOF
115865 #define _GLIBCXX_SYMVER_DARWIN 1
115866 _ACEOF
115867
115868     ;;
115869 esac
115870
115871 if test x$enable_symvers != xno ; then
115872
115873 cat >>confdefs.h <<\_ACEOF
115874 #define _GLIBCXX_SYMVER 1
115875 _ACEOF
115876
115877 fi
115878
115879
115880
115881
115882
115883
115884
115885 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
115886 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
115887
115888 # Now, set up compatibility support, if any.
115889 # In addition, need this to deal with std::size_t mangling in
115890 # src/compatibility.cc.  In a perfect world, could use
115891 # typeid(std::size_t).name()[0] to do direct substitution.
115892 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
115893 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
115894 ac_save_CFLAGS="$CFLAGS"
115895 CFLAGS="-Werror"
115896 cat >conftest.$ac_ext <<_ACEOF
115897 /* confdefs.h.  */
115898 _ACEOF
115899 cat confdefs.h >>conftest.$ac_ext
115900 cat >>conftest.$ac_ext <<_ACEOF
115901 /* end confdefs.h.  */
115902
115903 int
115904 main ()
115905 {
115906 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
115907   ;
115908   return 0;
115909 }
115910 _ACEOF
115911 rm -f conftest.$ac_objext
115912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115913   (eval $ac_compile) 2>conftest.er1
115914   ac_status=$?
115915   grep -v '^ *+' conftest.er1 >conftest.err
115916   rm -f conftest.er1
115917   cat conftest.err >&5
115918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115919   (exit $ac_status); } &&
115920          { ac_try='test -z "$ac_c_werror_flag"
115921                          || test ! -s conftest.err'
115922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115923   (eval $ac_try) 2>&5
115924   ac_status=$?
115925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115926   (exit $ac_status); }; } &&
115927          { ac_try='test -s conftest.$ac_objext'
115928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115929   (eval $ac_try) 2>&5
115930   ac_status=$?
115931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115932   (exit $ac_status); }; }; then
115933   glibcxx_size_t_is_i=yes
115934 else
115935   echo "$as_me: failed program was:" >&5
115936 sed 's/^/| /' conftest.$ac_ext >&5
115937
115938 glibcxx_size_t_is_i=no
115939 fi
115940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115941 CFLAGS=$ac_save_CFLAGS
115942 if test "$glibcxx_size_t_is_i" = yes; then
115943
115944 cat >>confdefs.h <<\_ACEOF
115945 #define _GLIBCXX_SIZE_T_IS_UINT 1
115946 _ACEOF
115947
115948 fi
115949 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
115950 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
115951
115952 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
115953 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
115954 ac_save_CFLAGS="$CFLAGS"
115955 CFLAGS="-Werror"
115956 cat >conftest.$ac_ext <<_ACEOF
115957 /* confdefs.h.  */
115958 _ACEOF
115959 cat confdefs.h >>conftest.$ac_ext
115960 cat >>conftest.$ac_ext <<_ACEOF
115961 /* end confdefs.h.  */
115962
115963 int
115964 main ()
115965 {
115966 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
115967   ;
115968   return 0;
115969 }
115970 _ACEOF
115971 rm -f conftest.$ac_objext
115972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115973   (eval $ac_compile) 2>conftest.er1
115974   ac_status=$?
115975   grep -v '^ *+' conftest.er1 >conftest.err
115976   rm -f conftest.er1
115977   cat conftest.err >&5
115978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115979   (exit $ac_status); } &&
115980          { ac_try='test -z "$ac_c_werror_flag"
115981                          || test ! -s conftest.err'
115982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115983   (eval $ac_try) 2>&5
115984   ac_status=$?
115985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115986   (exit $ac_status); }; } &&
115987          { ac_try='test -s conftest.$ac_objext'
115988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115989   (eval $ac_try) 2>&5
115990   ac_status=$?
115991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115992   (exit $ac_status); }; }; then
115993   glibcxx_ptrdiff_t_is_i=yes
115994 else
115995   echo "$as_me: failed program was:" >&5
115996 sed 's/^/| /' conftest.$ac_ext >&5
115997
115998 glibcxx_ptrdiff_t_is_i=no
115999 fi
116000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116001 CFLAGS=$ac_save_CFLAGS
116002 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
116003
116004 cat >>confdefs.h <<\_ACEOF
116005 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
116006 _ACEOF
116007
116008 fi
116009 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
116010 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
116011
116012
116013  # Check whether --enable-visibility or --disable-visibility was given.
116014 if test "${enable_visibility+set}" = set; then
116015   enableval="$enable_visibility"
116016
116017       case "$enableval" in
116018        yes|no) ;;
116019        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
116020 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
116021    { (exit 1); exit 1; }; } ;;
116022       esac
116023
116024 else
116025   enable_visibility=yes
116026 fi;
116027
116028
116029 if test x$enable_visibility = xyes ; then
116030       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
116031 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
116032 if test "${have_attribute_visibility+set}" = set; then
116033   echo $ECHO_N "(cached) $ECHO_C" >&6
116034 else
116035
116036   save_CFLAGS="$CFLAGS"
116037   CFLAGS="$CFLAGS -Werror"
116038   cat >conftest.$ac_ext <<_ACEOF
116039 /* confdefs.h.  */
116040 _ACEOF
116041 cat confdefs.h >>conftest.$ac_ext
116042 cat >>conftest.$ac_ext <<_ACEOF
116043 /* end confdefs.h.  */
116044 void __attribute__((visibility("hidden"))) foo(void) { }
116045 int
116046 main ()
116047 {
116048
116049   ;
116050   return 0;
116051 }
116052 _ACEOF
116053 rm -f conftest.$ac_objext
116054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116055   (eval $ac_compile) 2>conftest.er1
116056   ac_status=$?
116057   grep -v '^ *+' conftest.er1 >conftest.err
116058   rm -f conftest.er1
116059   cat conftest.err >&5
116060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116061   (exit $ac_status); } &&
116062          { ac_try='test -z "$ac_c_werror_flag"
116063                          || test ! -s conftest.err'
116064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116065   (eval $ac_try) 2>&5
116066   ac_status=$?
116067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116068   (exit $ac_status); }; } &&
116069          { ac_try='test -s conftest.$ac_objext'
116070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116071   (eval $ac_try) 2>&5
116072   ac_status=$?
116073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116074   (exit $ac_status); }; }; then
116075   have_attribute_visibility=yes
116076 else
116077   echo "$as_me: failed program was:" >&5
116078 sed 's/^/| /' conftest.$ac_ext >&5
116079
116080 have_attribute_visibility=no
116081 fi
116082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116083   CFLAGS="$save_CFLAGS"
116084 fi
116085 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
116086 echo "${ECHO_T}$have_attribute_visibility" >&6
116087   if test $have_attribute_visibility = no; then
116088     enable_visibility=no
116089   fi
116090 fi
116091
116092
116093 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
116094 echo "$as_me: visibility supported: $enable_visibility" >&6;}
116095
116096
116097 ac_ldbl_compat=no
116098 case "$target" in
116099   powerpc*-*-linux* | \
116100   powerpc*-*-gnu* | \
116101   sparc*-*-linux* | \
116102   s390*-*-linux* | \
116103   alpha*-*-linux*)
116104   cat >conftest.$ac_ext <<_ACEOF
116105 /* confdefs.h.  */
116106 _ACEOF
116107 cat confdefs.h >>conftest.$ac_ext
116108 cat >>conftest.$ac_ext <<_ACEOF
116109 /* end confdefs.h.  */
116110
116111 int
116112 main ()
116113 {
116114
116115 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
116116 #error no need for long double compatibility
116117 #endif
116118
116119   ;
116120   return 0;
116121 }
116122 _ACEOF
116123 rm -f conftest.$ac_objext
116124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116125   (eval $ac_compile) 2>conftest.er1
116126   ac_status=$?
116127   grep -v '^ *+' conftest.er1 >conftest.err
116128   rm -f conftest.er1
116129   cat conftest.err >&5
116130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116131   (exit $ac_status); } &&
116132          { ac_try='test -z "$ac_c_werror_flag"
116133                          || test ! -s conftest.err'
116134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116135   (eval $ac_try) 2>&5
116136   ac_status=$?
116137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116138   (exit $ac_status); }; } &&
116139          { ac_try='test -s conftest.$ac_objext'
116140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116141   (eval $ac_try) 2>&5
116142   ac_status=$?
116143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116144   (exit $ac_status); }; }; then
116145   ac_ldbl_compat=yes
116146 else
116147   echo "$as_me: failed program was:" >&5
116148 sed 's/^/| /' conftest.$ac_ext >&5
116149
116150 ac_ldbl_compat=no
116151 fi
116152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116153   if test "$ac_ldbl_compat" = yes; then
116154
116155 cat >>confdefs.h <<\_ACEOF
116156 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
116157 _ACEOF
116158
116159     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
116160   fi
116161 esac
116162
116163
116164 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
116165
116166   if $GLIBCXX_IS_NATIVE ; then
116167     # Do checks for resource limit functions.
116168
116169   setrlimit_have_headers=yes
116170
116171
116172
116173 for ac_header in unistd.h sys/time.h sys/resource.h
116174 do
116175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
116176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116177   echo "$as_me:$LINENO: checking for $ac_header" >&5
116178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116180   echo $ECHO_N "(cached) $ECHO_C" >&6
116181 fi
116182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116184 else
116185   # Is the header compilable?
116186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
116187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
116188 cat >conftest.$ac_ext <<_ACEOF
116189 /* confdefs.h.  */
116190 _ACEOF
116191 cat confdefs.h >>conftest.$ac_ext
116192 cat >>conftest.$ac_ext <<_ACEOF
116193 /* end confdefs.h.  */
116194 $ac_includes_default
116195 #include <$ac_header>
116196 _ACEOF
116197 rm -f conftest.$ac_objext
116198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116199   (eval $ac_compile) 2>conftest.er1
116200   ac_status=$?
116201   grep -v '^ *+' conftest.er1 >conftest.err
116202   rm -f conftest.er1
116203   cat conftest.err >&5
116204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116205   (exit $ac_status); } &&
116206          { ac_try='test -z "$ac_c_werror_flag"
116207                          || test ! -s conftest.err'
116208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116209   (eval $ac_try) 2>&5
116210   ac_status=$?
116211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116212   (exit $ac_status); }; } &&
116213          { ac_try='test -s conftest.$ac_objext'
116214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116215   (eval $ac_try) 2>&5
116216   ac_status=$?
116217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116218   (exit $ac_status); }; }; then
116219   ac_header_compiler=yes
116220 else
116221   echo "$as_me: failed program was:" >&5
116222 sed 's/^/| /' conftest.$ac_ext >&5
116223
116224 ac_header_compiler=no
116225 fi
116226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
116228 echo "${ECHO_T}$ac_header_compiler" >&6
116229
116230 # Is the header present?
116231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
116232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
116233 cat >conftest.$ac_ext <<_ACEOF
116234 /* confdefs.h.  */
116235 _ACEOF
116236 cat confdefs.h >>conftest.$ac_ext
116237 cat >>conftest.$ac_ext <<_ACEOF
116238 /* end confdefs.h.  */
116239 #include <$ac_header>
116240 _ACEOF
116241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
116242   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
116243   ac_status=$?
116244   grep -v '^ *+' conftest.er1 >conftest.err
116245   rm -f conftest.er1
116246   cat conftest.err >&5
116247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116248   (exit $ac_status); } >/dev/null; then
116249   if test -s conftest.err; then
116250     ac_cpp_err=$ac_c_preproc_warn_flag
116251     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
116252   else
116253     ac_cpp_err=
116254   fi
116255 else
116256   ac_cpp_err=yes
116257 fi
116258 if test -z "$ac_cpp_err"; then
116259   ac_header_preproc=yes
116260 else
116261   echo "$as_me: failed program was:" >&5
116262 sed 's/^/| /' conftest.$ac_ext >&5
116263
116264   ac_header_preproc=no
116265 fi
116266 rm -f conftest.err conftest.$ac_ext
116267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
116268 echo "${ECHO_T}$ac_header_preproc" >&6
116269
116270 # So?  What about this header?
116271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
116272   yes:no: )
116273     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
116274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
116275     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
116276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
116277     ac_header_preproc=yes
116278     ;;
116279   no:yes:* )
116280     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
116281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
116282     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
116283 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
116284     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
116285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
116286     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
116287 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
116288     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
116289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
116290     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
116291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
116292     (
116293       cat <<\_ASBOX
116294 ## ----------------------------------------- ##
116295 ## Report this to the package-unused lists.  ##
116296 ## ----------------------------------------- ##
116297 _ASBOX
116298     ) |
116299       sed "s/^/$as_me: WARNING:     /" >&2
116300     ;;
116301 esac
116302 echo "$as_me:$LINENO: checking for $ac_header" >&5
116303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116305   echo $ECHO_N "(cached) $ECHO_C" >&6
116306 else
116307   eval "$as_ac_Header=\$ac_header_preproc"
116308 fi
116309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116311
116312 fi
116313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
116314   cat >>confdefs.h <<_ACEOF
116315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
116316 _ACEOF
116317
116318 else
116319   setrlimit_have_headers=no
116320 fi
116321
116322 done
116323
116324   # If don't have the headers, then we can't run the tests now, and we
116325   # won't be seeing any of these during testsuite compilation.
116326   if test $setrlimit_have_headers = yes; then
116327     # Can't do these in a loop, else the resulting syntax is wrong.
116328
116329   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
116330 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
116331   cat >conftest.$ac_ext <<_ACEOF
116332 /* confdefs.h.  */
116333 _ACEOF
116334 cat confdefs.h >>conftest.$ac_ext
116335 cat >>conftest.$ac_ext <<_ACEOF
116336 /* end confdefs.h.  */
116337 #include <unistd.h>
116338      #include <sys/time.h>
116339      #include <sys/resource.h>
116340
116341 int
116342 main ()
116343 {
116344  int f = RLIMIT_DATA ;
116345   ;
116346   return 0;
116347 }
116348 _ACEOF
116349 rm -f conftest.$ac_objext
116350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116351   (eval $ac_compile) 2>conftest.er1
116352   ac_status=$?
116353   grep -v '^ *+' conftest.er1 >conftest.err
116354   rm -f conftest.er1
116355   cat conftest.err >&5
116356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116357   (exit $ac_status); } &&
116358          { ac_try='test -z "$ac_c_werror_flag"
116359                          || test ! -s conftest.err'
116360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116361   (eval $ac_try) 2>&5
116362   ac_status=$?
116363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116364   (exit $ac_status); }; } &&
116365          { ac_try='test -s conftest.$ac_objext'
116366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116367   (eval $ac_try) 2>&5
116368   ac_status=$?
116369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116370   (exit $ac_status); }; }; then
116371   glibcxx_mresult=1
116372 else
116373   echo "$as_me: failed program was:" >&5
116374 sed 's/^/| /' conftest.$ac_ext >&5
116375
116376 glibcxx_mresult=0
116377 fi
116378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116379
116380 cat >>confdefs.h <<_ACEOF
116381 #define HAVE_LIMIT_DATA $glibcxx_mresult
116382 _ACEOF
116383
116384   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116385   echo "$as_me:$LINENO: result: $res" >&5
116386 echo "${ECHO_T}$res" >&6
116387
116388
116389   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
116390 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
116391   cat >conftest.$ac_ext <<_ACEOF
116392 /* confdefs.h.  */
116393 _ACEOF
116394 cat confdefs.h >>conftest.$ac_ext
116395 cat >>conftest.$ac_ext <<_ACEOF
116396 /* end confdefs.h.  */
116397 #include <unistd.h>
116398      #include <sys/time.h>
116399      #include <sys/resource.h>
116400
116401 int
116402 main ()
116403 {
116404  int f = RLIMIT_RSS ;
116405   ;
116406   return 0;
116407 }
116408 _ACEOF
116409 rm -f conftest.$ac_objext
116410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116411   (eval $ac_compile) 2>conftest.er1
116412   ac_status=$?
116413   grep -v '^ *+' conftest.er1 >conftest.err
116414   rm -f conftest.er1
116415   cat conftest.err >&5
116416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116417   (exit $ac_status); } &&
116418          { ac_try='test -z "$ac_c_werror_flag"
116419                          || test ! -s conftest.err'
116420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116421   (eval $ac_try) 2>&5
116422   ac_status=$?
116423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116424   (exit $ac_status); }; } &&
116425          { ac_try='test -s conftest.$ac_objext'
116426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116427   (eval $ac_try) 2>&5
116428   ac_status=$?
116429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116430   (exit $ac_status); }; }; then
116431   glibcxx_mresult=1
116432 else
116433   echo "$as_me: failed program was:" >&5
116434 sed 's/^/| /' conftest.$ac_ext >&5
116435
116436 glibcxx_mresult=0
116437 fi
116438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116439
116440 cat >>confdefs.h <<_ACEOF
116441 #define HAVE_LIMIT_RSS $glibcxx_mresult
116442 _ACEOF
116443
116444   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116445   echo "$as_me:$LINENO: result: $res" >&5
116446 echo "${ECHO_T}$res" >&6
116447
116448
116449   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
116450 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
116451   cat >conftest.$ac_ext <<_ACEOF
116452 /* confdefs.h.  */
116453 _ACEOF
116454 cat confdefs.h >>conftest.$ac_ext
116455 cat >>conftest.$ac_ext <<_ACEOF
116456 /* end confdefs.h.  */
116457 #include <unistd.h>
116458      #include <sys/time.h>
116459      #include <sys/resource.h>
116460
116461 int
116462 main ()
116463 {
116464  int f = RLIMIT_VMEM ;
116465   ;
116466   return 0;
116467 }
116468 _ACEOF
116469 rm -f conftest.$ac_objext
116470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116471   (eval $ac_compile) 2>conftest.er1
116472   ac_status=$?
116473   grep -v '^ *+' conftest.er1 >conftest.err
116474   rm -f conftest.er1
116475   cat conftest.err >&5
116476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116477   (exit $ac_status); } &&
116478          { ac_try='test -z "$ac_c_werror_flag"
116479                          || test ! -s conftest.err'
116480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116481   (eval $ac_try) 2>&5
116482   ac_status=$?
116483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116484   (exit $ac_status); }; } &&
116485          { ac_try='test -s conftest.$ac_objext'
116486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116487   (eval $ac_try) 2>&5
116488   ac_status=$?
116489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116490   (exit $ac_status); }; }; then
116491   glibcxx_mresult=1
116492 else
116493   echo "$as_me: failed program was:" >&5
116494 sed 's/^/| /' conftest.$ac_ext >&5
116495
116496 glibcxx_mresult=0
116497 fi
116498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116499
116500 cat >>confdefs.h <<_ACEOF
116501 #define HAVE_LIMIT_VMEM $glibcxx_mresult
116502 _ACEOF
116503
116504   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116505   echo "$as_me:$LINENO: result: $res" >&5
116506 echo "${ECHO_T}$res" >&6
116507
116508
116509   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
116510 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
116511   cat >conftest.$ac_ext <<_ACEOF
116512 /* confdefs.h.  */
116513 _ACEOF
116514 cat confdefs.h >>conftest.$ac_ext
116515 cat >>conftest.$ac_ext <<_ACEOF
116516 /* end confdefs.h.  */
116517 #include <unistd.h>
116518      #include <sys/time.h>
116519      #include <sys/resource.h>
116520
116521 int
116522 main ()
116523 {
116524  int f = RLIMIT_AS ;
116525   ;
116526   return 0;
116527 }
116528 _ACEOF
116529 rm -f conftest.$ac_objext
116530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116531   (eval $ac_compile) 2>conftest.er1
116532   ac_status=$?
116533   grep -v '^ *+' conftest.er1 >conftest.err
116534   rm -f conftest.er1
116535   cat conftest.err >&5
116536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116537   (exit $ac_status); } &&
116538          { ac_try='test -z "$ac_c_werror_flag"
116539                          || test ! -s conftest.err'
116540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116541   (eval $ac_try) 2>&5
116542   ac_status=$?
116543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116544   (exit $ac_status); }; } &&
116545          { ac_try='test -s conftest.$ac_objext'
116546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116547   (eval $ac_try) 2>&5
116548   ac_status=$?
116549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116550   (exit $ac_status); }; }; then
116551   glibcxx_mresult=1
116552 else
116553   echo "$as_me: failed program was:" >&5
116554 sed 's/^/| /' conftest.$ac_ext >&5
116555
116556 glibcxx_mresult=0
116557 fi
116558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116559
116560 cat >>confdefs.h <<_ACEOF
116561 #define HAVE_LIMIT_AS $glibcxx_mresult
116562 _ACEOF
116563
116564   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116565   echo "$as_me:$LINENO: result: $res" >&5
116566 echo "${ECHO_T}$res" >&6
116567
116568
116569   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
116570 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
116571   cat >conftest.$ac_ext <<_ACEOF
116572 /* confdefs.h.  */
116573 _ACEOF
116574 cat confdefs.h >>conftest.$ac_ext
116575 cat >>conftest.$ac_ext <<_ACEOF
116576 /* end confdefs.h.  */
116577 #include <unistd.h>
116578      #include <sys/time.h>
116579      #include <sys/resource.h>
116580
116581 int
116582 main ()
116583 {
116584  int f = RLIMIT_FSIZE ;
116585   ;
116586   return 0;
116587 }
116588 _ACEOF
116589 rm -f conftest.$ac_objext
116590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116591   (eval $ac_compile) 2>conftest.er1
116592   ac_status=$?
116593   grep -v '^ *+' conftest.er1 >conftest.err
116594   rm -f conftest.er1
116595   cat conftest.err >&5
116596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116597   (exit $ac_status); } &&
116598          { ac_try='test -z "$ac_c_werror_flag"
116599                          || test ! -s conftest.err'
116600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116601   (eval $ac_try) 2>&5
116602   ac_status=$?
116603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116604   (exit $ac_status); }; } &&
116605          { ac_try='test -s conftest.$ac_objext'
116606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116607   (eval $ac_try) 2>&5
116608   ac_status=$?
116609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116610   (exit $ac_status); }; }; then
116611   glibcxx_mresult=1
116612 else
116613   echo "$as_me: failed program was:" >&5
116614 sed 's/^/| /' conftest.$ac_ext >&5
116615
116616 glibcxx_mresult=0
116617 fi
116618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116619
116620 cat >>confdefs.h <<_ACEOF
116621 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
116622 _ACEOF
116623
116624   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116625   echo "$as_me:$LINENO: result: $res" >&5
116626 echo "${ECHO_T}$res" >&6
116627
116628
116629     # Check for rlimit, setrlimit.
116630     if test "${ac_setrlimit+set}" = set; then
116631   echo $ECHO_N "(cached) $ECHO_C" >&6
116632 else
116633
116634       cat >conftest.$ac_ext <<_ACEOF
116635 /* confdefs.h.  */
116636 _ACEOF
116637 cat confdefs.h >>conftest.$ac_ext
116638 cat >>conftest.$ac_ext <<_ACEOF
116639 /* end confdefs.h.  */
116640 #include <unistd.h>
116641          #include <sys/time.h>
116642          #include <sys/resource.h>
116643
116644 int
116645 main ()
116646 {
116647 struct rlimit r;
116648          setrlimit(0, &r);
116649   ;
116650   return 0;
116651 }
116652 _ACEOF
116653 rm -f conftest.$ac_objext
116654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116655   (eval $ac_compile) 2>conftest.er1
116656   ac_status=$?
116657   grep -v '^ *+' conftest.er1 >conftest.err
116658   rm -f conftest.er1
116659   cat conftest.err >&5
116660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116661   (exit $ac_status); } &&
116662          { ac_try='test -z "$ac_c_werror_flag"
116663                          || test ! -s conftest.err'
116664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116665   (eval $ac_try) 2>&5
116666   ac_status=$?
116667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116668   (exit $ac_status); }; } &&
116669          { ac_try='test -s conftest.$ac_objext'
116670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116671   (eval $ac_try) 2>&5
116672   ac_status=$?
116673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116674   (exit $ac_status); }; }; then
116675   ac_setrlimit=yes
116676 else
116677   echo "$as_me: failed program was:" >&5
116678 sed 's/^/| /' conftest.$ac_ext >&5
116679
116680 ac_setrlimit=no
116681 fi
116682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116683
116684 fi
116685
116686   fi
116687
116688   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
116689 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
116690   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
116691     ac_res_limits=yes
116692
116693 cat >>confdefs.h <<\_ACEOF
116694 #define _GLIBCXX_RES_LIMITS 1
116695 _ACEOF
116696
116697   else
116698     ac_res_limits=no
116699   fi
116700   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
116701 echo "${ECHO_T}$ac_res_limits" >&6
116702
116703
116704     # Look for setenv, so that extended locale tests can be performed.
116705
116706   echo "$as_me:$LINENO: checking for setenv declaration" >&5
116707 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
116708   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
116709     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
116710   echo $ECHO_N "(cached) $ECHO_C" >&6
116711 else
116712
116713
116714
116715       ac_ext=cc
116716 ac_cpp='$CXXCPP $CPPFLAGS'
116717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116720
116721       cat >conftest.$ac_ext <<_ACEOF
116722 /* confdefs.h.  */
116723 _ACEOF
116724 cat confdefs.h >>conftest.$ac_ext
116725 cat >>conftest.$ac_ext <<_ACEOF
116726 /* end confdefs.h.  */
116727 #include <stdlib.h>
116728 int
116729 main ()
116730 {
116731  setenv(0, 0, 0);
116732   ;
116733   return 0;
116734 }
116735 _ACEOF
116736 rm -f conftest.$ac_objext
116737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116738   (eval $ac_compile) 2>conftest.er1
116739   ac_status=$?
116740   grep -v '^ *+' conftest.er1 >conftest.err
116741   rm -f conftest.er1
116742   cat conftest.err >&5
116743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116744   (exit $ac_status); } &&
116745          { ac_try='test -z "$ac_cxx_werror_flag"
116746                          || test ! -s conftest.err'
116747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116748   (eval $ac_try) 2>&5
116749   ac_status=$?
116750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116751   (exit $ac_status); }; } &&
116752          { ac_try='test -s conftest.$ac_objext'
116753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116754   (eval $ac_try) 2>&5
116755   ac_status=$?
116756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116757   (exit $ac_status); }; }; then
116758   glibcxx_cv_func_setenv_use=yes
116759 else
116760   echo "$as_me: failed program was:" >&5
116761 sed 's/^/| /' conftest.$ac_ext >&5
116762
116763 glibcxx_cv_func_setenv_use=no
116764 fi
116765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116766       ac_ext=c
116767 ac_cpp='$CPP $CPPFLAGS'
116768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116771
116772
116773 fi
116774
116775   fi
116776   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
116777 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
116778   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
116779
116780 for ac_func in setenv
116781 do
116782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116783 echo "$as_me:$LINENO: checking for $ac_func" >&5
116784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116785 if eval "test \"\${$as_ac_var+set}\" = set"; then
116786   echo $ECHO_N "(cached) $ECHO_C" >&6
116787 else
116788   if test x$gcc_no_link = xyes; then
116789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116791    { (exit 1); exit 1; }; }
116792 fi
116793 cat >conftest.$ac_ext <<_ACEOF
116794 /* confdefs.h.  */
116795 _ACEOF
116796 cat confdefs.h >>conftest.$ac_ext
116797 cat >>conftest.$ac_ext <<_ACEOF
116798 /* end confdefs.h.  */
116799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
116801 #define $ac_func innocuous_$ac_func
116802
116803 /* System header to define __stub macros and hopefully few prototypes,
116804     which can conflict with char $ac_func (); below.
116805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116806     <limits.h> exists even on freestanding compilers.  */
116807
116808 #ifdef __STDC__
116809 # include <limits.h>
116810 #else
116811 # include <assert.h>
116812 #endif
116813
116814 #undef $ac_func
116815
116816 /* Override any gcc2 internal prototype to avoid an error.  */
116817 #ifdef __cplusplus
116818 extern "C"
116819 {
116820 #endif
116821 /* We use char because int might match the return type of a gcc2
116822    builtin and then its argument prototype would still apply.  */
116823 char $ac_func ();
116824 /* The GNU C library defines this for functions which it implements
116825     to always fail with ENOSYS.  Some functions are actually named
116826     something starting with __ and the normal name is an alias.  */
116827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116828 choke me
116829 #else
116830 char (*f) () = $ac_func;
116831 #endif
116832 #ifdef __cplusplus
116833 }
116834 #endif
116835
116836 int
116837 main ()
116838 {
116839 return f != $ac_func;
116840   ;
116841   return 0;
116842 }
116843 _ACEOF
116844 rm -f conftest.$ac_objext conftest$ac_exeext
116845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116846   (eval $ac_link) 2>conftest.er1
116847   ac_status=$?
116848   grep -v '^ *+' conftest.er1 >conftest.err
116849   rm -f conftest.er1
116850   cat conftest.err >&5
116851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116852   (exit $ac_status); } &&
116853          { ac_try='test -z "$ac_c_werror_flag"
116854                          || test ! -s conftest.err'
116855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116856   (eval $ac_try) 2>&5
116857   ac_status=$?
116858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116859   (exit $ac_status); }; } &&
116860          { ac_try='test -s conftest$ac_exeext'
116861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116862   (eval $ac_try) 2>&5
116863   ac_status=$?
116864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116865   (exit $ac_status); }; }; then
116866   eval "$as_ac_var=yes"
116867 else
116868   echo "$as_me: failed program was:" >&5
116869 sed 's/^/| /' conftest.$ac_ext >&5
116870
116871 eval "$as_ac_var=no"
116872 fi
116873 rm -f conftest.err conftest.$ac_objext \
116874       conftest$ac_exeext conftest.$ac_ext
116875 fi
116876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116878 if test `eval echo '${'$as_ac_var'}'` = yes; then
116879   cat >>confdefs.h <<_ACEOF
116880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116881 _ACEOF
116882
116883 fi
116884 done
116885
116886   fi
116887
116888   fi
116889
116890   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
116891      test $enable_symvers != no; then
116892     case "$host" in
116893       *-*-cygwin*)
116894         enable_abi_check=no ;;
116895       *)
116896         enable_abi_check=yes ;;
116897     esac
116898   else
116899     # Only build this as native, since automake does not understand
116900     # CXX_FOR_BUILD.
116901     enable_abi_check=no
116902   fi
116903
116904   # Export file names for ABI checking.
116905   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
116906
116907
116908
116909 # Propagate the target-specific source directories through the build chain.
116910 ATOMICITY_SRCDIR=config/${atomicity_dir}
116911 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
116912 ATOMIC_FLAGS=${atomic_flags}
116913 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
116914 OS_INC_SRCDIR=config/${os_include_dir}
116915 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
116916 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
116917
116918
116919
116920
116921
116922
116923
116924
116925
116926 # Determine cross-compile flags and AM_CONDITIONALs.
116927 #AC_SUBST(GLIBCXX_IS_NATIVE)
116928 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
116929 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
116930 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
116931
116932
116933 if test $is_hosted = yes; then
116934   GLIBCXX_HOSTED_TRUE=
116935   GLIBCXX_HOSTED_FALSE='#'
116936 else
116937   GLIBCXX_HOSTED_TRUE='#'
116938   GLIBCXX_HOSTED_FALSE=
116939 fi
116940
116941
116942
116943
116944 if test $enable_libstdcxx_pch = yes; then
116945   GLIBCXX_BUILD_PCH_TRUE=
116946   GLIBCXX_BUILD_PCH_FALSE='#'
116947 else
116948   GLIBCXX_BUILD_PCH_TRUE='#'
116949   GLIBCXX_BUILD_PCH_FALSE=
116950 fi
116951
116952
116953
116954
116955 if test $enable_cheaders = c; then
116956   GLIBCXX_C_HEADERS_C_TRUE=
116957   GLIBCXX_C_HEADERS_C_FALSE='#'
116958 else
116959   GLIBCXX_C_HEADERS_C_TRUE='#'
116960   GLIBCXX_C_HEADERS_C_FALSE=
116961 fi
116962
116963
116964
116965
116966 if test $enable_cheaders = c_std; then
116967   GLIBCXX_C_HEADERS_C_STD_TRUE=
116968   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
116969 else
116970   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
116971   GLIBCXX_C_HEADERS_C_STD_FALSE=
116972 fi
116973
116974
116975
116976
116977 if test $enable_cheaders = c_global; then
116978   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
116979   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
116980 else
116981   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
116982   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
116983 fi
116984
116985
116986
116987
116988 if test $c_compatibility = yes; then
116989   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
116990   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
116991 else
116992   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
116993   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
116994 fi
116995
116996
116997
116998
116999 if test $c_extra = yes; then
117000   GLIBCXX_C_HEADERS_EXTRA_TRUE=
117001   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
117002 else
117003   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
117004   GLIBCXX_C_HEADERS_EXTRA_FALSE=
117005 fi
117006
117007
117008
117009
117010 if test $enable_libstdcxx_debug = yes; then
117011   GLIBCXX_BUILD_DEBUG_TRUE=
117012   GLIBCXX_BUILD_DEBUG_FALSE='#'
117013 else
117014   GLIBCXX_BUILD_DEBUG_TRUE='#'
117015   GLIBCXX_BUILD_DEBUG_FALSE=
117016 fi
117017
117018
117019
117020
117021 if test $enable_parallel = yes; then
117022   ENABLE_PARALLEL_TRUE=
117023   ENABLE_PARALLEL_FALSE='#'
117024 else
117025   ENABLE_PARALLEL_TRUE='#'
117026   ENABLE_PARALLEL_FALSE=
117027 fi
117028
117029
117030
117031
117032 if test $enable_symvers != no; then
117033   ENABLE_SYMVERS_TRUE=
117034   ENABLE_SYMVERS_FALSE='#'
117035 else
117036   ENABLE_SYMVERS_TRUE='#'
117037   ENABLE_SYMVERS_FALSE=
117038 fi
117039
117040
117041
117042
117043 if test $enable_symvers = gnu; then
117044   ENABLE_SYMVERS_GNU_TRUE=
117045   ENABLE_SYMVERS_GNU_FALSE='#'
117046 else
117047   ENABLE_SYMVERS_GNU_TRUE='#'
117048   ENABLE_SYMVERS_GNU_FALSE=
117049 fi
117050
117051
117052
117053
117054 if test $enable_symvers = gnu-versioned-namespace; then
117055   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
117056   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
117057 else
117058   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
117059   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
117060 fi
117061
117062
117063
117064
117065 if test $enable_symvers = darwin; then
117066   ENABLE_SYMVERS_DARWIN_TRUE=
117067   ENABLE_SYMVERS_DARWIN_FALSE='#'
117068 else
117069   ENABLE_SYMVERS_DARWIN_TRUE='#'
117070   ENABLE_SYMVERS_DARWIN_FALSE=
117071 fi
117072
117073
117074
117075
117076 if test $enable_visibility = yes; then
117077   ENABLE_VISIBILITY_TRUE=
117078   ENABLE_VISIBILITY_FALSE='#'
117079 else
117080   ENABLE_VISIBILITY_TRUE='#'
117081   ENABLE_VISIBILITY_FALSE=
117082 fi
117083
117084
117085
117086
117087 if test $ac_ldbl_compat = yes; then
117088   GLIBCXX_LDBL_COMPAT_TRUE=
117089   GLIBCXX_LDBL_COMPAT_FALSE='#'
117090 else
117091   GLIBCXX_LDBL_COMPAT_TRUE='#'
117092   GLIBCXX_LDBL_COMPAT_FALSE=
117093 fi
117094
117095
117096
117097
117098 cat >confcache <<\_ACEOF
117099 # This file is a shell script that caches the results of configure
117100 # tests run on this system so they can be shared between configure
117101 # scripts and configure runs, see configure's option --config-cache.
117102 # It is not useful on other systems.  If it contains results you don't
117103 # want to keep, you may remove or edit it.
117104 #
117105 # config.status only pays attention to the cache file if you give it
117106 # the --recheck option to rerun configure.
117107 #
117108 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117109 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117110 # following values.
117111
117112 _ACEOF
117113
117114 # The following way of writing the cache mishandles newlines in values,
117115 # but we know of no workaround that is simple, portable, and efficient.
117116 # So, don't put newlines in cache variables' values.
117117 # Ultrix sh set writes to stderr and can't be redirected directly,
117118 # and sets the high bit in the cache file unless we assign to the vars.
117119 {
117120   (set) 2>&1 |
117121     case `(ac_space=' '; set | grep ac_space) 2>&1` in
117122     *ac_space=\ *)
117123       # `set' does not quote correctly, so add quotes (double-quote
117124       # substitution turns \\\\ into \\, and sed turns \\ into \).
117125       sed -n \
117126         "s/'/'\\\\''/g;
117127           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117128       ;;
117129     *)
117130       # `set' quotes correctly as required by POSIX, so do not add quotes.
117131       sed -n \
117132         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117133       ;;
117134     esac;
117135 } |
117136   sed '
117137      t clear
117138      : clear
117139      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117140      t end
117141      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117142      : end' >>confcache
117143 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117144   if test -w $cache_file; then
117145     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117146     cat confcache >$cache_file
117147   else
117148     echo "not updating unwritable cache $cache_file"
117149   fi
117150 fi
117151 rm -f confcache
117152
117153 if test ${multilib} = yes; then
117154   multilib_arg="--enable-multilib"
117155 else
117156   multilib_arg=
117157 fi
117158
117159 # Export all the install information.
117160
117161   glibcxx_toolexecdir=no
117162   glibcxx_toolexeclibdir=no
117163   glibcxx_prefixdir=$prefix
117164
117165   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
117166 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
117167
117168 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
117169 if test "${with_gxx_include_dir+set}" = set; then
117170   withval="$with_gxx_include_dir"
117171   case "$withval" in
117172       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
117173 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
117174    { (exit 1); exit 1; }; } ;;
117175       no)  gxx_include_dir=no ;;
117176       *)   gxx_include_dir=$withval ;;
117177      esac
117178 else
117179   gxx_include_dir=no
117180 fi;
117181   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117182 echo "${ECHO_T}$gxx_include_dir" >&6
117183
117184   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
117185 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
117186   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
117187 if test "${enable_version_specific_runtime_libs+set}" = set; then
117188   enableval="$enable_version_specific_runtime_libs"
117189   case "$enableval" in
117190       yes) version_specific_libs=yes ;;
117191       no)  version_specific_libs=no ;;
117192       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
117193 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
117194    { (exit 1); exit 1; }; };;
117195      esac
117196 else
117197   version_specific_libs=no
117198 fi;
117199   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
117200 echo "${ECHO_T}$version_specific_libs" >&6
117201
117202   # Default case for install directory for include files.
117203   if test $version_specific_libs = no && test $gxx_include_dir = no; then
117204     gxx_include_dir='include/c++/${gcc_version}'
117205     if test -n "$with_cross_host" &&
117206        test x"$with_cross_host" != x"no"; then
117207       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
117208     else
117209       gxx_include_dir='${prefix}/'"$gxx_include_dir"
117210     fi
117211   fi
117212
117213   # Version-specific runtime libs processing.
117214   if test $version_specific_libs = yes; then
117215     # Need the gcc compiler version to know where to install libraries
117216     # and header files if --enable-version-specific-runtime-libs option
117217     # is selected.  FIXME: these variables are misnamed, there are
117218     # no executables installed in _toolexecdir or _toolexeclibdir.
117219     if test x"$gxx_include_dir" = x"no"; then
117220       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
117221     fi
117222     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117223     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
117224   fi
117225
117226   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
117227   # Install a library built with a cross compiler in tooldir, not libdir.
117228   if test x"$glibcxx_toolexecdir" = x"no"; then
117229     if test -n "$with_cross_host" &&
117230        test x"$with_cross_host" != x"no"; then
117231       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
117232       glibcxx_toolexeclibdir='${toolexecdir}/lib'
117233     else
117234       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117235       glibcxx_toolexeclibdir='${libdir}'
117236     fi
117237     multi_os_directory=`$CXX -print-multi-os-directory`
117238     case $multi_os_directory in
117239       .) ;; # Avoid trailing /.
117240       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
117241     esac
117242   fi
117243
117244   echo "$as_me:$LINENO: checking for install location" >&5
117245 echo $ECHO_N "checking for install location... $ECHO_C" >&6
117246   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117247 echo "${ECHO_T}$gxx_include_dir" >&6
117248
117249
117250
117251
117252
117253
117254
117255 # Export all the include and flag information to Makefiles.
117256
117257   # Used for every C++ compile we perform.
117258   GLIBCXX_INCLUDES="\
117259 -I$glibcxx_builddir/include/$host_alias \
117260 -I$glibcxx_builddir/include \
117261 -I$glibcxx_srcdir/libsupc++"
117262
117263   # For Canadian crosses, pick this up too.
117264   if test $CANADIAN = yes; then
117265     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
117266   fi
117267
117268   # Stuff in the actual top level.  Currently only used by libsupc++ to
117269   # get unwind* headers from the gcc dir.
117270   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
117271   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
117272
117273   # Now, export this to all the little Makefiles....
117274
117275
117276
117277
117278   # Optimization flags that are probably a good idea for thrill-seekers. Just
117279   # uncomment the lines below and make, everything else is ready to go...
117280   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
117281   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
117282
117283
117284   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
117285
117286
117287
117288 if test "$enable_shared" = yes; then
117289   LIBSUPCXX_PICFLAGS="-prefer-pic"
117290 else
117291   LIBSUPCXX_PICFLAGS=
117292 fi
117293
117294
117295                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
117296
117297           ac_config_files="$ac_config_files scripts/testsuite_flags"
117298
117299
117300           ac_config_commands="$ac_config_commands default"
117301
117302
117303 cat >confcache <<\_ACEOF
117304 # This file is a shell script that caches the results of configure
117305 # tests run on this system so they can be shared between configure
117306 # scripts and configure runs, see configure's option --config-cache.
117307 # It is not useful on other systems.  If it contains results you don't
117308 # want to keep, you may remove or edit it.
117309 #
117310 # config.status only pays attention to the cache file if you give it
117311 # the --recheck option to rerun configure.
117312 #
117313 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117315 # following values.
117316
117317 _ACEOF
117318
117319 # The following way of writing the cache mishandles newlines in values,
117320 # but we know of no workaround that is simple, portable, and efficient.
117321 # So, don't put newlines in cache variables' values.
117322 # Ultrix sh set writes to stderr and can't be redirected directly,
117323 # and sets the high bit in the cache file unless we assign to the vars.
117324 {
117325   (set) 2>&1 |
117326     case `(ac_space=' '; set | grep ac_space) 2>&1` in
117327     *ac_space=\ *)
117328       # `set' does not quote correctly, so add quotes (double-quote
117329       # substitution turns \\\\ into \\, and sed turns \\ into \).
117330       sed -n \
117331         "s/'/'\\\\''/g;
117332           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117333       ;;
117334     *)
117335       # `set' quotes correctly as required by POSIX, so do not add quotes.
117336       sed -n \
117337         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117338       ;;
117339     esac;
117340 } |
117341   sed '
117342      t clear
117343      : clear
117344      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117345      t end
117346      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117347      : end' >>confcache
117348 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117349   if test -w $cache_file; then
117350     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117351     cat confcache >$cache_file
117352   else
117353     echo "not updating unwritable cache $cache_file"
117354   fi
117355 fi
117356 rm -f confcache
117357
117358 test "x$prefix" = xNONE && prefix=$ac_default_prefix
117359 # Let make expand exec_prefix.
117360 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
117361
117362 # VPATH may cause trouble with some makes, so we remove $(srcdir),
117363 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
117364 # trailing colons and then remove the whole line if VPATH becomes empty
117365 # (actually we leave an empty line to preserve line numbers).
117366 if test "x$srcdir" = x.; then
117367   ac_vpsub='/^[  ]*VPATH[        ]*=/{
117368 s/:*\$(srcdir):*/:/;
117369 s/:*\${srcdir}:*/:/;
117370 s/:*@srcdir@:*/:/;
117371 s/^\([^=]*=[     ]*\):*/\1/;
117372 s/:*$//;
117373 s/^[^=]*=[       ]*$//;
117374 }'
117375 fi
117376
117377 DEFS=-DHAVE_CONFIG_H
117378
117379 ac_libobjs=
117380 ac_ltlibobjs=
117381 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
117382   # 1. Remove the extension, and $U if already installed.
117383   ac_i=`echo "$ac_i" |
117384          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
117385   # 2. Add them.
117386   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
117387   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
117388 done
117389 LIBOBJS=$ac_libobjs
117390
117391 LTLIBOBJS=$ac_ltlibobjs
117392
117393
117394 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
117395   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
117396 Usually this means the macro was only invoked conditionally." >&5
117397 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
117398 Usually this means the macro was only invoked conditionally." >&2;}
117399    { (exit 1); exit 1; }; }
117400 fi
117401 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
117402   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117403 Usually this means the macro was only invoked conditionally." >&5
117404 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117405 Usually this means the macro was only invoked conditionally." >&2;}
117406    { (exit 1); exit 1; }; }
117407 fi
117408 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
117409   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117410 Usually this means the macro was only invoked conditionally." >&5
117411 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117412 Usually this means the macro was only invoked conditionally." >&2;}
117413    { (exit 1); exit 1; }; }
117414 fi
117415 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
117416   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117417 Usually this means the macro was only invoked conditionally." >&5
117418 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117419 Usually this means the macro was only invoked conditionally." >&2;}
117420    { (exit 1); exit 1; }; }
117421 fi
117422 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
117423   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117424 Usually this means the macro was only invoked conditionally." >&5
117425 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117426 Usually this means the macro was only invoked conditionally." >&2;}
117427    { (exit 1); exit 1; }; }
117428 fi
117429 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
117430   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117431 Usually this means the macro was only invoked conditionally." >&5
117432 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117433 Usually this means the macro was only invoked conditionally." >&2;}
117434    { (exit 1); exit 1; }; }
117435 fi
117436 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
117437   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117438 Usually this means the macro was only invoked conditionally." >&5
117439 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117440 Usually this means the macro was only invoked conditionally." >&2;}
117441    { (exit 1); exit 1; }; }
117442 fi
117443 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
117444   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117445 Usually this means the macro was only invoked conditionally." >&5
117446 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117447 Usually this means the macro was only invoked conditionally." >&2;}
117448    { (exit 1); exit 1; }; }
117449 fi
117450 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
117451   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117452 Usually this means the macro was only invoked conditionally." >&5
117453 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117454 Usually this means the macro was only invoked conditionally." >&2;}
117455    { (exit 1); exit 1; }; }
117456 fi
117457 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
117458   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
117459 Usually this means the macro was only invoked conditionally." >&5
117460 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
117461 Usually this means the macro was only invoked conditionally." >&2;}
117462    { (exit 1); exit 1; }; }
117463 fi
117464 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
117465   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
117466 Usually this means the macro was only invoked conditionally." >&5
117467 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
117468 Usually this means the macro was only invoked conditionally." >&2;}
117469    { (exit 1); exit 1; }; }
117470 fi
117471 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
117472   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117473 Usually this means the macro was only invoked conditionally." >&5
117474 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117475 Usually this means the macro was only invoked conditionally." >&2;}
117476    { (exit 1); exit 1; }; }
117477 fi
117478 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
117479   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117480 Usually this means the macro was only invoked conditionally." >&5
117481 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117482 Usually this means the macro was only invoked conditionally." >&2;}
117483    { (exit 1); exit 1; }; }
117484 fi
117485 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
117486   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117487 Usually this means the macro was only invoked conditionally." >&5
117488 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117489 Usually this means the macro was only invoked conditionally." >&2;}
117490    { (exit 1); exit 1; }; }
117491 fi
117492 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
117493   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117494 Usually this means the macro was only invoked conditionally." >&5
117495 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117496 Usually this means the macro was only invoked conditionally." >&2;}
117497    { (exit 1); exit 1; }; }
117498 fi
117499 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
117500   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117501 Usually this means the macro was only invoked conditionally." >&5
117502 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117503 Usually this means the macro was only invoked conditionally." >&2;}
117504    { (exit 1); exit 1; }; }
117505 fi
117506
117507 : ${CONFIG_STATUS=./config.status}
117508 ac_clean_files_save=$ac_clean_files
117509 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
117510 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
117511 echo "$as_me: creating $CONFIG_STATUS" >&6;}
117512 cat >$CONFIG_STATUS <<_ACEOF
117513 #! $SHELL
117514 # Generated by $as_me.
117515 # Run this file to recreate the current configuration.
117516 # Compiler output produced by configure, useful for debugging
117517 # configure, is in config.log if it exists.
117518
117519 debug=false
117520 ac_cs_recheck=false
117521 ac_cs_silent=false
117522 SHELL=\${CONFIG_SHELL-$SHELL}
117523 _ACEOF
117524
117525 cat >>$CONFIG_STATUS <<\_ACEOF
117526 ## --------------------- ##
117527 ## M4sh Initialization.  ##
117528 ## --------------------- ##
117529
117530 # Be Bourne compatible
117531 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
117532   emulate sh
117533   NULLCMD=:
117534   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
117535   # is contrary to our usage.  Disable this feature.
117536   alias -g '${1+"$@"}'='"$@"'
117537 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
117538   set -o posix
117539 fi
117540 DUALCASE=1; export DUALCASE # for MKS sh
117541
117542 # Support unset when possible.
117543 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
117544   as_unset=unset
117545 else
117546   as_unset=false
117547 fi
117548
117549
117550 # Work around bugs in pre-3.0 UWIN ksh.
117551 $as_unset ENV MAIL MAILPATH
117552 PS1='$ '
117553 PS2='> '
117554 PS4='+ '
117555
117556 # NLS nuisances.
117557 for as_var in \
117558   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
117559   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
117560   LC_TELEPHONE LC_TIME
117561 do
117562   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
117563     eval $as_var=C; export $as_var
117564   else
117565     $as_unset $as_var
117566   fi
117567 done
117568
117569 # Required to use basename.
117570 if expr a : '\(a\)' >/dev/null 2>&1; then
117571   as_expr=expr
117572 else
117573   as_expr=false
117574 fi
117575
117576 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
117577   as_basename=basename
117578 else
117579   as_basename=false
117580 fi
117581
117582
117583 # Name of the executable.
117584 as_me=`$as_basename "$0" ||
117585 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
117586          X"$0" : 'X\(//\)$' \| \
117587          X"$0" : 'X\(/\)$' \| \
117588          .     : '\(.\)' 2>/dev/null ||
117589 echo X/"$0" |
117590     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117591           /^X\/\(\/\/\)$/{ s//\1/; q; }
117592           /^X\/\(\/\).*/{ s//\1/; q; }
117593           s/.*/./; q'`
117594
117595
117596 # PATH needs CR, and LINENO needs CR and PATH.
117597 # Avoid depending upon Character Ranges.
117598 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
117599 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
117600 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
117601 as_cr_digits='0123456789'
117602 as_cr_alnum=$as_cr_Letters$as_cr_digits
117603
117604 # The user is always right.
117605 if test "${PATH_SEPARATOR+set}" != set; then
117606   echo "#! /bin/sh" >conf$$.sh
117607   echo  "exit 0"   >>conf$$.sh
117608   chmod +x conf$$.sh
117609   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
117610     PATH_SEPARATOR=';'
117611   else
117612     PATH_SEPARATOR=:
117613   fi
117614   rm -f conf$$.sh
117615 fi
117616
117617
117618   as_lineno_1=$LINENO
117619   as_lineno_2=$LINENO
117620   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117621   test "x$as_lineno_1" != "x$as_lineno_2" &&
117622   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
117623   # Find who we are.  Look in the path if we contain no path at all
117624   # relative or not.
117625   case $0 in
117626     *[\\/]* ) as_myself=$0 ;;
117627     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117628 for as_dir in $PATH
117629 do
117630   IFS=$as_save_IFS
117631   test -z "$as_dir" && as_dir=.
117632   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117633 done
117634
117635        ;;
117636   esac
117637   # We did not find ourselves, most probably we were run as `sh COMMAND'
117638   # in which case we are not to be found in the path.
117639   if test "x$as_myself" = x; then
117640     as_myself=$0
117641   fi
117642   if test ! -f "$as_myself"; then
117643     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
117644 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
117645    { (exit 1); exit 1; }; }
117646   fi
117647   case $CONFIG_SHELL in
117648   '')
117649     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117650 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
117651 do
117652   IFS=$as_save_IFS
117653   test -z "$as_dir" && as_dir=.
117654   for as_base in sh bash ksh sh5; do
117655          case $as_dir in
117656          /*)
117657            if ("$as_dir/$as_base" -c '
117658   as_lineno_1=$LINENO
117659   as_lineno_2=$LINENO
117660   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117661   test "x$as_lineno_1" != "x$as_lineno_2" &&
117662   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
117663              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
117664              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
117665              CONFIG_SHELL=$as_dir/$as_base
117666              export CONFIG_SHELL
117667              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
117668            fi;;
117669          esac
117670        done
117671 done
117672 ;;
117673   esac
117674
117675   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
117676   # uniformly replaced by the line number.  The first 'sed' inserts a
117677   # line-number line before each line; the second 'sed' does the real
117678   # work.  The second script uses 'N' to pair each line-number line
117679   # with the numbered line, and appends trailing '-' during
117680   # substitution so that $LINENO is not a special case at line end.
117681   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
117682   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
117683   sed '=' <$as_myself |
117684     sed '
117685       N
117686       s,$,-,
117687       : loop
117688       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
117689       t loop
117690       s,-$,,
117691       s,^['$as_cr_digits']*\n,,
117692     ' >$as_me.lineno &&
117693   chmod +x $as_me.lineno ||
117694     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
117695 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
117696    { (exit 1); exit 1; }; }
117697
117698   # Don't try to exec as it changes $[0], causing all sort of problems
117699   # (the dirname of $[0] is not the place where we might find the
117700   # original and so on.  Autoconf is especially sensible to this).
117701   . ./$as_me.lineno
117702   # Exit status is that of the last command.
117703   exit
117704 }
117705
117706
117707 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
117708   *c*,-n*) ECHO_N= ECHO_C='
117709 ' ECHO_T='      ' ;;
117710   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
117711   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
117712 esac
117713
117714 if expr a : '\(a\)' >/dev/null 2>&1; then
117715   as_expr=expr
117716 else
117717   as_expr=false
117718 fi
117719
117720 rm -f conf$$ conf$$.exe conf$$.file
117721 echo >conf$$.file
117722 if ln -s conf$$.file conf$$ 2>/dev/null; then
117723   # We could just check for DJGPP; but this test a) works b) is more generic
117724   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
117725   if test -f conf$$.exe; then
117726     # Don't use ln at all; we don't have any links
117727     as_ln_s='cp -p'
117728   else
117729     as_ln_s='ln -s'
117730   fi
117731 elif ln conf$$.file conf$$ 2>/dev/null; then
117732   as_ln_s=ln
117733 else
117734   as_ln_s='cp -p'
117735 fi
117736 rm -f conf$$ conf$$.exe conf$$.file
117737
117738 if mkdir -p . 2>/dev/null; then
117739   as_mkdir_p=:
117740 else
117741   test -d ./-p && rmdir ./-p
117742   as_mkdir_p=false
117743 fi
117744
117745 as_executable_p="test -f"
117746
117747 # Sed expression to map a string onto a valid CPP name.
117748 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
117749
117750 # Sed expression to map a string onto a valid variable name.
117751 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
117752
117753
117754 # IFS
117755 # We need space, tab and new line, in precisely that order.
117756 as_nl='
117757 '
117758 IFS="   $as_nl"
117759
117760 # CDPATH.
117761 $as_unset CDPATH
117762
117763 exec 6>&1
117764
117765 # Open the log real soon, to keep \$[0] and so on meaningful, and to
117766 # report actual input values of CONFIG_FILES etc. instead of their
117767 # values after options handling.  Logging --version etc. is OK.
117768 exec 5>>config.log
117769 {
117770   echo
117771   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
117772 ## Running $as_me. ##
117773 _ASBOX
117774 } >&5
117775 cat >&5 <<_CSEOF
117776
117777 This file was extended by package-unused $as_me version-unused, which was
117778 generated by GNU Autoconf 2.59.  Invocation command line was
117779
117780   CONFIG_FILES    = $CONFIG_FILES
117781   CONFIG_HEADERS  = $CONFIG_HEADERS
117782   CONFIG_LINKS    = $CONFIG_LINKS
117783   CONFIG_COMMANDS = $CONFIG_COMMANDS
117784   $ $0 $@
117785
117786 _CSEOF
117787 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
117788 echo >&5
117789 _ACEOF
117790
117791 # Files that config.status was made for.
117792 if test -n "$ac_config_files"; then
117793   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
117794 fi
117795
117796 if test -n "$ac_config_headers"; then
117797   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
117798 fi
117799
117800 if test -n "$ac_config_links"; then
117801   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
117802 fi
117803
117804 if test -n "$ac_config_commands"; then
117805   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
117806 fi
117807
117808 cat >>$CONFIG_STATUS <<\_ACEOF
117809
117810 ac_cs_usage="\
117811 \`$as_me' instantiates files from templates according to the
117812 current configuration.
117813
117814 Usage: $0 [OPTIONS] [FILE]...
117815
117816   -h, --help       print this help, then exit
117817   -V, --version    print version number, then exit
117818   -q, --quiet      do not print progress messages
117819   -d, --debug      don't remove temporary files
117820       --recheck    update $as_me by reconfiguring in the same conditions
117821   --file=FILE[:TEMPLATE]
117822                    instantiate the configuration file FILE
117823   --header=FILE[:TEMPLATE]
117824                    instantiate the configuration header FILE
117825
117826 Configuration files:
117827 $config_files
117828
117829 Configuration headers:
117830 $config_headers
117831
117832 Configuration commands:
117833 $config_commands
117834
117835 Report bugs to <bug-autoconf@gnu.org>."
117836 _ACEOF
117837
117838 cat >>$CONFIG_STATUS <<_ACEOF
117839 ac_cs_version="\\
117840 package-unused config.status version-unused
117841 configured by $0, generated by GNU Autoconf 2.59,
117842   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
117843
117844 Copyright (C) 2003 Free Software Foundation, Inc.
117845 This config.status script is free software; the Free Software Foundation
117846 gives unlimited permission to copy, distribute and modify it."
117847 srcdir=$srcdir
117848 INSTALL="$INSTALL"
117849 _ACEOF
117850
117851 cat >>$CONFIG_STATUS <<\_ACEOF
117852 # If no file are specified by the user, then we need to provide default
117853 # value.  By we need to know if files were specified by the user.
117854 ac_need_defaults=:
117855 while test $# != 0
117856 do
117857   case $1 in
117858   --*=*)
117859     ac_option=`expr "x$1" : 'x\([^=]*\)='`
117860     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
117861     ac_shift=:
117862     ;;
117863   -*)
117864     ac_option=$1
117865     ac_optarg=$2
117866     ac_shift=shift
117867     ;;
117868   *) # This is not an option, so the user has probably given explicit
117869      # arguments.
117870      ac_option=$1
117871      ac_need_defaults=false;;
117872   esac
117873
117874   case $ac_option in
117875   # Handling of the options.
117876 _ACEOF
117877 cat >>$CONFIG_STATUS <<\_ACEOF
117878   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
117879     ac_cs_recheck=: ;;
117880   --version | --vers* | -V )
117881     echo "$ac_cs_version"; exit 0 ;;
117882   --he | --h)
117883     # Conflict between --help and --header
117884     { { echo "$as_me:$LINENO: error: ambiguous option: $1
117885 Try \`$0 --help' for more information." >&5
117886 echo "$as_me: error: ambiguous option: $1
117887 Try \`$0 --help' for more information." >&2;}
117888    { (exit 1); exit 1; }; };;
117889   --help | --hel | -h )
117890     echo "$ac_cs_usage"; exit 0 ;;
117891   --debug | --d* | -d )
117892     debug=: ;;
117893   --file | --fil | --fi | --f )
117894     $ac_shift
117895     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
117896     ac_need_defaults=false;;
117897   --header | --heade | --head | --hea )
117898     $ac_shift
117899     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
117900     ac_need_defaults=false;;
117901   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
117902   | -silent | --silent | --silen | --sile | --sil | --si | --s)
117903     ac_cs_silent=: ;;
117904
117905   # This is an error.
117906   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
117907 Try \`$0 --help' for more information." >&5
117908 echo "$as_me: error: unrecognized option: $1
117909 Try \`$0 --help' for more information." >&2;}
117910    { (exit 1); exit 1; }; } ;;
117911
117912   *) ac_config_targets="$ac_config_targets $1" ;;
117913
117914   esac
117915   shift
117916 done
117917
117918 ac_configure_extra_args=
117919
117920 if $ac_cs_silent; then
117921   exec 6>/dev/null
117922   ac_configure_extra_args="$ac_configure_extra_args --silent"
117923 fi
117924
117925 _ACEOF
117926 cat >>$CONFIG_STATUS <<_ACEOF
117927 if \$ac_cs_recheck; then
117928   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
117929   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
117930 fi
117931
117932 _ACEOF
117933
117934 cat >>$CONFIG_STATUS <<_ACEOF
117935 #
117936 # INIT-COMMANDS section.
117937 #
117938
117939
117940 srcdir="$srcdir"
117941 host="$host"
117942 target="$target"
117943 with_multisubdir="$with_multisubdir"
117944 with_multisrctop="$with_multisrctop"
117945 with_target_subdir="$with_target_subdir"
117946 ac_configure_args="${multilib_arg} ${ac_configure_args}"
117947 multi_basedir="$multi_basedir"
117948 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
117949 CC="$CC"
117950
117951
117952 # The HP-UX ksh and POSIX shell print the target directory to stdout
117953 # if CDPATH is set.
117954 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
117955
117956 sed_quote_subst='$sed_quote_subst'
117957 double_quote_subst='$double_quote_subst'
117958 delay_variable_subst='$delay_variable_subst'
117959 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
117960 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
117961 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
117962 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
117963 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
117964 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
117965 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
117966 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
117967 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
117968 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
117969 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
117970 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
117971 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
117972 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
117973 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
117974 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
117975 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
117976 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
117977 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
117978 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
117979 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
117980 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
117981 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
117982 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
117983 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
117984 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
117985 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
117986 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117987 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
117988 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
117989 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
117990 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117991 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
117992 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
117993 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117994 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117995 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117996 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
117997 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117998 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
117999 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
118000 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
118001 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
118002 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"`'
118003 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
118004 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
118005 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
118006 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
118007 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
118008 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
118009 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
118010 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
118011 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
118012 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
118013 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
118014 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118015 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118016 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
118017 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
118018 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118019 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118020 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
118021 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118022 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118023 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118024 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118025 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118026 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118027 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
118028 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
118029 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
118030 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118031 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
118032 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
118033 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
118034 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
118035 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
118036 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118037 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
118038 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
118039 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
118040 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
118041 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
118042 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118043 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
118044 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
118045 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118046 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
118047 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
118048 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
118049 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
118050 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
118051 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118052 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118053 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
118054 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
118055 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
118056 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
118057 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118058 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118059 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118060 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
118061 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
118062 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
118063 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
118064 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
118065 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
118066 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
118067 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
118068 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
118069 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
118070 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
118071 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
118072 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
118073 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
118074 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
118075 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118076 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118077 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118078 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118079 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118080 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118081 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118082 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118083 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118084 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118085 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118086 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118087 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118088 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118089 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118090 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118091 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118092 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118093 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118094 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118095 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118096 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118097 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118098 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118099 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118100 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118101 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118102 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118103 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118104 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118105 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118106 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118107 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118108 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118109 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118110 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118111 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118112 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118113 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118114 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118115 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118116 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118117 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118118 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118119 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118120 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118121
118122 LTCC='$LTCC'
118123 LTCFLAGS='$LTCFLAGS'
118124 compiler='$compiler_DEFAULT'
118125
118126 # Quote evaled strings.
118127 for var in SED \
118128 GREP \
118129 EGREP \
118130 FGREP \
118131 LD \
118132 NM \
118133 LN_S \
118134 lt_SP2NL \
118135 lt_NL2SP \
118136 reload_flag \
118137 deplibs_check_method \
118138 file_magic_cmd \
118139 AR \
118140 AR_FLAGS \
118141 STRIP \
118142 RANLIB \
118143 CC \
118144 CFLAGS \
118145 compiler \
118146 lt_cv_sys_global_symbol_pipe \
118147 lt_cv_sys_global_symbol_to_cdecl \
118148 lt_cv_sys_global_symbol_to_c_name_address \
118149 SHELL \
118150 ECHO \
118151 lt_prog_compiler_no_builtin_flag \
118152 lt_prog_compiler_wl \
118153 lt_prog_compiler_pic \
118154 lt_prog_compiler_static \
118155 lt_cv_prog_compiler_c_o \
118156 need_locks \
118157 shrext_cmds \
118158 export_dynamic_flag_spec \
118159 whole_archive_flag_spec \
118160 compiler_needs_object \
118161 with_gnu_ld \
118162 allow_undefined_flag \
118163 no_undefined_flag \
118164 hardcode_libdir_flag_spec \
118165 hardcode_libdir_flag_spec_ld \
118166 hardcode_libdir_separator \
118167 fix_srcfile_path \
118168 exclude_expsyms \
118169 include_expsyms \
118170 file_list_spec \
118171 variables_saved_for_relink \
118172 libname_spec \
118173 library_names_spec \
118174 soname_spec \
118175 finish_eval \
118176 old_striplib \
118177 striplib \
118178 predep_objects \
118179 postdep_objects \
118180 predeps \
118181 postdeps \
118182 compiler_lib_search_path \
118183 LD_CXX \
118184 compiler_CXX \
118185 lt_prog_compiler_no_builtin_flag_CXX \
118186 lt_prog_compiler_wl_CXX \
118187 lt_prog_compiler_pic_CXX \
118188 lt_prog_compiler_static_CXX \
118189 lt_cv_prog_compiler_c_o_CXX \
118190 export_dynamic_flag_spec_CXX \
118191 whole_archive_flag_spec_CXX \
118192 compiler_needs_object_CXX \
118193 with_gnu_ld_CXX \
118194 allow_undefined_flag_CXX \
118195 no_undefined_flag_CXX \
118196 hardcode_libdir_flag_spec_CXX \
118197 hardcode_libdir_flag_spec_ld_CXX \
118198 hardcode_libdir_separator_CXX \
118199 fix_srcfile_path_CXX \
118200 exclude_expsyms_CXX \
118201 include_expsyms_CXX \
118202 file_list_spec_CXX \
118203 predep_objects_CXX \
118204 postdep_objects_CXX \
118205 predeps_CXX \
118206 postdeps_CXX \
118207 compiler_lib_search_path_CXX; do
118208     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118209     *[\\\\\\\`\\"\\\$]*)
118210       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
118211       ;;
118212     *)
118213       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118214       ;;
118215     esac
118216 done
118217
118218 # Double-quote double-evaled strings.
118219 for var in reload_cmds \
118220 old_postinstall_cmds \
118221 old_postuninstall_cmds \
118222 old_archive_cmds \
118223 extract_expsyms_cmds \
118224 old_archive_from_new_cmds \
118225 old_archive_from_expsyms_cmds \
118226 archive_cmds \
118227 archive_expsym_cmds \
118228 module_cmds \
118229 module_expsym_cmds \
118230 export_symbols_cmds \
118231 prelink_cmds \
118232 postinstall_cmds \
118233 postuninstall_cmds \
118234 finish_cmds \
118235 sys_lib_search_path_spec \
118236 sys_lib_dlsearch_path_spec \
118237 old_archive_cmds_CXX \
118238 old_archive_from_new_cmds_CXX \
118239 old_archive_from_expsyms_cmds_CXX \
118240 archive_cmds_CXX \
118241 archive_expsym_cmds_CXX \
118242 module_cmds_CXX \
118243 module_expsym_cmds_CXX \
118244 export_symbols_cmds_CXX \
118245 prelink_cmds_CXX; do
118246     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118247     *[\\\\\\\`\\"\\\$]*)
118248       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
118249       ;;
118250     *)
118251       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118252       ;;
118253     esac
118254 done
118255
118256 # Fix-up fallback echo if it was mangled by the above quoting rules.
118257 case \$lt_ECHO in
118258 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
118259   ;;
118260 esac
118261
118262 ac_aux_dir='$ac_aux_dir'
118263 xsi_shell='$xsi_shell'
118264 lt_shell_append='$lt_shell_append'
118265
118266 # See if we are running on zsh, and set the options which allow our
118267 # commands through without removal of \ escapes INIT.
118268 if test -n "\${ZSH_VERSION+set}" ; then
118269    setopt NO_GLOB_SUBST
118270 fi
118271
118272
118273     PACKAGE='$PACKAGE'
118274     VERSION='$VERSION'
118275     TIMESTAMP='$TIMESTAMP'
118276     RM='$RM'
118277     ofile='$ofile'
118278
118279
118280
118281
118282
118283
118284 # Variables needed in config.status (file generation) which aren't already
118285 # passed by autoconf.
118286 SUBDIRS="$SUBDIRS"
118287
118288
118289 _ACEOF
118290
118291
118292
118293 cat >>$CONFIG_STATUS <<\_ACEOF
118294 for ac_config_target in $ac_config_targets
118295 do
118296   case "$ac_config_target" in
118297   # Handling of arguments.
118298   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
118299   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
118300   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
118301   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
118302   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
118303   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
118304   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
118305   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
118306   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
118307   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
118308   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
118309   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
118310   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
118311   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
118312 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
118313    { (exit 1); exit 1; }; };;
118314   esac
118315 done
118316
118317 # If the user did not use the arguments to specify the items to instantiate,
118318 # then the envvar interface is used.  Set only those that are not.
118319 # We use the long form for the default assignment because of an extremely
118320 # bizarre bug on SunOS 4.1.3.
118321 if $ac_need_defaults; then
118322   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
118323   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
118324   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
118325 fi
118326
118327 # Have a temporary directory for convenience.  Make it in the build tree
118328 # simply because there is no reason to put it here, and in addition,
118329 # creating and moving files from /tmp can sometimes cause problems.
118330 # Create a temporary directory, and hook for its removal unless debugging.
118331 $debug ||
118332 {
118333   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
118334   trap '{ (exit 1); exit 1; }' 1 2 13 15
118335 }
118336
118337 # Create a (secure) tmp directory for tmp files.
118338
118339 {
118340   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
118341   test -n "$tmp" && test -d "$tmp"
118342 }  ||
118343 {
118344   tmp=./confstat$$-$RANDOM
118345   (umask 077 && mkdir $tmp)
118346 } ||
118347 {
118348    echo "$me: cannot create a temporary directory in ." >&2
118349    { (exit 1); exit 1; }
118350 }
118351
118352 _ACEOF
118353
118354 cat >>$CONFIG_STATUS <<_ACEOF
118355
118356 #
118357 # CONFIG_FILES section.
118358 #
118359
118360 # No need to generate the scripts if there are no CONFIG_FILES.
118361 # This happens for instance when ./config.status config.h
118362 if test -n "\$CONFIG_FILES"; then
118363   # Protect against being on the right side of a sed subst in config.status.
118364   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
118365    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
118366 s,@SHELL@,$SHELL,;t t
118367 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
118368 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
118369 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
118370 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
118371 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
118372 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
118373 s,@exec_prefix@,$exec_prefix,;t t
118374 s,@prefix@,$prefix,;t t
118375 s,@program_transform_name@,$program_transform_name,;t t
118376 s,@bindir@,$bindir,;t t
118377 s,@sbindir@,$sbindir,;t t
118378 s,@libexecdir@,$libexecdir,;t t
118379 s,@datadir@,$datadir,;t t
118380 s,@sysconfdir@,$sysconfdir,;t t
118381 s,@sharedstatedir@,$sharedstatedir,;t t
118382 s,@localstatedir@,$localstatedir,;t t
118383 s,@libdir@,$libdir,;t t
118384 s,@includedir@,$includedir,;t t
118385 s,@oldincludedir@,$oldincludedir,;t t
118386 s,@infodir@,$infodir,;t t
118387 s,@mandir@,$mandir,;t t
118388 s,@build_alias@,$build_alias,;t t
118389 s,@host_alias@,$host_alias,;t t
118390 s,@target_alias@,$target_alias,;t t
118391 s,@DEFS@,$DEFS,;t t
118392 s,@ECHO_C@,$ECHO_C,;t t
118393 s,@ECHO_N@,$ECHO_N,;t t
118394 s,@ECHO_T@,$ECHO_T,;t t
118395 s,@LIBS@,$LIBS,;t t
118396 s,@libtool_VERSION@,$libtool_VERSION,;t t
118397 s,@multi_basedir@,$multi_basedir,;t t
118398 s,@build@,$build,;t t
118399 s,@build_cpu@,$build_cpu,;t t
118400 s,@build_vendor@,$build_vendor,;t t
118401 s,@build_os@,$build_os,;t t
118402 s,@host@,$host,;t t
118403 s,@host_cpu@,$host_cpu,;t t
118404 s,@host_vendor@,$host_vendor,;t t
118405 s,@host_os@,$host_os,;t t
118406 s,@target@,$target,;t t
118407 s,@target_cpu@,$target_cpu,;t t
118408 s,@target_vendor@,$target_vendor,;t t
118409 s,@target_os@,$target_os,;t t
118410 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
118411 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
118412 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
118413 s,@CYGPATH_W@,$CYGPATH_W,;t t
118414 s,@PACKAGE@,$PACKAGE,;t t
118415 s,@VERSION@,$VERSION,;t t
118416 s,@ACLOCAL@,$ACLOCAL,;t t
118417 s,@AUTOCONF@,$AUTOCONF,;t t
118418 s,@AUTOMAKE@,$AUTOMAKE,;t t
118419 s,@AUTOHEADER@,$AUTOHEADER,;t t
118420 s,@MAKEINFO@,$MAKEINFO,;t t
118421 s,@install_sh@,$install_sh,;t t
118422 s,@STRIP@,$STRIP,;t t
118423 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
118424 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
118425 s,@mkdir_p@,$mkdir_p,;t t
118426 s,@AWK@,$AWK,;t t
118427 s,@SET_MAKE@,$SET_MAKE,;t t
118428 s,@am__leading_dot@,$am__leading_dot,;t t
118429 s,@AMTAR@,$AMTAR,;t t
118430 s,@am__tar@,$am__tar,;t t
118431 s,@am__untar@,$am__untar,;t t
118432 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
118433 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
118434 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
118435 s,@CC@,$CC,;t t
118436 s,@ac_ct_CC@,$ac_ct_CC,;t t
118437 s,@EXEEXT@,$EXEEXT,;t t
118438 s,@OBJEXT@,$OBJEXT,;t t
118439 s,@CXX@,$CXX,;t t
118440 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
118441 s,@CFLAGS@,$CFLAGS,;t t
118442 s,@CXXFLAGS@,$CXXFLAGS,;t t
118443 s,@LN_S@,$LN_S,;t t
118444 s,@AS@,$AS,;t t
118445 s,@ac_ct_AS@,$ac_ct_AS,;t t
118446 s,@AR@,$AR,;t t
118447 s,@ac_ct_AR@,$ac_ct_AR,;t t
118448 s,@RANLIB@,$RANLIB,;t t
118449 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
118450 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
118451 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
118452 s,@MAINT@,$MAINT,;t t
118453 s,@CPP@,$CPP,;t t
118454 s,@CPPFLAGS@,$CPPFLAGS,;t t
118455 s,@EGREP@,$EGREP,;t t
118456 s,@LIBTOOL@,$LIBTOOL,;t t
118457 s,@SED@,$SED,;t t
118458 s,@FGREP@,$FGREP,;t t
118459 s,@GREP@,$GREP,;t t
118460 s,@LD@,$LD,;t t
118461 s,@DUMPBIN@,$DUMPBIN,;t t
118462 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
118463 s,@NM@,$NM,;t t
118464 s,@lt_ECHO@,$lt_ECHO,;t t
118465 s,@LDFLAGS@,$LDFLAGS,;t t
118466 s,@CXXCPP@,$CXXCPP,;t t
118467 s,@enable_shared@,$enable_shared,;t t
118468 s,@enable_static@,$enable_static,;t t
118469 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
118470 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
118471 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
118472 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
118473 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
118474 s,@CSTDIO_H@,$CSTDIO_H,;t t
118475 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
118476 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
118477 s,@check_msgfmt@,$check_msgfmt,;t t
118478 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
118479 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
118480 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
118481 s,@USE_NLS@,$USE_NLS,;t t
118482 s,@CLOCALE_H@,$CLOCALE_H,;t t
118483 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
118484 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
118485 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
118486 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
118487 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
118488 s,@CMONEY_CC@,$CMONEY_CC,;t t
118489 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
118490 s,@CTIME_H@,$CTIME_H,;t t
118491 s,@CTIME_CC@,$CTIME_CC,;t t
118492 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
118493 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
118494 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
118495 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
118496 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
118497 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
118498 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
118499 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
118500 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
118501 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
118502 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
118503 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
118504 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
118505 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
118506 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
118507 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
118508 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
118509 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
118510 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
118511 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
118512 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
118513 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
118514 s,@WERROR@,$WERROR,;t t
118515 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
118516 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
118517 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
118518 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
118519 s,@LIBICONV@,$LIBICONV,;t t
118520 s,@LTLIBICONV@,$LTLIBICONV,;t t
118521 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
118522 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
118523 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
118524 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
118525 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
118526 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
118527 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
118528 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
118529 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
118530 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
118531 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
118532 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
118533 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
118534 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
118535 s,@baseline_dir@,$baseline_dir,;t t
118536 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
118537 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
118538 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
118539 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
118540 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
118541 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
118542 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
118543 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
118544 s,@gxx_include_dir@,$gxx_include_dir,;t t
118545 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
118546 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
118547 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
118548 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
118549 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
118550 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
118551 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
118552 s,@LIBOBJS@,$LIBOBJS,;t t
118553 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
118554 CEOF
118555
118556 _ACEOF
118557
118558   cat >>$CONFIG_STATUS <<\_ACEOF
118559   # Split the substitutions into bite-sized pieces for seds with
118560   # small command number limits, like on Digital OSF/1 and HP-UX.
118561   ac_max_sed_lines=48
118562   ac_sed_frag=1 # Number of current file.
118563   ac_beg=1 # First line for current file.
118564   ac_end=$ac_max_sed_lines # Line after last line for current file.
118565   ac_more_lines=:
118566   ac_sed_cmds=
118567   while $ac_more_lines; do
118568     if test $ac_beg -gt 1; then
118569       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118570     else
118571       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118572     fi
118573     if test ! -s $tmp/subs.frag; then
118574       ac_more_lines=false
118575     else
118576       # The purpose of the label and of the branching condition is to
118577       # speed up the sed processing (if there are no `@' at all, there
118578       # is no need to browse any of the substitutions).
118579       # These are the two extra sed commands mentioned above.
118580       (echo ':t
118581   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
118582       if test -z "$ac_sed_cmds"; then
118583         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
118584       else
118585         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
118586       fi
118587       ac_sed_frag=`expr $ac_sed_frag + 1`
118588       ac_beg=$ac_end
118589       ac_end=`expr $ac_end + $ac_max_sed_lines`
118590     fi
118591   done
118592   if test -z "$ac_sed_cmds"; then
118593     ac_sed_cmds=cat
118594   fi
118595 fi # test -n "$CONFIG_FILES"
118596
118597 _ACEOF
118598 cat >>$CONFIG_STATUS <<\_ACEOF
118599 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
118600   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118601   case $ac_file in
118602   - | *:- | *:-:* ) # input from stdin
118603         cat >$tmp/stdin
118604         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118605         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118606   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118607         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118608   * )   ac_file_in=$ac_file.in ;;
118609   esac
118610
118611   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
118612   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118613 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118614          X"$ac_file" : 'X\(//\)[^/]' \| \
118615          X"$ac_file" : 'X\(//\)$' \| \
118616          X"$ac_file" : 'X\(/\)' \| \
118617          .     : '\(.\)' 2>/dev/null ||
118618 echo X"$ac_file" |
118619     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118620           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118621           /^X\(\/\/\)$/{ s//\1/; q; }
118622           /^X\(\/\).*/{ s//\1/; q; }
118623           s/.*/./; q'`
118624   { if $as_mkdir_p; then
118625     mkdir -p "$ac_dir"
118626   else
118627     as_dir="$ac_dir"
118628     as_dirs=
118629     while test ! -d "$as_dir"; do
118630       as_dirs="$as_dir $as_dirs"
118631       as_dir=`(dirname "$as_dir") 2>/dev/null ||
118632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118633          X"$as_dir" : 'X\(//\)[^/]' \| \
118634          X"$as_dir" : 'X\(//\)$' \| \
118635          X"$as_dir" : 'X\(/\)' \| \
118636          .     : '\(.\)' 2>/dev/null ||
118637 echo X"$as_dir" |
118638     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118639           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118640           /^X\(\/\/\)$/{ s//\1/; q; }
118641           /^X\(\/\).*/{ s//\1/; q; }
118642           s/.*/./; q'`
118643     done
118644     test ! -n "$as_dirs" || mkdir $as_dirs
118645   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118646 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118647    { (exit 1); exit 1; }; }; }
118648
118649   ac_builddir=.
118650
118651 if test "$ac_dir" != .; then
118652   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
118653   # A "../" for each directory in $ac_dir_suffix.
118654   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
118655 else
118656   ac_dir_suffix= ac_top_builddir=
118657 fi
118658
118659 case $srcdir in
118660   .)  # No --srcdir option.  We are building in place.
118661     ac_srcdir=.
118662     if test -z "$ac_top_builddir"; then
118663        ac_top_srcdir=.
118664     else
118665        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
118666     fi ;;
118667   [\\/]* | ?:[\\/]* )  # Absolute path.
118668     ac_srcdir=$srcdir$ac_dir_suffix;
118669     ac_top_srcdir=$srcdir ;;
118670   *) # Relative path.
118671     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
118672     ac_top_srcdir=$ac_top_builddir$srcdir ;;
118673 esac
118674
118675 # Do not use `cd foo && pwd` to compute absolute paths, because
118676 # the directories may not exist.
118677 case `pwd` in
118678 .) ac_abs_builddir="$ac_dir";;
118679 *)
118680   case "$ac_dir" in
118681   .) ac_abs_builddir=`pwd`;;
118682   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
118683   *) ac_abs_builddir=`pwd`/"$ac_dir";;
118684   esac;;
118685 esac
118686 case $ac_abs_builddir in
118687 .) ac_abs_top_builddir=${ac_top_builddir}.;;
118688 *)
118689   case ${ac_top_builddir}. in
118690   .) ac_abs_top_builddir=$ac_abs_builddir;;
118691   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
118692   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
118693   esac;;
118694 esac
118695 case $ac_abs_builddir in
118696 .) ac_abs_srcdir=$ac_srcdir;;
118697 *)
118698   case $ac_srcdir in
118699   .) ac_abs_srcdir=$ac_abs_builddir;;
118700   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
118701   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
118702   esac;;
118703 esac
118704 case $ac_abs_builddir in
118705 .) ac_abs_top_srcdir=$ac_top_srcdir;;
118706 *)
118707   case $ac_top_srcdir in
118708   .) ac_abs_top_srcdir=$ac_abs_builddir;;
118709   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
118710   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
118711   esac;;
118712 esac
118713
118714
118715   case $INSTALL in
118716   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
118717   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
118718   esac
118719
118720   if test x"$ac_file" != x-; then
118721     { echo "$as_me:$LINENO: creating $ac_file" >&5
118722 echo "$as_me: creating $ac_file" >&6;}
118723     rm -f "$ac_file"
118724   fi
118725   # Let's still pretend it is `configure' which instantiates (i.e., don't
118726   # use $as_me), people would be surprised to read:
118727   #    /* config.h.  Generated by config.status.  */
118728   if test x"$ac_file" = x-; then
118729     configure_input=
118730   else
118731     configure_input="$ac_file.  "
118732   fi
118733   configure_input=$configure_input"Generated from `echo $ac_file_in |
118734                                      sed 's,.*/,,'` by configure."
118735
118736   # First look for the input files in the build tree, otherwise in the
118737   # src tree.
118738   ac_file_inputs=`IFS=:
118739     for f in $ac_file_in; do
118740       case $f in
118741       -) echo $tmp/stdin ;;
118742       [\\/$]*)
118743          # Absolute (can't be DOS-style, as IFS=:)
118744          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118745 echo "$as_me: error: cannot find input file: $f" >&2;}
118746    { (exit 1); exit 1; }; }
118747          echo "$f";;
118748       *) # Relative
118749          if test -f "$f"; then
118750            # Build tree
118751            echo "$f"
118752          elif test -f "$srcdir/$f"; then
118753            # Source tree
118754            echo "$srcdir/$f"
118755          else
118756            # /dev/null tree
118757            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118758 echo "$as_me: error: cannot find input file: $f" >&2;}
118759    { (exit 1); exit 1; }; }
118760          fi;;
118761       esac
118762     done` || { (exit 1); exit 1; }
118763 _ACEOF
118764 cat >>$CONFIG_STATUS <<_ACEOF
118765   sed "$ac_vpsub
118766 $extrasub
118767 _ACEOF
118768 cat >>$CONFIG_STATUS <<\_ACEOF
118769 :t
118770 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
118771 s,@configure_input@,$configure_input,;t t
118772 s,@srcdir@,$ac_srcdir,;t t
118773 s,@abs_srcdir@,$ac_abs_srcdir,;t t
118774 s,@top_srcdir@,$ac_top_srcdir,;t t
118775 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
118776 s,@builddir@,$ac_builddir,;t t
118777 s,@abs_builddir@,$ac_abs_builddir,;t t
118778 s,@top_builddir@,$ac_top_builddir,;t t
118779 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
118780 s,@INSTALL@,$ac_INSTALL,;t t
118781 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
118782   rm -f $tmp/stdin
118783   if test x"$ac_file" != x-; then
118784     mv $tmp/out $ac_file
118785   else
118786     cat $tmp/out
118787     rm -f $tmp/out
118788   fi
118789
118790   # Run the commands associated with the file.
118791   case $ac_file in
118792     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
118793   esac
118794 done
118795 _ACEOF
118796 cat >>$CONFIG_STATUS <<\_ACEOF
118797
118798 #
118799 # CONFIG_HEADER section.
118800 #
118801
118802 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
118803 # NAME is the cpp macro being defined and VALUE is the value it is being given.
118804 #
118805 # ac_d sets the value in "#define NAME VALUE" lines.
118806 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
118807 ac_dB='[         ].*$,\1#\2'
118808 ac_dC=' '
118809 ac_dD=',;t'
118810 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
118811 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
118812 ac_uB='$,\1#\2define\3'
118813 ac_uC=' '
118814 ac_uD=',;t'
118815
118816 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
118817   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118818   case $ac_file in
118819   - | *:- | *:-:* ) # input from stdin
118820         cat >$tmp/stdin
118821         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118822         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118823   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118824         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118825   * )   ac_file_in=$ac_file.in ;;
118826   esac
118827
118828   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
118829 echo "$as_me: creating $ac_file" >&6;}
118830
118831   # First look for the input files in the build tree, otherwise in the
118832   # src tree.
118833   ac_file_inputs=`IFS=:
118834     for f in $ac_file_in; do
118835       case $f in
118836       -) echo $tmp/stdin ;;
118837       [\\/$]*)
118838          # Absolute (can't be DOS-style, as IFS=:)
118839          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118840 echo "$as_me: error: cannot find input file: $f" >&2;}
118841    { (exit 1); exit 1; }; }
118842          # Do quote $f, to prevent DOS paths from being IFS'd.
118843          echo "$f";;
118844       *) # Relative
118845          if test -f "$f"; then
118846            # Build tree
118847            echo "$f"
118848          elif test -f "$srcdir/$f"; then
118849            # Source tree
118850            echo "$srcdir/$f"
118851          else
118852            # /dev/null tree
118853            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118854 echo "$as_me: error: cannot find input file: $f" >&2;}
118855    { (exit 1); exit 1; }; }
118856          fi;;
118857       esac
118858     done` || { (exit 1); exit 1; }
118859   # Remove the trailing spaces.
118860   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
118861
118862 _ACEOF
118863
118864 # Transform confdefs.h into two sed scripts, `conftest.defines' and
118865 # `conftest.undefs', that substitutes the proper values into
118866 # config.h.in to produce config.h.  The first handles `#define'
118867 # templates, and the second `#undef' templates.
118868 # And first: Protect against being on the right side of a sed subst in
118869 # config.status.  Protect against being in an unquoted here document
118870 # in config.status.
118871 rm -f conftest.defines conftest.undefs
118872 # Using a here document instead of a string reduces the quoting nightmare.
118873 # Putting comments in sed scripts is not portable.
118874 #
118875 # `end' is used to avoid that the second main sed command (meant for
118876 # 0-ary CPP macros) applies to n-ary macro definitions.
118877 # See the Autoconf documentation for `clear'.
118878 cat >confdef2sed.sed <<\_ACEOF
118879 s/[\\&,]/\\&/g
118880 s,[\\$`],\\&,g
118881 t clear
118882 : clear
118883 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
118884 t end
118885 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
118886 : end
118887 _ACEOF
118888 # If some macros were called several times there might be several times
118889 # the same #defines, which is useless.  Nevertheless, we may not want to
118890 # sort them, since we want the *last* AC-DEFINE to be honored.
118891 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
118892 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
118893 rm -f confdef2sed.sed
118894
118895 # This sed command replaces #undef with comments.  This is necessary, for
118896 # example, in the case of _POSIX_SOURCE, which is predefined and required
118897 # on some systems where configure will not decide to define it.
118898 cat >>conftest.undefs <<\_ACEOF
118899 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
118900 _ACEOF
118901
118902 # Break up conftest.defines because some shells have a limit on the size
118903 # of here documents, and old seds have small limits too (100 cmds).
118904 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
118905 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
118906 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
118907 echo '  :' >>$CONFIG_STATUS
118908 rm -f conftest.tail
118909 while grep . conftest.defines >/dev/null
118910 do
118911   # Write a limited-size here document to $tmp/defines.sed.
118912   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
118913   # Speed up: don't consider the non `#define' lines.
118914   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
118915   # Work around the forget-to-reset-the-flag bug.
118916   echo 't clr' >>$CONFIG_STATUS
118917   echo ': clr' >>$CONFIG_STATUS
118918   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
118919   echo 'CEOF
118920   sed -f $tmp/defines.sed $tmp/in >$tmp/out
118921   rm -f $tmp/in
118922   mv $tmp/out $tmp/in
118923 ' >>$CONFIG_STATUS
118924   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
118925   rm -f conftest.defines
118926   mv conftest.tail conftest.defines
118927 done
118928 rm -f conftest.defines
118929 echo '  fi # grep' >>$CONFIG_STATUS
118930 echo >>$CONFIG_STATUS
118931
118932 # Break up conftest.undefs because some shells have a limit on the size
118933 # of here documents, and old seds have small limits too (100 cmds).
118934 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
118935 rm -f conftest.tail
118936 while grep . conftest.undefs >/dev/null
118937 do
118938   # Write a limited-size here document to $tmp/undefs.sed.
118939   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
118940   # Speed up: don't consider the non `#undef'
118941   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
118942   # Work around the forget-to-reset-the-flag bug.
118943   echo 't clr' >>$CONFIG_STATUS
118944   echo ': clr' >>$CONFIG_STATUS
118945   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
118946   echo 'CEOF
118947   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
118948   rm -f $tmp/in
118949   mv $tmp/out $tmp/in
118950 ' >>$CONFIG_STATUS
118951   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
118952   rm -f conftest.undefs
118953   mv conftest.tail conftest.undefs
118954 done
118955 rm -f conftest.undefs
118956
118957 cat >>$CONFIG_STATUS <<\_ACEOF
118958   # Let's still pretend it is `configure' which instantiates (i.e., don't
118959   # use $as_me), people would be surprised to read:
118960   #    /* config.h.  Generated by config.status.  */
118961   if test x"$ac_file" = x-; then
118962     echo "/* Generated by configure.  */" >$tmp/config.h
118963   else
118964     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
118965   fi
118966   cat $tmp/in >>$tmp/config.h
118967   rm -f $tmp/in
118968   if test x"$ac_file" != x-; then
118969     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
118970       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
118971 echo "$as_me: $ac_file is unchanged" >&6;}
118972     else
118973       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118975          X"$ac_file" : 'X\(//\)[^/]' \| \
118976          X"$ac_file" : 'X\(//\)$' \| \
118977          X"$ac_file" : 'X\(/\)' \| \
118978          .     : '\(.\)' 2>/dev/null ||
118979 echo X"$ac_file" |
118980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118981           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118982           /^X\(\/\/\)$/{ s//\1/; q; }
118983           /^X\(\/\).*/{ s//\1/; q; }
118984           s/.*/./; q'`
118985       { if $as_mkdir_p; then
118986     mkdir -p "$ac_dir"
118987   else
118988     as_dir="$ac_dir"
118989     as_dirs=
118990     while test ! -d "$as_dir"; do
118991       as_dirs="$as_dir $as_dirs"
118992       as_dir=`(dirname "$as_dir") 2>/dev/null ||
118993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118994          X"$as_dir" : 'X\(//\)[^/]' \| \
118995          X"$as_dir" : 'X\(//\)$' \| \
118996          X"$as_dir" : 'X\(/\)' \| \
118997          .     : '\(.\)' 2>/dev/null ||
118998 echo X"$as_dir" |
118999     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119000           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119001           /^X\(\/\/\)$/{ s//\1/; q; }
119002           /^X\(\/\).*/{ s//\1/; q; }
119003           s/.*/./; q'`
119004     done
119005     test ! -n "$as_dirs" || mkdir $as_dirs
119006   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119007 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119008    { (exit 1); exit 1; }; }; }
119009
119010       rm -f $ac_file
119011       mv $tmp/config.h $ac_file
119012     fi
119013   else
119014     cat $tmp/config.h
119015     rm -f $tmp/config.h
119016   fi
119017 # Compute $ac_file's index in $config_headers.
119018 _am_stamp_count=1
119019 for _am_header in $config_headers :; do
119020   case $_am_header in
119021     $ac_file | $ac_file:* )
119022       break ;;
119023     * )
119024       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
119025   esac
119026 done
119027 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
119028 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119029          X$ac_file : 'X\(//\)[^/]' \| \
119030          X$ac_file : 'X\(//\)$' \| \
119031          X$ac_file : 'X\(/\)' \| \
119032          .     : '\(.\)' 2>/dev/null ||
119033 echo X$ac_file |
119034     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119035           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119036           /^X\(\/\/\)$/{ s//\1/; q; }
119037           /^X\(\/\).*/{ s//\1/; q; }
119038           s/.*/./; q'`/stamp-h$_am_stamp_count
119039 done
119040 _ACEOF
119041 cat >>$CONFIG_STATUS <<\_ACEOF
119042
119043 #
119044 # CONFIG_COMMANDS section.
119045 #
119046 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
119047   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
119048   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
119049   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
119050 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119051          X"$ac_dest" : 'X\(//\)[^/]' \| \
119052          X"$ac_dest" : 'X\(//\)$' \| \
119053          X"$ac_dest" : 'X\(/\)' \| \
119054          .     : '\(.\)' 2>/dev/null ||
119055 echo X"$ac_dest" |
119056     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119057           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119058           /^X\(\/\/\)$/{ s//\1/; q; }
119059           /^X\(\/\).*/{ s//\1/; q; }
119060           s/.*/./; q'`
119061   { if $as_mkdir_p; then
119062     mkdir -p "$ac_dir"
119063   else
119064     as_dir="$ac_dir"
119065     as_dirs=
119066     while test ! -d "$as_dir"; do
119067       as_dirs="$as_dir $as_dirs"
119068       as_dir=`(dirname "$as_dir") 2>/dev/null ||
119069 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119070          X"$as_dir" : 'X\(//\)[^/]' \| \
119071          X"$as_dir" : 'X\(//\)$' \| \
119072          X"$as_dir" : 'X\(/\)' \| \
119073          .     : '\(.\)' 2>/dev/null ||
119074 echo X"$as_dir" |
119075     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119076           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119077           /^X\(\/\/\)$/{ s//\1/; q; }
119078           /^X\(\/\).*/{ s//\1/; q; }
119079           s/.*/./; q'`
119080     done
119081     test ! -n "$as_dirs" || mkdir $as_dirs
119082   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119083 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119084    { (exit 1); exit 1; }; }; }
119085
119086   ac_builddir=.
119087
119088 if test "$ac_dir" != .; then
119089   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
119090   # A "../" for each directory in $ac_dir_suffix.
119091   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
119092 else
119093   ac_dir_suffix= ac_top_builddir=
119094 fi
119095
119096 case $srcdir in
119097   .)  # No --srcdir option.  We are building in place.
119098     ac_srcdir=.
119099     if test -z "$ac_top_builddir"; then
119100        ac_top_srcdir=.
119101     else
119102        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
119103     fi ;;
119104   [\\/]* | ?:[\\/]* )  # Absolute path.
119105     ac_srcdir=$srcdir$ac_dir_suffix;
119106     ac_top_srcdir=$srcdir ;;
119107   *) # Relative path.
119108     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
119109     ac_top_srcdir=$ac_top_builddir$srcdir ;;
119110 esac
119111
119112 # Do not use `cd foo && pwd` to compute absolute paths, because
119113 # the directories may not exist.
119114 case `pwd` in
119115 .) ac_abs_builddir="$ac_dir";;
119116 *)
119117   case "$ac_dir" in
119118   .) ac_abs_builddir=`pwd`;;
119119   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
119120   *) ac_abs_builddir=`pwd`/"$ac_dir";;
119121   esac;;
119122 esac
119123 case $ac_abs_builddir in
119124 .) ac_abs_top_builddir=${ac_top_builddir}.;;
119125 *)
119126   case ${ac_top_builddir}. in
119127   .) ac_abs_top_builddir=$ac_abs_builddir;;
119128   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
119129   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
119130   esac;;
119131 esac
119132 case $ac_abs_builddir in
119133 .) ac_abs_srcdir=$ac_srcdir;;
119134 *)
119135   case $ac_srcdir in
119136   .) ac_abs_srcdir=$ac_abs_builddir;;
119137   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
119138   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
119139   esac;;
119140 esac
119141 case $ac_abs_builddir in
119142 .) ac_abs_top_srcdir=$ac_top_srcdir;;
119143 *)
119144   case $ac_top_srcdir in
119145   .) ac_abs_top_srcdir=$ac_abs_builddir;;
119146   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
119147   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
119148   esac;;
119149 esac
119150
119151
119152   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
119153 echo "$as_me: executing $ac_dest commands" >&6;}
119154   case $ac_dest in
119155     default-1 )
119156 # Only add multilib support code if we just rebuilt the top-level
119157 # Makefile.
119158 case " $CONFIG_FILES " in
119159  *" Makefile "*)
119160    ac_file=Makefile . ${multi_basedir}/config-ml.in
119161    ;;
119162 esac ;;
119163     libtool )
119164
119165     # See if we are running on zsh, and set the options which allow our
119166     # commands through without removal of \ escapes.
119167     if test -n "${ZSH_VERSION+set}" ; then
119168       setopt NO_GLOB_SUBST
119169     fi
119170
119171     cfgfile="${ofile}T"
119172     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
119173     $RM "$cfgfile"
119174
119175     cat <<_LT_EOF >> "$cfgfile"
119176 #! $SHELL
119177
119178 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
119179 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
119180 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
119181 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
119182 #
119183 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
119184 # 2006, 2007 Free Software Foundation, Inc.
119185 #
119186 # This file is part of GNU Libtool:
119187 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
119188 #
119189 # This program is free software; you can redistribute it and/or modify
119190 # it under the terms of the GNU General Public License as published by
119191 # the Free Software Foundation; either version 2 of the License, or
119192 # (at your option) any later version.
119193 #
119194 # This program is distributed in the hope that it will be useful, but
119195 # WITHOUT ANY WARRANTY; without even the implied warranty of
119196 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
119197 # General Public License for more details.
119198 #
119199 # You should have received a copy of the GNU General Public License
119200 # along with this program; if not, a copy can be downloaded from
119201 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
119202 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
119203 # MA 02110-1301, USA.
119204 #
119205 # As a special exception to the GNU General Public License, if you
119206 # distribute this file as part of a program that contains a
119207 # configuration script generated by Autoconf, you may include it under
119208 # the same distribution terms that you use for the rest of that program.
119209
119210
119211 # The names of the tagged configurations supported by this script.
119212 available_tags="CXX "
119213
119214 # ### BEGIN LIBTOOL CONFIG
119215
119216 # Which release of libtool.m4 was used?
119217 macro_version=$macro_version
119218 macro_revision=$macro_revision
119219
119220 # Whether or not to build shared libraries.
119221 build_libtool_libs=$enable_shared
119222
119223 # Whether or not to build static libraries.
119224 build_old_libs=$enable_static
119225
119226 # What type of objects to build.
119227 pic_mode=$pic_mode
119228
119229 # Whether or not to optimize for fast installation.
119230 fast_install=$enable_fast_install
119231
119232 # The host system.
119233 host_alias=$host_alias
119234 host=$host
119235 host_os=$host_os
119236
119237 # The build system.
119238 build_alias=$build_alias
119239 build=$build
119240 build_os=$build_os
119241
119242 # A sed program that does not truncate output.
119243 SED=$lt_SED
119244
119245 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
119246 Xsed="\$SED -e 1s/^X//"
119247
119248 # A grep program that handles long lines.
119249 GREP=$lt_GREP
119250
119251 # An ERE matcher.
119252 EGREP=$lt_EGREP
119253
119254 # A literal string matcher.
119255 FGREP=$lt_FGREP
119256
119257 # A BSD- or MS-compatible name lister.
119258 NM=$lt_NM
119259
119260 # Whether we need soft or hard links.
119261 LN_S=$lt_LN_S
119262
119263 # What is the maximum length of a command?
119264 max_cmd_len=$max_cmd_len
119265
119266 # Object file suffix (normally "o").
119267 objext=$ac_objext
119268
119269 # Executable file suffix (normally "").
119270 exeext=$exeext
119271
119272 # whether the shell understands "unset".
119273 lt_unset=$lt_unset
119274
119275 # turn spaces into newlines.
119276 SP2NL=$lt_lt_SP2NL
119277
119278 # turn newlines into spaces.
119279 NL2SP=$lt_lt_NL2SP
119280
119281 # How to create reloadable object files.
119282 reload_flag=$lt_reload_flag
119283 reload_cmds=$lt_reload_cmds
119284
119285 # Method to check whether dependent libraries are shared objects.
119286 deplibs_check_method=$lt_deplibs_check_method
119287
119288 # Command to use when deplibs_check_method == "file_magic".
119289 file_magic_cmd=$lt_file_magic_cmd
119290
119291 # The archiver.
119292 AR=$lt_AR
119293 AR_FLAGS=$lt_AR_FLAGS
119294
119295 # A symbol stripping program.
119296 STRIP=$lt_STRIP
119297
119298 # Commands used to install an old-style archive.
119299 RANLIB=$lt_RANLIB
119300 old_postinstall_cmds=$lt_old_postinstall_cmds
119301 old_postuninstall_cmds=$lt_old_postuninstall_cmds
119302
119303 # A C compiler.
119304 LTCC=$lt_CC
119305
119306 # LTCC compiler flags.
119307 LTCFLAGS=$lt_CFLAGS
119308
119309 # Take the output of nm and produce a listing of raw symbols and C names.
119310 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
119311
119312 # Transform the output of nm in a proper C declaration.
119313 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
119314
119315 # Transform the output of nm in a C name address pair.
119316 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
119317
119318 # The name of the directory that contains temporary libtool files.
119319 objdir=$objdir
119320
119321 # Shell to use when invoking shell scripts.
119322 SHELL=$lt_SHELL
119323
119324 # An echo program that does not interpret backslashes.
119325 ECHO=$lt_ECHO
119326
119327 # Used to examine libraries when file_magic_cmd begins with "file".
119328 MAGIC_CMD=$MAGIC_CMD
119329
119330 # Must we lock files when doing compilation?
119331 need_locks=$lt_need_locks
119332
119333 # Old archive suffix (normally "a").
119334 libext=$libext
119335
119336 # Shared library suffix (normally ".so").
119337 shrext_cmds=$lt_shrext_cmds
119338
119339 # The commands to extract the exported symbol list from a shared archive.
119340 extract_expsyms_cmds=$lt_extract_expsyms_cmds
119341
119342 # Variables whose values should be saved in libtool wrapper scripts and
119343 # restored at link time.
119344 variables_saved_for_relink=$lt_variables_saved_for_relink
119345
119346 # Do we need the "lib" prefix for modules?
119347 need_lib_prefix=$need_lib_prefix
119348
119349 # Do we need a version for libraries?
119350 need_version=$need_version
119351
119352 # Library versioning type.
119353 version_type=$version_type
119354
119355 # Shared library runtime path variable.
119356 runpath_var=$runpath_var
119357
119358 # Shared library path variable.
119359 shlibpath_var=$shlibpath_var
119360
119361 # Is shlibpath searched before the hard-coded library search path?
119362 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
119363
119364 # Format of library name prefix.
119365 libname_spec=$lt_libname_spec
119366
119367 # List of archive names.  First name is the real one, the rest are links.
119368 # The last name is the one that the linker finds with -lNAME
119369 library_names_spec=$lt_library_names_spec
119370
119371 # The coded name of the library, if different from the real name.
119372 soname_spec=$lt_soname_spec
119373
119374 # Command to use after installation of a shared archive.
119375 postinstall_cmds=$lt_postinstall_cmds
119376
119377 # Command to use after uninstallation of a shared archive.
119378 postuninstall_cmds=$lt_postuninstall_cmds
119379
119380 # Commands used to finish a libtool library installation in a directory.
119381 finish_cmds=$lt_finish_cmds
119382
119383 # As "finish_cmds", except a single script fragment to be evaled but
119384 # not shown.
119385 finish_eval=$lt_finish_eval
119386
119387 # Whether we should hardcode library paths into libraries.
119388 hardcode_into_libs=$hardcode_into_libs
119389
119390 # Compile-time system search path for libraries.
119391 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
119392
119393 # Run-time system search path for libraries.
119394 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
119395
119396 # Whether dlopen is supported.
119397 dlopen_support=$enable_dlopen
119398
119399 # Whether dlopen of programs is supported.
119400 dlopen_self=$enable_dlopen_self
119401
119402 # Whether dlopen of statically linked programs is supported.
119403 dlopen_self_static=$enable_dlopen_self_static
119404
119405 # Commands to strip libraries.
119406 old_striplib=$lt_old_striplib
119407 striplib=$lt_striplib
119408
119409
119410 # The linker used to build libraries.
119411 LD=$lt_LD
119412
119413 # Commands used to build an old-style archive.
119414 old_archive_cmds=$lt_old_archive_cmds
119415
119416 # A language specific compiler.
119417 CC=$lt_compiler
119418
119419 # Is the compiler the GNU compiler?
119420 with_gcc=$GCC
119421
119422 # Compiler flag to turn off builtin functions.
119423 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
119424
119425 # How to pass a linker flag through the compiler.
119426 wl=$lt_lt_prog_compiler_wl
119427
119428 # Additional compiler flags for building library objects.
119429 pic_flag=$lt_lt_prog_compiler_pic
119430
119431 # Compiler flag to prevent dynamic linking.
119432 link_static_flag=$lt_lt_prog_compiler_static
119433
119434 # Does compiler simultaneously support -c and -o options?
119435 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
119436
119437 # Whether or not to add -lc for building shared libraries.
119438 build_libtool_need_lc=$archive_cmds_need_lc
119439
119440 # Whether or not to disallow shared libs when runtime libs are static.
119441 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
119442
119443 # Compiler flag to allow reflexive dlopens.
119444 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
119445
119446 # Compiler flag to generate shared objects directly from archives.
119447 whole_archive_flag_spec=$lt_whole_archive_flag_spec
119448
119449 # Whether the compiler copes with passing no objects directly.
119450 compiler_needs_object=$lt_compiler_needs_object
119451
119452 # Create an old-style archive from a shared archive.
119453 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
119454
119455 # Create a temporary old-style archive to link instead of a shared archive.
119456 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
119457
119458 # Commands used to build a shared archive.
119459 archive_cmds=$lt_archive_cmds
119460 archive_expsym_cmds=$lt_archive_expsym_cmds
119461
119462 # Commands used to build a loadable module if different from building
119463 # a shared archive.
119464 module_cmds=$lt_module_cmds
119465 module_expsym_cmds=$lt_module_expsym_cmds
119466
119467 # Whether we are building with GNU ld or not.
119468 with_gnu_ld=$lt_with_gnu_ld
119469
119470 # Flag that allows shared libraries with undefined symbols to be built.
119471 allow_undefined_flag=$lt_allow_undefined_flag
119472
119473 # Flag that enforces no undefined symbols.
119474 no_undefined_flag=$lt_no_undefined_flag
119475
119476 # Flag to hardcode \$libdir into a binary during linking.
119477 # This must work even if \$libdir does not exist
119478 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
119479
119480 # If ld is used when linking, flag to hardcode \$libdir into a binary
119481 # during linking.  This must work even if \$libdir does not exist.
119482 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
119483
119484 # Whether we need a single "-rpath" flag with a separated argument.
119485 hardcode_libdir_separator=$lt_hardcode_libdir_separator
119486
119487 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119488 # DIR into the resulting binary.
119489 hardcode_direct=$hardcode_direct
119490
119491 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119492 # DIR into the resulting binary and the resulting library dependency is
119493 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119494 # library is relocated.
119495 hardcode_direct_absolute=$hardcode_direct_absolute
119496
119497 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119498 # into the resulting binary.
119499 hardcode_minus_L=$hardcode_minus_L
119500
119501 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119502 # into the resulting binary.
119503 hardcode_shlibpath_var=$hardcode_shlibpath_var
119504
119505 # Set to "yes" if building a shared library automatically hardcodes DIR
119506 # into the library and all subsequent libraries and executables linked
119507 # against it.
119508 hardcode_automatic=$hardcode_automatic
119509
119510 # Set to yes if linker adds runtime paths of dependent libraries
119511 # to runtime path list.
119512 inherit_rpath=$inherit_rpath
119513
119514 # Whether libtool must link a program against all its dependency libraries.
119515 link_all_deplibs=$link_all_deplibs
119516
119517 # Fix the shell variable \$srcfile for the compiler.
119518 fix_srcfile_path=$lt_fix_srcfile_path
119519
119520 # Set to "yes" if exported symbols are required.
119521 always_export_symbols=$always_export_symbols
119522
119523 # The commands to list exported symbols.
119524 export_symbols_cmds=$lt_export_symbols_cmds
119525
119526 # Symbols that should not be listed in the preloaded symbols.
119527 exclude_expsyms=$lt_exclude_expsyms
119528
119529 # Symbols that must always be exported.
119530 include_expsyms=$lt_include_expsyms
119531
119532 # Commands necessary for linking programs (against libraries) with templates.
119533 prelink_cmds=$lt_prelink_cmds
119534
119535 # Specify filename containing input files.
119536 file_list_spec=$lt_file_list_spec
119537
119538 # How to hardcode a shared library path into an executable.
119539 hardcode_action=$hardcode_action
119540
119541 # Dependencies to place before and after the objects being linked to
119542 # create a shared library.
119543 predep_objects=$lt_predep_objects
119544 postdep_objects=$lt_postdep_objects
119545 predeps=$lt_predeps
119546 postdeps=$lt_postdeps
119547
119548 # The library search path used internally by the compiler when linking
119549 # a shared library.
119550 compiler_lib_search_path=$lt_compiler_lib_search_path
119551
119552 # ### END LIBTOOL CONFIG
119553
119554 _LT_EOF
119555
119556   case $host_os in
119557   aix3*)
119558     cat <<\_LT_EOF >> "$cfgfile"
119559 # AIX sometimes has problems with the GCC collect2 program.  For some
119560 # reason, if we set the COLLECT_NAMES environment variable, the problems
119561 # vanish in a puff of smoke.
119562 if test "X${COLLECT_NAMES+set}" != Xset; then
119563   COLLECT_NAMES=
119564   export COLLECT_NAMES
119565 fi
119566 _LT_EOF
119567     ;;
119568   esac
119569
119570
119571 ltmain="$ac_aux_dir/ltmain.sh"
119572
119573
119574   # We use sed instead of cat because bash on DJGPP gets confused if
119575   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
119576   # text mode, it properly converts lines to CR/LF.  This bash problem
119577   # is reportedly fixed, but why not run on old versions too?
119578   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
119579     || (rm -f "$cfgfile"; exit 1)
119580
119581   case $xsi_shell in
119582   yes)
119583     cat << \_LT_EOF >> "$cfgfile"
119584 # func_dirname file append nondir_replacement
119585 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
119586 # otherwise set result to NONDIR_REPLACEMENT.
119587 func_dirname ()
119588 {
119589   case ${1} in
119590     */*) func_dirname_result="${1%/*}${2}" ;;
119591     *  ) func_dirname_result="${3}" ;;
119592   esac
119593 }
119594
119595 # func_basename file
119596 func_basename ()
119597 {
119598   func_basename_result="${1##*/}"
119599 }
119600
119601 # func_stripname prefix suffix name
119602 # strip PREFIX and SUFFIX off of NAME.
119603 # PREFIX and SUFFIX must not contain globbing or regex special
119604 # characters, hashes, percent signs, but SUFFIX may contain a leading
119605 # dot (in which case that matches only a dot).
119606 func_stripname ()
119607 {
119608   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
119609   # positional parameters, so assign one to ordinary parameter first.
119610   func_stripname_result=${3}
119611   func_stripname_result=${func_stripname_result#"${1}"}
119612   func_stripname_result=${func_stripname_result%"${2}"}
119613 }
119614
119615 # func_opt_split
119616 func_opt_split ()
119617 {
119618   func_opt_split_opt=${1%%=*}
119619   func_opt_split_arg=${1#*=}
119620 }
119621
119622 # func_lo2o object
119623 func_lo2o ()
119624 {
119625   case ${1} in
119626     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
119627     *)    func_lo2o_result=${1} ;;
119628   esac
119629 }
119630 _LT_EOF
119631     ;;
119632   *) # Bourne compatible functions.
119633     cat << \_LT_EOF >> "$cfgfile"
119634 # func_dirname file append nondir_replacement
119635 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
119636 # otherwise set result to NONDIR_REPLACEMENT.
119637 func_dirname ()
119638 {
119639   # Extract subdirectory from the argument.
119640   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
119641   if test "X$func_dirname_result" = "X${1}"; then
119642     func_dirname_result="${3}"
119643   else
119644     func_dirname_result="$func_dirname_result${2}"
119645   fi
119646 }
119647
119648 # func_basename file
119649 func_basename ()
119650 {
119651   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
119652 }
119653
119654 # func_stripname prefix suffix name
119655 # strip PREFIX and SUFFIX off of NAME.
119656 # PREFIX and SUFFIX must not contain globbing or regex special
119657 # characters, hashes, percent signs, but SUFFIX may contain a leading
119658 # dot (in which case that matches only a dot).
119659 # func_strip_suffix prefix name
119660 func_stripname ()
119661 {
119662   case ${2} in
119663     .*) func_stripname_result=`$ECHO "X${3}" \
119664            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
119665     *)  func_stripname_result=`$ECHO "X${3}" \
119666            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
119667   esac
119668 }
119669
119670 # sed scripts:
119671 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
119672 my_sed_long_arg='1s/^-[^=]*=//'
119673
119674 # func_opt_split
119675 func_opt_split ()
119676 {
119677   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
119678   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
119679 }
119680
119681 # func_lo2o object
119682 func_lo2o ()
119683 {
119684   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
119685 }
119686 _LT_EOF
119687 esac
119688
119689 case $lt_shell_append in
119690   yes)
119691     cat << \_LT_EOF >> "$cfgfile"
119692
119693 # func_append var value
119694 # Append VALUE to the end of shell variable VAR.
119695 func_append ()
119696 {
119697   eval "$1+=\$2"
119698 }
119699 _LT_EOF
119700     ;;
119701   *)
119702     cat << \_LT_EOF >> "$cfgfile"
119703
119704 # func_append var value
119705 # Append VALUE to the end of shell variable VAR.
119706 func_append ()
119707 {
119708   eval "$1=\$$1\$2"
119709 }
119710 _LT_EOF
119711     ;;
119712   esac
119713
119714
119715   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
119716     || (rm -f "$cfgfile"; exit 1)
119717
119718   mv -f "$cfgfile" "$ofile" ||
119719     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
119720   chmod +x "$ofile"
119721
119722
119723     cat <<_LT_EOF >> "$ofile"
119724
119725 # ### BEGIN LIBTOOL TAG CONFIG: CXX
119726
119727 # The linker used to build libraries.
119728 LD=$lt_LD_CXX
119729
119730 # Commands used to build an old-style archive.
119731 old_archive_cmds=$lt_old_archive_cmds_CXX
119732
119733 # A language specific compiler.
119734 CC=$lt_compiler_CXX
119735
119736 # Is the compiler the GNU compiler?
119737 with_gcc=$GCC_CXX
119738
119739 # Compiler flag to turn off builtin functions.
119740 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
119741
119742 # How to pass a linker flag through the compiler.
119743 wl=$lt_lt_prog_compiler_wl_CXX
119744
119745 # Additional compiler flags for building library objects.
119746 pic_flag=$lt_lt_prog_compiler_pic_CXX
119747
119748 # Compiler flag to prevent dynamic linking.
119749 link_static_flag=$lt_lt_prog_compiler_static_CXX
119750
119751 # Does compiler simultaneously support -c and -o options?
119752 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
119753
119754 # Whether or not to add -lc for building shared libraries.
119755 build_libtool_need_lc=$archive_cmds_need_lc_CXX
119756
119757 # Whether or not to disallow shared libs when runtime libs are static.
119758 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
119759
119760 # Compiler flag to allow reflexive dlopens.
119761 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
119762
119763 # Compiler flag to generate shared objects directly from archives.
119764 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
119765
119766 # Whether the compiler copes with passing no objects directly.
119767 compiler_needs_object=$lt_compiler_needs_object_CXX
119768
119769 # Create an old-style archive from a shared archive.
119770 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
119771
119772 # Create a temporary old-style archive to link instead of a shared archive.
119773 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
119774
119775 # Commands used to build a shared archive.
119776 archive_cmds=$lt_archive_cmds_CXX
119777 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
119778
119779 # Commands used to build a loadable module if different from building
119780 # a shared archive.
119781 module_cmds=$lt_module_cmds_CXX
119782 module_expsym_cmds=$lt_module_expsym_cmds_CXX
119783
119784 # Whether we are building with GNU ld or not.
119785 with_gnu_ld=$lt_with_gnu_ld_CXX
119786
119787 # Flag that allows shared libraries with undefined symbols to be built.
119788 allow_undefined_flag=$lt_allow_undefined_flag_CXX
119789
119790 # Flag that enforces no undefined symbols.
119791 no_undefined_flag=$lt_no_undefined_flag_CXX
119792
119793 # Flag to hardcode \$libdir into a binary during linking.
119794 # This must work even if \$libdir does not exist
119795 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
119796
119797 # If ld is used when linking, flag to hardcode \$libdir into a binary
119798 # during linking.  This must work even if \$libdir does not exist.
119799 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
119800
119801 # Whether we need a single "-rpath" flag with a separated argument.
119802 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
119803
119804 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119805 # DIR into the resulting binary.
119806 hardcode_direct=$hardcode_direct_CXX
119807
119808 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119809 # DIR into the resulting binary and the resulting library dependency is
119810 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119811 # library is relocated.
119812 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
119813
119814 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119815 # into the resulting binary.
119816 hardcode_minus_L=$hardcode_minus_L_CXX
119817
119818 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119819 # into the resulting binary.
119820 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
119821
119822 # Set to "yes" if building a shared library automatically hardcodes DIR
119823 # into the library and all subsequent libraries and executables linked
119824 # against it.
119825 hardcode_automatic=$hardcode_automatic_CXX
119826
119827 # Set to yes if linker adds runtime paths of dependent libraries
119828 # to runtime path list.
119829 inherit_rpath=$inherit_rpath_CXX
119830
119831 # Whether libtool must link a program against all its dependency libraries.
119832 link_all_deplibs=$link_all_deplibs_CXX
119833
119834 # Fix the shell variable \$srcfile for the compiler.
119835 fix_srcfile_path=$lt_fix_srcfile_path_CXX
119836
119837 # Set to "yes" if exported symbols are required.
119838 always_export_symbols=$always_export_symbols_CXX
119839
119840 # The commands to list exported symbols.
119841 export_symbols_cmds=$lt_export_symbols_cmds_CXX
119842
119843 # Symbols that should not be listed in the preloaded symbols.
119844 exclude_expsyms=$lt_exclude_expsyms_CXX
119845
119846 # Symbols that must always be exported.
119847 include_expsyms=$lt_include_expsyms_CXX
119848
119849 # Commands necessary for linking programs (against libraries) with templates.
119850 prelink_cmds=$lt_prelink_cmds_CXX
119851
119852 # Specify filename containing input files.
119853 file_list_spec=$lt_file_list_spec_CXX
119854
119855 # How to hardcode a shared library path into an executable.
119856 hardcode_action=$hardcode_action_CXX
119857
119858 # Dependencies to place before and after the objects being linked to
119859 # create a shared library.
119860 predep_objects=$lt_predep_objects_CXX
119861 postdep_objects=$lt_postdep_objects_CXX
119862 predeps=$lt_predeps_CXX
119863 postdeps=$lt_postdeps_CXX
119864
119865 # The library search path used internally by the compiler when linking
119866 # a shared library.
119867 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
119868
119869 # ### END LIBTOOL TAG CONFIG: CXX
119870 _LT_EOF
119871
119872  ;;
119873     default ) if test -n "$CONFIG_FILES"; then
119874    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
119875    # that multilib installs will end up installed in the correct place.
119876    # The testsuite needs it for multilib-aware ABI baseline files.
119877    # To work around this not being passed down from config-ml.in ->
119878    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
119879    # append it here.  Only modify Makefiles that have just been created.
119880    #
119881    # Also, get rid of this simulated-VPATH thing that automake does.
119882    cat > vpsed << \_EOF
119883 s!`test -f '$<' || echo '$(srcdir)/'`!!
119884 _EOF
119885    for i in $SUBDIRS; do
119886     case $CONFIG_FILES in
119887      *${i}/Makefile*)
119888        #echo "Adding MULTISUBDIR to $i/Makefile"
119889        sed -f vpsed $i/Makefile > tmp
119890        grep '^MULTISUBDIR =' Makefile >> tmp
119891        mv tmp $i/Makefile
119892        ;;
119893     esac
119894    done
119895    rm vpsed
119896  fi
119897  (cd include && ${MAKE-make})
119898  ;;
119899   esac
119900 done
119901 _ACEOF
119902
119903 cat >>$CONFIG_STATUS <<\_ACEOF
119904
119905 { (exit 0); exit 0; }
119906 _ACEOF
119907 chmod +x $CONFIG_STATUS
119908 ac_clean_files=$ac_clean_files_save
119909
119910
119911 # configure is writing to config.log, and then calls config.status.
119912 # config.status does its own redirection, appending to config.log.
119913 # Unfortunately, on DOS this fails, as config.log is still kept open
119914 # by configure, so config.status won't be able to write to it; its
119915 # output is simply discarded.  So we exec the FD to /dev/null,
119916 # effectively closing config.log, so it can be properly (re)opened and
119917 # appended to by config.status.  When coming back to configure, we
119918 # need to make the FD available again.
119919 if test "$no_create" != yes; then
119920   ac_cs_success=:
119921   ac_config_status_args=
119922   test "$silent" = yes &&
119923     ac_config_status_args="$ac_config_status_args --quiet"
119924   exec 5>/dev/null
119925   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
119926   exec 5>>config.log
119927   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
119928   # would make configure fail if this is the last instruction.
119929   $ac_cs_success || { (exit 1); exit 1; }
119930 fi
119931